Gentoo
03-22-2007, 02:16 AM
Do you load multiple clients daily with different resolutions for each? Do you sometimes run fullscreen and other times run in a window? Want to stop changing your options to turn down detail before a siege only to crank them back up two hours later? Then read on for how to automate these processes via batch files.
Step 1: Run Lineage 2 normally and set options.
http://files.triton.net/godflesh/L2batwu/options.jpg
Select the options you want. Remember this can include all of the things inside the options window, such as screen resolution, as well as the positions and sizes of all your status bars. I didn't cover chat filters here, but it's a pretty easy mod. (Hint: chatfilter.ini)
Step 2: Close L2 client as normal.
Step 3: Open your Lineage II\system subfolder.
http://files.triton.net/godflesh/L2batwu/system.jpg
Step 4: Rename your Option.ini, s_info.ini, and WindowsInfo.ini files.
http://files.triton.net/godflesh/L2batwu/rename.jpg
I chose Option-small.ini, s_info-small.ini, and WindowsInfo-small.ini since this was going to be my low detail 800x600 client windows for boxing.
Step 5: Right-click somewhere in the folder (not on a file) and select New -> Text Document.
http://files.triton.net/godflesh/L2batwu/newtext.jpg
Step 6: Rename the text document to something.bat.
http://files.triton.net/godflesh/L2batwu/makebat.jpg
'something' is just an example here. You can rename it to whatever you like. I did l2-small.bat because . . . see above. Windows will complain about changing the file extension. Tell it to shut the #!@$# up by clicking Yes.
Step 7: Right-click on the batch file and choose 'Edit'.
http://files.triton.net/godflesh/L2batwu/edit.jpg
Step 8: Enter the following text.
copy /Y Option-small.ini Option.ini
copy /Y WindowsInfo-small.ini WindowsInfo.ini
copy /Y s_info-small.ini s_info.ini
start l2.exe
Where Option-small.ini, s_info-small.ini, and WindowsInfo-small.ini are what you renamed your Option.ini, s_info.ini, and WindowsInfo.ini files to, respectively. Note that running l2.exe directly bypasses the annoying patch screen. If you prefer to see the patch screen first, it's fairly simple to change that. (Hint: modify 'start l2.exe' line)
Step 9: Close the window, saving the changes to the batch file.
http://files.triton.net/godflesh/L2batwu/save.jpg
Step 10: Create a shortcut to the batch file on your desktop.
http://files.triton.net/godflesh/L2batwu/copy.jpg
Right-click the batch file and click 'Copy'.
http://files.triton.net/godflesh/L2batwu/passhort.jpg
Right-click on your desktop and click 'Paste Shortcut'
http://files.triton.net/godflesh/L2batwu/renshort.jpg
Rename the shortcut. If you want to get really fancy here, you can even change the icon to be the same as l2.exe or something.
Step 11: Repeat the process from step 1 for as many different configurations as you need.
Step 12: Enjoy your shortcuts to your new batchfiles automagically changing your Lineage 2 configurations.
Step 13: Send adena to Gentoo on Sieghardt server for this awesome write-up.
I wrote this up on my Vista machine; but everything should be the same for a computer running XP other than the graphics. The most obvious assumptions I think made were that:
1.) You are running as Administrator (probably)
2.) You are able to navigate to your Lineage II\system subfolder (less probable)
Step 1: Run Lineage 2 normally and set options.
http://files.triton.net/godflesh/L2batwu/options.jpg
Select the options you want. Remember this can include all of the things inside the options window, such as screen resolution, as well as the positions and sizes of all your status bars. I didn't cover chat filters here, but it's a pretty easy mod. (Hint: chatfilter.ini)
Step 2: Close L2 client as normal.
Step 3: Open your Lineage II\system subfolder.
http://files.triton.net/godflesh/L2batwu/system.jpg
Step 4: Rename your Option.ini, s_info.ini, and WindowsInfo.ini files.
http://files.triton.net/godflesh/L2batwu/rename.jpg
I chose Option-small.ini, s_info-small.ini, and WindowsInfo-small.ini since this was going to be my low detail 800x600 client windows for boxing.
Step 5: Right-click somewhere in the folder (not on a file) and select New -> Text Document.
http://files.triton.net/godflesh/L2batwu/newtext.jpg
Step 6: Rename the text document to something.bat.
http://files.triton.net/godflesh/L2batwu/makebat.jpg
'something' is just an example here. You can rename it to whatever you like. I did l2-small.bat because . . . see above. Windows will complain about changing the file extension. Tell it to shut the #!@$# up by clicking Yes.
Step 7: Right-click on the batch file and choose 'Edit'.
http://files.triton.net/godflesh/L2batwu/edit.jpg
Step 8: Enter the following text.
copy /Y Option-small.ini Option.ini
copy /Y WindowsInfo-small.ini WindowsInfo.ini
copy /Y s_info-small.ini s_info.ini
start l2.exe
Where Option-small.ini, s_info-small.ini, and WindowsInfo-small.ini are what you renamed your Option.ini, s_info.ini, and WindowsInfo.ini files to, respectively. Note that running l2.exe directly bypasses the annoying patch screen. If you prefer to see the patch screen first, it's fairly simple to change that. (Hint: modify 'start l2.exe' line)
Step 9: Close the window, saving the changes to the batch file.
http://files.triton.net/godflesh/L2batwu/save.jpg
Step 10: Create a shortcut to the batch file on your desktop.
http://files.triton.net/godflesh/L2batwu/copy.jpg
Right-click the batch file and click 'Copy'.
http://files.triton.net/godflesh/L2batwu/passhort.jpg
Right-click on your desktop and click 'Paste Shortcut'
http://files.triton.net/godflesh/L2batwu/renshort.jpg
Rename the shortcut. If you want to get really fancy here, you can even change the icon to be the same as l2.exe or something.
Step 11: Repeat the process from step 1 for as many different configurations as you need.
Step 12: Enjoy your shortcuts to your new batchfiles automagically changing your Lineage 2 configurations.
Step 13: Send adena to Gentoo on Sieghardt server for this awesome write-up.
I wrote this up on my Vista machine; but everything should be the same for a computer running XP other than the graphics. The most obvious assumptions I think made were that:
1.) You are running as Administrator (probably)
2.) You are able to navigate to your Lineage II\system subfolder (less probable)