Sega CD Frog Feast source code
I've decided to release the source code to Frog Feast for the Sega CD. I've benefited from the
source code released by many people in the Sega development community, and would like to give back
to the community.
You will need to purchase a copy of the Sega CD version of Frog Feast.
The CD contains the data and sound files needed by the game.
To compile the code, you will need to download the stripped down NeoDev
compiler. This must be extracted to "C:\" or the makefiles will need
to be modified.
Included in the NeoDev package are Bin2elf and Gcc2Ms.
Bin2elf converts any file to an elf object file. This is used for the graphics and maps.
Gcc2Ms (by Loser) allows the error messages to be
properly displayed in Visual Studio.
If you are not using Visual Studio 6, you will also need to download
nmake.
You will also need to download a copy of
SNASM68K. This needs to be
placed somewhere in your path.
If the build fails, ensure there is a Debug Folder in the SegaCDSrc directory.
To convert the graphics, you will need the Sega CD tools. This
converts files from PCX and Mappy to formats used
on the Sega CD. There is also a tool to convert from
tUME to Sega CD, but tUME is no longer used.
These need to be placed somewhere in your path. The "NeoDev\bin\" directory would be a good
choice.
To build the cd image, you will need
mkisofs.
This needs to be placed in somewhere in your path.
All of the sound stuff was done with
Sony Sound Forge 7.0.
The audio files are converted to a signed bit 8 bit 8 Khz PCM format.
To build the game you will need to:
- Add the "NeoDev\bin" directory to your path. This can be down with the setmvs.bat in the
NeoDev directory.
- Change to the source directory and run "gfxmake.bat". You will need the above mentioned tools
in your path.
- Run "gfx.bat". This requires that Bin2Elf.exe be you path.
- Compile the source code using either Visual Studio or NMAKE. You need to do a rebuild all if
changes are made to "GamePlay.c" or "GamePlay.h" or any related header files. The debug build is
the only valid build, as the release build wasn't updated.
To build with NMAKE, type "nmake FrogDebug.mak". To rebuild all, delete the files in the "Debug"
directory.
- Run "mkcd.bat". This builds the boot code and creates the iso image. You will need snasm68k and
mkisofs in your path.
- To test the code, run it under
Kega Fusion.
To create replacement screens under Mappy:
- Create a new map:
Each tile is 8 pixels wide and 8 pixels high
The map is 40 tiles wide and 28 tiles high.
Colours is Paletted (8bit).
- Under Map Tools->Useful Functions select "Create map from big picture".
Select a 320x224 image with a color depth of 16 colors. Mappy may require that the image contain
256 colors, but only the first 16 can be used.
- Save As "SegaCDSrc\Graphics\Screenname.map".
The filename should be "Screen1.map", "Screen2.map", etc.
- Export tiles by selecting "File->Export..."
Check Graphics Blocks as picture (?.BMP).
Enter 16 Blocks a row (optional)
Check Skip block 0.
Click "OK".
- To add the new picture into the game:
Run "gfxmake.bat"
Run "gfx.bat"
Do a rebuild all on the source code.
Run "mkcd.bat"
Download the source code.
The source code for Sega CD Frog Feast is copyright 2005-2010 by Charles Doty.
You may use any/all of the enclosed code in any freeware/commercial
application. The ony limitation is that the source code cannot be
recompiled to create a copy of the Frog Feast CD. You can create a modified
version of Frog Feast, and give instructions about burning a new CD using
the files from the Frog Feast CD. None of the data files from the CD may be
included with a modified version of Frog Feast.
I would appreciate a credit in your product, but it is not required.
Copyright 2005-10 RasterSoft