Hi.
I've a strange problem...
I'm working now on QFG1VGA.
Tried changing something at some file. Compiling it, it works.
Then exporting as patch, and putting in a clean directory - it behaves badly.
Checked the game both in ScummVM and DosBox, tried using both Phil's SciCompanion, and Kawa's 3.2.30
More details:
The file is chAlloc.sc - room 203 - the hero creation screen.
I tried commenting out lines 584-597 - the second `Display` call at `namePlate.highlight`.
I've worked in a fresh clean directory, and that was the only change.
After compilation, I've opened it in ScummVM, and it was as expected - everything worked, and the commented code wasn't executed.
Then I've exported the patch file to another clean directory.
Now, when opening it in ScummVM, in that room, there are a lot of warnings in ScummVM's console, 'glpyh 99 drawn out of bounds' (and similar). And worse - the screen is drawn incorrectly. There are 'ch' strings instead of the numerical values, and few more glitches.
The commented code wasn't executed, so, at least that bit is OK...
I tried to revert it, and uncommented that code. But it still behaves the same (except, of course, that the previously-commented code is now executed).
Started over, from clean copy. Now, I've exported a patch *before* compilation. That one seems to work.
Done it all over, same bad results.
Comparing the good patch before compilation, and the last patch, after undoing my changes (which supposedly should have been similar patches), the latter is smaller.
Any ideas?
If someone could also check it, it'd be nice. Maybe I've missed something stupid...
Thanks