+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Compressed multi-file archives, I'm kinda stuck here.
Pages: [1]
Author Topic: Compressed multi-file archives, I'm kinda stuck here.  (Read 293 times)
Bobbias
Guest
« on: October 04, 2007, 11:25:16 am »

Ok, I've mentioned earlier all the compressed .bin files in the Shakugan no Shana game, and KC managed to locate some file pointers that point to some sub-files contained within the .bins, but my problem is that most of these sub-files are really small (0E bytes in some cases, and one was only 04 bytes), which means that they are not individually compressed, like I thought they were, which brings me back to square one, how the hell do I decompress the .bins. If anyone could shed some light on what's going on here, I'd really appreciate it, because for the moment, I've hit a brick wall with these damned .bins.
KaioShin
Guest
« Reply #1 on: October 04, 2007, 11:53:48 am »

Those files might be anything, and it's very possible that there is nothing to decompress. The only way to really know where to look for in the first place is to use a debugger and find out. Otherwise you are looking for the needle in the haystack.
KC
Guest
« Reply #2 on: October 04, 2007, 12:21:11 pm »

I miswrote the offset... again. Only by one byte, though. That's also the reason why it wasn't word aligned...
Well, I wrote a small (and bad) program to extract that one archive... http://phpfi.com/266884
The data for the other archives is somewhere below that, but you have to find that out for yourself.
Bobbias
Guest
« Reply #3 on: October 04, 2007, 12:24:50 pm »

Well, when you look at this image, it sure looks like it's compressed data:
http://img.photobucket.com/albums/v227/Bobbias/pt_bin.png

Notice the missing letters in the obvious text there... In any case, I can send anyone who wants it the rom/extracted files if you don't want to go looking for it, and any help would be appreciated greatly. I've never done anything like this before, so the more help you guys give me, the more I'll learn (I'm pretty quick at learning, but there's only so much I can learn on my own when I've never done this before, and there are essentially no documents to help me work with a DS rom...)

Hell, has anyone translated a DS rom yet?

Dude, KC, you are a life saver. I was doing all my extraction manually, because I haven't touched C++ or anything for that matter, in about 3 years.
I'd work on it right now, but I've got driving lessons in about 10 minutes, so I don't have the time right now.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC