 |
|  |
 |
|  |
 |
|  |
 |
|
jasev
|
 |
of the SCS Forum
Feb 2001 time: 06:17
|
|
I wrote this SETUPSND prototype for a Scenario Creation Handbook that never was released. You may find it useful (The sentences between * are comments, you have to delete them):
---------------------------------------------------------------------
@echo off *This hides the messages; user will only see the ECHOS*
REM This is a prototype batch file to copy sound files *REM indicates a comment*
REM of any Civ2 Scenario (v2.60 or higher).
REM Created by Javier Arriaga, 11-IV-2003.
if exist SCENARIO.scn goto YES *If the file is in the correct folder, jump to YES point*
echo ERROR: I can't find file "SCENARIO.scn". Make sure
echo you are running from the correct directory. *Error message*
goto END *Jumps to END*
:YES *This is YES point*
md sound *Creates SOUND folder*
move NAME1.wav sound *moves the original file to the SOUND folder; copy this line if you have more files*
cd sound
copy NAME1.wav NAME2.wav
copy NAME1.wav NAME3.wav
copy NAME1.wav NAME4.wav
copy NAME1.wav NAME5.wav
copy NAME1.wav NAME6.wav *Creates the copies; copy this lines if you need more*
cd..
cls *Clear Screen*
echo Sound files installed. Pleased verify a "sound" sub-directory
echo has been created in your "SCENARIO" directory. *Success message*
:END *END point*
rem End of program
----------------------------------------------------------------
To rename a file, the order is:
rename NAME1.EXT NAME2.EXT
Last edited by jasev on 15-05-2004 at 19:15
|
|
|  |
All times are GMT. The time now is 05:17. Apolyton Time is 00:17. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|