I don't know if this will be handy for anyone else, but here it is. Another Phoenix rom launcher.
So, the other week, I came across an impressive emulator for the 3DO & Jaguar called the Phoenix emulator. After looking for a way to integrate it into LB, I came across @jophran's excellent "ROMLauncherPhoenix" program. It worked great for injecting the rom path into the Phoenix's config file, then launching and making Phoenix full screen. In fact, his program is probably a better option for those with uncompressed images or smaller collections. I decided to go "all-in" with this setup. But I also decided to update my collection to the entire N. American releases (yeah, I'm a sucker for cheesy 3DO games) and I wanted to compress the images to save space.
Since Phoenix doesn't work with CHD, I used Phoenix's built-in compression format ".binar" (but I also compressed my bin/cue files to CHD for archiving). After getting over 170+ compressed 3DO images and 56 Jaguar roms imported into Phoenix, I noticed that Phoenix had an excessive lag time on startup - somewhere between 4 - 5 minutes! Crap, that's disappointing.... but it got me thinking about how Jophran's script was used to launch Phoenix. I got the idea that I could cut down on the excessive startup time by replacing all the rom info in Phoenix's config file with only the rom info for the image I was launching. Wrote it up, tested it, works great, now here it is.
Here's how it works:
Setup:
- First, make sure all 3DO & Jaguar roms have been properly imported into the Phoenix emulator.
The games don't have to be moved from LB! But Phoenix has to know where they are (and apparently their fast-md5, md5, & sh1 values). So import them into Phoenix first.
- Put this script's executable into the Phoenix emulator directory.
- Start the "_Phoenix_Rom_Launcher.exe" with no command line options to bring up the Backup Utility window.
- Use the Backup Utility to create a backup copy of the "full" Phoenix config file.
- Set Launchbox to use this program as the default emulator for 3DO and/or Jaguar games. (use the default emulator settings)
Useage:
- Launch a 3DO/Jaguar game from LaunchBox. (this will cause the Phoenix.config.xml file to be modified!)
- The program will magically search the backup xml file for that game's info.
- It will then delete all the previous game info from Phoenix's config file and inject this single game's info.
- Last, it will launch the Phoenix emulator and make it full screen.
As an extra bonus, I included the option to enable a builtin "AutoKey" feature that will close the Phoenix emulator with the [Esc] key (but only as long as Phoenix stays the active window). This option can be set either in the Backup Utility or in the ini file the program creates on first run.
This program was created with AutoIt, so virus scanners may complain. I have included the source code for anyone to look over or compile for themselves.
I've also included a couple of images to explain how to use the program to create the backup file or to restore from it. It's literally just a copy of the "full" Phoenix config file that gets moved back & forth. The program comes with no warranties, but I tried to make it as child proof as I can.
Enjoy! and if you use it, let me know how it goes or if there's any problems.
Oh.. as an additional note: If you want add any new games to your Phoenix 3DO/Jaguar library, you'll need to:
- Launch the Backup Utility to restore the original Phoenix.config.xml file using the restore feature.
- Import the new games into Phoenix.
- Delete the old "_Phoenix_Rom_Launcher.xml" file that's inside the Phoenix program folder.
- Launch the Backup Utility to create a new backup file. (This creates the new "_Phoenix_Rom_Launcher.xml" file)
- Then use as normal.
_Phoenix_Rom_Launcher.au3 _Phoenix_Rom_Launcher.exe