How i use DSDecmp?

BattleLegendRed

Member
OP
Newcomer
Joined
Oct 30, 2022
Messages
14
Trophies
0
Age
20
XP
187
Country
Brazil
Hi guys, I was able to open the DSDecmp .exe, but I don't know how to decompress and compress an NDS rom.
I would like a simple explanation as it seems complicated to me, since I can't find any information on the internet...
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
Compressing a ROM and what dsdecmp does are two different concepts.

If you want to unpack a DS ROM into its constituent files to further explore then any number of tools for this ranging from ndstool and frontends for it like dsbuff and dslazy, crystaltile2 (click the little DS icon on the right hand side of the upper toolbar, there are some other build and rebuild options in it as well), tinke, the nitro explorer family, mkds course modifier, ndsts (more for single file export and same size import) and much more besides.

Nobody really compresses whole DS ROMs for anything other than distribution online or storage on their computer -- flash carts are too slow to do this sensibly and don't work in the same way that other systems (which also by and large have far smaller ROMs) if you have had it somewhere before. Some emulators, frontends and ROM managers might do it for you though if you want to use in conjunction with an emulator.
You may have encountered an old discussion when some Scene groups took it upon themselves to compress the binary inside the ROM where by default it was not (some games do, some don't) and thus gain a tiny bit of space over the as the devs made it version and usually caused some aggravations with various things and possible extra load time. Don't do it.
That would also bring you onto the topic of ROM ripping, not many people do it nowadays (flash carts with massive SDHC cards making it obsolete) but https://gbatemp.net/threads/gbatemp...ew-2016-edition-out.73394/page-2#post-1799596 if you were curious.

DSdecmp is then a tool aimed at decompressing individual files within the ROM -- unlike many older systems the DS features compression in the BIOS and was provided to the devs of games, to this end many games will use it and thus compression in DS ROMs is rather less of a hurdle than when you encounter it say hacking a megadrive game where it is bound to be quite custom.
All that said while dscemp will still do things for you then most would suggest you use Cue's GBA/DS compressors instead, and if you are using the crystaltile2 program mentioned above it will also offer to try to decompress things (though sometimes it gets confused and will detect things as compressed when they are not).
https://www.romhacking.net/utilities/826/
 
  • Like
Reactions: BattleLegendRed

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
Some serve slightly different purposes and have different approaches*, but yes if your ambition is to look at the files which make up most DS games then all those programs mentioned will achieve that goal.

*ndstool being a homebrew focused unpacker but clean and easy for most things so forms the default option in the "I just need a tool to look at this" stakes, nitroexplorer3 doing better for the few games that use file ordering (New Super Mario Brothers being a noted example), crystaltile2 is a bit clunky but is based around you providing settings to decode things but with a few known formats, tinke leans very much into the known formats thing and suffers a bit in options for non standard things as a result, mkds course modifier originally started life as a mario kart tool but morphed into something more, ndsts as mentioned only imports things of the same size as what is there which can be limiting but also makes for the cleanest insertions if you can manage it...

My personal setup consists primarily of ndstool with a batch file and crystaltile2, with ndsts if I do want that clean insertion option. Have tinke waiting in the wings (it does better with some texture formats) and everything else as and when.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    You're as loved as much as Juan now enjoy it
    +1
  • K3Nv2 @ K3Nv2:
    I'm sorry for the insult
  • BakerMan @ BakerMan:
    the difference is i like wario and samus and he likes muscle mommies and feet
    +1
  • BakerMan @ BakerMan:
    wait, i forgot wizards too
  • BigOnYa @ BigOnYa:
    I have a buddy that has a moonshine still and he makes his own shine. He brought me a jar of some peach shine/brandy, shit is damn good. Gonna have to see if can get more.
    +1
  • BakerMan @ BakerMan:
    careful that shit don't make you go blind
  • BigOnYa @ BigOnYa:
    Nuh that's only if you drink what first comes out when distilling, you must throw out the first part of it when it starts running. (Its called the "head(s)" of the run) Or use it for fuel or a general purpose cleaner
    +1
  • K3Nv2 @ K3Nv2:
    If alcohol would've made @BigOnYa blind by now it would have
    +2
  • BigOnYa @ BigOnYa:
    So True.
    +1
  • K3Nv2 @ K3Nv2:
    I should make a poll for bigonya to change his username to DrunkOnYa
    +1
  • BigOnYa @ BigOnYa:
    That's my alt
    +1
  • K3Nv2 @ K3Nv2:
    I don't wanna go to the store someone go for me
  • BigOnYa @ BigOnYa:
    Call my wifey, tell her pick up stuff on her way over.
  • K3Nv2 @ K3Nv2:
    Pick up my door dash meat me in the allyway
    +1
  • BigOnYa @ BigOnYa:
    Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""
  • K3Nv2 @ K3Nv2:
    Like subway it's false advertising
    +1
  • BigOnYa @ BigOnYa:
    Ok "who ordered the Vienna sausage?"
  • K3Nv2 @ K3Nv2:
    Uremum
    +1
  • BigOnYa @ BigOnYa:
    My buddy convince me to download and play poker game with him yesterday, called Four Kings Casino, its pretty fun actually, you create a avatar and walk around in a virtual casino, and play any table, or slots with others online.There's even a dance club and bowling alley.
  • SylverReZ @ SylverReZ:
    They should bring advertisements like this back LOL.
  • BakerMan @ BakerMan:
    or that german ninja turtle commercial
    +1
  • K3Nv2 @ K3Nv2:
    Forgot to buy BBQ sauce at the store so made my own ffs
  • RedColoredStars @ RedColoredStars:
    Blues Hog BBQ sauces are pretty good.
  • K3Nv2 @ K3Nv2:
    My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to Walmart I'm about to sell a company my medical history for $100 lol
    K3Nv2 @ K3Nv2: My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to...