Community

SCI Programming => SCI Syntax Help => Topic started by: WD-40 on September 29, 2018, 04:24:53 PM

Title: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on September 29, 2018, 04:24:53 PM
I'm reconstructing the inventory items for Space Quest 3. I decompiled the game and found all the inventory items in script: n000. The items in the decompiled source are missing the "said" and "description" strings. They appear to be replaced with pointers/offsets into something unknown. A search for the missing strings reveals no matches found anywhere in the game.

(instance Glowing_Gem of InvI
   (properties
      said 4873
      description 6795
      view 242
      name "Glowing Gem"
   )
)

(instance Wire of InvI
   (properties
      said 4883
      description 6936
      owner 6
      view 242
      cel 1
   )
)

(instance Ladder of InvI
   (properties
      said 4887
      description 6988
      owner 15
      view 242
      cel 2
   )
)

Does anyone know where these strings might be stored? and how to get access to them? The description is not hard to find out, I can just run the game and read the description, but the said string I can only guess at what that might be.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on September 29, 2018, 06:13:32 PM
You might want to try a newer build of SCI Companion, because my decompilation looks like this:
Code: [Select]
(instance Glowing_Gem of InvI
(properties
said '/crystal[<glowing]/'
description {You are still carrying the piece of orium you picked up on Labion during your last adventure. However, it has long since lost its glow.}
view 242
name "Glowing Gem"
)
)
I happen to have one in my stash, linked in my signature.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: lskovlun on September 29, 2018, 06:50:49 PM
As Kawa says this is an old bug that was discussed and fixed some time ago. I can't be bothered to find that thread now, but it's here.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on September 30, 2018, 11:58:20 AM
You might want to try a newer build of SCI Companion, because my decompilation looks like this:
Code: [Select]
(instance Glowing_Gem of InvI
(properties
said '/crystal[<glowing]/'
description {You are still carrying the piece of orium you picked up on Labion during your last adventure. However, it has long since lost its glow.}
view 242
name "Glowing Gem"
)
)
I happen to have one in my stash, linked in my signature.

I replaced my executable with the one in your stash and it decompiles properly now. When is this version going to be officially released?
Thanks
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on September 30, 2018, 05:52:37 PM
(instance Metal_Pole of InvI
   (properties
      said '/pole'
      description {A handy metal pole.}
      owner 69
      view 242
      cel 11
      name "Metal Pole"
   )
)

LOL
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on September 30, 2018, 07:02:12 PM
Even I wouldn't stoop so low as to point that out.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on September 30, 2018, 10:26:14 PM
I also found this Picture Resource "Pic.420". It depicts an elevator used to get higher within the structure.

(http://oi67.tinypic.com/14bnqyf.jpg)

Has anyone noticed this stuff before? It's hilarious, I wonder if there is more in this game?
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 01, 2018, 03:07:14 AM
You're seeing things, friend. Even Larry games wouldn't do that stuff, let alone on purpose.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Daventry on October 01, 2018, 03:10:52 AM
WD-40
You played this game before? :)
The Elevator is used to kill the Terminator.
https://www.youtube.com/watch?v=zN2SUgg1VX0&feature=youtu.be&t=324
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: lskovlun on October 01, 2018, 04:38:35 AM
Stoned, or drunk, or both, would be my guess.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: MusicallyInspired on October 01, 2018, 08:39:37 AM
WD-40
You played this game before? :)
The Elevator is used to kill the Terminator.
https://www.youtube.com/watch?v=zN2SUgg1VX0&feature=youtu.be&t=324

Daventry
You played this game before? :)
The Terminator is not in this game.
It's a parody of the Terminator called Arnoid the Annihilator.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Daventry on October 01, 2018, 09:04:48 AM
MusicallyInspired
Really?
Isn't that Arnold Schwarzenegger?
Tell me more it's not Bill Gates?
;)
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 01, 2018, 09:22:28 AM
It's not Bill Gates.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Daventry on October 01, 2018, 10:03:05 AM
Kawa.
Thanks.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on October 01, 2018, 01:19:41 PM
You're seeing things, friend. Even Larry games wouldn't do that stuff, let alone on purpose.

I definitely thinks it's on purpose. Scott Murphy and Mark Crowe admitted to putting a vibrator into SQ3:

https://guysfromandromeda.com/episode-008-sq3-commentary-scott-murphy-mark-crowe-host-chris-pope-guys-andromeda-fan-podcast/ (https://guysfromandromeda.com/episode-008-sq3-commentary-scott-murphy-mark-crowe-host-chris-pope-guys-andromeda-fan-podcast/)

