News: 11 March 2016 - Forum Rules

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Majin3

Pages: [1]
ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 21, 2011, 06:12:47 pm »
Oh, I forgot I didn't upload any screenshot of that part uncompressed.
Here it is:

As you can see the distance is 13.

And the distance from getOnceInsta to nce is also 8, while FFF-FF8 gets us 7.
Either there is something wrong there or I didn't understand it yet.

ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 21, 2011, 05:24:43 pm »
Hmm, not yet.
Shouldn't I subtract 1 to get the actual value?
Yes, "nce" is 8 characters back (uncompressed data) but FFF-FF8 is 7, isn't it?

And it looks in the uncompressed data? In the third example (0FF7) that would be 00 4B instead of "NN" which is back at 13.

ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 21, 2011, 11:02:43 am »
Thanks, guys. I didn't understand it completely, though...
The first example (1FF8): Why is it -8? Isn't FFF-FF8=7? And by looking at the compressed file, the distance to "nce" is even 9.
The third example (0FF7): Once again, isn't it -8? But -9 is right here.
And as for the other 2, I don't get where they should be pointing at all. The second one points to B6 0F 8F (should be 00 4B 02) and the fourth one to 75 B7 1F 08 (should be 00 00 00 00).
But I think I got the rest now at least.

jjjewel, are you planning to write a (de)compressor for that "NDS games that use similar compression"?
Or I guess I could ask the writer of DSDecmp or something to implement this one...

ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 20, 2011, 06:22:19 pm »
Wow, nice reverse engineering. I think I got the main idea, more or less.
So this is a completely new compression? If there is no (de)compressor, I guess I'm out of luck.

Using SJIS I do get some results like 有力者 but looking through the memory seems to be a better solution:

The file was twice in memory: compressed and decompressed. I hope this helps.

One hypothetical thought, would it work to fetch the data from memory, change it, put FF every 8 bytes (and 05 every block?), place it back into the .pack files and adjust the stored size and the hash (however it works)? It'd be subpar, but at least I could skip compressing & decompressing.

ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 20, 2011, 08:19:40 am »
I already suspected it being 文字 but then I though it could be a coincidence because all .bin files have MOJI but for example .iba mostly has 03 03 0F 01 which makes no sense.
But you're most likely right, those 4 bytes do sometimes vary even between the same file extension, so I guess they're simply the compressed beginning of the file.

It wouldn't surprise me if it's not SJS. There are 640 .pack files and each of them contains a lot of files as well. That file was the first from System.pack: bunsyou1.bin (as a test since without decompressing them I can't find out where the text is...)
Maybe this one is more helpful since you can recognize some words: (System.pack: script.ifb)

ROM Hacking Discussion / Re: Text hacking Cross of Venus (NDS)
« on: May 19, 2011, 06:06:13 pm »
Thanks for your response. I'm lacking programming skills though...

This is what I've found out so far about the header:
XX 00 [file name] 00 00 02 00 00 00 00 YY YY 00 ZZ ZZ 00 00
XX is the file name length, YY YY is the stored size and ZZ ZZ seems to be some sort of hash (is there any 2-bytes-long hash?)

But I still have no clue about what compression it is... I've tried to run DSDecmp on an extracted file but it returned "no matching compression method found".

The first byte of every file is mostly 8F (I found 1 file with 8D though) and the next 4 seem to be the file format (.bin has 4D 4F 4A 49 as seen in the screenshot). Any clues?

ROM Hacking Discussion / Text hacking Cross of Venus (NDS)
« on: May 19, 2011, 11:12:51 am »
I hope this is the right section.

I want to try translating the Nintendo DS game "Dengeki Gakuen RPG: Cross of Venus Special".
The problem is, I have no clue where the text is... I tried memory hacking which worked perfectly. The text is simply SJS, but the game files are compressed/encrypted/whatever so I don't even know which file the text is stored in.
The game files have a .pack extension. THIS is how the header looks like and THIS is how the content looks like.
Does anyone have any clues about this pack format?

Thanks in advance.

Pages: [1]