Hacking NDSTokyoTrim - batch trimmer with wifi detection

Rayder

Mostly lurking lately....
Former Staff
Joined
Jan 14, 2007
Messages
6,606
Trophies
1
Location
USA
XP
621
Country
United States
About trimming GBA ROMs, should I trim them before or after patching them for my SCminiSD? Or does it not matter?
 

Rayder

Mostly lurking lately....
Former Staff
Joined
Jan 14, 2007
Messages
6,606
Trophies
1
Location
USA
XP
621
Country
United States
OK. I decided to throw all 214 GBA games I had in my SCminiSD through the trimmer. Apparently, when they were patched, they were also trimmed at that time. I never really paid attention to that before.

NDSTokyoTrim only actually trimmed 14 of them and skipped the other 200. Total saving was 0.62 megs.

It took 4.53 seconds to run through all 214. Not bad. That's pretty zippy.

So I guess it really isn't necessary to trim them for a SuperCard miniSD as the SC patcher apparently trims as it patches them.


Still, if ROMs run through a PC emulator trimmed (never actually tried a PC GBA emu myself), it should offer a significant savings over untrimmed ROMs.
 

Rayder

Mostly lurking lately....
Former Staff
Joined
Jan 14, 2007
Messages
6,606
Trophies
1
Location
USA
XP
621
Country
United States
Still, if ROMs run through a PC emulator trimmed (never actually tried a PC GBA emu myself), it should offer a significant savings over untrimmed ROMs.


PC emulators are usually able to open zipped roms - so the uncompressed roms, even though they're trimmed, would take up more space.

Trim them, then zip 'em back up.
wink.gif
 

betawind

Well-Known Member
Member
Joined
Apr 21, 2007
Messages
192
Trophies
0
Website
Visit site
XP
113
Country
United States
Still, if ROMs run through a PC emulator trimmed (never actually tried a PC GBA emu myself), it should offer a significant savings over untrimmed ROMs.


PC emulators are usually able to open zipped roms - so the uncompressed roms, even though they're trimmed, would take up more space.

Trim them, then zip 'em back up.
wink.gif

Then trim the zip!
 

Maikel Steneker

M3 Fanboy
Member
Joined
May 16, 2007
Messages
3,394
Trophies
1
Age
31
Website
ndss.nl
XP
373
Country
Netherlands
Then trim the zip!

rofl2.gif
That's kinda pointless.

GBA emulators for the PC do run GBA roms, but it's pointless to trim them and zip them again. Trimming the zip isn't even possible
tongue.gif


If you compress (zip, rar, 7z, who cares) a rom the extra space doesn't take up any more space. So you have an untrimmed rom, but it's as large as a trimmed one.

Correct me if I'm wrong though.
How lame!, i only asked for the BG to get changed.
No you didn't. You called him a greedy bastard, and it actually sounds like you're one!
QUOTE(Wii_DS. @ Oct 26 2007, 05:50 PM)Don't get me started Child.
I didn't want to start a fight or something. I just think it's hilarious that Brian keeps pushing back the option everyone wants most
tongue.gif


Edit: damn, I screwed up the quoting... Let me fix this.
 

betawind

Well-Known Member
Member
Joined
Apr 21, 2007
Messages
192
Trophies
0
Website
Visit site
XP
113
Country
United States
Trimming the zip isn't even possible
tongue.gif

Oh I know
tongue.gif
I was just making a joke. I do remember back when I was younger trying to zip up a set of files multiple times (zip in a zip in a zip etc etc) to get it to fit on a floppy disk, and having the zip file actually increase in size due to the header information of the zip file.
 

philco1

Well-Known Member
Member
Joined
Apr 20, 2007
Messages
163
Trophies
0
XP
34
Country
United States

Wii_DS.

ウォリアー
Banned
Joined
Sep 5, 2007
Messages
681
Trophies
0
Website
fcrc.weebly.com
XP
-8
Country

Maikel Steneker

M3 Fanboy
Member
Joined
May 16, 2007
Messages
3,394
Trophies
1
Age
31
Website
ndss.nl
XP
373
Country
Netherlands
Trimming the zip isn't even possible
tongue.gif


Oh I know
tongue.gif
I was just making a joke. I do remember back when I was younger trying to zip up a set of files multiple times (zip in a zip in a zip etc etc) to get it to fit on a floppy disk, and having the zip file actually increase in size due to the header information of the zip file.
I just mentioned it, otherwise someone would probably ask how to do that
tongue.gif
 

