Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Legacy Hyperlaunch.ahk to module conversion


cbond

Recommended Posts

Posted

I like the idea of breaking the old, long .ahk file into modules. But I have a legacy ahk that was modified to allow a player to choose the read the manual before launching the game -- or not. I would like to break the code out of the legacy ahk and put it in the emulator module, but I don't want to start this blind so I'd like to get hints or tips from anyone who has already gone through this process. Any thoughts?

Posted

I don't have manuals for every game, so I wrote code to check for the existence of a manual when the game was selected. If there was one, a dialog box popped up asking if the player wanted to review it (using PDFLite). If so, the manual was displayed with navigation capability. If not, the game simply launched.

I also wrote code in my Atari 800 module to configure the game automatically, as some games used Joystick 1 and others used Joystick 2, some used one BIOS and others used a different one. The code ran a batch file on game launch which took care of all this so the user never sees the details.

In any case, I still need to rewrite the appropriate modules to so I can make my system as user friendly as possible.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...