Warzone 2100 successfully crosscompiled
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Warzone 2100 successfully crosscompiled
Hi!
I just crosscompiled WZ successfully for Windows (MinGW32) on Linux. Would be cool if someone could test the resulting exe. It runs fine under Wine.
http://download.gna.org/warzone/develop ... ne2100.exe
(This is a striped exe, without debug info. Original was 8.6MB big.)
I just crosscompiled WZ successfully for Windows (MinGW32) on Linux. Would be cool if someone could test the resulting exe. It runs fine under Wine.
http://download.gna.org/warzone/develop ... ne2100.exe
(This is a striped exe, without debug info. Original was 8.6MB big.)
Re: Warzone 2100 successfully crosscompiled
does it use the 2.0.5-rc1 data files?...
and what dlls does it use... if any?
and what dlls does it use... if any?
Im Addicted To Warzone!!!!!!!
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Warzone 2100 successfully crosscompiled
I just had to find out the hard way that I compiled a trunk version... Thus it needs trunk data (branches/2.0 still uses poor filenames).
It does only use the OpenAL32.dll (and thus the wrap_oal.dll), I was successfull in running it with only those 2 dlls.
It does only use the OpenAL32.dll (and thus the wrap_oal.dll), I was successfull in running it with only those 2 dlls.
-
- Rookie
- Posts: 20
- Joined: 24 Aug 2006, 04:18
Re: Warzone 2100 successfully crosscompiled
Oooh interesting I'd be interested heavily in how to do this I'd be able to compile it on my linux laptop and play it on my windows game machine.
some sort of flag you use to make?
some sort of flag you use to make?
Re: Warzone 2100 successfully crosscompiled
there isnt anystatic libs for open al afterall i compiled it using some libs i got off the net and i forgot that i used the creative installer for open al so i didnt have the dll in the wz folder it was in one of my system folders lol my badDevUrandom wrote: I just had to find out the hard way that I compiled a trunk version... Thus it needs trunk data (branches/2.0 still uses poor filenames).
It does only use the OpenAL32.dll (and thus the wrap_oal.dll), I was successfull in running it with only those 2 dlls.
ill let a bit o steam off playing the game tonight so ill test it as much as possible for ya
also i was just wondering if u could upload the new libs somewhere for everyone... thankyo please
Last edited by C01eMaN on 05 Nov 2006, 23:29, edited 1 time in total.
Im Addicted To Warzone!!!!!!!
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Warzone 2100 successfully crosscompiled
You just need the libs for the MinGW32 target... (Will post them in a sec)
Run configure like this:
Here it comes:
http://download.gna.org/warzone/development/devpkg.7z
http://download.gna.org/warzone/develop ... 100.exe.7z
The new exe is a branches/2.0 exe. Means you can use it with the data from 2.0.5_rc1.
Updated warzone2100.exe.7z: Now with the uber Warzone 2100 icon!
Run configure like this:
Code: Select all
export PATH="__devpkg__/bin:${PATH}"
export LD_LIBRARY_PATH="__devpkg__/lib:${LD_LIBRARY_PATH}"
export C_INCLUDE_PATH="__devpkg__/include:${C_INCLUDE_PATH}"
./configure --target=mingw32 --host=mingw32 LDFLAGS='-Wl,-s -L__devpkg__/lib'
http://download.gna.org/warzone/development/devpkg.7z
http://download.gna.org/warzone/develop ... 100.exe.7z
The new exe is a branches/2.0 exe. Means you can use it with the data from 2.0.5_rc1.
Updated warzone2100.exe.7z: Now with the uber Warzone 2100 icon!
Last edited by DevUrandom on 06 Nov 2006, 20:42, edited 1 time in total.
Re: Warzone 2100 successfully crosscompiled
thanks it works a treat... im using the trunk datafiles with it though didnt try the 2.0.5-rc1 files yet
Im Addicted To Warzone!!!!!!!
-
- Rookie
- Posts: 20
- Joined: 24 Aug 2006, 04:18
- Terminator
- Regular
- Posts: 1077
- Joined: 05 Aug 2006, 13:46
- Location: Ukraine
- Contact:
Re: Warzone 2100 successfully crosscompiled
I dont understant How does this crosslpatform "good"???
Its the same wz as was. Only exe file weight changed. I just noticed that this crossplatef. wz working without C++ destributive > Its very good for WRP in generaly.
Its the same wz as was. Only exe file weight changed. I just noticed that this crossplatef. wz working without C++ destributive > Its very good for WRP in generaly.
Death is the only way out... sh*t Happens !
Russian-speaking Social network Group http://vk.com/warzone2100
Russian-speaking Social network Group http://vk.com/warzone2100
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: Warzone 2100 successfully crosscompiled
Not crossplatfrom. Crosscompiled. Means that I compiled it on Linux, even though it is an executable for Windows. And that is great as I don't have to switch over to Windows anymore to compile are release.
For the enduser not much changed. Just, as you noticed, the MSVC redist is not longer needed. (Which again saves download size in the installer and our users from a lot of problems. )
For the enduser not much changed. Just, as you noticed, the MSVC redist is not longer needed. (Which again saves download size in the installer and our users from a lot of problems. )