Code: Select all
@echo off
REM MOO2_MKLINK.BAT - Create symbolic links to original MOO2
echo Dest Path: [%~1]
FOR %%G IN ("Master of Orion 2\*.*") DO (
IF NOT EXIST "%~1\%%~nxG" (
IF /I "%%~xG"==".conf" (
copy /v /a /y "%%~fG" "%~1\%%~nxG"
) ELSE IF /I "%%~xG"==".lnk" (
copy /v /a /y "%%~fG" "%~1\%%~nxG"
) ELSE (
mklink "%~1\%%~nxG" "%%~fG"
)
)
)
FOR /D %%G IN ("Master of Orion 2\*.*") DO (
IF NOT EXIST "%~1\%%~nxG" mklink /D "%~1\%%~nxG" "%%~fG"
)
echo Done.
- Save the above batch file to a file such as MOO2_MKLINK.BAT one folder above where the "Masters of Orion 2" folder is (such as "C:\Program Files\GalaxyClient\Games").
- Create a folder for the mod such as "Masters of Orion 2 ICEMOD".
- Copy all of the mod files into the previously made folder.
- Open up the Command Prompt as Administrator.
- Navigate to where you made MOO2_MKLINK.BAT and run it like so:
Code: Select all
MOO2_MKLINK.BAT "Masters of Orion 2 ICEMOD"
- Finally, here are Launch_MOO2.cmd and Launch_MOO2_MP.cmd that will work instead of GOG's shortcuts:
Code: Select all
REM Launch_MOO2.cmd
cd /d "%~dp0DOSBOX"
DOSBox.exe -conf "%~dp0dosboxMOO2.conf" -conf "%~dp0dosboxMOO2_single.conf" -noconsole -c exit
Code: Select all
REM Launch_MOO2_MP.cmd
cd /d "%~dp0DOSBOX"
"%~dp0GOGDOSConfig.exe" 1207661633 NET
- The General