Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 12-01-2005, 02:06 AM   #1
Northwood_DK
College Benchwarmer
 
Join Date: Sep 2003
Location: Back in Norway
Need help with a batch file

I have used Thuls walk-thru on the HFL forum to set up a batch file for the two leagues I’m currently inn (eNFL and NAFL) and its working fine.
http://www.shalkith.com/forum/viewtopic.php?t=5

Now I want to add a 3rd league. What will I need to do with the batch file?

Northwood_DK is offline   Reply With Quote
Old 12-01-2005, 02:33 AM   #2
Icy
Pro Starter
 
Join Date: Sep 2003
Location: Toledo - Spain
First create a backup of your league, pictures and universe folders and rename them this way:
NOTE:
XXX is the new league
YYY is for example the HFL
ZZZ is for example the CFL

universe_YYY
universe_YYY
Pictures_YYY

Pictures_ZZZ
leagues_ZZZ
leagues_ZZZ

Pictures_XXX
leagues_XXX
leagues_XXX

Then just create a batch file for each league exactly the same way, you can have one batch file per league, following this formula and just changing the XXX, YYY and ZZZ for your league names:

Writing the XXX batch file: (again subsitute your other league for XXX)
1) Make a backup of your FOF2004 folder, just in case!
2) Open a text editor, like notepad
3) type the following:

Code:
if exist leagues_YYY\nul goto ZZZ ren leagues leagues_YYY ren Pictures Pictures_YYY ren universe universe_YYY :ZZZ if exist leagues_ZZZ\nul goto end ren leagues_ZZZ leagues ren Pictures_ZZZ Pictures ren universe_ZZZ universe ren leagues_XXX leagues ren Pictures_XXX Pictures ren universe_XXX universe goto end :end start frfoot2004.exe

4) Save the file as XXX.bat in your FOF2004 folder (being XXX the name of your league). If done right, you should just be able to double click this whenever you want to get into the XXX and it will swap the files for you, if necessary.

Writing the YYY batch file: (again subsitute your other league for YYY)
1) Make a backup of your FOF2004 folder, just in case!
2) Open a text editor, like notepad
3) type the following:

Code:
if exist leagues_XXX\nul goto ZZZ ren leagues leagues_XXX ren Pictures Pictures_XXX ren universe universe_XXX :ZZZ if exist leagues_ZZZ\nul goto end ren leagues_ZZZ leagues ren Pictures_ZZZ Pictures ren universe_ZZZ universe ren leagues_YYY leagues ren Pictures_YYY Pictures ren universe_YYY universe goto end :end start frfoot2004.exe

4) Save the file as YYY.bat in your FOF2004 folder (being YYY the name of your league). If done right, you should just be able to double click this whenever you want to get into the YYY and it will swap the files for you, if necessary.


Writing the ZZZ batch file: (again subsitute your other league for ZZZ)
1) Make a backup of your FOF2004 folder, just in case!
2) Open a text editor, like notepad
3) type the following:

Code:
if exist leagues_XXX\nul goto YYY ren leagues leagues_XXX ren Pictures Pictures_XXX ren universe universe_XXX :YYY if exist leagues_YYY\nul goto end ren leagues_YYY leagues ren Pictures_YYY Pictures ren universe_YYY universe ren leagues_ZZZ leagues ren Pictures_ZZZ Pictures ren universe_ZZZ universe goto end :end start frfoot2004.exe

4) Save the file as ZZZ.bat in your FOF2004 folder (being ZZZ the name of your league). If done right, you should just be able to double click this whenever you want to get into the ZZZ and it will swap the files for you, if necessary.

Last edited by Icy : 12-01-2005 at 02:57 AM.
Icy is offline   Reply With Quote
Old 12-01-2005, 03:02 AM   #3
Icy
Pro Starter
 
Join Date: Sep 2003
Location: Toledo - Spain
Btw, if it sounds complicated to you, just pm me and i'll create it for you and then email you the 3 files.
Icy is offline   Reply With Quote
Old 12-01-2005, 03:58 AM   #4
Northwood_DK
College Benchwarmer
 
Join Date: Sep 2003
Location: Back in Norway
Gracias
Northwood_DK is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 04:41 PM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.