Right, so
here we have a script that'll boot a given N64 ROM directly. Along with EGazzz I've worked out how it all runs.
Surreal works by unzipping a ROM to X: (I
think it's always X:) and running one of it's emulators. That then runs whatever's on the swap drive.
Hence this script does more or less the same thing (skipping the unzipping step if it isn't required).
The good, the bad, and the ugly:
There are four parameters near the top of the script to set, depending on which ROM it should be loaded.
"ZipName" and "Emulator" speak for themselves.
You'll need to work out what the other two values ("RomName" and "RomCRC") should be by playing the game in the usual way (via Surreal's frontend), then reading "Temp.ini" from the Surreal folder.
The script needs to go in the same directory as Surreal (you can boot it via the File Manager), and the ROMs need to be stored in "
<SurrealPath>\Roms".
The ROMs must be in N64 format (little endian). As a quick explanation, all those different extensions you see on your games (Z64, V64, etc) mean they're in different formats: Different emulators load (and/or in rare cases such as Surreal, run) certain formats faster, and some older ones only run certain formats.
Surreal converts ROMs to N64 when you load them (if it has to), but this script can't do that. A converter such as
Tool64 can convert your files in bulk permanently.
Furthermore, you need to be using the latest version of Surreal (currently XXX beta 4.95).
That's about it for now: A working script. More or less useless until I work out how to run it from the Programs menu.
This post has been edited by Bomb Bloke: Aug 21 2007, 06:45 AM