Hacking NDSTokyoTrim - batch trimmer with wifi detection

matriculated

Well-Known Member
Member
Joined
Sep 27, 2007
Messages
598
Trophies
0
Website
www.nubecoder.com
XP
77
Country
Canada
3rd is really the only feature I feel is missing and makes me wish other apps were as nice as yours, and they even have out put file problems... Anyway could you add an option to remove the so called "scene numbers" while trimming? You know the 3 or 4 numbers that precedes the game's name. Maybe also taking out extra info in the file names that are put in (parenthesis) like dump groups or hash values and fixing the spacing while keeping more important info?

So something like this,

1234 – Super Happy Fun Time Game (J)(v1.1)(Group)(123123123).nds

Becomes

Super Happy Fun Time Game (J) (1.1).nds

I was thinking the same thing. This would be awesome!
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
1
Website
www.eden.fm
XP
340
Country
So 2nd of all the bug, back in .50 when using RARs I'd check the "Use a different output folder" and it mostly worked just fine, only problem was it left the un-trimmed roms in the folder where the app was running as well as the trimmed roms in the destination folder. Now, in this beta that problem seems to be taken care of as they no longer show up in the app folder but instead it gives an error "Error: Output file exists" and leaves the non trimmed roms in the destination folder.

3rd is really the only feature I feel is missing and makes me wish other apps were as nice as yours, and they even have out put file problems... Anyway could you add an option to remove the so called "scene numbers" while trimming? You know the 3 or 4 numbers that precedes the game's name. Maybe also taking out extra info in the file names that are put in (parenthesis) like dump groups or hash values and fixing the spacing while keeping more important info?

So something like this,

1234 – Super Happy Fun Time Game (J)(v1.1)(Group)(123123123).nds

Becomes

Super Happy Fun Time Game (J) (1.1).nds


2) that's odd, ill check it out. you should get that error if the file already exists in the destination folder. can you try again and make sure the folder it's empty? I think ill make it just overwrite the files..

3) sounds good, will do that, leaving only the region between brackets (J) etc


GBA trimming: upon inspecting some roms I noticed some weird stuff in some. found one that had a random string at the end of the rom, so trimming that one will fail; others have some random chars mixed after a long space with garbage. I couldn't find much info about the GBA rom header so I'm using a very basic and lame method to trim. Hope it will get better with your feedback!

When the stable version is released you will get notified automatically by the trimmer when you run it if you have that option enabled.
 

wiithepeople

^^didn't play it that much, but I love it =D
Member
Joined
Sep 30, 2007
Messages
786
Trophies
0
Age
29
Location
the banned
Website
Visit site
XP
129
Country
United States
I read it. Love those BG's!
rofl2.gif
rofl2.gif
rofl2.gif
rofl2.gif
Were the girls in the last BG... nvm I don't want to say it
laugh.gif


QUOTE said:
New stuff:

