Camarade_Tux Posted May 4, 2006 Author Share Posted May 4, 2006 (edited) Thanks for your test. I'll do some others asap.btw, nuhi, nlite calls makecab that way, right ?makecab /D CompressionMemory=21 /D CompressionType=LZX ntprint.infAnother idea I recently got was to upx some files. (got the idea when using a BartPE CD)I wonder if it will lower memory usage (cache and memory footprint) and how it will impact on CPU usage.Some files can be upxed for sure (winmine.exe, dxdiag.exe, sol.exe...), some others may not (shell32.dll, explorer.exe)UPX made shell32.dll switch from 8.01MB to 2.69MB with -9 switch when shell32.dl_ is 2.50MB. (btw, don't use "upx file --best --all-filters --all-methods" instead of "upx file -9", it is MUCH slower [20 times at least] and doesn't bring better compression) Edited May 4, 2006 by Camarade_Tux Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 6, 2006 Author Share Posted May 6, 2006 (edited) Just cabbed the files minigun told but now my XP is in english !I used a different version of HFSlip and an updated hotfix so it may be unrelated.Start button it still named "Démarrer" and most programs are still in French. Maybe something in winnt.sif. :? See next post.I'll check that.Also, (still using only nLite's sfc_os.dll patching), I was able to install XP with ntprint.cat and sp1.cat cabbed.I removed ntprint.cat and two warnings popped up, but installation did not stop. I only got a complain in Event Viewer.I was maybe able to delete sp1.cat because I don't have any "sp1.cab" as it got merged into driver.cab thanks to hfslip.I'll try without cab merging in a second. Edited May 6, 2006 by Camarade_Tux Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 6, 2006 Author Share Posted May 6, 2006 The english part is because of the updated hotfix which is in english. :/ Link to comment Share on other sites More sharing options...
minigun Posted May 7, 2006 Share Posted May 7, 2006 (edited) here is a nice update... you can replace SP2.CAT with a blank version saving 0.99MB also works for ntprint.cat (210KB)but doesnt work with NT5.cat or nt5inf.cat (setup complains) Edited May 7, 2006 by minigun Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 7, 2006 Author Share Posted May 7, 2006 Really nice. :woot: Thanks. ^^ Link to comment Share on other sites More sharing options...
zedox Posted May 8, 2006 Share Posted May 8, 2006 Once you are finished finding what files can be removed and cabbed, could you please post a small guide for users please!? Link to comment Share on other sites More sharing options...
minigun Posted May 8, 2006 Share Posted May 8, 2006 (edited) heres a quick batch to compress the files and delte the oldchange the directory you have the files in... @echo offcd\location_of_nlited_windows_files\i386makecab intl.inf intl.in_makecab ntprint.inf ntprint.in_makecab DBGHELP.DLL DBGHELP.DL_makecab ntdll.dll ntdll.dl_makecab imagehlp.dll imagehlp.dl_makecab exts.dll exts.dl_makecab regedit.exe regedit.ex_del /Q /F intl.infdel /Q /F ntprint.infdel /Q /F DBGHELP.DLLdel /Q /F ntdll.dlldel /Q /F regedit.exedel /Q /F exts.dlldel /Q /F imagehlp.dlldel /Q /F SP2.CATdel /Q /F ntprint.catexitall you need to do is make 2 blank files one called SP2.CAT (thats if you integrate SP2) and one called ntprint.cat Edited May 8, 2006 by minigun Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 8, 2006 Author Share Posted May 8, 2006 Use makecab /D CompressionMemory=21 /D CompressionType=LZX ntprint.infinstead of simple makecab, compression will be higher and not much longer. Also, don't forget you need SFC/WFP to be disabled.Right now, I'm searching which files present in i386 and in driver.cab can be deleted from i386.Also, I'm wondering if some files we would like to cab are not needed for recovery console or such things.(afaik, regedit CANNOT run while windows is in textmode) Link to comment Share on other sites More sharing options...
zedox Posted May 9, 2006 Share Posted May 9, 2006 Nice work you guys doing.What about SP1.CAT ? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 9, 2006 Share Posted May 9, 2006 You can delete SP1.cat. It is no longer even used or looked for once you have SP2 integrated. Link to comment Share on other sites More sharing options...
zedox Posted May 11, 2006 Share Posted May 11, 2006 Hey guys, any more files that can be removed or cabbed? Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 20, 2006 Author Share Posted May 20, 2006 (edited) Bump, somebody may be interested in this. I did not gave up but I'm busy so I can't test right now. Edited May 20, 2006 by Camarade_Tux Link to comment Share on other sites More sharing options...
minigun Posted May 20, 2006 Share Posted May 20, 2006 i dont know what else to do Link to comment Share on other sites More sharing options...
Camarade_Tux Posted May 20, 2006 Author Share Posted May 20, 2006 I was thinking compressing some dll files may cause problems with recovery console.It's possible but not sure at all since many .exe files simply don't run in PE environnement.So it should be check imho.Btw, there's a ntdll.dll file in I386\System32 and it seems it never gets updated. The one in I386 should overwrite that one. That would moreover save some space if -o switch is used to create the iso.And I think it should not be cabbed it the one in I386\System32 can not be cabbed as well : cabbing it saves 400KB and if the other one is not cabbed you won't take advantage of -o and then it will cost 665KB; 665-400 = 265KB that are not saved.I probably look weird with all my maths to get an iso smaller by 250KB. I also wonder why is YAHOO.BMP not removed with nLite : 4KB. Link to comment Share on other sites More sharing options...
Delprat Posted May 20, 2006 Share Posted May 20, 2006 (edited) You don't look weird with your 250KB saved when you're adding tons of KBxxxxxx...Why nLite keeps YAHOO.BMP : turn the "H" 90° right (or left), it becomes an "=", put it in place of the point, that transforms in a coma, that moves after the "A", then scramble a bit the extension to make it "PBM", which is the short for "problem".Now, write what you have, and you'll get toto's head when he tweaks his OS...++ Edited May 20, 2006 by Delprat Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now