DSHack

Archive Generated December 23rd, 2018
Game Crashes when texture hacked
Author Posted on 2016/11/20
#2532
DylanzuDS! I edited the textures for Figure 8 Circuit and when i race game instantly crashes.
Here is the only texture i hacked: https://www.dropbox.com/s/4k8gx58rybc99de/nc_test_kan93.png?dl=0

Did the image take up too much space???? I need a instant answer.

EDIT: The texture provided is the old one. I made a new one.
Author Posted on 2016/11/21
#2533
MKGirlism First off, you will never expect an instant answer, we will need to figure out what's going on first and foremost.
If we were to give an instant answer, that answer would be of a quality of "HIII", or something similar.

Your texture seems fine to me, but we will need more information:
- How exactly did you create the .nsbtx file?
- Could you also send us your .nsbtx file, for testing?
- Did you consider trying a different slot?
Author Posted on 2016/11/21
#2534
DylanzuDS! All I did was downgrade to MKDS Course modifier 4.0 since the latest version doesn't seem to save..

And I went into data > Courses > Cross course Tex.carc (Textures for Figure 8 Circuit) > I clicked the first image file that was there.

I exported the texture for the file that had the 4 logos. Edited it with Paint.net, Saved as .PNG (as seen on the drop box file)
I really just imported the texture and replaced the old one.

Really you can just go on MKDS Course Modifier 4.0, go to the textures for Figure 8 circuit, And go to that exact texture and replace it with mine.

