PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2009, 01:15 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
VK to old SYS converter batch

This is used to convert VK style SYS layouts to work with the older buildOS or as I prefer, platformrebuilder. Its kind of a like a very simple reverse dumpsorter. It ignores skip files so you don't need to worry about deleting _skip files when you copy the files into the kitchen This will be in the TOOLS directory of the next kitchen release also. To use it just copy the batch file into the directory containing DPI_192, DPI_192-RESH480_RESV640 and SHARED, then just run it. It will rearrange it all into one folder called OLDSTYLE, then just create a new folder in my kitchen's SYS directory with the build number and paste the contents of OLDSTYLE in there.

I will probably make it easier to use later but for now it gets the job done!

if you want to know what the script contains, its really simple:

Code:
@ECHO OFF
echo Please wait, converting. Window will close when finished.
mkdir OLDSTYLE
echo _skip > skipfiles
xcopy DPI_192\0409 OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
xcopy DPI_192\COMMON OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
xcopy DPI_192_RESH_480_RESV_640\0409 OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
xcopy DPI_192_RESH_480_RESV_640\COMMON OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
xcopy SHARED\0409 OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
xcopy SHARED\COMMON OLDSTYLE /D /H /E /C /Y /Q /EXCLUDE:skipfiles
del skipfiles
Explanation:
@ECHO OFF - hides the commands themselves as they are executed, change it to ECHO ON to see the difference
echo text - just displays text in the window for the user to read
mkdir OLDSTYLE - create directory called oldstyle
echo _skip > skipfiles - makes a new file called skipfiles with the contents _skip
xcopy DIRECTORY /D /H /E /C /Y /Q /EXCLUDE:skipfiles : copies files, /D means include directories /H means include system files, /E means copy all subdirectories, /C means ignore errors (there won't be any as long as your VK SYS directory is formatted correctly), /Y means overwrite if necessary, /Q means quiet (dont show every file on the screen as it copies), /EXLCUDE is the file that contains a list of files to NOT copy, in our case this file is created by the eco _skip > skipfiles line, the file it uses for ignores is skipfiles and there is only one line in it, so it only ignores _skip files.
and finaly, del _skipfiles just deletes the file called skipfiles since it is no longer necessary

this was originally posted in my rom/kitchen thread so forgive me if it is a bit too hand-holding of an explanation..

edit: oops, forgot the attachment
Attached Files
File Type: rar CONVERT_SYS.rar (300 Bytes, 4 views) Click for barcode!
__________________

Last edited by raidzero; 10-13-2009 at 01:18 PM.
This post has been thanked 1 times.
  #2 (permalink)  
Old 10-13-2009, 01:33 PM
Mr. X's Avatar
Retired Staff
Offline
Pocket PC: HTC Desire
Carrier: Telus
Location: Ontario, Canada
 
Join Date: Aug 2008
Posts: 7,226
Reputation: 27769
Mr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 2 Thread(s)
Re: VK to old SYS converter batch

Props!

Will be usefull
__________________

If I have helped you, you like my work, want to get me a coffee or you feel like you wish to help me get my next device.

feel free to its appreciated, but not required!

Thanks To everyone who donated!
  #3 (permalink)  
Old 10-13-2009, 02:54 PM
raidzero's Avatar
N00b
Offline
Pocket PC: Moto Droid @ 1.1GHz
Carrier: VZW
Threadstarter
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
Re: VK to old SYS converter batch

Quote:
Originally Posted by Juggalo_X View Post
Props!

Will be usefull
thanks
  #4 (permalink)  
Old 10-13-2009, 06:21 PM
CFay's Avatar
Father of the Treo Pro
Offline
Pocket PC: HTC Touch Pro2/Treo Pro
Carrier: SPRINT
Location: Sugar Land
 
Join Date: Apr 2008
Posts: 828
Reputation: 5705
CFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the communityCFay is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: VK to old SYS converter batch

This is VERY useful for the Sysversion tool which can only read the old style layout.
THANKS!
-CFay
__________________
If you enjoy my work: thank me =D>

CFay TP2 Port ROM! Check it out!
Changed my name from fayfay392 to CFay!
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Development > ROM/Kitchen Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:48 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com