Hacking NDSTokyoTrim - batch trimmer with wifi detection

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
1
Age
52
Location
Wales, UK
XP
933
Country
BrianTokyo said:
Definitely; patching GBA roms for sram can be tricky and unreliable (or either I sucked at implementing it or the info sources did)

All the patching in BatchGBA works perfect apart from the NES classics which have to be IPS patched. I might have changed something and forgot to update the data in the thread. If you want PM me an email address you use and I'll send you the actual source that I use.
 

Devante

Crescent fresh at best.
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
I love this trimmer!

By the way, whenever I run the executable, NDSTokyoTrim takes literally about 30 seconds to actually appear in the taskbar and on the screen.

Is this the same for everyone?
 

ACiD GRiM

Member
Newcomer
Joined
Jun 10, 2008
Messages
11
Trophies
0
XP
79
Country
United States
Hey could you add an option to not overwrite files if they exist under "use a different output folder" (i'm afraid to test if it already works like this). It would make it easier to trim directly to a flash card

great trimmer btw!
biggrin.gif
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
DeVante said:
I love this trimmer!

By the way, whenever I run the executable, NDSTokyoTrim takes literally about 30 seconds to actually appear in the taskbar and on the screen.

Is this the same for everyone?

Doesn't even take a second for me, Vista 64-bit. Where did you download it?
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
ACiD GRiM said:
Hey could you add an option to not overwrite files if they exist under "use a different output folder" (i'm afraid to test if it already works like this). It would make it easier to trim directly to a flash card

great trimmer btw!
biggrin.gif

It doesn't work like this, but if the roms are already trimmed (in the source) it detects that and skips them.

Edit: anyway, ill add this option for next rel.
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
TrolleyDave said:
BrianTokyo said:
Definitely; patching GBA roms for sram can be tricky and unreliable (or either I sucked at implementing it or the info sources did)

All the patching in BatchGBA works perfect apart from the NES classics which have to be IPS patched. I might have changed something and forgot to update the data in the thread. If you want PM me an email address you use and I'll send you the actual source that I use.

I haven't checked the info thread for a long time, maybe I'm missing something :) I've pmed you my GBA sram code, maybe we can compare both. It's kinda hard to check as I can't test the roms myself so it's all theorical. You guys should make a collect and buy me an adapter imo :P
 

TrolleyDave

Philosolosophising
Former Staff
Joined
Jan 1, 2007
Messages
7,761
Trophies
1
Age
52
Location
Wales, UK
XP
933
Country
BrianTokyo said:
TrolleyDave said:
BrianTokyo said:
Definitely; patching GBA roms for sram can be tricky and unreliable (or either I sucked at implementing it or the info sources did)

All the patching in BatchGBA works perfect apart from the NES classics which have to be IPS patched. I might have changed something and forgot to update the data in the thread. If you want PM me an email address you use and I'll send you the actual source that I use.

I haven't checked the info thread for a long time, maybe I'm missing something
smile.gif
I've pmed you my GBA sram code, maybe we can compare both. It's kinda hard to check as I can't test the roms myself so it's all theorical. You guys should make a collect and buy me an adapter imo
tongue.gif

I've just PMed you my source. Most of yours went straight over my head to be honest! I think your coding skills are a litte more advanced then mine.
wink.gif
 

ACiD GRiM

Member
Newcomer
Joined
Jun 10, 2008
Messages
11
Trophies
0
XP
79
Country
United States
BrianTokyo said:
ACiD GRiM said:
Hey could you add an option to not overwrite files if they exist under "use a different output folder" (i'm afraid to test if it already works like this). It would make it easier to trim directly to a flash card

great trimmer btw!
biggrin.gif


It doesn't work like this, but if the roms are already trimmed (in the source) it detects that and skips them.

Edit: anyway, ill add this option for next rel.


That would be great! The reason I suggested it is because I like to keep my source ROMs as 100% original (just in case a Trim messes something up) and trim directly to my flash card


BrianTokyo said:
TrolleyDave said:
QUOTE(BrianTokyo @ Jun 2 2008, 04:35 AM)
Definitely; patching GBA roms for sram can be tricky and unreliable (or either I sucked at implementing it or the info sources did)

All the patching in BatchGBA works perfect apart from the NES classics which have to be IPS patched. I might have changed something and forgot to update the data in the thread. If you want PM me an email address you use and I'll send you the actual source that I use.

I haven't checked the info thread for a long time, maybe I'm missing something
smile.gif
I've pmed you my GBA sram code, maybe we can compare both. It's kinda hard to check as I can't test the roms myself so it's all theorical. You guys should make a collect and buy me an adapter imo
tongue.gif

I don't know if you mean DS flash card or GBA flash card, but I have a M3 DS Simply laying around that I could send you (If i can find it that is). But not a GBA card.
 

ACiD GRiM

Member
Newcomer
Joined
Jun 10, 2008
Messages
11
Trophies
0
XP
79
Country
United States
Hey does TokyoTrim have a command line interface, or at lease arguements? It would be cool to be able to set this to run with a auto ROM sync program I have (meaning after Its copied the roms it would run tokyotrim on the directory)

just tried a ndstokyotrim64.exe /? and nothing. oh well, its not really important
 

Devante

Crescent fresh at best.
Member
Joined
Nov 29, 2002
Messages
1,221
Trophies
2
XP
772
Country
United States
BrianTokyo said:
DeVante said:
I love this trimmer!

By the way, whenever I run the executable, NDSTokyoTrim takes literally about 30 seconds to actually appear in the taskbar and on the screen.

Is this the same for everyone?

Doesn't even take a second for me, Vista 64-bit. Where did you download it?

From your website.

It has always done that for me on this PC. I've used several versions.
I've also done a fresh install of Windows on this PC. Weird.

My PC:
2.4 Ghz Pentium 4
512 DDR RAM
Nvidia GeForce FX 5900 128 RAM
Windows XP SP2
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
New version up

v2.17
- Option to check for existing files (to avoid overwriting) with “different output folder” option
- Extremelly improved GBA trimming routines, ~10x faster
- Fixed and improved GBA SRAM patching routines

Big thanks to TrolleyDave for his amazing work on analyzing the SRAM patching data.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Damn things ramp up when it decides to do even a little work
  • ZeroT21 @ ZeroT21:
    i could fit 9, 2 at bottom i skipped
  • K3Nv2 @ K3Nv2:
    Changed them to silent mode in bios helped a little
  • ZeroT21 @ ZeroT21:
    i dont want the bottom fans blowing the gpu fans spinning
  • K3Nv2 @ K3Nv2:
    Eminem's daughter got married apparently it should've been me :nayps3:
  • ZeroT21 @ ZeroT21:
    guess she got the better fling
  • K3Nv2 @ K3Nv2:
    You mean he did dad's loaded
  • ZeroT21 @ ZeroT21:
    papa eminem approved
  • K3Nv2 @ K3Nv2:
    Grampainem
  • ZeroT21 @ ZeroT21:
    bored of HD2 lately
  • ZeroT21 @ ZeroT21:
    too burned out
  • ZeroT21 @ ZeroT21:
    from gameplay and drama
  • K3Nv2 @ K3Nv2:
    I keep hunting for apps and forget half of them are already widgets on my home screen
  • ZeroT21 @ ZeroT21:
    almost everything gets shuved as some taskbar process
  • BigOnYa @ BigOnYa:
    What is HD2?
  • ZeroT21 @ ZeroT21:
    Helldivers 2
    +1
  • ZeroT21 @ ZeroT21:
    the game has as much bugs ingame as well as in RL
  • K3Nv2 @ K3Nv2:
    That games so mixed I hear people praise or say they love it
  • ZeroT21 @ ZeroT21:
    it's both, they love it and hate it just as much
  • K3Nv2 @ K3Nv2:
    Like we get mixed reviews but that games globally mixed like mj
  • ZeroT21 @ ZeroT21:
    love the gameplay, hate the buggy mess it's also in, much drama and controversy also related due to sony being sony
  • ZeroT21 @ ZeroT21:
    the mixed reviews is due to review bombing, because a chunk of regions are excluded/banned from buying it now
  • ZeroT21 @ ZeroT21:
    so the players are review bombing as response to sony doubling down on their so-called policy
  • BakerMan @ BakerMan:
    maybe the real bugs were the glitches they didn't patch along the way
  • ZeroT21 @ ZeroT21:
    there are instability issues regarding certain hardware setups, but it's a small part
    ZeroT21 @ ZeroT21: there are instability issues regarding certain hardware setups, but it's a small part