3 set OPENTTD_VERSION
=1.9.0
4 set OPENSFX_VERSION
=0.8.0
5 set NOSOUND_VERSION
=0.8.0
6 set OPENGFX_VERSION
=1.2.0
8 echo To make the installer
, you must have the WarpIN compiler
(wic
) installed and in
9 echo your
path, as well as wget and unzip. This file will download the various DLLs
10 echo to be distributed with the installer.
If you
do not want to continue
, please
11 echo press CTRL
-C now.
17 if not exist SDL12.dll
goto getsdl
18 if not exist FSLib.dll
goto getsdl
23 wget http
://www.os2site.com
/sw
/dev
/sdl
/sdl
-1.2.10-bin
-20080804.zip
-O dl.zip
24 unzip
-j dl.zip SDL
/FSLib.dll SDL
/SDL12.dll
29 if exist libc063.dll
goto gcc
31 wget ftp
://ftp.netlabs.org
/pub
/gcc
/libc
-0.6.3-csd3.zip
-O dl.zip
32 unzip
-j dl.zip libc063.dll
37 if exist gcc442.dll
goto tools
39 wget http
://www.owenrudge.
net/various
/gcc442.zip
-O dl.zip
40 unzip
-j dl.zip gcc442.dll
45 cd ..\os\os2\installer
46 if exist tools
goto opengfx
51 wget http
://download.smedley.info
/wget
-1.11.4-os2
-20090315.zip
-O dl.zip
52 unzip
-j dl.zip wget
/bin
/wget.exe
55 wget ftp
://ftp.os4.su
/moveton
/p7zip
-9.04-bin
-os2.zip
-O dl.zip
56 unzip
-j dl.zip bin
/7za.exe dll
/ilibca.dll
63 if exist opengfx
goto opensfx
66 sed s
/OPENGFX_VERSION
/%OPENGFX_VERSION%/ < download_opengfx.
cmd > opengfx\download_opengfx.
cmd
67 copy remove_opengfx.
cmd opengfx
70 if exist opensfx
goto nosound
73 sed s
/OPENSFX_VERSION
/%OPENSFX_VERSION%/ < download_opensfx.
cmd > opensfx\download_opensfx.
cmd
74 copy remove_opensfx.
cmd opensfx
79 sed s
/NOSOUND_VERSION
/%NOSOUND_VERSION%/ < download_nosound.
cmd > nosound\download_nosound.
cmd
80 copy remove_nosound.
cmd nosound
84 if exist openttd
-%OPENTTD_VERSION%-os2.exe
del openttd
-%OPENTTD_VERSION%-os2.exe
85 wic
-a openttd
-%OPENTTD_VERSION%-os2.exe
1 -c..
/..
/..
/bundle
-r
* 2 -ctools
-r
* 3 -copengfx
-r
* 4 -copensfx
-r
* 5 -cnosound
-r
* -U
-s openttd.wis