Zophar's Message Domain

Zophar's Message Domain (http://www.zophar.net/forums/index.php)
-   Rom Hack (http://www.zophar.net/forums/forumdisplay.php?f=8)
-   -   Crystalis ROM dumping tool (partially complete) (http://www.zophar.net/forums/showthread.php?t=8927)

djenkins 09-12-2007 05:01 PM

Crystalis ROM dumping tool (partially complete)

A few years ago I began work on a Crystalis ROM dumping tool. My ultimate goal was to create a full-blown ROM editor. However, as I disassembled the ROM I determined that this was not feasible. All of the in-game event triggers (which basically define the game's story line) are hard-coded as individual "if-else" statements scattered all over the code, and all hard-coded to specific room numbers. The event system is not table driven. Given this, I did not think that it would be feasible to create the type of editor that I had in mind.

However, I do have code (in C++) to dump all of the maps and maps connection points (these, thankfully, are table driven). I also have some extensive notes on the inner workings of the ROM. I also wrote a custom 6502 disassembler just for the purpose to dumping the crytalis rom. It takes as input the iNES format rom file and a custom symbol file and outputs commented disassembly. (currently doesn't compile - Gentoo Linux just updated flex&bison). This is a command line tool for Linux.

Is anyone interested in picking up the torch on this one?
<P ID="signature"></P>

feedback 09-20-2007 11:40 AM

Re: Crystalis ROM dumping tool (partially complete)
A friend of my wants it, more info in the PM i sent

> Hello,
> A few years ago I began work on a Crystalis ROM dumping
> tool. My ultimate goal was to create a full-blown ROM------------2061676619279--
<P ID="signature"></P>

djenkins 09-21-2007 01:38 AM

Re: Crystalis ROM dumping tool (partially complete)
> Is anyone interested in picking up the torch on this
> one?

Ok, this is what I've done. I put all of my notes and code up on my web server. I place the notes and code into the public domain. If you make use of them, please let me know. Crystalis is an awesome game and it deserves an awesome editor.


ps- The code compiles on my up-to-date Gentoo Linux box. You will need g++, flex, bison and netpbm. A normal Gentoo box will have the first three. The notes are all of the files ending in ".info". I suggest that you start by looking at the various make targets in the Makefile. "make allmaps" will build the tool and use it to dump every in-game map as a PPM file, and then covert them all to GIFs. It is very slow.

The code is a bit disorganized. It was a work in progress when I got bored with it and moved on to something else.

<P ID="signature"></P>

bclifton 01-09-2011 10:09 AM

So it's been a few years since this was posted...

I got the C++ code and started hacking on it. I made a graphical ROM viewer for Crystalis. It still needs a lot of work but I'm using djenkins code for loading the maps. Besides that, my viewer loads all the string data and bitmap data.

Here's a link:

Basically you just need a Windows machine capable of running .NET. The link above also has the source code. I've found a lot of offsets into the ROM and found out how the strings are stored (for the most part).

If anyone has more information about Crystalis (memory offsets, anything), post it up here and let me know. Otherwise, let me know what you think about the project


bclifton 01-18-2011 01:25 AM

Hey folks, if anyone is following this project...


Newer version uploaded (version 1.1). Tool and source code available.

Direct download links:
[url=http://www.brianclifton.com/downloads/2011-01-17_Crystalis_11.zip]Click here to download the ROM viewing tool[/url]
[url=http://www.brianclifton.com/downloads/2011-01-17_CrystalisSource_11.zip]Click here for the source code in C#[/url]

All times are GMT. The time now is 10:41 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.