Author Topic: Decompilation Archive  (Read 45780 times)

0 Members and 1 Guest are viewing this topic.

Offline Collector

Re: Decompilation Archive
« Reply #135 on: July 30, 2021, 08:24:56 PM »
Yeah, I was going to note about significant differences between the two, as well.
KQII Remake Pic

Offline MusicallyInspired

Re: Decompilation Archive
« Reply #136 on: July 30, 2021, 11:02:14 PM »
I don't think we necessarily have to do the EGA floppy versions with the VGA floppy versions as they're mostly the same, but yeah. Big differences between CD and floppy. Most notably KQ5 and SQ4.
Brass Lantern Prop Competition

Offline Collector

Re: Decompilation Archive
« Reply #137 on: July 31, 2021, 10:00:27 AM »
Isn't the main differences between EGA and VGA just the graphical resources? I would imagine that there would be little, if any script differences.
KQII Remake Pic

Offline Kawa

Re: Decompilation Archive
« Reply #138 on: July 31, 2021, 02:17:25 PM »
If stuff like the Chronostream in SQ4, or the siren lights in the title screen of PQ3 is any indication, I'd be surprised if there was anything at all.

Offline MusicallyInspired

Re: Decompilation Archive
« Reply #139 on: July 31, 2021, 05:14:01 PM »
Yeah that's what I mean.
Brass Lantern Prop Competition

Offline Collector

Re: Decompilation Archive
« Reply #140 on: July 31, 2021, 09:09:46 PM »
As to KQ6 about the only real differences are the Windows "high-res" dialog images and the AVI support. Unlike KQ5, the CD includes the text display, even if only with the DOS dialog images.
KQII Remake Pic

Offline EricOakford

Re: Decompilation Archive
« Reply #141 on: July 31, 2021, 09:49:56 PM »
Yeah, one of my ground rules is that I only do the newest versions of games, since they tend to be the most stable and available.

Maybe one idea is to reinstate the text dialog back into the CD version. Frankly, I don't care for the voice acting, and a No Dead-Ends mod would require additional lines not covered by the existing voice clips.

I have posted what's been done here. There's lots to be done!

As a side-note, I have ordered the NES version of KQ5 on eBay. I plan to dump it to a ROM and check for any new text which could be implemented in a possible mod.
« Last Edit: July 31, 2021, 09:55:42 PM by EricOakford »
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1
SCI2.1 planned

Offline Collector

Re: Decompilation Archive
« Reply #142 on: August 01, 2021, 12:02:57 AM »
The text is one of the reasons that I thought it would be nice to have both. I agree with you about doing the latest for the most part. It is only the ones that have significant differences between the diskette and CD versions that would be nice. One other that might be worth while is Freddy. There was a lot of interactive dialog that was cut from the MPC version because there was so much to record for the narrator vocal track.
KQII Remake Pic

Offline Kawa

Re: Decompilation Archive
« Reply #143 on: August 01, 2021, 06:05:23 AM »
As a side-note, I have ordered the NES version of KQ5 on eBay. I plan to dump it to a ROM and check for any new text which could be implemented in a possible mod.
It still amuses me that they basically rewrote the whole damn game, and still left the "poisonous snake" line.

Offline MusicallyInspired

Re: Decompilation Archive
« Reply #144 on: August 01, 2021, 10:48:38 AM »
I'm very sorry to hear that. I was specifically waiting for the floppy versions.  :(  And yeah, there are many cases where the floppy versions are superior. Most notably with KQ5, SQ4, and Freddy. But far be it from me to demand anything from someone else's spare time project. I'll deal with it.  :)
Brass Lantern Prop Competition

Offline Kawa

Re: Decompilation Archive
« Reply #145 on: August 01, 2021, 01:43:56 PM »
Code: [Select]
(switch (event message?)
(JOY_UPRIGHT
(SpeakAudio 2)
(event claimed: 1)
)
(JOY_RIGHT
(SpeakAudio 9)
(event claimed: 1)
)
(JOY_DOWN
(SpeakAudio 14)
(event claimed: 1)
)
(JOY_DOWNRIGHT
(if (== (inventory indexOf: (theIconBar curInvIcon?)) 28)
(event claimed: 0)
else
(SpeakAudio 21)
(event claimed: 1)
)
)
)

what the frik even is this game ;D

Offline EricOakford

Re: Decompilation Archive
« Reply #146 on: August 01, 2021, 02:39:11 PM »
Code: [Select]
(switch (event message?)
(JOY_UPRIGHT
(SpeakAudio 2)
(event claimed: 1)
)
(JOY_RIGHT
(SpeakAudio 9)
(event claimed: 1)
)
(JOY_DOWN
(SpeakAudio 14)
(event claimed: 1)
)
(JOY_DOWNRIGHT
(if (== (inventory indexOf: (theIconBar curInvIcon?)) 28)
(event claimed: 0)
else
(SpeakAudio 21)
(event claimed: 1)
)
)
)

what the frik even is this game ;D

Those are obviously meant to be the verbs. Since this game tends not to use doVerb: for most of its features, the decompiler doesn't know this, so it used the wrong defines. JOY_UPRIGHT should be verbLook, JOY_RIGHT should be verbDo, JOY_DOWN should be verbTalk, and JOY_DOWNRIGHT should be verbUse.
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1
SCI2.1 planned

Offline lskovlun

Re: Decompilation Archive
« Reply #147 on: August 01, 2021, 04:54:08 PM »
Code: [Select]
(if (== (inventory indexOf: (theIconBar curInvIcon?)) 28)
And there's one thing that I've wondered about. Making an O(n) pass through a list (calling FirstNode/NextNode) to see what the current item is. Could be done in a single ScriptID call. It doesn't even hit the disk; they know that script 0 is in memory. For even faster execution, special-case (ScriptID 0). There are worse things they could special-case.

Offline EricOakford

Re: Decompilation Archive
« Reply #148 on: August 02, 2021, 10:37:10 AM »
I'm very sorry to hear that. I was specifically waiting for the floppy versions.  :(  And yeah, there are many cases where the floppy versions are superior. Most notably with KQ5, SQ4, and Freddy. But far be it from me to demand anything from someone else's spare time project. I'll deal with it.  :)

By all means. The KQ5CD decompilation will help significantly in your efforts, since I'll be identifying event flags and globals along the way.
My SCI templates
SCI0 SCI0.1 SCI1.0 SCI1.1
SCI2.1 planned

Offline MusicallyInspired

Re: Decompilation Archive
« Reply #149 on: August 02, 2021, 03:26:14 PM »
That may work with KQ5 but not for SQ4. Such a different beast between the CD and floppy versions. Even KQ5 has an entirely different icon bar and doesn't even have a control panel.

Oh and I didn't mean I would handle the decompilation. I meant I would handle my disappointment.  :D I'm not qualified to translate all that disassembly.
« Last Edit: August 02, 2021, 06:12:35 PM by MusicallyInspired »
Brass Lantern Prop Competition


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

Page created in 0.171 seconds with 25 queries.