Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Finding level-data in SNESroms
  
User name:
Password:
Reply:
 

UserPost
Gavin
Posts: 570/799
yes, the quote button works just fine, thanks for checking
DAVALLR
Posts: 82/104
Originally posted by Geiger
How did you learn about compression routines in Chrono Trigger and FFVI? Did you learn it from watching at the asm-code of those games?

Decompression was figured out from looking at the ASM. Recompression was figured out by backward engineering.

I would suggest you use Lunar Compress if it supports your game. Otherwise, you will have to do pretty much the same thing I did.

First, is it possible to do the Chrono trigger main theme song with both the main part and the ending part of the intro into one spc?

Not really. The SPC that contains the Chrono Trigger theme is a signaled song. It requires a state change (a signal) to boot it into "attract end" mode. Thus far, no SPC player I am aware of is capable of doing state changes.

That said, the CT beta has several SPCs that did not appear in the final game, including an intact attract mode Chrono Trigger SPC. Ask Chickenlump for it. (Or you could also do a search, I think he posted it to this board awhile back).

Second, how do I get the .net thing so I can try out peer sprite viewer?

The best way is to download it from Windows Update. If you need to download it from a computer other than your own, it is available separately, probably at the link above. Make sure you get the proper language version.

Third, has the chest data for FF6 been found yet?

I do not have a listing for it in my WIP FFVI database.

---Evil Peer
Jigglysaint
Posts: 96/215
Where's the level editor?
Imzogelmo
Posts: 2/41

Interestingly enough, I used Evil Peer's tracer SNES9x to find this data.
Then I just looked at my bank 0 disassembly (since that's where the decoding function is located).

Corundum has a document created by a parse of this data.

Drakkhen has a program to edit the contents of a chest.
Jigglysaint
Posts: 88/215
The thread doesn't seem to show for some reason.

Oh well, at least it only took me a couple of seconds.
Geiger
Posts: 114/460
Ah.. looks like the thread is still available.

Izmo's hacking thread

---Evil Peer
Jigglysaint
Posts: 87/215
Well it's there now, so take it or I will have to kill you. My guess is that the pointers are right before that.
Geiger
Posts: 113/460
Now that you mention all this, I believe someone was decoding the treasure information on the Gamefaqs board a month or two ago. Unfortunately, I did not record the data.

---Evil Peer
Jigglysaint
Posts: 86/215
Okay, I'll go looking for FF6 chest data right now. Won't take me more than a half hour.

Scratch that, won't take me more than half a miniute.

The offset of the chest data for the hidden Break Blade in the Magitek factory is at 2d8b4a. The first 2 bytes are the position. The third seems to be some sort of inner map index. The fourth works on a bit flag. Basically, values 10, 20, 40, and 80 work. 10 makes the chest empty. 20 puts a monster in the box. 40 is a standard chest, and 80 puts money in multiple of 100 in the box. The next byte is the item number, monster index, or money amount tims 100(value is multiple of 100).

Give me a sec to find pointer values.
Xkeeper
Posts: -3210/-863
One way I could've found Crystal Mine's data would be to open up FWNES's memory viewer and note the patters in there, which made it easy because once you find the top-left corner tile, it goes on for 330 bytes in RAM in perfect order, making finding the levels easy...

Of course how Acmlm did it back a year ago or so he just opened it in a hex editor and found some interesting patterns and corrupted around there, took a screenshot... there were a few lines of data garbled in the first level, so he found it

Of course the people who wrote a small amount of the data covered in my (unreleased yet uploaded) document on the subject goofed up pretty badly, considering that the poor thing's labled as $8000-8300 in ROM (it's actually much different)...

Oh, yeah, back on topic, pretty much all of the ways you can find it:

* Corrupting randomly, narrowing it down (I've done this with Bucky O'Hare and found some level data)
* External viewers, like the ones Peer posted
* Looking for patterns in a hex editor (Acmlm did it with CM)
* Checking memory viewer for changes if you can modify the level, then searching for that in the ROM
* Tracing where ASM reads the data from
* More...

-------------------

You've got a lot of options, those above are listed in what I believe to be easiest - hardest

Speaking of my Crystal Mines document...
Ailure
Posts: 5039/11162
Anothert way to find Level data is just by looking after patterns, I did that with a NES game and I found the level data very quickly. This probably won't always work, but it's one of the first things you can check.