- 7zip support
- GBA trimming (very basic and rudimentary, don't trust it 100%)
- Auto-check for new version
- Basic bricker check
- Speed improvements

Speed improvements?!
wtf.gif
Dude this thing trimmed off 27 megs for me in 0.8 seconds! Not much room left for improvement which makes me happy
biggrin.gif


Good work and keep it up! (although I'm perfectly content with 0.50 already)
bow.gif
 

h8uthemost

Well-Known Member
Member
Joined
Dec 7, 2006
Messages
702
Trophies
1
XP
403
Country
United States
Beautiful! Thank you so much for the GBA support Brian.

EDIT: Ok, I trimmed Warioland4. It's an 8.00mb rom. After trimming with NDSTokyo, then rom is now 7.96mb.

Now, when I put the full rom onto the G6 Lite through the G6 Manager, the rom shows up as 4.93mb with the compression option. So I guess trimming GBA roms really doesn't have an affect with your using the G6 patching client.

But since the EZIV Client doesn't have a trim option, your trimmer will come in very handy.

Thanks again.
 

philco1

Well-Known Member
Member
Joined
Apr 20, 2007
Messages
163
Trophies
0
XP
34
Country
United States
I will upload a Beta today, but I will only post it here, not as an official stable build.

Backgrounds stuff isn't finished, but should be very soon, however not today. Since everything else is finished and I need some feedback.. (mostly about GBA trimming), I'm releasing this beta first.

Ok ... you got me
bow.gif


Keep up the gr8 work.

Yay for changing the BG ... heres mine
ndstrimpicfd8.jpg
 

HackNeyed

Active Member
Newcomer
Joined
Jul 8, 2006
Messages
26
Trophies
0
Age
41
Website
Visit site
XP
191
Country
No, the detestation folder is empty until the app puts the untrimmed rom in it and then gives that error. It seems to unRAR the files to the detestation folder and then tries to trim them else where and move them but errors because they are already there. I guess overwriting is the simplest fix but it worked fine in .50 and would only error if I actually had a rom there already. The only problem with .50 was that it left the unzipped and untrimmed roms in the apps working folder when it should have deleted them after each successful trim and copy. Still I dont mind it much since most trimming apps seem to have this or another problem with output folders.

And thank you for adding renaming, leaving the region is so helpful for saves. Though if you could keep the simple version number too and make proper spacing, that would make this most helpful. I.E. “Game (J)(v1.1)” simply becomes “Game (J) (1.1)” Still, how ever is easy as long as its better then doing it by hand or setting up a separate batch reamer program.



Beautiful! Thank you so much for the GBA support Brian.

EDIT: Ok, I trimmed Warioland4. It's an 8.00mb rom. After trimming with NDSTokyo, then rom is now 7.96mb.

Now, when I put the full rom onto the G6 Lite through the G6 Manager, the rom shows up as 4.93mb with the compression option. So I guess trimming GBA roms really doesn't have an affect with your using the G6 patching client.

But since the EZIV Client doesn't have a trim option, your trimmer will come in very handy.

Thanks again.

The EZIV Client does trim. The options are to save patch and add a reset patch but it always trims, though it also renames them from a list and I often want to rename them back. As for the G6 Manager, you said it uses compression so I would assume it normally compresses out the 00 and FF to store it in a trimmed like state. Using a trimmed rom wont save space but might save a little decompression time.
 

HackNeyed

Active Member
Newcomer
Joined
Jul 8, 2006
Messages
26
Trophies
0
Age
41
Website
Visit site
XP
191
Country
k redownload the beta, now it will always overwrite when using a different folder

That works good enough, thanks! Mostly I just didn't want it leaving the unzipped files in the app folder.
smile.gif


I should point out another bug though. When I tell it to Stop it gives me an error box saying “Invalid pointer operation” and then the app just kinda sits there with my pointer as the hourglass and I have to close and reopen the app to get it working again. Not a biggie, I mean if it does as it should I wont be Stopping it much.
wink.gif


Also, again, just a simple thanks man.
biggrin.gif
 

urfage

New Member
Newbie
Joined
Oct 16, 2007
Messages
2
Trophies
0
XP
2
Country
United States
Any word on integrated ARM7 fix? It would be great to have until the next R4 firmware which won't be out for a month or so.

TY for the great trimmer, keep up the good work!

-Bryce
 

h8uthemost

Well-Known Member
Member
Joined
Dec 7, 2006
Messages
702
Trophies
1
XP
403
Country
United States
The EZIV Client does trim. The options are to save patch and add a reset patch but it always trims, though it also renames them from a list and I often want to rename them back. As for the G6 Manager, you said it uses compression so I would assume it normally compresses out the 00 and FF to store it in a trimmed like state. Using a trimmed rom wont save space but might save a little decompression time.

Ah, that's good info HackNeyed. So the EZIV Client auto trims? Because when the roms show up on my microsd, they show up as a full rom. Either by hovering the mouse over the file to see the info, or right-clicking it and hitting Properties.
 

test84

GBAtemp's last ninja 2.
Member
Joined
Sep 8, 2006
Messages
3,698
Trophies
1
Website
gbatemp.net
XP
1,246
Country
Iran
Brian, i was using ur trimmer with Namco Museum DS and when i trimmed the rom, it didnt work on my flashcard (G6 Lite) but whe i used untrimmed version, it worked.

maybe u can improve ur software.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: My therapy chair is padded