Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 09-12-2007, 06:01 PM   #1
djenkins
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default Crystalis ROM dumping tool (partially complete)

Hello,

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>
djenkins is offline   Reply With Quote
Old 09-20-2007, 12:40 PM   #2
feedback
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default 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>
feedback is offline   Reply With Quote
Old 09-21-2007, 02:38 AM   #3
djenkins
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default 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.

http://unwg.no-ip.com/~djenkins/Crys...omTools.tar.gz


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>
djenkins is offline   Reply With Quote
Old 01-09-2011, 10:09 AM   #4
bclifton
Junior Member
 
Join Date: Jan 2011
Posts: 2
Default

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:
[url]http://www.brianclifton.com/projects/crystalis[/url]

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

-Brian
bclifton is offline   Reply With Quote
Old 01-18-2011, 01:25 AM   #5
bclifton
Junior Member
 
Join Date: Jan 2011
Posts: 2
Default

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



Newer version uploaded (version 1.1). Tool and source code available.
[url]http://www.brianclifton.com/projects/crystalis[/url]

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]
bclifton is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:28 AM.

Contact Us - Zophar's Domain - Archive - Top

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