xboxscene.org forums

Author Topic: Copy Files  (Read 60 times)

frohanss

  • Archived User
  • Newbie
  • *
  • Posts: 30
Copy Files
« on: January 16, 2005, 07:17:00 AM »

I'm totaly new at this.
I have been making mods pack to Ghost Recon 2.
Here is what i would like a script to do.

If my xbox has a gr2 mods folder let's say "F:\gr2mods\" and below that i have "weaponmod1\" and "weaponmod2\" folders and so on. Inside these folders i have 2 files that i need to overwrite inside gr2 game folder.

I would like it to have a selection screen that shows what mod packs i have inside the gr2mods\ folder. And when that is selected i whant it to copy the 2 files from the selected pack over to org game folder. And second it need's to clean out the chashe drive (or better only the 2 files).

If this was on XP it would have been something like this:

del f:\games\Ghost Recon 2\globs\ikedata.glb
del f:\games\Ghost Recon 2\shell\strings_x.txt
Copy f:\gr2mods\weaponmod1\globs\ikedata.glb f:\games\Ghost Recon 2\globs\ikedata.glb
Copy f:\gr2mods\weaponmod1\shell\strings_x.txt f:\games\Ghost Recon 2\shell\strings_x.txt
del x:\globs\ikedata.glb
del x:\shell\strings_x.txt
del y:\globs\ikedata.glb     (since gr2 uses both x or y drive)
del y:\shell\strings_x.txt    (since gr2 uses both x or y drive)

Also, is it possible to make a script that connects to a web site and dowload a mod packs and save it under f:\gr2mods\ folder?
Logged