Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EricOakford

Pages: 1 [2] 3 4 ... 11
16
SCI Syntax Help / Re: Importing a Character (a la Quest for Glory)
« on: February 09, 2021, 12:34:39 PM »
And here are my recreations of the QFG3 Import and CharSave scripts! It's interesting that the game saves your inventory and whether you bought the blackbird from the junk dealers, since QFG4 doesn't use those at all (as you start with no items).

EDIT 2/10/2021: The import and export scripts for QFG4 are here! Also, I slightly updated the QFG3 scripts.

17
that sounds awesome! would that fix the problem I had with changing and adding msg resources?
The problem that old format message resources were blanked out on save? That's been fixed recently, for the record.

Changing all old format message resources to new does mean you get to use references, cutting down on repeated lines in the same resource.

Yes, I know that's been fixed. The reason for the upgrade from ME 3 to 4 is thus entirely because the new interpreter (1.001.072, as taken from the interactive demo for Pepper's Adventures in Time) does not support the older format. Nor does it support digital samples in SND files, hence why the samples are now in AUD format.

And yes, I have seen repeated lines in the same resource, especially in the Ogre room. The newer format will allow the redundant lines to be removed.

I have actually completed phase one of the project; it's just a matter of creating a binary patch for the resource files (so that the ScummVM team doesn't blacklist it as a pirated version, which it would be if I just distributed it as is).
Phase two will upgrade the interpreter to 1.001.097 (as taken from the INN demo). It will also use the music from the Macintosh version as it has native General MIDI tracks (unlike the DOS version, which uses a music patch for the MT-32 tracks). The issue with the newer interpreter is that color 254 is now reserved for transparent views, so that you'll find missing pixels in the views. They will need to be altered to not use color 254.

18
that sounds awesome! would that fix the problem I had with changing and adding msg resources?

Yes. Since it uses the newer message format, you should have no trouble.

19
I've been working on a similar project that upgrades the game's engine to the newest version of SCI1.1. I exported the msg files into text files and imported them back in (to convert them from ME 3 to ME 4) and exported the digital audio into WAV files and importing them back in (to turn them into AUD files). Both MSG and AUD resources are now in their own resource files.
I also played through the game to completion to find and fix any bugs that came about.

In short, all that needs doing is to create a binary patch for the resource files. I guess VPatch is a good choice, since it was used in the KQ4 Amiga sounds installer.

20
I've decided to expand my game decompilation efforts to SCUMM games. I've already got some here. I was pleased to find that the SCUMM demos were stripped-down versions of the full games, just like the SCI ones!

Since there's no simple IDE for SCUMM games, I had to make do with ScummRP (to extract the data files) and descumm (from the ScummVM tools). I got the idea from this disassembly project for the C64 version of Maniac Mansion.

21
It seems like Nintendo can't catch a break. A series of tweets with the highlights can be found here.

Mighty shady of them to extort a homebrew hacker in this way, and to even have a PR plan in place in case word of this got out.

Then again, it's not unusual for companies to sometimes hire members of the modding community to do official projects...

Obviously, it's not a good idea to link to any of these files here; I prefer not to know. Let's just say that they're out there, and leave it at that. :-X

22
AGI Development Tools / Re: WinAGI Version 2.1.3 Is Available
« on: December 10, 2020, 06:33:35 PM »
And here are decompilations for two of the demo packs. Yeah, AGI is not my thing.

23
AGI Development Tools / Re: WinAGI Version 2.1.3 Is Available
« on: December 08, 2020, 06:08:25 PM »
Here's the decompilation for the Christmas Card.

24
AGI Development Tools / Re: WinAGI Version 2.1.3 Is Available
« on: December 07, 2020, 07:01:24 PM »
Thanks, it seems to work fine now! Maybe I can do a decompilation of the 1986 Christmas Card - it's the right time for that one!

25
AGI Development Tools / Re: WinAGI Version 2.1.2 Is Available
« on: December 06, 2020, 05:37:36 PM »
I probably could make a new repository for WinAGI decompilations, but AGI is a totally different beast than SCI. Besides, WinAGI refuses to work right for me, giving "Invalid procedure call" when attempting to close a game, and an error with "RichEdAGI.ocx or one of its dependencies not correctly registered: a file is missing for invalid" when attempting to open a logic.

