Open main menu

Difference between revisions of "User:Buddha^/GSoC2007-ProjectDiary"

Added info on done work on 2007-07-17.
(Added info on done work on 2007-07-16.)
(Added info on done work on 2007-07-17.)
Line 735: Line 735:
I'm quite pleased with the general descriptions but not so much with the implementation details
I'm quite pleased with the general descriptions but not so much with the implementation details
subpages for AGI256 and AGI256-2. They're a bit of a mess at the moment to say it politely ;).
subpages for AGI256 and AGI256-2. They're a bit of a mess at the moment to say it politely ;).
== 2007-07-17 (Tuesday) - Banged my head to the wall with bug #1751483 ==
Tried to fix [https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1751483&group_id=37116 bug #1751483]
(Description: "AGI: The -x command-line option appears to be broken").
Was somehow unfocused today, did only about a half a day's work.
Didn't get far with the bugfixing as I banged my head to the wall with it
for some hours. It just seemed that yes, the save_slot parameter does get correctly
parsed from the command line and set to the configuration manager's key
save_slot but doesn't for some unknown reason get to the AGI engine at all.
Sooo... it seems that it was just the way I used the command line options that
made it act that way. I did use the --save-slot i.e. -x command line option but
used the launcher with it to choose a game. Oh well, I did realize that after
some hours :) and now I can at least reproduce the bug on my machine (By also
giving the game's name on the command line, not just the save slot number).
The problem with my approach was that if no game was given on the command line
the save_slot's value was cleared when loading a game. It got cleared as a part
of the configuration manager's transient domain (kTransientDomain i.e.
__TRANSIENT) that got cleared at game loading. So no wonder the value never
got to the AGI engine's side at all :-).
And yeah, it's broken at the moment, the bug is true. With Police Quest I's
PC version I also got the menus to disappear when loading some save game for it
from the command line. And when I tried accessing the menu the game
died. So it's definitely broken. But I haven't come up with a reasonably
easy way to fix it yet and starting work on the Apple IIGS sound support
is around the corner so I'll probably put this bug back to the pool.
417

edits