PDA

View Full Version : OS Space Recovery - Get MORE into the ROM


mattk_r
9th June 2007, 10:13 PM
When I first started poking around in the new 318 build, I thought there was a problem with "decompiled" dll's and exe's.

I was backwards. There shouldn't be compiled dll's or exe's in with the decompiled components, because during the build it creates them!

The presence of the built files simply adds bulk to the base rom - and removing them gains back a HUGE amount of space.

So I removed the compiled and left the decompiled parts. I was freaking amazed at the results.

This should work in ANY /SYS folder, and how I got the kitchen setup I posted to include so many packages.

Whoohoo!

Dr Puttingham
9th June 2007, 10:21 PM
When I first started poking around in the new 318 build, I thought there was a problem with "decompiled" dll's and exe's.

I was backwards. There shouldn't be compiled dll's or exe's in with the decompiled components, because during the build it creates them!

The presence of the built files simply adds bulk to the base rom - and removing them gains back a HUGE amount of space.

So I removed the compiled and left the decompiled parts. I was freaking amazed at the results.

This should work in ANY /SYS folder, and how I got the kitchen setup I posted to include so many packages.

Whoohoo!This could be an amazing find! I've myself thought my RK was just way too freaking big...

Good job me thinks!

mfrazzz
9th June 2007, 10:57 PM
When you extract a rom, if you have the recmod.exe file in with Imgs stuff then thats when it attempts to rebuild the DLL's. I haven't tried it yet, but the way I read this in one of the posts on these tools, is if recmod.exe is not there then it woun't rebuild the .dlls in the module folder. So maybe remove the recmod.exe and then try doing an extract and you would get a cleaner dump.

Great find Matt. Like you I've tried doig it the other direction (replacing the module directory with the rebuilt .dll inside) but that doesn't work ;)

mattk_r
9th June 2007, 11:04 PM
When you extract a rom, if you have the recmod.exe file in with Imgs stuff then thats when it attempts to rebuild the DLL's. I haven't tried it yet, but the way I read this in one of the posts on these tools, is if recmod.exe is not there then it woun't rebuild the .dlls in the module folder. So maybe remove the recmod.exe and then try doing an extract and you would get a cleaner dump.

Great find Matt. Like you I've tried doig it the other direction (replacing the module directory with the rebuilt .dll inside) but that doesn't work ;)

I'm gonna start a tool in VB or C# to handle these functions, and integrate the utilities into a smooth UI. Log files, progress meter, lots of good stuff.

Now, I just have to find the time...

That's good to know about the redmod issue - thanks!

nandlal_mk
9th June 2007, 11:05 PM
When I first started poking around in the new 318 build, I thought there was a problem with "decompiled" dll's and exe's.

I was backwards. There shouldn't be compiled dll's or exe's in with the decompiled components, because during the build it creates them!

The presence of the built files simply adds bulk to the base rom - and removing them gains back a HUGE amount of space.

So I removed the compiled and left the decompiled parts. I was freaking amazed at the results.

This should work in ANY /SYS folder, and how I got the kitchen setup I posted to include so many packages.

Whoohoo!


Yes, but i think compiled dll n exe should only be removed if imageinfo.bin exist. And even doing so, it cant reduce size of OS.nb as we reduce thru tadzio tools.

PS : BTW i had already noticed this when bepe released his RK

edhaas
10th June 2007, 05:00 AM
Excellent job! It's amazing what we're doing here!

Best wishes,

mattk_r
10th June 2007, 05:05 AM
So if we get the decompilation of the base nk.nbf to not decompile the files, we won't have this issue.

Well, at least we have alternates! This was new to me, and worked great. I'm actually content not to make more room at this point... wow...