PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Titan Development (http://forum.ppcgeeks.com/forumdisplay.php?f=57)
-   -   Using SDConfig.txt to copy files using UC??? (http://forum.ppcgeeks.com/showthread.php?t=20741)

92GTA 03-10-2008 05:07 PM

Using SDConfig.txt to copy files using UC???
 
I have all of my applications installing perfectly from my SD card when I flash a UC compatible ROM like No2Chem's.

I'm trying to figure out how or what I type in the SDConfig.txt that will also tell it to copy files like .tsk's and .mp3's for ringers from my SD card to specific directories like the Windows and the Windows/Rings folders on the device?

Can anyone help me out with how to do that?

Thanks!!!!

Alex

kevank 03-10-2008 05:16 PM

Re: Using SDConfig.txt to copy files using UC???
 
Some people have gotten CPY1 and CPY2 to work correctly The syntax is as follows:

CPY1: <source file to copy>
CPY2: <destination to copy to>

CPY2: must immediately follow CPY1:

Example:

CPY1:\Storage Card\MyFile.ext
CPY2:\My Documents\MyFile.ext

Kevan

92GTA 03-10-2008 06:55 PM

Re: Using SDConfig.txt to copy files using UC???
 
Thanks! I'll give that a try!

InvincibleLiving 03-10-2008 07:00 PM

Re: Using SDConfig.txt to copy files using UC???
 
92, please let us know your findings on this, as far as what files will and will not work with the syntax.... i'm trying my best to get this UC down, but i'm struggling with it...

thanks mate,

naut

itsall_cooool 03-10-2008 07:03 PM

Re: Using SDConfig.txt to copy files using UC???
 
Can the CPY1 CPY2 be run multiple times?
example:
CPY1:\Storage Card\My Documents\transformOpen.wav
CPY2:\Windows\transformOpen.wav
CPY1:\Storage Card\My Documents\transformClose.wav
CPY2:\Windows\transformClose.wav

etc. etc...

I have UC working as far as installing .cab files and this would interest me greatly. The registry stuff like .xml is still beyond me but this would certainly help simplify a re-flash

92GTA 03-10-2008 07:09 PM

Re: Using SDConfig.txt to copy files using UC???
 
I'm trying it right now, I'm flashing No2Chem's 5052 as I type this and I have it set to copy a tsk file and about 10 ringers.

I'll report back in a few...

EDIT: It works perfectly!!! Multiple files too!!!! Yay!

EDIT 2: Here is EXACTLY every bit of what is in my SDConfig.txt file so everyone knows the correct formatting:

------------------------------------------------------
LOCK:Enabled
CPY1:\Storage Card\PDA Files\Themes\Greenland_Meteor.tsk
CPY2:\Windows\Greenland_Meteor.tsk
CPY1:\Storage Card\PDA Files\Ringers\AuthorityZero.mp3
CPY2:\Windows\Rings\AuthorityZero.mp3
CPY1:\Storage Card\PDA Files\Ringers\Becky.mp3
CPY2:\Windows\Rings\Becky.mp3
CPY1:\Storage Card\PDA Files\Ringers\Craig.mp3
CPY2:\Windows\Rings\Craig.mp3
CPY1:\Storage Card\PDA Files\Ringers\Engine.mp3
CPY2:\Windows\Rings\Engine.mp3
CPY1:\Storage Card\PDA Files\Ringers\Johnny.mp3
CPY2:\Windows\Rings\Johnny.mp3
CPY1:\Storage Card\PDA Files\Ringers\Katrina.mp3
CPY2:\Windows\Rings\Katrina.mp3
CPY1:\Storage Card\PDA Files\Ringers\Keith.mp3
CPY2:\Windows\Rings\Keith.mp3
CPY1:\Storage Card\PDA Files\Ringers\Offspring.mp3
CPY2:\Windows\Rings\Offspring.mp3
CPY1:\Storage Card\PDA Files\Ringers\Parents.mp3
CPY2:\Windows\Rings\Parents.mp3
CPY1:\Storage Card\PDA Files\Ringers\Roger.mp3
CPY2:\Windows\Rings\Roger.mp3
CPY1:\Storage Card\PDA Files\Ringers\Tim.mp3
CPY2:\Windows\Rings\Tim.mp3
CPY1:\Storage Card\PDA Files\Ringers\Tool.mp3
CPY2:\Windows\Rings\Tool.mp3
CAB: \Storage Card\PDA Files\Applications\IOTA_3.35.651.2.cab
CAB: \Storage Card\PDA Files\Applications\00_CustomSettings_v8.cab
CAB: \Storage Card\PDA Files\Applications\01_SDK_Certs.cab
CAB: \Storage Card\PDA Files\Applications\02_HTC_Home_v2.1.1005.722_schen _92GTA.cab
CAB: \Storage Card\PDA Files\Applications\03_SpbELF_CalculatorSkin_PL.cab
CAB: \Storage Card\PDA Files\Applications\06_HTC_10_Button_Comm_Manager.c ab
CAB: \Storage Card\PDA Files\Applications\07_HTC_Task_Manager_v2.0.31261. 1.cab
CAB: \Storage Card\PDA Files\Applications\08_HTC_WMP_Skin.cab
CAB: \Storage Card\PDA Files\Applications\09_HTC_Battery_Indicator.cab
CAB: \Storage Card\PDA Files\Applications\10_GoogleMaps_v2.0.0.12.cab
CAB: \Storage Card\PDA Files\Applications\SPB Backup v1.6.3\SPB_Backup.cab
CAB: \Storage Card\PDA Files\Applications\Resco Explorer v6.17\Resco_Explorer.cab
CAB: \Storage Card\PDA Files\Applications\Resco Explorer v6.17\Resco_Registry.cab
LOCK: Disabled
RST: Reset

InvincibleLiving 03-10-2008 08:35 PM

Re: Using SDConfig.txt to copy files using UC???
 
oh wow that's great news... do you ever do the same for your .xml's i'm still pretty lost on that as is itsallcool! thanks for following up! also this can still only direct the cabs to be installed to device right, not the

InvincibleLiving 03-11-2008 12:23 PM

Re: Using SDConfig.txt to copy files using UC???
 
OK, I've got it working 100%!!!! man this was the most trying thing to learn on the fly... i had to hard reset at least 20... no 50 times because each time you get the syntax wrong on just one item it locks the phone during customization!!! I learned alot in this process tho and now that i have it perfect, i'll only need to make minor adjustments as new apps come along that i want to include. i even got the xml's to work... i feel like i just ran a marathon and won... i maybe got 2 hours of sleep last night from messing with this.

I'll post my exact sdconfig.txt later for you guys to look over.

demoniac 03-11-2008 12:51 PM

Re: Using SDConfig.txt to copy files using UC???
 
What about copying entire directories? Has anyone tried that?

For example, the WeatherPanel PhatPhinger themes? There are tons of individual files in there and if would be great if it could just copy the entire folder. There might be problems because the target directory does not exist?

I never was able to get it to work and gave up. It keep saying that the folder was not found but it was pointing to the source folder, which was there and named right.

InvincibleLiving 03-11-2008 01:43 PM

Re: Using SDConfig.txt to copy files using UC???
 
Quote:

Originally Posted by demoniac (Post 211961)
What about copying entire directories? Has anyone tried that?

For example, the WeatherPanel PhatPhinger themes? There are tons of individual files in there and if would be great if it could just copy the entire folder. There might be problems because the target directory does not exist?

I never was able to get it to work and gave up. It keep saying that the folder was not found but it was pointing to the source folder, which was there and named right.

you may just need to tweak your syntax... or create an xml file to handle creating and copying a full directory. i saw a post about it.. but i havent given it a shot yet.

here: this give instructions on how to create and move directories...

http://forum.xda-developers.com/show...00&postcount=3

best of luck


All times are GMT -4. The time now is 05:13 AM.

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


Content Relevant URLs by vBSEO 3.6.0