Hacking NDSTokyoTrim - batch trimmer with wifi detection

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
I doubt I even have to link you one. Within nds-bootstrap, the one major game with this issue was Mario Party DS, as its multiplayer mode is solely cloneboot.

Interestingly enough, some testing on my own end seems to show that it works. (It also detected Mario Party DS as a Wi-Fi game, but it isn't... perhaps that's why it works?)

Well, the rom does have a Wi-fi section though, 136 bytes after the game data, my app detects and keeps that:

1694 Mario Party DS (US)
Rom Size: 23.287.968

1633240906395.png


1633241061827.png
 
Last edited by BrianTokyo,

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
Hi, does NDSTokyoTrim retain the 0x88 bytes at the end of the trim data for NTR cartridges? This is specifically required for usage of cloneboot-based Download Play playback on real hardware, as those 0x88 bytes are the RSA keys.

TWL cartridges do not have this issue as the 0x88 bytes are within the "data size" header of the ROM image, but NTR carts don't retain this.

In this case as the per rom data in the file, yes, it does keep those 136 bytes. The app checks for this block on its own, it doesn't follow some rom database to determine whether or not to check for it.
 
  • Like
Reactions: Psionic Roshambo

BlueEdge

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
25
Trophies
0
Age
27
XP
127
Country
Argentina
I definitely wasn't expecting this to be updated. Thank you so much for making such a useful program! I wanted to ask though, is the difference between stock and trimmed 3ds games big?
 

lifehackerhansol

i write working(?) code
Member
Joined
Oct 2, 2021
Messages
468
Trophies
0
XP
1,443
Country
Canada
I definitely wasn't expecting this to be updated. Thank you so much for making such a useful program! I wanted to ask though, is the difference between stock and trimmed 3ds games big?
It honestly depends on the game. I'm sure you know that when a cartridge dumper dumps, it dumps the entire chip bit by bit, so there is the zerofilled data.

Some cartridges can have 512MB chips, but the game data could be only 260MB, or 400MB. Because each game is different you'll never really know how much storage you're saving.

I say trim them anyway. If you don't really care about proper archival and just want to play games, that's free space, however big or small.
 

Cwestthecool

New Member
Newbie
Joined
Nov 21, 2021
Messages
3
Trophies
0
Age
27
XP
62
Country
United States
version 3.11 has this error in wine32 or 64 w/gecko
carter@Carter-laptop:~$ wine ~/Downloads/NDSTokyoTrim311.exe
0009:err:listview:LISTVIEW_WindowProc unknown msg 109d wp=ffffffff lp=00000000
0009:err:listview:LISTVIEW_WindowProc unknown msg 1096 wp=00000000 lp=00000000
0009:err:listview:LISTVIEW_WindowProc unknown msg 1091 wp=00000000 lp=0032fa94
0009:err:listview:LISTVIEW_WindowProc unknown msg 1096 wp=00000001 lp=00000000
0009:err:listview:LISTVIEW_WindowProc unknown msg 1091 wp=00000001 lp=0032fa94
wine: Unhandled exception 0x0eedfade in thread 9 at address 7B032F82 (thread 0009), starting debugger...
0009:err:seh:setup_exception_record stack overflow 816 bytes in thread 0009 eip f7bb9842 esp 00231000 stack 0x230000-0x231000-0x330000
 

Hyoretsu

Itosugi Masahiro's Loyal Reader
Member
Joined
Jan 17, 2016
Messages
1,599
Trophies
0
XP
702
Country
Brazil
What exactly is "WARNING: Card1/2 rom detected"? I downloaded Animal Crossing New Leaf game+update, decrypted, extracted+merged, rebuilded and trimmed. Up to title screen it looks to be running just fine.

EDIT: read more about it, I think card2 doesn't matter if you're gonna run it on an emulator.
 
Last edited by Hyoretsu,
  • Like
Reactions: OuahOuah

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=A0FyqCEfD0E