26
SCI Development Tools / Re: Error in SCICompanion documentation - fopen
« on: October 04, 2020, 05:15:12 PM »
You can also use the File class to manage files.

Code: [Select]
(instance fooFile of File
     (properties
           name "somefile.txt"
     )

(procedure (Foo &tmp [buffer 41])
        ; Open the file and write to it
        (if (fooFile open: fTrunc)
                (fooFile write: "Hello World!")
                (fooFile close:)
        )

        ; Open the file, read it's first string, and print it to the screen
        (if (fooFile open: fRead)
                (fooFile read: @buffer 40)
                (fooFile close:)

                (Printf "%s" buffer)
        )
)

This way is much simpler than using the kernel functions directly. With SCI01 and up, read: and write: are renamed to readString: and writeString: respectively. Should test this to see how it works...

27
The Games and other Sierra Adventure stuff / Re: Rare SCI Games
« on: October 04, 2020, 05:00:56 PM »
@ Threepwang,
Police quest 4 was released in French. Quest for Glory 4 was not released in French. Only Quest for Glory 3 and the translation is bad.

QFG4's documentation was translated to French, but the game itself wasn't. This was even mentioned in the QFG Anthology's readme:
Quote
Question: There is French documentation for QG4 in the \DOCO
directory on the QG Collection CD, but there is no QG4 French game
on the CD.  Why?
Answer: The documentation was printed in French, but we never released
a French version of QG4.  We included the French documentation on the
CD in case someone wanted to take a look at it.

28
The Games and other Sierra Adventure stuff / Re: SCI Tetris
« on: September 22, 2020, 10:52:01 AM »
I've played through this a bit, and greatly optimized the code. Here are some of the changes made:

Quote
The system scripts and globals have been replaced with the original Sierra ones.

Unnecessary LSL3 remnants have been removed.

The high-score file is now managed entirely by a distinct File object and its methods. This is much simpler than using the kernel functions.

The menu bar has been greatly simplified. Save and Restore aren't needed for this kind of game.

You can now move blocks with the arrow keys as well as WASD.


29
2. As far as I know you can't change the title bar colour in SCI0. DrawStatus is a Kernel Function.
But the status bar is white. Title bars would be the things on top of windows, and those are gray in SCI0.

Even though DrawStatus would only take color arguments in the VGA terps, and the window drawer would switch to black (can't guarantee #8 is dark gray any more), both of these things can be custom-drawn.

Cool, I'll have a look - still not sure how to read the script files of genuine Sierra games, is there another piece of software I'm missing?
A plain text editor?

I can verify that the ability for DrawStatus to take color arguments was added in 11/30/1990, per the Run-Time System Changes document. I tested this in my SCI01 template (which uses Seasoned Professional EGA's interpreter), and it works.

Now I know why the title bar color was changed from grey to black.

30
The Games and other Sierra Adventure stuff / Re: King's Quest IV VGA-ish
« on: September 10, 2020, 11:16:50 AM »
Ironically, SQ4 might also be a good candidate.

As I understand it they wrote it for a text parser originally, then were forced to convert to point and click. I’d read somewhere that the only reason they were able to do that way because they wrote some kind of conversion function that would convert verb clicks into the text ‘said’ strings they’d originally programmed for. So the underlying code is still just parsing saids. I haven’t looked into it myself though.

Regardless, this looks like a fantastic project. I can’t wait to follow your progress.

I have looked into it, and I think it's related to the new Feature class introduced in SCI01. This class was moved out of script 998 (Actor), and into its own script, 950.
There, it was greatly expanded to include support for doVerb code. Script 996 (User) added the VerbMessager class which converted said specs into verbs. I know that KQ1SCI and QFG2 used this.
I think this was meant to help the programmers transition from the parser to an icon-based interface.

Pages: 1 [2] 3 4 ... 11

SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.105 seconds with 22 queries.