PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   ROM/Kitchen Development (http://forum.ppcgeeks.com/forumdisplay.php?f=38)
-   -   RecModCommon, scripted recmodding of SYS files. (http://forum.ppcgeeks.com/showthread.php?t=91687)

joojoobee666 10-21-2009 08:18 AM

RecModCommon, scripted recmodding of SYS files.
 
2 Attachment(s)
As posted over on everythingdiamond.info, here is the script I use to recmod the common files of any SYS to free up Slot 0. Just thought I'd bring the love over to ppcgeeks, and give all you cooks more information on the script.

I need to officially thank Tplane37 of the "Force Developments" team for putting the RecModCommon.txt together and helping me with some testing. Also need to thank AstainHellbring AND Tplane37 for some ideas with it. Also need to thank watzone69 for getting the ball rolling on this, and Da_G for all the good VM info. You guys rock:headbang:

The RecModCommonFiles.txt contains the list of module folders that you want recmodded. You may change it to whatever you want. The script is expecting recmod.exe to be in the same folder as the script. The easiest way to use this is to place a shortcut to the RecModCommon.bat your "Send To" folder, then right click on the "COMMON" folder and "Send To" the batch file. The script can also be integrated into to your kitchen. If the files are already recmodded, the script will NOT error out.

This does NOT have to be used on the COMMON folder only, you can also use it with an old stype Bepe kitchen where EVERYTHING is in the root of SYS.

You may feel free to edit/cleanup the vbscript as you see fit.

Currently, the files that are being recmodded by the source RecModCommon.txt are listed below. Keep in mind, that if you are using this on an Apahce, do NOT recmod the modules in the OS folder. One or more of those being recmodded can give you Apache guys a non-booter (Attached is a source list for the Apache). Also, I recently discovered that if the source COMMON contains the BaseAppFiles or MediaOSFile instead of BaseAppModules or MediaOSModules, the files in there should be in module form for the Apache. At this point, it is unclear as to why the Apache is being so picky....

Code:

\AdobeFlash\flashlite.dll
\AdobeFlash\flashResource.dll
\AdobeFlash\IEActiveX.dll
\AdobeFlash\si_impl.dll
\AdobeFlashCodecs\flashsnddec.dll
\AdobeFlashCodecs\flashviddec_on2_win32.dll
\AdobeFlashCodecs\flashviddec_sorenson_win32.dll
\BaseApps\Beam.exe
\BaseApps\caldl.dll
\BaseApps\calendar.exe
\BaseApps\doclist.dll
\BaseApps\fexplore.exe
\BaseApps\hotvoice.exe
\BaseApps\note_prj.dll
\BaseApps\notes.exe
\BaseApps\pimg.exe
\BaseApps\shptutil.dll
\BaseApps\VoiceBar.dll
\BaseApps\VoiceCtl.dll
\BaseApps\voicedll.dll
\BlueTooth\bthpbap.dll
\BROWSING\browser.dll
\BROWSING\iexplore.exe
\BROWSING\wmlview.dll
\BROWSINGCORE\jscript.dll
\BROWSINGCORE\mlang.dll
\BROWSINGCORE\msscript.dll
\Browsingie\browsui.dll
\Browsingie\dxtrans.dll
\Browsingie\IECEExt.dll
\Browsingie\imgutil.dll
\Browsingie\mshtml.dll
\Browsingie\msls31.dll
\Browsingie\pngfilt.dll
\Browsingie\shdoclc.dll
\Browsingie\shdocvw.dll
\Browsingie\vbscript.dll
\Browsingie\wmlview7.dll
\Bth_A2DP\Avrcp_MPplugin.dll
\Bth_HID\bthhid.dll
\Bth_HID\conshid.dll
\Bth_HID\hidparse.dll
\Bth_HID\kbdhid.dll
\GPSid\gpsid.dll
\InternetSharing\intshare.dll
\InternetSharing\ipnat.dll
\InternetSharing\IntShrUI.exe
\MediaOS\cedrmutil.dll
\MediaOS\wma9prodecoder.dll
\MediaOS\wmcore.dll
\MediaOS\wmploc.dll
\MediaOS\wmpocx.dll
\MediaOS\wmv9decoder.dll
\MediaOS\xmeevtsnd.dll
\NetCF\cgacutil.exe
\NetCF\GAC_CustomMarshalers_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.ServiceModel.Channels.Mail.WindowsMobile_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.ServiceModel.Channels.Mail_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.VisualBasic_v8_1_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.WindowsCE.Forms_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_Microsoft.WindowsMobile.DirectX_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_mscorlib_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Core_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Data.DataSetExtensions_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Data_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Drawing_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Messaging_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Net.IrDA_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Runtime.Serialization_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.ServiceModel_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Web.Services_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Windows.Forms.DataGrid_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Windows.Forms_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Xml.Linq_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System.Xml_v3_5_0_0_cneutral_1.dll
\NetCF\GAC_System_v3_5_0_0_cneutral_1.dll
\NetCF\mscoree.dll
\NetCF\mscoree3_5.dll
\NetCF\netcfagl3_5.dll
\NetCF\netcfd3dm3_5.dll
\NetCF\netcfmail3_5.dll
\OS\dw.exe
\OS\dwui.dll
\OS\enrollnot.exe
\OS\machineenroller.dll
\OS\machineenrollerlaunch.exe
\OS\networkpolicycsp.dll
\OS\omadmclient.exe
\OS\quartz.dll
\OS\tcpstk.dll
\OS\tmarshaller.exe
\OS\umarshaller.exe

\Phone\simsec.dll
\Phone\tkitapp.exe
\PhoneRedist\siclnt.exe
\Redist\configmanager.dll
\Redist\configmanager2.dll
\Redist\obexapi.dll
\Redist\obexinbx.dll
\Redist\remnet.exe
\Redist\syscsps.dll
\Redist\welcome.exe
\RemoteDesktopMobile\kbdus.dll
\RemoteDesktopMobile\mstscax.dll
\RemoteDesktopMobile\MvkLib.dll
\RemoteDesktopMobile\wpctsc.exe
\Shell\autotimeupdate.exe
\Shell\CertInstaller.exe
\Shell\fbrowser.dll
\Shell\find.dll
\Shell\msnsspc.dll
\Shell\mstli.exe
\Shell\peghelp.exe
\Shell\richink.dll
\Shell\rnaapp.exe
\Shell\shfind.exe
\Shell\sndplay.exe
\Shell\taskmgr.exe
\Shell\tskschcsp.dll
\Shell\tskschedule.exe
\Shell\tskscheduleu.exe
\SkyBox\mkeeper.ini
\SkyBox\MyPhoneConsole.exe
\SkyBox\MyPhoneLauncher.cpl
\SkyBox\MyPhoneRuntime.exe
\WindowsLive\WLMCommonSettings.dll
\WindowsLive\WLMContactsDatabase.dll
\WindowsLive\WLMContactsExtension.dll
\WindowsLive\WLMContactsPlugin.dll
\WindowsLive\WLMContactsProvider.dll
\WindowsLive\WLMDeckCode.dll
\WindowsLive\WLMHSContainerCode.dll
\WindowsLive\WLMHSMailCode.dll
\WindowsLive\WLMHSSearchBarCode.dll
\WindowsLive\WLMHSSplashCode.dll
\WindowsLive\WLMHSSyncCode.dll
\WindowsLive\WLMImageUpdate.exe
\WindowsLive\WLMLauncher.exe
\WindowsLive\WLMLauncher.lnk
\WindowsLive\WLMMailPlugin.dll
\WindowsLive\WLMMailTransport.dll
\WindowsLive\WLMProfilePlugin.dll
\WindowsLive\WLMService.dll
\WindowsLive\WLMSetup.exe
\WindowsLive\WLMShared.dll
\WindowsLive\WLMSpacesExtension.dll
\WindowsLive\WLMSpacesPlugin.dll
\WindowsLive\WLMTodayScreen.dll
\WindowsLive\WLMUIFramework.dll
\WindowsLiveIM\WLMHSMeCode.dll
\WindowsLiveIM\WLMHSMessengerCode.dll
\WindowsLiveIM\WLMMessenger.exe
\WindowsLiveIM\WLMMessengerPlugin.dll

Also, line 15 of the script is defining what file to use as the source so you can create your own and use that instead. Line 15 looks like this:

InputFileName = (CurPath & "RecModCommonFiles.txt")

The bold portion is the source file that you use. Just be sure it is in the same folder as the script and recmod.exe.

On another note, if you fancy nuerecmod.exe over recmod.exe, no problem. Just edit line 39 of the vbscript. Line 39 looks like this:

strCommand1 = Chr(34) & CurPath & "\recmod.exe" & Chr(34) & " " & Chr(34) & strModuleFolder & Chr(34)

Just change recmod.exe to nuerecmod.exe and be sure nuerecmod.exe is in the same path as the script.

And finally, one last note. Sometimes modules will fail, I don't know why. But it's easy to fix, just run it twice as any module that failed ALWAYS works the second time around. :D

raidzero 10-21-2009 08:27 AM

Re: RecModCommon, scripted recmodding of SYS files.
 
oooh, vbscript.. fancy. thanks! :) hey do you mind if I use this script in my kitchen? I love how you can just add files to the text file...

joojoobee666 10-21-2009 08:32 AM

Re: RecModCommon, scripted recmodding of SYS files.
 
Quote:

Originally Posted by raidzero (Post 1250925)
oooh, vbscript.. fancy. thanks! :)

Yeah, I know :?, but it seemed easiest to do since it also leaves the ability for chefs to modify it as they see fit. I could have coded it in C# or something, but what fun would that have been? :D

And no I don't mind at all! Use it in your kitchen, that was half the point. :thumbright:

SOHKis 10-26-2009 02:26 PM

Re: RecModCommon, scripted recmodding of SYS files.
 
don't forget about superrecmod, great to cleanup those last few modules that you don't always want to convert. http://forum.xda-developers.com/show...&postcount=928


All times are GMT -4. The time now is 01:35 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0