EZ-Flash USA Forum

Forum for the EZ-Flash I, II, III, IV & V Gameboy Advance & Nintendo DS USA Forum (Unofficial) Open since 2004!
It is currently Sat May 25, 2013 7:43 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Sponsor
 Post subject: ndsTool help
PostPosted: Thu Jan 11, 2007 9:24 pm 
Offline
 Profile

Joined: Sat Jul 01, 2006 10:57 pm
Posts: 835
Just started learning how to use ndsTool.exe.

I've tried extracting and recompiling DS-FTP 2.4. The rebuilt .nds file has a different MD5 checksum to the original.

Here is the output:

Code:
C:\ndstool>ndstool -x dsftp.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
Nintendo DS rom tool 1.31 - Aug  8 2006 07:57:02 by Rafael Vuijk (aka DarkFader)
File 0: Size is too big. FAT offset 0x0 contains invalid data.

C:\ndstool>ndstool -c dsftp-rebuild.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin
Nintendo DS rom tool 1.31 - Aug  8 2006 07:57:02 by Rafael Vuijk (aka DarkFader)

C:\ndstool>


"File 0: Size is too big. FAT offset 0x0 contains invalid data." seems to be cause by the "-d data" switch.

Am I doing something wrong?

*edit - also tried NitroTracker.nds - same problem as above.


Top
 
Sponsor
 Post subject:
PostPosted: Fri Jan 12, 2007 1:51 am 
Offline
Site Admin
 WWW  Profile

Joined: Sat Feb 26, 2005 8:11 pm
Posts: 3044
Location: Or-Stray-Lee-Ya
Here's what I usually use on commercial roms:

Extract:
Code:
ndstool -x x.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.bin


Build:
Code:
ndstool -c xmod.nds -9 arm9.bin -7 arm7.bin -y9 y9.bin -y7 y7.bin -d data -y overlay -t banner.bin -h header.b


Which is the same as yours ;) (I just noticed).

Although I'm not too sure homebrew is meant to be able to be extracted and built like a commercial rom. I don't think the files are structured the same way.

_________________
EZFlash Wiki
Image

Wii Code: 3764-6180-3695-2841


Top
 
 Post subject:
PostPosted: Fri Jan 12, 2007 8:11 am 
Offline
Moderator
 WWW  Profile

Joined: Wed Apr 13, 2005 4:49 am
Posts: 2857
Location: location, location
You seem to have the correct command line (more examples in the ds rom ripping link in my signature if you need them).

Anyhow make sure you are using the .nds version or strip the GBA header from the .ds.gba version (everything before 200 hex if I recall).

If the makefile is anything to go my DSFTP seems to use NDSTools filesystem as opposed to another (a lot of filesystems exist as well as the abililty to use none at all (all integrated into one binary)), if that does not work all I can guess is the DLDI patching somehow messes it up which is unlikely.

As for a different checksum different versions of ndstool make for different sums and I can imagine you are using a different version to the author.

_________________
Come and join the EZFlash IRC channel #ezflash on irc.irchighway.net
Java irc client http://sosuke.com/ezflash/irc-ezflash/

DS rom rips, hacking and enhancements
GBA and DS rom hacking guide
Collection of useful threads for the EZ5 (kept updated)


Top
 
Sponsor
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits