Try replacing the sound files with an .sdat from a game where there is a small one -- like Sound_Spawn.sdat from GoldenEye.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
Unusual, sound files normally take to be sliced up quite well.
It will sound odd when playing the game but you could repoint the sound file to play other voices and delete the wasted space.
I am in a bit of a rush so I am not going to detail it in as much err detail as I would like (a lot of what I will tell you to do is found in the header but I can not remember the offsets, there is also a whole bunch of other useful tid bits associated with this), it will be a mission but look at the start of the sdat file and you will see a list of ASCII, these are the file names copy and paste into something (excel works for me).
Search for FAT (in ascii) and following that will be a list of hex numbers do a 32bit byte flip and that is the offset of the files, the (probably 4 hex digit) number following it is the length of the file (it is not the same as the next offset minus the current one as there is padding).
Place this number list against the file names (why I said excel earlier) and you have a nice map of the sound file. You could also use the smap generation software found earlier in this thread but you will still have to do some fun things afterwards so I do not suggest it.
In the list of offsets replace the files you want to lose with others (you can also do this to benefit games: my tetris ds always plays the kalinka and it helps with the castlevania POR crashing problem), you can delete the files you just "replaced" if they are on the end (the end of the file is typically the large files) or delete and repoint some more.
As an aside if you should get this list of names, offsets and lengths you can rip files from the sdat and feed them into conversion software which helps with sdats the ripper linked crashes on (final fantasy3, Castlevania POR and few others).
Instead of deleting the files, I copied a small 80 kb sound file and replaced the big 1m sound files with it, making the game play the smaller file in place of it. It works perfectly now, thanks ^_^
If anyone has a 128MB flash card and can't fit Bleach, you should try this.
Although now some characters say silly things like "Kokui hirameku Requiem" when they do attacks, it's very nice
any chance someone could make a rip of yugioh world championship 2007 to fit a 512mb card ive been reading all these posts and downloading all these tools all day but this stuff is just way over my head could someone plz email me if they could possibly help me out with this. thanks!
Going for the US version here but it should work regardless.
This is a hard one as there are no obvious files to get rid of.
Rebuilt the rom weighs in a 110 megs: you have to lose 46 megs
Without any obvious movies to lose it is going to be fun:
Utilty.bin this is the download play and it is about 1megabyte in size
sound_data.sdat: 15 megs, can be effectively zeroed out by replacement.
95 megs: just under 32 to go.
Data_arc_pac folder:
All the files here are .pac, a quick analysis seems to indicate these are a type of archive (a very common concept in DS roms: also the game uses ASCII encoding it seems and sports all the different languages found in the Euro version but this is getting off track).
Now I would not suggest deleting a whole .pac file (there are only a few big ones and they look crucial) so it is time to figure out the packing arrangement,
file names at the start it seems followed by offset (subtract header) and length, I will have to work this one out though as I have to vanish shortly.
I removed the sounds in J and moved to USA file using a dslazy (unpack after pack) , ezclient don't identify the rom , and i try to play but its a black screen or white ?¿ i don't understand why the rom don't open in my EZ IV
If you change even one byte of a DS game then the EZ4 Client will not recognize it. This is because the CRC is altered.
If a game is locking up when you have messed with the files then either the file(s) you swapped into the game have different addresses that are hardcoded into the binaries and what it expects to find it doesn't which leads to the lockup or it could possibly be that when it was rebuilt the header or structure of the .nds was messed up by DSlazy. I know this happens with ndstool but not sure if DSlazy uses the same code or not.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
Fast will correct me if I'm wrong but IIRC there isn't really a tool that will produce a valid sdat because of variations between the format in each game. As for video I haven't seen anything at all being done for conversion.
_________________ Want to cheat in *any* DS game on *any* cart? - Get DSATM Want to cheat in *any* GBA game on *any* emulator? - GBAATM Still can't finish that NES,SNES,GB,SMS,GG,Genesis game from when you were a kid? Get CCCGP For more tools visit cracker's crap!
SDAT from scratch, there exists nothing.
Ripping (to windows) has moved on a bit, try crystaltile2, ndssndext and
Have a read here for links and info:
http://kiwi.ds.googlepages.com/sdat.html There is also a midi2sseq conversion app, it is not very polished yet but it should do the task.
http://kiwi.ds.googlepages.com/
As for game that use SDAT there exists about 4 titles that do not use it (brothers in arms, electroplankton, one that used a variant on the old dreamcast format and one I can not remember right now).
For video there is little, I do recall some of the stuff was used on mobile phones to some extent so you may have some luck there.
As for DS archives, a hex editor is arguably the cleanest (and therefore best) but ndstool (link and guides in the first post will do).
If you want manual here is an excerpt from my GBA.DS rom hacking document I have recently been working on again:
DS File system.
This technique can be used for multiple reasons including,
Trimming a rom: in game movies can take some serious space, by duping the game into running the smallest video you can then delete the remaining video saving space.
Restoration: the old beta files included, load them in place of the new ones.
Plain hacking, add your files in and repoint, make sure to alter the file length in the header though.
open the rom in a hex editor:
go to offset 40 hex
If you imagine the next 4 bytes are ABCD rearrange to read DCBA
In the US version this means:
00A01600
0016a000
This is the file name table, the first numbers are the locations of the names starting from the start of the section 16a000 (after flipping around of course). The number before the name is the length of the name coming up. It must be siad though that the previous section is pretty much academic though as you could try and extract your own arrangement but I suggest using NDSTS ( http://www.gbadat.altervista.org/tools.htm ) to get the locations of the files you want.
Find the file you want, (the number will be in hexadecimal in NDSTS' display which is nice) and do the next part
If you go back to 44 and repeat the process you get another number, this is the file allocation table. In the example above it is 16d000 hex.
Go and flip numbers as usual, these numbers may look familiar.
Change the offending number to another one that looks nicer and bam the DS is duped into thinking it has the file.
Remember to flip any numbers back if you did not do it elsewhere.
The SMAP is a file that the nitroSDK (the official SDK from Nintendo) makes that contains data on the soundfile (SMAP= sound map perhaps). Normally it is deleted from a game but can be found in a few of them (which is nice as it helped reverse engineer the format).
If you want to read it open it in notepad.
I personally suggest you use the tool here for ripping sound though as DJbouche's fails on some of the newer sound files: http://nintendon.s6.xrea.com/
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum