PDA

View Full Version : NeoRaine 1.0.0 released



JKKDARK
December 27th, 2007, 14:11
New Neo Geo CD emulator (http://www.rainemu.com/html/download/neoraine.html) for Windows and Linux released.

Read the next requirements and other details:

Status
The emulator had to support the format supported by the psp for the games, that is a zip for the game files, and some mp3s for the music. Neoraine also supports a few other formats listed further in this doc, but if you try to use an original neocd cd, it will run the game without music ! That's because I don't support cd music, mainly because I have no easy way to play an audio cd in linux with sdl and hear something (the cdrom drive has no cable to the sound card), and there is no way to play it digitaly. So you'll have to rip the cd in this case, more about this later.

The emulation is fast, but it doesn't try to emulate the raster effects. As a result, "riding hero" is unplayable because they simulate 3d effects using raster interrupts in this game. There might be a way to emulate this without slowing down too much, but sorry I don't have the motivation for this now (and ridhero is not a very good game anyway, which doesn't help the motivation at all !). This is the only known neocd game which can't be played.
By the way there a few improvements compared to the neocdpsp version, and savegames are supported for most games (not all of them, but they are not really necessary because of the memory card, savegames are usefull for debuging mostly).

Differences with raine
I made a separate executable, and a separate makefile (makefile.neocd), but finally there are very little differences :

# There is no game list. When you try to load a game, you just browse files, and select a file to load, there are no known crcs to be checked
# If you change the sample frequency, you'll have to restart neoraine to apply the change. It's to avoid to restart the cd track everytime you call the gui from neoraine. Anyway you should always play at 44 Khz since the audio tracks are at 44 Khz.
# In "Sound options" you can choose music volume and sfx volume now. It's because depending on the game, music can be too low or too loud so it can be usefull to make adjustements. Notice that if you put these 2 to 10 (maximum), you will probably get some distortion...

That's all ! At the begining there were no cheats and no hiscores but finally I noticed that a few neogeo cheats/hiscores work also for the neocd version. Not all of them are working, but quite a few do. The neocd cheat file is named "neocheats.cfg" instead of "cheats.cfg" to allow to have raine and neoraine in the same directory, but they have the same format. For now neocheats.cfg is just a direct conversion of what Stephh had for neogeo, we might release something more specific to neocd later (for example, there are no cheats for mslug for now).

Formats supported for the games
# The games are all in cd format, so neoraine accepts one of these : If you have copied the cd files somewhere, there is an ipl.txt in these files, so neoraine accepts the ipl.txt file directly, this is the most basic format (direct file access).
# You can also zip the contents of the cd, and pass the zip file to neoraine. The zip file must contain an ipl.txt file in its root directory to be accepted.
# Cds in a ripped form will have a cue file, an iso/bin file, and some wav or mp3 files for the audio. So the cue file is supported.
# For the audio files they can be in mp3, ogg, or wav files for the hysterics of the "accurate" audio ! I recommend mp3 for the tracks.
So basically you should have 1 directory / game, with game files + audio files in this directory. Then when you load a game, you browse to this directory and pass the required file (zip or cue usually).
For compatibility with neocdpsp, audio files can also be placed in a neocd.mp3 directory in the game directory. So for example you would have :

Directory: Metal Slug
|- mslug.zip or mslug.cue
|+
|-neocd.mp3
|+ track01.mp3
|-track02.mp3...


If you don't use a cue file with the exact file names of the audio tracks in it, then you must have the track number on 2 digits in the filenames. So track1.mp3 won't be accepted, but "Metal Slug - 01 - Opening.mp3" will be accepted. If you use a cue file then audio filenames can have any format.

Notice that you can run a game from the command line if you want to by passing the main file (zip, cue or ipl.txt) on the command line.

Requirements
You'll need neocd.bin, which is the neocd bios. I can't put it in the neoraine package, but it's quite easy to find on internet. Put either neocd.bin directly in the raine directory (/usr/share/games/raine for unix versions), or neocd.zip if you prefer (the file must be named neocd.bin in the zip file in this case and the crc isn't checked).
Notice that the unix version uses the raine data directory. It's because most of the data files are shared between the 2 of course. For now the debian package of neoraine requires that raine is installed for its data files. I didn't want to make a separate data package just for that... maybe later.

Memory card
The neocd console had a memory card to save progress in the games. In neoraine, there is 1 memory card / game, saved in savedata/[game name].bin. When you get a message telling you that your memory card is not formated and asking you to press button A to format it, just press button 1. It's something to do the 1st time you use a new game. After this your memory card will be automatically reloaded everytime you load the game, and usually it allows you to restart at the level you reached last time. You get a very nice level selector in metal slug when you have this...