(http://oi67.tinypic.com/wgvp0p.jpg)

I think this game is chalked full of sexual and drug innuendo.  :)

Example #4:

(instance ThermoWeave_Underwear of InvI
   (properties
      said '/panties'
      description {ThermoWeave Shorts.__They keep you cool, and they're oh, so stylish.}
      owner 470
      view 242
      cel 9
      name "ThermoWeave Underwear"
   )
)
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 01, 2018, 01:57:30 PM
The panties thing is purely coincidental.

For one, the said string isn't literally that word, but a numerical reference. The parser's dictionary has a lot of different synonyms for things, all listed under that same number. This one, $91F, is "panties | shorts | skivvies | thermoweave | underwear". Notice how it's sorted alphabetically? The decompiler can't know that the canonical term is "thermoweave", so it picks the first in the list.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on October 01, 2018, 06:26:57 PM
The panties thing is purely coincidental.

That's a fine explanation technically speaking, but when has Roger Wilco ever wore women's "panties"?

I'm simply arguing that this game has raunchy undertones. Is that so hard to accept?

I don't mean to beat a dead horse but here's example #5...

Let's consider the wordage used to refer to a girl in 4 popular adventure games of the time:

SQ3: bitch | broad | female | girl | lady | slut | whore | woman
LSL2: bimbo | blond | blonde | broad | chick | girl | lady | maid | mama | mom | momma | mother | receptionist | secretary | slut | stewardess | woman
KQ4: fishwife | girl | girls | lady | maiden | wife | woman | women
PQ2: broad | female | girl | lady | woman

Isn't it funny that Space Quest even beats out Leisure Suit Larry? :o



Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 02, 2018, 05:51:48 AM
Yes, it is hard to accept.

People are very creative when it comes to "things to call a woman". You listed LSL2 and said SQ3 beat it? Try LSL3: "babe | bimbo | bitch | broad | chick | dike | dyke | female | fox | girl | lady | slut | woman". That's just for women in general! This doesn't even include any professions or the fat lady on the cruise.

It doesn't exactly surprise me that LSL2's synonyms for "man" are mostly professions: "barber | bore | boy | bum | captain | crewman | d | drunk | dude | guy | hairy | ken | maitre | man | passenger | reams | sailor | surfer | wino | worker". Doesn't mean Sierra are misogynists -- it means they're prepared for their players to be. And when a previous game turns out to not have enough support for misogynistic players' word choices... look one paragraph up.

As if I needed another reason besides "guess the verb" to prefer icon bars.

All that does mean that when checking your inputs, LSL2 will seemingly call every woman a bimbo, LSL3 will call them all babes, KQ4 fishwives, PQ2 broads etc. Seemingly, because what's actually stored in the script resources are, again, numerical codes. If you write "look/lady" in your script code and compile it, any inspection of the script resource will yield "look/bitch".
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on October 02, 2018, 11:05:41 AM
Doesn't mean Sierra are misogynists

I dunno, I found another easter egg which can only be triggered when Roger is sitting in the grabber machine.

VOCAB: hosebag | rosella

Hosebag definition: A trashy, dirty, skanky or sexually loose woman.

(if (Said('fuck/rosella')) (Print(703 2)) // "Not with your crank!"

 :-\

This obscure feature doesn't cater to anyone but the developers of SQ3. The only way for a player to find it would be through decompiling the resource files.

Now going back to my original argument: Can we please accept that the "Handy Pole 69" is a penis reference?

Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 02, 2018, 12:27:01 PM
Now going back to my original argument: Can we please accept that the "Handy Pole 69" is a penis reference?
No.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: MusicallyInspired on October 02, 2018, 04:44:34 PM
Let's just stay on topic here...how about that?
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: troflip on October 02, 2018, 04:49:02 PM
(if (Said('fuck/rosella')) (Print(703 2)) // "Not with your crank!"

Well that's clearly an easter egg ;-)

Now going back to my original argument: Can we please accept that the "Handy Pole 69" is a penis reference?

69 is just the room number the object originally appears in.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: WD-40 on October 03, 2018, 11:44:49 AM
69 is just the room number the object originally appears in.

Isn't the reference to 69 for the most phallic inventory item in the game highly suspect? given the sexual nature of two proven easter eggs: hosebag rosella and the vibrator in the junkbay? Of course we will never really know for sure, unless somebody wants to ask the TwoGuysFromAndromeda about it.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: Kawa on October 03, 2018, 02:01:22 PM
Stop.
Title: Re: SCI0 Space Quest III Decompilation Problem
Post by: MusicallyInspired on October 03, 2018, 04:06:45 PM
It's a coincidence. A few things are not coincidences. This one certainly is.