Page 1 of 1

Copying AI scripts

Posted: Fri Jul 02, 2010 1:02 am
by vettim89
JWE mentioned that when loading DBB mod you will need to copy, paste, and renumber the AI files. Is there a faster way to do this beyond doing each script one by one?

RE: Copying AI scripts

Posted: Fri Jul 02, 2010 2:52 pm
by oldman45
Not that I am aware of, I just do it one at a time. I copy them, put them in a folder then renumber them. Then I copy them back to the scen folder.

RE: Copying AI scripts

Posted: Fri Jul 02, 2010 3:03 pm
by JWE
There is a slightly easier way - if you are ok with DOS commands. The AI files for scen 1 are the same as for scen 6 (Dec.8 start), and the quiet China AI files for scen 7 are the same as for scen 8 (Dec.8 start). And so ...

Scen 1 and Scen 7 (QC) AI files will work for all Babes versions, if renumbered to match (your) Babes Scen numbers. I make two folders, just under the C: directory (so they are easy to get to). One is C:\Work001 the other is C:\Work007. Copy the aei001-xx files into Work001, copy the aei007-xx files into Work007. That organizes everything into a nice space, so it can be worked on, without the danger of screwing up the game scenario files. Then you are ready to boogie.

Open Command Prompt. Type cd\ <hit enter>
Type cd\Work001 <hit enter>
Type dir <hit enter> - just to see if you are in the right place - should show all the aei001-xx.dat files

Type ren aei001*.dat aei026*.dat <hit enter>

They will all renumber to 26. Don't forget to include the zero; the file numerics are 3 digits. Then just copy/paste the 026 files to wherever you want them. And it doesn't have to be 026, it can be whatever number you are using for the scenario.

After you copy/paste, don't forget to renumber them back. i.e., Type ren aei026*.dat aei001*.dat <hit enter>. Type dir <hit enter> to make sure all is copacetic.

Then repeat the process with Work007 and the aei007-xx.dat files if you want a quiet china AI file set. All this can be set up with just a few .bat files, if you are up to it.


RE: Copying AI scripts

Posted: Sun Jul 04, 2010 11:47 am
by eloso
ORIGINAL: JWE



Open Command Prompt. Type cd\ <hit enter>
Type cd\Work001 <hit enter>
Type dir <hit enter> - just to see if you are in the right place - should show all the aei001-xx.dat files

Type ren aei001*.dat aei026*.dat <hit enter>


I don't know if it matters but shouldn't you stick a hyphen before the asterisk in order to rename the files correctly?

In other words:

Type ren aei001-*.dat aei026-*.dat <hit enter>

RE: Copying AI scripts

Posted: Sun Jul 04, 2010 12:37 pm
by JWE
ORIGINAL: OSO
I don't know if it matters but shouldn't you stick a hyphen before the asterisk in order to rename the files correctly?
Don't need to type the hyphen, asterisk includes everything. Can add hyphen if you want to, but I hate typing so I never bothered.

RE: Copying AI scripts

Posted: Mon Jul 05, 2010 2:45 am
by eloso
ORIGINAL: JWE

ORIGINAL: OSO
I don't know if it matters but shouldn't you stick a hyphen before the asterisk in order to rename the files correctly?
Don't need to type the hyphen, asterisk includes everything. Can add hyphen if you want to, but I hate typing so I never bothered.

You're right. I must have had a typo when I did it before posting the query. [:(]