Author Topic: Compiling with Built In GTK Radiant 1.4 Windows  (Read 5059 times)

Darth Futuza

  • Posts: 58
  • Turrets: +1/-4
Compiling with Built In GTK Radiant 1.4 Windows
« on: October 04, 2008, 08:08:13 pm »
I've tried searching for an answer to this, and found a default_project.proj file, that made the bsp menu in gtk radiant (1.4) show up.  Only problem was that when I actually try to compile I get this error message:

Code: [Select]
Failed to execute the following command:  "C:\program files\tremulous\Radiant/q3map2" -v  -connect 127.0.0.1:39000  -game quake3 -fs_basepath "C:/program files/tremulous//" -meta -fs_game base "C:/Program Files/Tremulous/base/maps/test1.map"
Check that the file exists and that you don't run out of system resources.

I'm pretty sure that I still have system resources.  Is it perhaps the line that says -game quake3?  If so...just change to -game tremulous?


My default_project now read:
Code: [Select]
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "project.dtd">
<project>
  <key name="gamename" value="base"/>
  <key name="version" value="1"/>
  <key name="basepath" value="c:/program files/tremulous/base/"/>
  <key name="rshcmd" value=""/>
  <key name="remotebasepath" value="c:/program files/tremulous/base/"/>
  <key name="entitypath" value="c:/program files/tremulous/base/scripts/entities.def"/>
  <key name="texturepath" value="C:/program files/tremulous/base/textures/"/>
  <key name="autosave" value="C:/program files/tremulous/base/maps/autosave.map"/>
  <key name="mapspath" value="C:/program files/tremulous/base/maps/"/>
  <key name="brush_primit" value="0"/>
  <key name="user_project" value="1"/>
  <key name="bsp_Q3Map2: (simulate old style -light -extra) BSP -meta, -vis, -light -super 2" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -super 2 $"/>
  <key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2 -bounce 8" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -super 2 -filter -bounce 8 $"/>
  <key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -filter -super 2 $"/>
  <key name="bsp_Q3Map2: (test) BSP -meta, -vis -fast, -light -fast -super 2 -filter" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -saveprt -fast $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -super 2 -filter $"/>
  <key name="bsp_Q3Map2: (test) BSP -meta, -vis, -light -fast -filter" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -filter $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter -bounce 8" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -super 2 -filter -bounce 8 $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -super 2 -filter $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast -super 2 $"/>
  <key name="bsp_Q3Map2: (single test) -light -fast" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -fast $"/>
  <key name="bsp_Q3Map2: (single test) -light -faster" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -light -faster $"/>
  <key name="bsp_Q3Map2: (single test) -vis -fast" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis -fast $"/>
  <key name="bsp_Q3Map2: (single) -vis" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -vis $"/>
  <key name="bsp_Q3Map2: (single) BSP -meta" value="! &quot;C:\program files\tremulous\Radiant/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/program files/tremulous//&quot; -meta $"/>

</project>

Could someone please help?

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #1 on: October 04, 2008, 08:11:38 pm »
I think it's supposed to run q3map2.exe, not just q3map2.

Darth Futuza

  • Posts: 58
  • Turrets: +1/-4
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #2 on: October 04, 2008, 08:13:57 pm »
K shall try that.  One thing though, in the default_project file a bunch of lines read <key name="bsp_Q3Map2: ...blah blah blah

do I need to change the Q3Map2 part of those lines (at the key name part) to bsp_q3map2.exe:  ...blah blah blah ?

Or just the following stuff, (eg: ! &quot;C:\program files\tremulous\Radiant/q3map2&quot) to /q3map2.exe&quot  ?
« Last Edit: October 04, 2008, 08:18:10 pm by Darth Futuza »

Darth Futuza

  • Posts: 58
  • Turrets: +1/-4
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #3 on: October 04, 2008, 08:30:09 pm »
I now get the error again:

Code: [Select]
Failed to execute the following command:  "C:\program files\tremulous\Radiant/q3map2.exe" -v  -connect 127.0.0.1:39000  -game quake3 -fs_basepath "C:/program files/tremulous//" -meta -fs_game base "C:/Program Files/Tremulous/base/maps/test1.map"
Check that the file exists and that you don't run out of system resources.  [\code]

This time it says .exe, but still doesn't compile.

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #4 on: October 04, 2008, 08:32:09 pm »
do I need to change the Q3Map2 part of those lines (at the key name part) to bsp_q3map2.exe:  ...blah blah blah ?
No.

Or just the following stuff, (eg: ! &quot;C:\program files\tremulous\Radiant/q3map2&quot) to /q3map2.exe&quot  ?
Probably.

Code: [Select]
C:/program files/tremulous//
What's up with this?

Darth Futuza

  • Posts: 58
  • Turrets: +1/-4
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #5 on: October 04, 2008, 08:34:53 pm »
Ah...perhaps that double slash may be killing it.  Let me try it out.


EDIT: No luck

My error message now reads:
Code: [Select]
Failed to execute the following command:  "C:\program files\tremulous\Radiant/q3map2.exe" -v  -connect 127.0.0.1:39000  -game tremulous -fs_basepath "C:/program files/tremulous/" -meta -fs_game base "C:/Program Files/Tremulous/base/maps/test1.map"
Check that the file exists and that you don't run out of system resources.

Mainly the same thing, without double quotes.  Or were you trying to say that the  -game tremulous -fs_basepath "C:/program files/tremulous/"  Should actually be -game tremulous -fs_basepath "C:/program files/tremulous/base/" ?
« Last Edit: October 04, 2008, 08:41:33 pm by Darth Futuza »

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #6 on: October 04, 2008, 09:31:25 pm »
I honestly have no idea beyond this. Go ask someone experienced.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #7 on: October 05, 2008, 04:03:16 am »
Ah...perhaps that double slash may be killing it.  Let me try it out.


EDIT: No luck

My error message now reads:
Code: [Select]
Failed to execute the following command:  "C:\program files\tremulous\Radiant[b]/[/b]q3map2.exe" -v  -connect 127.0.0.1:39000  -game tremulous -fs_basepath "C:/program files/tremulous/" -meta -fs_game base "C:/Program Files/Tremulous/base/maps/test1.map"
Check that the file exists and that you don't run out of system resources.

Mainly the same thing, without double quotes.  Or were you trying to say that the  -game tremulous -fs_basepath "C:/program files/tremulous/"  Should actually be -game tremulous -fs_basepath "C:/program files/tremulous/base/" ?

Whats up with the mixed forward/backward slashes?

Quote:
"C:\program files\tremulous\Radiant/q3map2.exe"

Darth Futuza

  • Posts: 58
  • Turrets: +1/-4
Re: Compiling with Built In GTK Radiant 1.4 Windows
« Reply #8 on: October 05, 2008, 04:26:26 am »
Windows doesn't care which type of slash you use.  And GTK (in windows) naturally generates that sort of slash \ these until the last item in the list gets the / slash.  Weird...but that it works.

I actually got it to compile.  So no more help needed.  Turns out the default_project file and user0 file are pretty much the same, and that simply copying quake3's and then adapting the file locations to tremulous and trem instead of quake3 will fix it.  I'll put a full list of needed changes up sometime, so that people in the future can use my findings.