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 - Kawa

Pages: [1] 2 3 ... 90
So the code to flip the vector image is there already, but hidden... and there's an off by one bug that is fixed in Experimental?


It is not a feature in SCI Companion and frankly the picture editor's code scares me so I don't think I'd want to try and add it.

I did just mirror a random pic from Larry 2 using Sierra's own picture editor though. It was pretty easy, just a few clicks. Would you like a copy?

SCI Syntax Help / Re: Old SCI0 Template Save Bug
« on: July 09, 2020, 06:32:52 AM »
If the save/load scripts don't have path separators in any of their strings, they're not affected by what I fixed.

SCI Syntax Help / Re: Sierra Script Conversion Issues
« on: June 29, 2020, 10:43:01 AM »
Smells like the latter possibility, then 🤔

SCI Syntax Help / Re: Sierra Script Conversion Issues
« on: June 29, 2020, 09:33:14 AM »
For whatever reason, does not have the line (include in it, or it is including a version of that for whatever reason is missing all these define statements.

SCI Syntax Help / Re: Converting sciAudio to Sierra Script
« on: June 23, 2020, 01:21:12 PM »
It's not SCI I don't think that's confused by the backslash. If I decompile this test script with "sciAudio\\command.con" in it, I get "sciAudio\mmand.con" in the disassembly and syntax tree alike. I'll look into the string parser and report back.

Okay I think I found it. In ParserCommon.h:
Code: [Select]
    if (isxdigit((uint8_t)ch))
        chHex = charToI(ch);
        lookingForSecondHex = true;
        str += "\\"; // Add it, the following char was not an escape char
        processCharNormally = true; // Add the current char too
That last line is what mucks it up. Commenting that out seems to help the co part survive without apparently being mistaken for an invalid hex sequence and eaten. A new build will be is available from the stash in my signature shortly now.

SCI Development Tools / Re: Decompilation Archive
« on: June 04, 2020, 06:51:02 AM »
The recently-added fixes for QFG1V got me to update SCI Companion.

Code: [Select]
- (and (<= `a evtMsg) (<= evtMsg `z))
+ ;EO: For some reason, `a and `A compile exactly the same,
+ ;despite the different cases.
+ ;This makes inputting a proper name (e.g. Eric)
+ ;impossible without the defines.
+ (and (<= KEY_a evtMsg) (<= evtMsg KEY_z))

This is because indeed the part of the compiler that works out backtic sequences uppercases what follows. This should now be fixed. There's a build that should leave the case alone in the stash linked in my signature.

SCI Syntax Help / Re: Adding a room to Quest for Glory 1 (VGA)
« on: June 02, 2020, 08:00:31 AM »
That'd be "not an object".

What exactly isn't an object, I don't know. E_NOT_OBJECT may be raised by the Clone, DisposeClone, and RespondsTo kernel calls. More likely, it may also be raised by trying to send to something that's not an object, such as a null variable.

(Going off of SCI11 here, just in case.)

SCI Syntax Help / Re: Adding a room to Quest for Glory 1 (VGA)
« on: June 01, 2020, 05:28:44 PM »
Which oops code number is it?

SCI Development Tools / Re: Decompilation Archive
« on: May 17, 2020, 09:17:52 AM »
unless two scripts have cross dependencies
Main and ColorInit come to mind.

SCI Development Tools / Re: Decompilation Archive
« on: May 14, 2020, 05:41:48 PM »
They contain names and exports and such, so the compiler can link smarter than Sierra's did. I don't think they're actually needed for present purposes.

SCI Development Tools / Re: Extending font files
« on: May 07, 2020, 01:20:17 PM »
Strange indeed if I could extend the font for the very first SCI game and use the new stuff. The font format, I think, hasn't changed from KQ4 to the very last SCI game.

I'd say that the choice to compile the parser in or out is largely a business decision. It's not like the choice affects the architecture of the rest of SCI much.
Besides the existence or inexistence of Said spec blocks in script resources. Though I think that was only in SCI11...

SCI Development Tools / Re: Decompilation Archive
« on: May 06, 2020, 06:43:18 PM »
Or - even better - put the decompiled sources on Github.
"Masterful stroke, Mr. Scruemall."

Pages: [1] 2 3 ... 90

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

Page created in 0.115 seconds with 22 queries.