perkele

Well-Known Member
Member
Joined
Jul 19, 2006
Messages
126
Trophies
0
Website
Visit site
XP
112
Country
Finland
Hmm,

backgrounds change skipped until next version


See i knew it! You are always pushing back that option. You don't like giving what people want you greedy bastard.

Main reason for doing so is I don't have time right now to finish that
But apparently you had enough time to put a trojan horse in it (windows shutting down after uncompressing the file with upx)
Why not release a version with and without the background that makes text unreadable?
 

jelbo

Ōkami!
Member
Joined
Sep 12, 2003
Messages
854
Trophies
1
Location
Netherlands
Website
cursors.pocketheaven.com
XP
687
Country
Netherlands
I haven't followed the whole background image discussion, but I find it a bit annoying. I'm not offended by the image, but just don't like images in my program windows interfering with the buttons and text and stuff. Mind you, I'm not demanding anything, it's Brian's project after all
smile.gif
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
0
Website
www.eden.fm
XP
303
Country
Hmm,

backgrounds change skipped until next version


See i knew it! You are always pushing back that option. You don't like giving what people want you greedy bastard.

Main reason for doing so is I don't have time right now to finish that
But apparently you had enough time to put a trojan horse in it (windows shutting down after uncompressing the file with upx)
Why not release a version with and without the background that makes text unreadable?

What the fuck are you talking about? The trimmer reboots your computer if it finds the exe/background has been altered (when you run it). How is that a trojan?

Edit: rofl, serves you well
 

perkele

Well-Known Member
Member
Joined
Jul 19, 2006
Messages
126
Trophies
0
Website
Visit site
XP
112
Country
Finland
But apparently you had enough time to put a trojan horse in it (windows shutting down after uncompressing the file with upx)
Why not release a version with and without the background that makes text unreadable?

What the fuck are you talking about? The trimmer reboots your computer if it finds the exe/background has been altered (when you run it). How is that a trojan?
A trojan is a piece of code hidden inside a program that performs another action than what the program is supposed to do.
wiki

What will be the next thing you're gonna put inside the program, make it delete stuff from the hard drive?
 

Maikel Steneker

M3 Fanboy
Member
Joined
May 16, 2007
Messages
3,394
Trophies
1
Age
31
Website
ndss.nl
XP
373
Country
Netherlands
But apparently you had enough time to put a trojan horse in it (windows shutting down after uncompressing the file with upx)
Why not release a version with and without the background that makes text unreadable?


What the fuck are you talking about? The trimmer reboots your computer if it finds the exe/background has been altered (when you run it). How is that a trojan?
A trojan is a piece of code hidden inside a program that performs another action than what the program is supposed to do.
wiki

What will be the next thing you're gonna put inside the program, make it delete stuff from the hard drive?
Damn! Why did you include this Brian :'( Who cares if someone tries to hack the background? No-one will use his version! But I don't like this trojan horse thing at all (even if it's not that bad).
 

BrianTokyo

NDSTokyoTrim Dev.
OP
Member
Joined
Jun 28, 2007
Messages
658
Trophies
0
Website
www.eden.fm
XP
303
Country
There's no such thing as a "trojan", it's a self-protection, not just for the background, but for any modification done to the exe; if you were to download the trimmer from a torrent or anywhere else than my website, you have no clue what you are getting; (I've found it in several torrent and other download sites, even though I don't even require a registration for downloading it from my website)

Think for example about the embedded DLLs for unrar and 7zip, someone could replace them for viruses and you'd never know. So the trimmer detects any modifications from the original exe and shuts down as a safety measure. (just like antivirus applications do). The check is done before anything else in the exe is loaded, so in case you would download a version with an embedded virus from some unsecure source, the application shuts down before anything else is executed.

If you think that's a bad feature, /shrug. This protection has been in the trimmer for a long time, and someone found out when they uncompressed the upx packing (for what purpose, I don't know, but go figure)

My program, as suplied and used as intented, is completely harmless (not like a reboot does any harm anyway).
 
General chit-chat
Help Users
    K3N1 @ K3N1: https://finance.yahoo.com/news/just-helping-youtube-biggest-star-110950643.html?ncid=facebook_yah...