Deleted because i already got the file now***
Author Posted on 2016/11/21
#2535
DylanzuDS! "Did you consider trying a diffrent slot?"
What slot?
Author Posted on 2016/11/21
#2536
MKGirlism Course slot, there are 32 of them.
If it doesn't work on Figure-8 Circuit, try another one.
Author Posted on 2016/11/21
#2537
DylanzuDS! Here is the file that i only did 1 texture hack on:
https://www.dropbox.com/s/sr3b2zgasuftu4r/course_model.nsbtx?dl=0
The emulator i used: DeSmuMe 0.9.11 x86 (OS: Windows 10)
Author Posted on 2016/11/21
#2538
DylanzuDS! Ok, i just restored the original textures for figure 8 circuit and it still crashes. I think i actually just bricked my rom? Luckily i had a backup rom (No CT's yet, only my custom title screen and custom items which is what i had previously before)
Author Posted on 2016/11/21
#2541
MKGirlism I've just tested your Texture Hack, and it's indeed your ROM that's causing problems.


I've tested this on a clean Japanese MKDS ROM, and on a Nintendo 3DS.
Author Posted on 2016/11/22
#2542
Swiftie Luma Good thing once you have a rom , you can make many backups.
The DS roms are relatively light , can copy paste and just takes some seconds to make.
Author Posted on 2016/11/22
#2549
DylanzuDS!
I've just tested your Texture Hack, and it's indeed your ROM that's causing problems.


I've tested this on a clean Japanese MKDS ROM, and on a Nintendo 3DS.


Oh so its not the custom stuff, its the ROM itself. I did have a CT replaced with Cheap Cheep Beach which was GCN Mario Circuit completed. Do i just download a brand new MKDS rom and move the custom stuff there?


Lol whats with those file names with my channel's name in them "DylanzuIsHungry1.png"
Author Posted on 2016/11/22
#2550
DylanzuDS! Backup rom still has issues with the texture so im getting a new rom and only porting the custom items and title screen.
(English Rom)
Author Posted on 2016/11/22
#2551
MKGirlism Before you port those items and title screen over, try testing your Texture Hack alone first, and then slowly re-add those other things in.
The problem could possibly be related to...ehm...something else.
Author Posted on 2016/11/22
#2552
DylanzuDS!
Before you port those items and title screen over, try testing your Texture Hack alone first, and then slowly re-add those other things in.
The problem could possibly be related to...ehm...something else.


I put it alone first, The cutscene thing for figure 8 circuit worked with those textures!! and it crashed. wow.

Its weird how im new to doing this and im already in a huge problem (which i didnt expect)
Well.. No luck here (plz solution)
Author Posted on 2016/11/23
#2553
MKGirlism Could you try a different region ROM, or otherwise, get one from a difference source?
It's unlikely the region would affect it, but it works fine on my Japanese ROM.

Or perhaps, try running it off a Flash Card, or a different Emulator (no$gba, for example)?
Author Posted on 2016/11/26
#2557
DylanzuDS!
Could you try a different region ROM, or otherwise, get one from a difference source?
It's unlikely the region would affect it, but it works fine on my Japanese ROM.


Same problem occurs on DeSmuMe and no$gba. Just in case i got the Rom from Emuparadise but how does downloading it from a different source effect it? I didn't bother because when i was downloading the English Rom from different sources, it was literally the same exact files that Emuparadise had.

If i was to use the Japanese Rom, how would i translate it? I do not know Japanese...
Author Posted on 2016/11/26
#2558
SGC Yellow You're obviously doing something wrong, here, I've used the ROMs from that site, and they work fine.
Tell me all the files you're replacing, and with what, and have you done anything else to the ROMs?
Author Posted on 2016/11/26
#2559
DylanzuDS!
You're obviously doing something wrong, here, I've used the ROMs from that site, and they work fine.
Tell me all the files you're replacing, and with what, and have you done anything else to the ROMs?

These are the only things i did to the rom:
1. Edit title screen
2. on the character select menu, replaced Wario with Shrek from the demo of Ermii Kart DS
3. Replaced Cheep Cheep Beach with the complete version of GCN Mario Circuit by Davidevgen. Here is the link to that course: https://www.youtube.com/watch?v=ffwSAE82QPo
4. Replaced items
You can see the rest by exploring my rom.
5. Attempted to edit CPU names and tried to change backgrounds

Here are the rom downloads: (One is with my texture hack that glitched the game and one that never had the figure 8 circuit textures changed.)
With my texture hack:
https://www.dropbox.com/s/xmnujylgfl2s7z3/Dylanzu%20Kart%20%282%29.nds?dl=0
Without my texture hack: https://www.dropbox.com/s/j16kucpvtl0vfou/Dylanzu%20Kart.nds?dl=0
Author Posted on 2016/11/26
#2560
DylanzuDS! Also by using EFE or MKDS Course Modifier you can look through the files.
Author Posted on 2016/11/26
#2561
SGC Yellow Well the thing is, I can't actually download those ROMs, right now, since my connection is slow as arse.
It doesn't make sense that it wouldn't be working for you only.
You're messing something up, somehow, I would say get a clean ROM, and only replace the track, and nothing else.
Tell me, what files exactly are you replaing cross_course.carc, and cross_courseTex.carc with?
Did you put the NSBTX file in cross_courseTex.carc, or did you just replace it with the nsbtx file entirely?
Author Posted on 2016/11/26
#2562
DylanzuDS!

Tell me, what files exactly are you replaing cross_course.carc, and cross_courseTex.carc with?
Did you put the NSBTX file in cross_courseTex.carc, or did you just replace it with the nsbtx file entirely?


All i did was edit one texture in cross_courseTex.carc
Author Posted on 2016/11/26
#2563
SGC Yellow Well, a friend, and I have found out that your CourseTex.carc file is somehow 3 KB bigger than the old one.
Something is obviously wrong with it, what did you use to make it?
Author Posted on 2016/11/26
#2564
DylanzuDS!
Well, a friend, and I have found out that your CourseTex.carc file is somehow 3 KB bigger than the old one.
Something is obviously wrong with it, what did you use to make it?

Edited the texture using Paint.NET
Author Posted on 2016/11/26
#2565
SGC Yellow No, I mean, what did you use to insert it, is it bigger than the old texture in terms of size? (Like 32 x 32 vs 64 x 64).
Author Posted on 2016/11/26
#2566
DylanzuDS!
No, I mean, what did you use to insert it, is it bigger than the old texture in terms of size? (Like 32 x 32 vs 64 x 64).


Oh i didnt notice, it was 128 x 128
Author Posted on 2016/11/26
#2567
MKGirlism I don't think the texture is an issue, seeing how it works fine when I insert it.
I checked both of your ROMs out, and the one with the Texture Hack indeed breaks.

However, I'm currently unable to run EFE, MKDSCM, or any other Windows App, but I could at the very least compare my Japanese ROM with your Texture Hack, and your ROM.

My ROM:


Your ROM:


I understand you don't know Japanese (I assume), but just look at the file size, and ignore the rest.
You'll see yours is 1.3 times the size of mine, while it's the exact same Texture Hack.

I could send you my .carc file, but I figured it would be a better idea to figure out what's the problem, because if we don't, you'll come back with the exact same problem, and in the end, it'll become my ROM Hack.
Author Posted on 2016/11/26
#2568
DylanzuDS!
I don't think the texture is an issue, seeing how it works fine when I insert it.

You'll see yours is 1.3 times the size of mine, while it's the exact same Texture Hack.

I could send you my .carc file, but I figured it would be a better idea to figure out what's the problem, because if we don't, you'll come back with the exact same problem.


Edited because i pressed enter by accident, lol

I will try to figure the problem out. When i figure it out, i will make a reply.

Author Posted on 2016/11/26
#2569
DylanzuDS! "Content Deleted" - Roblox Meme
Author Posted on 2016/11/26
#2570
DylanzuDS! Well, i tried and tried. Nothing. I tried making the image size smaller but at the end i only ended up with the file being 220KB (Not the picture, cross_courseTex.carc)

There should be a tutorial of how to do this for beginners...
Author Posted on 2016/11/26
#2571
MKGirlism What I would do is:
Open MKDS in MKDSCM, extract the .carc file, open the .carc file in EFE, replace the Texture Hack in EFE, save it, and replace the modified .carc file back in MKDSCM, and save it.
Author Posted on 2016/11/26
#2572
DylanzuDS!
What I would do is:
Open MKDS in MKDSCM, extract the .carc file, open the .carc file in EFE, replace the Texture Hack in EFE, save it, and replace the modified .carc file back in MKDSCM, and save it.


Oh i didnt think of using EFE... I will try that
Author Posted on 2016/11/26
#2573
DylanzuDS!
What I would do is:
Open MKDS in MKDSCM, extract the .carc file, open the .carc file in EFE, replace the Texture Hack in EFE, save it, and replace the modified .carc file back in MKDSCM, and save it.


How do you extract the cross_courseTex.carc file?
What do you mean by replacing the texture hack in EFE? I kinda got confused.
After those steps i get the modified cross courseTex carc file right?
Author Posted on 2016/11/26
#2574
MKGirlism 1. Right click → Export...
2. The file you've made before, which goes inside "cross_courseTex.carc", I only don't remember how the file extension was called again.
3. Yep.
Author Posted on 2016/11/26
#2575
DylanzuDS!
1. Right click → Export...
2. The file you've made before, which goes inside "cross_courseTex.carc", I only don't remember how the file extension was called again.
3. Yep.


And it crashed again. Is there a video tutorial on youtube?
Author Posted on 2016/11/26
#2576
SGC Yellow No, we're really low on video tutorials, sadly.
Author Posted on 2016/11/26
#2577
DylanzuDS!
No, we're really low on video tutorials, sadly.


Dang it, it would be better to understand with a video tutorial for me...
Author Posted on 2016/11/27
#2578
Swiftie Luma I find it quite surprising that this has taken so long to fix.

Same as Yami , i got no problem with this whatsoever.

And i replaced the texture manually used the .png that you sent.



This is not hard to achive at all , so ill try to be as clear as possible.

Open your room with MKDS Course Modifier and search for the file you are interested

Since your texture is for Figure 8 circuit , the right file inside the course folder is Cross Course ; IMPORTANT, its CROSS COURSE and not CROSS COURSE D.

Search for the original texture , export it and edit it however you want.

After that Import the texture back in place and it should look like this



After that Save with the save button and then export the course_model.nsbtx

Close the tool and open Everyfile explorer (EFE)

Search for the Cross Course texture files , again Cross Course is the correct one , not Cross Course D

Enter and replace the course_model.nsbtx



Save. and you are done

Thats literally how you do it and it works 100% if you follow the instructions.

If not then its totally some other thing on your end.

Lastly , as an extra , i tested this on a real DS so theres no way it does not work after this unless you got something else that causes the error.
Author Posted on 2016/11/27
#2579
DylanzuDS! IM NEW TO DOING THIS BUT THANKS SWIFTIE IT WORKED!!! Now i can edit other textures if i wanted!

Btw im gonna bookmark this page