However a SNES one is alot bigger so it's probably inpractical. And if it's compressed...
Chickenlump
Posts: 376/722
I did help Zeality awhile back to rip all the spc's out of the Prerelease. It's an interesting set. It can be found on his site http://www.chronocompendium.com.
It's a huge site, so I will link you directly to the prerelease soundtrack page (not that you shouldn't take a look around while you're there, theres much to read through, it's an interesting site) .

http://www.chronocompendium.com/Term/Music_%28CTP%29



Geiger
Posts: 111/460
How did you learn about compression routines in Chrono Trigger and FFVI? Did you learn it from watching at the asm-code of those games?

Decompression was figured out from looking at the ASM. Recompression was figured out by backward engineering.

I would suggest you use Lunar Compress if it supports your game. Otherwise, you will have to do pretty much the same thing I did.

First, is it possible to do the Chrono trigger main theme song with both the main part and the ending part of the intro into one spc?

Not really. The SPC that contains the Chrono Trigger theme is a signaled song. It requires a state change (a signal) to boot it into "attract end" mode. Thus far, no SPC player I am aware of is capable of doing state changes.

That said, the CT beta has several SPCs that did not appear in the final game, including an intact attract mode Chrono Trigger SPC. Ask Chickenlump for it. (Or you could also do a search, I think he posted it to this board awhile back).

Second, how do I get the .net thing so I can try out peer sprite viewer?

The best way is to download it from Windows Update. If you need to download it from a computer other than your own, it is available separately, probably at the link above. Make sure you get the proper language version.

Third, has the chest data for FF6 been found yet?

I do not have a listing for it in my WIP FFVI database.

---Evil Peer
Kagerato
Posts: 23/25
The .NET runtime is available at Windows update, or as a separate download here:

http://www.microsoft.com/downloads/details.aspx?
FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

Delete the line break after the question mark; I didn't want to cause unnecessary table bloat.
Jigglysaint
Posts: 83/215
I took a look at Evil Peer's site. Pretty good. Just a few things though that I am wondering. First, is it possible to do the Chrono trigger main theme song with both the main part and the ending part of the intro into one spc? It should be possible. I want to record that song but since they are both seperate pieces, it's not possible unless there is an SNES emulator that enabled wav dumping.

Second, how do I get the .net thing so I can try out peer sprite viewer?

Third, has the chest data for FF6 been found yet? I made rather short work of the CT chest data, and since I didn't see it in any of the ff6 documentation, it might be worth a look over.
FloBo
Posts: 2/101
thanks for all your responses. my problem is, that the map-data I'm searching for is not locatable with ordinary tile-editing-tools. Quite likely it is compressed, right? And how about that? Finding compressed data in roms is seemingly uneasy, isn't it?
I had to use Lunar Compress to find most of the graphics-data stored in the rom, but I have not the slightest idea about how to find the regions were the (originally compressed) tiles are assembled to the map I'm willing to change.

So what about you, Evil Peer? How did you learn about compression routines in Chrono Trigger and FFVI? Did you learn it from watching at the asm-code of those games or else...?!

Any suggestions?
Chickenlump
Posts: 373/722
Peekin's Tileview program has always been one of my favorites. It does a good job, I have found level data in quite a few games using it. Of course, all games are going to be different, but do give these programs a try or 3. Everything that looks suspicious (many chunks of rectangular shapes for example ) corrupt around there.

The two mentioned tools and corrupting can be surprisingly effective.
Geiger
Posts: 110/460
If the data is uncompressed, you might be able to find it by just strolling through the ROM. Certain programs can output this sort of information visually. Here are a couple of examples.

Peer Sprite Viewer

Peekin's TileView

---Evil Peer
Dragonsbrethren
Posts: 10/31
I find most of my data by looking for a pattern in the ROM and replacing it with bytes from later in that pattern, works pretty good, it's how I found all my new FF4 data.

Edit: This is in regards to non-level data, but it should work about the same.
Jigglysaint
Posts: 82/215
Rom corrupting long and tedious? Okay, maybe so for the 99% of the population, but I swear by it, but only because I am the God of Corruption.
This is a long thread. Click here to view it.
Acmlm's Board - I2 Archive - Rom Hacking - Finding level-data in SNESroms


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.015 seconds.