Views: 23,017,009 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
11-07-24 06:30 AM |
Guest: |
0 users reading Modify Title Screen | 1 bot |
Main - General SM64DS hacking - Modify Title Screen | Hide post layouts | New reply |
TheFaith30 |
| ||
Normal user Level: 5 Posts: 1/4 EXP: 504 Next: 25 Since: 12-16-13 Last post: 2870 days ago Last view: 2821 days ago |
Hello there! I would like to modify the title screen in Super Mario 64 DS. I've lost two days to searching graphics from the main screen.
I can't find these (ncg) files into rom. I just found most of the graphics (subtitles) from the mini-games like: TOUCH TO SCREEN OPTIONS PAUSE But I need to find exactly these subtitles: TOUCH TO START and: FILE A (NEW) FILE B (NEW) FILE C (NEW) SCORES COPY ERASE/FILE OPTIONS (picture beside) for example: P.S Is there someone who knows about these things and could help me to find this? Currently I do translation for Super Mario Galaxy (Wii) for other language but I would like take care of this first. |
Hiccup |
| ||
Normal user Level: 58 Posts: 51/815 EXP: 1551175 Next: 26371 Since: 09-06-12 Last post: 1886 days ago Last view: 1 day ago |
In the main text file?
You can use the Super Mario 64 DS Editor to edit it. Looking forward to see how you go about this. What language are you translating to? You might want to edit the E version of the ROM, because it has more characters in the font. |
Skelux |
| ||
Banned Level: 28 Posts: 93/148 EXP: 118929 Next: 12409 Since: 11-27-12 Last post: 3818 days ago Last view: 2278 days ago |
I've been working on this on and off, so far I have discovered that the Nintendo logo is at 0x8D8C4 in the ARM9 file. The menu button graphics can be found in texBank_E.bmd. I believe title screen graphics are stored in overlay 7, the palette for the title can be found at 0x1552F8 in an EU ROM, though I am unsure of the compression. |
TheFaith30 |
| ||
Normal user Level: 5 Posts: 2/4 EXP: 504 Next: 25 Since: 12-16-13 Last post: 2870 days ago Last view: 2821 days ago |
Hiccup - you don't understand. I mean graphics.
Skelux - You are a genius! Many thanks for this! P.S Yes. I use Super Mario 64 DS Editor for editing script, however is there a lot of bugs and freezes;] |
Fiachra |
| ||
Local moderator Level: 65 Posts: 221/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
Use the newest version posted in the Editor Development thread (R63), text editing shouldn't have any problems. EDIT: Found it! The title screen image can be found at the following offsets within a decompressed Overlay 7 (EUR ROM): Map (NSC): Start offset 0x30090 in decompressed overlay 7, length 1536 bytes, uncompressed Tile (NCG): Start offset 0x3D0B0 in decompressed overlay 7, length 32640 bytes, uncompressed Palette (NCL): Start offset 0x2BF28 in decompressed overlay 7, length 480 bytes, uncompressed I found the title screen files using the following method: - Used an emulator (I used NO$GBA debug but DeSmuME would probably work too) to find the locations of the map, tile and palettes within memory - Used the Map and Palette viewers to work out starting locations the sizes of the files - Dump the raw data from memory (I've added a hex dump to binary option to the editor for the next revision), luckily this in the same format as stored in NSC, NCG and NCL files - Decompressed all overlays within a SM64DS ROM and searched for the data from the above files, after decompressing the overlay no further compression had been applied to the files making it easy to find them To edit it in the Minimap Editor as shown in the screenshot, use NSMBe to replace the minimap files for one of the levels and 'LZ Compress' the NSC and NCG files. |
Skelux |
| ||
Banned Level: 28 Posts: 94/148 EXP: 118929 Next: 12409 Since: 11-27-12 Last post: 3818 days ago Last view: 2278 days ago |
Good grief, and here I had been trying to find it all by tracing the DMA copy command. Nice work!
Edit: It all makes sense now - the reason I hadn't found it was because the entire overlay was compressed, not just the graphic. The offset I found is pointing to the palette's location within the compressed data. |
skylander |
| ||
Dupe of TheFaith30 Level: 3 Posts: 1/1 EXP: 62 Next: 66 Since: 12-29-13 Last post: 3965 days ago Last view: 3954 days ago |
I found the subtitles exactly from the Main Menu However there is a problem. I do not know nothing about this compression. I tried to throw a ready graphics and game freezes. Graphics are visible in the overlay file 9_0007. I've decompressed it using a CrystalTile2. I do not know how to compress it. I tried all the codecs LZ77/BatchLZ77/LZ77 type 10, LZ77 Type 11 and still nothing (game freezes). |
Fiachra |
| ||
Local moderator Level: 65 Posts: 228/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
The graphics themselves aren't compressed, the overlay they are in is compressed using JAP77 compression, however the overlays do not need to be re-compressed.
The problem may be that you're overwriting data from another file. Make sure the size of the data you insert is the same size as the data you're replacing (you can just pad with zeroes if the new data is smaller). Are you also replcing the palette and tilemap files as well? What location are the graphics in? |
skawo |
| ||
Normal user Level: 32 Posts: 38/216 EXP: 199754 Next: 6688 Since: 01-04-14 Last post: 2676 days ago Last view: 1365 days ago |
USv1 Titlescreen:
NSC : 0x2FA10 NCG : 0x3CA30 NCL : 0x2B9C8 Sizes are the same as EUR. There is a problem, though: you can't make a NCL that's 480b. The editor ALWAYS makes it 512. EDIT: nm, just needed to remove padding zeroes. |
Fiachra |
| ||||||||||||||||||||
Local moderator Level: 65 Posts: 281/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
Posted by skawo I think the map (NSC) is actually 1536 bytes (I suspected 6135 wasn't right), the image is 256x192. Below are the offsets at which the title image is found within a decompressed overlay 007 for the four main ROM versions:
Sizes all the same across all versions, even the Japanese title. |
skawo |
| ||
Normal user Level: 32 Posts: 39/216 EXP: 199754 Next: 6688 Since: 01-04-14 Last post: 2676 days ago Last view: 1365 days ago |
By the way, it's incredibly fiddly. Just replacing the image won't work, you have to have certain colors at precise positions in the palette so that the bg looks right and stuff like that. My recommendation for an easy way out: make the entire bg use a single color. Then, set that color to be in the palette at the top-right, and then also to the last 56 colors in the palette. Result will look allright:
dead link Else, unless done exactly right you'll get weird lines or just black bg. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 282/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
The transparent colour will be the first colour in the palette. Have you tried selecting the colour you want to be transparent and clicking 'Set as background colour' - this will swap the positions of the selected and first colours. |
skawo |
| ||
Normal user Level: 32 Posts: 40/216 EXP: 199754 Next: 6688 Since: 01-04-14 Last post: 2676 days ago Last view: 1365 days ago |
Yep. Then the background ends up black.
EDIT: Same things seems to happen when you edit the bottom screen layout from DSMT/EU/tex_bankE.bmd... Plus, importing the original texture back crashes the game. I wonder if that's a problem with the editor or something though, as one of the textures appears broken :/...Shouldn't be, though. |
Stomatol |
| ||
Normal user Level: 30 Posts: 37/178 EXP: 149699 Next: 16170 Since: 12-21-13 From: Sweden Last post: 2684 days ago Last view: 1575 days ago |
Okay, I apologize for my really nooby questions but could maybe anyone explain a little bit more in detail about how to go about replacing the title screen. I know nothing about all this decompression stuff and I have no idea what 'overlay 7' is. I understand if you don't want to or so but it would be nice if one of you could atleast try? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 366/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
Many NDS games use overalys, they contain code or data that can be loaded into memory by the game when needed. Overlay 007 is the 8th overlay, marked Overlay 007. Overlays use a special Jap77 compression, which both SM64DSe and NSMBe can decompress.
- You can either use SM64DSe to extract all overlays (option in debug menu on main screen) or use NSMBe to 'Decompress overlay' and 'Extract' just overlay 007. - You then import an image (256x92) into the game as usual over any existing image and extract the .NCG, .NCL and .NSC files using NSMBe. - Use a hex editor to copy the contents of the extracted image into Overlay 007 at the locations listed above, making sure to overwrite the existing data. - Your new data should be the same size or smaller. - Finally, use NSMBe to replace Overlay 007 with your modified one, when asked whether it's a compressed overlay you're importing, select no. |
Stomatol |
| ||
Normal user Level: 30 Posts: 38/178 EXP: 149699 Next: 16170 Since: 12-21-13 From: Sweden Last post: 2684 days ago Last view: 1575 days ago |
Okay, I think I understand most of it now, thanks alot! I just have a question, I can't seem to find overlay 7 with NSMBe, where is it located? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 367/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
"I can't seem to find overlay 7 with NSMBe, where is it located?" - You didn't look very hard. It's under "ARM9 Overlay Table" > "OV 7". |
Stomatol |
| ||
Normal user Level: 30 Posts: 39/178 EXP: 149699 Next: 16170 Since: 12-21-13 From: Sweden Last post: 2684 days ago Last view: 1575 days ago |
Posted by Fiachra I suppose that's the .bin file called 'arm9ovt.bin'? If so, how do I replace overlay 7 inside it? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 368/1065 EXP: 2290816 Next: 44812 Since: 12-15-12 From: Ireland Last post: 2355 days ago Last view: 305 days ago |
No, the file called "OV 7" in the folder called "ARM9 Overlay Table". |
Stomatol |
|
Main - General SM64DS hacking - Modify Title Screen | Hide post layouts | New reply |
Page rendered in 0.024 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 144/144, time: 0.009 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |