Author Topic: Compiling TREMULOUS Source Code for win32  (Read 13017 times)

artorious

  • Posts: 7
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« on: April 29, 2006, 10:29:25 am »
Im a bit of a noob when it comes to programming in c, so I was wondering if anyone could tell me (step by step) how to compile the TREMULOUS source code (standalone version) for windows (32 bit system).

Thankyou in advance,

Artorious.

Silverius

  • Posts: 167
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #1 on: April 29, 2006, 10:56:24 am »
Hmm, well I'm not a windows coder but isn't it a matter of opening tremulous.sln or tremulous.vcproj in Visual C++ and clicking on the green play icon?

artorious

  • Posts: 7
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #2 on: April 29, 2006, 10:58:55 am »
There is no solution file... ... or a project file....

Silverius

  • Posts: 167
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #3 on: April 29, 2006, 11:08:25 am »
Ah, it's only in svn. Guess there isn't an easy way unless you use the svn version (svn://svn.icculus.org/tremulous/trunk).

artorious

  • Posts: 7
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #4 on: April 29, 2006, 11:13:35 am »
How do u compile the SVN version for windows?

Silverius

  • Posts: 167
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #5 on: April 29, 2006, 11:24:59 am »
You'll need to get the source. SVN clients can be found here: http://subversion.tigris.org/links.html and the SVN repository is here: svn://svn.icculus.org/tremulous/trunk.

A simple checkout will suffice.

Then move into the trunk directory and open the sln file and build it.

artorious

  • Posts: 7
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #6 on: April 29, 2006, 11:30:59 am »
I did all that but i cant find a .sln file anyware in the trunk folder (or subfolders). I did find a minGW shell file, do I have to compile it with that?

Silverius

  • Posts: 167
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #7 on: April 29, 2006, 11:42:04 am »
Ah I see, I was looking in the wrong directory again. The sln file is in R1CH's repository (svn://svn.quakedev.net/trem/trunk) don't know if it works with plain trem though.

Echon

  • Posts: 39
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #8 on: April 30, 2006, 11:28:01 am »
It has issues with the DLL builds. Tremulous' base source uses shitty fucking MinGW so you'll need to get that to compile it under Windows.

Timbo

  • Administrator
  • Posts: 447
  • Turrets: +155/-161
Compiling TREMULOUS Source Code for win32
« Reply #9 on: April 30, 2006, 12:14:22 pm »
What is with this weird aversion you have to MinGW?

WolfWings ShadowFlight

  • Posts: 140
  • Turrets: +0/-0
Hell...
« Reply #10 on: April 30, 2006, 12:21:18 pm »
...what is it with everyone's infatuation with force-feeding the tools to compile .DLL versions of Quake 3 Arena mods, for that matter? :-P

I already posted a bare-bones package (search for Win32 Mod Pack, no I won't provide an easy-click link, if you have that large an aversion to typing you shouldn't be programming) that includes all the files needed to compile the .QVM files if you're running a newer Athlon 64/Sempron/Pentium 4/SSE 2-compatable CPU, I'll update the package to support compiling on more platforms later this weekend.

Seriously though, just open the damn files in notepad, you don't need to (ab)use some bogus copy of Visual C++ just to compile and poke around in the guts of Trem. :-)
img]http://wolfwings.us/sigs/WolfWings.jpg[/img]

artorious

  • Posts: 7
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #11 on: May 01, 2006, 11:18:22 am »
ive got to the point where i have 3 qvm files, how do i compile them into a .exe file?

Silverius

  • Posts: 167
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #12 on: May 01, 2006, 11:29:06 am »
In my experience you don't. Instead you zip them and rename the zip to vms-1.1.0.pk3 and place that in your base dir (instead of the existing file with that name).

raph

  • Posts: 71
  • Turrets: +0/-0
Compiling TREMULOUS Source Code for win32
« Reply #13 on: May 01, 2006, 03:27:17 pm »
I haven't had any problems compiling tremulous within Windows.
I am using MinGW (didn't try it with VC++ cause of the lack of a projectfile).

I did the following steps:
1.) Get the Svn code with a svn client (I used Tortoise http://tortoisesvn.tigris.org/)
2.) Install and configure Mingw probably (means set the enviroment vars INCLUDE, LIB, PATH)
3.) Use msys (look for it on the mingw homepage) to "cd" to your svn dir and simply execute "make".

If you are planning only to make mods, I recommend WolfWings ShadowFlight's Modpack (use the search). It is very easy to use.
If you aren't using Athlon 64 or the other mentioned cpus, simply compile the Tremulous source and overide the "q3asm.exe", "q3cpp.exe", "q3lcc.exe", "q3rcc.exe" in the Tremulous Mod Pack\tools directory with your compiled ones. I could also send you my files (Athlon XP).

Good luck.

[edit] Uhm, I somehow didn't recognize your last post. Maybe my post can help you anyway. [/edit]