Pages: « 123 »
Posted on 05-20-12, 11:47 am
Roy Koopa


Karma: 4011
Posts: 1510/2722
Since: 06-26-11
This is what I get... I cant see anything in this But how can I get to the right OV in the NMSBe File browser now?
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-20-12, 11:48 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1734/4456
Since: 06-08-11
Go to the overlay number, click decompress overlay, and click hex edit
Posted on 05-20-12, 11:50 am
Roy Koopa


Karma: 4011
Posts: 1511/2722
Since: 06-26-11
I did already, but there's no real text to see (I didnt expect it... ) So now I have just to try, try and again try until I get how the credits are working?
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-20-12, 11:53 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1735/4456
Since: 06-08-11
Yea there's no text on overlay 8 ...
Don't know, try the other overlays that are loaded maybe?

Also, when you did the screenshot at the boss fight, did you reset the ROM before doing it? If you didn't maybe you need to do it again, because overlays can "stay loaded" even if NSMB doesn't need them. Overlays are unloaded only when NSMB needs to load another overlay in the same adress.
Posted on 05-20-12, 11:54 am (rev. 1 by  ray on 05-20-12, 11:57 am)
Roy Koopa


Karma: 4011
Posts: 1512/2722
Since: 06-26-11
Yes I did

EDIT: I deleted everything in OV 8 and then the worldmap doesnt load o0 When I select my save, everything stays black after the fade
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-20-12, 03:02 pm
☭ coffee and cream


Karma: 10398
Posts: 309/2766
Since: 06-26-11
Then obviously overlay 8 has to do with overworlds

Perhaps it does credits too, but I'm not sure about that.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 05-20-12, 04:54 pm
Banned for being a complete idiot.

Karma: 529
Posts: 845/987
Since: 07-09-11
IIRC, it DOES contain the overworld information. I used  Dirbaio's RAM trick to find out that it loads when I go to an overworld.

Anyways, back on topic.

Maybe it could be hidden in a file in the NITRO FS somewhere?
Posted on 05-20-12, 05:14 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1737/4456
Since: 06-08-11
I've done a search over the whole ROM using Hex Workshop for texts like "credits" or names of the people who appear in the credits. No results.

The credits are either not stored as text, compressed, or hardcoded.
Posted on 05-20-12, 06:55 pm
Red Goomba
Master of Fire & Ice!

Karma: 67
Posts: 7/35
Since: 06-28-11
I must hand it to Nintendo. They sure did a good job hiding the credits for us...

This is just like trying to find a needle in a haystack...
Posted on 05-20-12, 11:46 pm
☭ coffee and cream


Karma: 10398
Posts: 311/2766
Since: 06-26-11
The credits may be stored using a pseudoalphabet, like SM64DS texts. I'd say, finding out which files the font is loaded from is a start. Then, one can assume that the 'text' is going to be a series of tile indices.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 05-28-12, 02:28 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1756/4456
Since: 06-08-11
Build 324 just introduced support for ENPG files!
Just a small indication!
Posted on 05-28-12, 02:59 pm (rev. 1 by ImageBot on 11-21-16, 02:13 am)
☭ coffee and cream


Karma: 10398
Posts: 324/2766
Since: 06-26-11
I can confirm that credits texts are stored as series of character indices.

Here's the alphabet used for credits:


Searching for bytestrings corresponding to that alphabet is a good way to find the credits texts.
For example, the string PRODUCER would be stored as: 0F 11 0E 03 14 02 04 11

In an EUR ROM, this bytestring can be found at 0x020FC0A0, 0x020FC530 and 0x02100EF0. The latter address appears to be a storage for the currently displayed lines, and the two former come from a certain overlay. The string is occuring twice most likely because the credits texts are internationalized.

The fact that they're stored in an overlay means that adding credits isn't going to be easy. Modifying the existing credits will be possible, but that's not what we want.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 05-28-12, 03:02 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1767/4456
Since: 06-08-11
O.o nice find!

Maybe we can then figure out how the code reads the credits, and make a small ASM hack to make it read the credits from our data?
Posted on 05-28-12, 03:17 pm (rev. 1 by ImageBot on 11-21-16, 02:13 am)
☭ coffee and cream


Karma: 10398
Posts: 325/2766
Since: 06-26-11
That's one possibility.

Also, a little confirmation of the previous findings:


The RAM address corresponds to overlays 1 to 10. According to ray's previous findings, the overlay that contains the credit strings would be overlay 8. That overlay would also most likely contain the code related to reading and displaying the credits.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 05-28-12, 03:18 pm
Roy Koopa


Karma: 4011
Posts: 1530/2722
Since: 06-26-11
Wow awesome progress!
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-28-12, 03:22 pm
☭ coffee and cream


Karma: 10398
Posts: 326/2766
Since: 06-26-11
Though, I dumped overlay 8 (file ID 20), and no credit strings. It appears that the overlay is loading those from another place.
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 05-28-12, 03:24 pm (rev. 1 by  Dirbaio on 05-28-12, 03:25 pm)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1768/4456
Since: 06-08-11
Did you decompress it first?
Also another thing we can do is to search the whole ROM file for these strings.
EDIT: Nope, no results found.
Posted on 05-28-12, 03:24 pm
Roy Koopa


Karma: 4011
Posts: 1531/2722
Since: 06-26-11
GRAH I HATE NINTENDO AND THIS ROM XD
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 05-28-12, 03:26 pm (rev. 1 by  Arisotura on 05-28-12, 03:29 pm)
☭ coffee and cream


Karma: 10398
Posts: 327/2766
Since: 06-26-11
Posted by Dirbaio
Did you decompress it first?
Also another thing we can do is to search the whole ROM file for these strings.

Yeah, I did.

However, the RAM address of the string I edited, for example, is right in the middle of the overlay's data. So it shouldn't be loaded from another place. One possibility is that it is encrypted or obfuscated.

Edit-- wait, no. I was looking at an overlay from an USA ROM. The overlay from the EUR ROM contains the expected data at the expected place. I wonder about the USA ROM, though-- does it contain different strings even in English, or is it just using a different alphabet?
_________________________
Kuribo64 - RH-fucking-cafe - Kafuka

zrghij
Posted on 06-12-12, 02:55 pm
Banned for being a complete idiot.

Karma: 529
Posts: 862/987
Since: 07-09-11
Posted by Mega-Mario
Though, I dumped overlay 8 (file ID 20), and no credit strings. It appears that the overlay is loading those from another place.

Uhh Overlay 8 File 18 or Overlay 9 File 20 (USA ROM)?
Pages: « 123 »