radiant crashing when compiling


(dubuntud) #1

when i try to compile map radiant crashes and in console i see error that says i have used too much memory :? error is in Finish but i suppose it’s something like “exceeded maximum ram usage” or something… any ideas? i use 1.5 for linux http://zerowing.idsoftware.com/files/radiant/nightly/1.5/gtkradiant-1.5.0-2006-03-02.i386.rpm

my computer is rather new with 1G ram…
-dub


(Loffy) #2

Hi! Welcome to the forum

Have you compiled before, with success?

//L.


(Shaderman) #3

IIRC the version you’re trying to use has some major bugs. I strongly recommend to compile Radiant 1.5 yourself. Here’s a short compile guide.


(dubuntud) #4

ok now when my map has come to state that i rly needed to compile it i tried compiling radiant from source but i am missing all other options than Quake III Arena in startup menu.

scons SETUP=0 gave no errors but python ./install.py gives some erros at the end but radiant still runs. I installed it as root to /usr/local/games/GtkRadiant directory. I am running opensuse 10.2 so any ideas? shouild i install it to differn location

dhcppc2:/usr/local/games/GtkRadiant # python ./install.py
./setup/data/tools/global.xlink -> ./install/global.xlink
./setup/data/tools/bitmaps/window3.bmp -> ./install/bitmaps/window3.bmp
./setup/data/tools/bitmaps/undo.bmp -> ./install/bitmaps/undo.bmp
./setup/data/tools/bitmaps/brush_rotatez.bmp -> ./install/bitmaps/brush_rotatez.bmp
./setup/data/tools/bitmaps/logo.bmp -> ./install/bitmaps/logo.bmp
./setup/data/tools/bitmaps/shadernotex.bmp -> ./install/bitmaps/shadernotex.bmp
./setup/data/tools/bitmaps/file_save.bmp -> ./install/bitmaps/file_save.bmp
./setup/data/tools/bitmaps/entities.bmp -> ./install/bitmaps/entities.bmp
./setup/data/tools/bitmaps/redo.bmp -> ./install/bitmaps/redo.bmp
./setup/data/tools/bitmaps/dontselectmodel.bmp -> ./install/bitmaps/dontselectmodel.bmp
./setup/data/tools/bitmaps/patch_bend.bmp -> ./install/bitmaps/patch_bend.bmp
./setup/data/tools/bitmaps/brush_flipx.bmp -> ./install/bitmaps/brush_flipx.bmp
./setup/data/tools/bitmaps/patch_showboundingbox.bmp -> ./install/bitmaps/patch_showboundingbox.bmp
./setup/data/tools/bitmaps/patch_weld.bmp -> ./install/bitmaps/patch_weld.bmp
./setup/data/tools/bitmaps/window4.bmp -> ./install/bitmaps/window4.bmp
./setup/data/tools/bitmaps/icon.bmp -> ./install/bitmaps/icon.bmp
./setup/data/tools/bitmaps/dontselectcurve.bmp -> ./install/bitmaps/dontselectcurve.bmp
./setup/data/tools/bitmaps/view_cameraupdate.bmp -> ./install/bitmaps/view_cameraupdate.bmp
./setup/data/tools/bitmaps/view_change.bmp -> ./install/bitmaps/view_change.bmp
./setup/data/tools/bitmaps/patch_drilldown.bmp -> ./install/bitmaps/patch_drilldown.bmp
./setup/data/tools/bitmaps/ellipsis.bmp -> ./install/bitmaps/ellipsis.bmp
./setup/data/tools/bitmaps/cap_iendcap.bmp -> ./install/bitmaps/cap_iendcap.bmp
./setup/data/tools/bitmaps/file_open.bmp -> ./install/bitmaps/file_open.bmp
./setup/data/tools/bitmaps/selection_csgmerge.bmp -> ./install/bitmaps/selection_csgmerge.bmp
./setup/data/tools/bitmaps/popup_selection.bmp -> ./install/bitmaps/popup_selection.bmp
./setup/data/tools/bitmaps/cap_ibevel.bmp -> ./install/bitmaps/cap_ibevel.bmp
./setup/data/tools/bitmaps/selection_makehollow.bmp -> ./install/bitmaps/selection_makehollow.bmp
./setup/data/tools/bitmaps/modify_vertices.bmp -> ./install/bitmaps/modify_vertices.bmp
./setup/data/tools/bitmaps/textures_popup.bmp -> ./install/bitmaps/textures_popup.bmp
./setup/data/tools/bitmaps/selection_selecttouching.bmp -> ./install/bitmaps/selection_selecttouching.bmp
./setup/data/tools/bitmaps/modify_edges.bmp -> ./install/bitmaps/modify_edges.bmp
./setup/data/tools/bitmaps/selection_selectpartialtall.bmp -> ./install/bitmaps/selection_selectpartialtall.bmp
./setup/data/tools/bitmaps/brush_rotatex.bmp -> ./install/bitmaps/brush_rotatex.bmp
./setup/data/tools/bitmaps/scalelocky.bmp -> ./install/bitmaps/scalelocky.bmp
./setup/data/tools/bitmaps/texture_lock.bmp -> ./install/bitmaps/texture_lock.bmp
./setup/data/tools/bitmaps/lightinspector.bmp -> ./install/bitmaps/lightinspector.bmp
./setup/data/tools/bitmaps/patch_insdel.bmp -> ./install/bitmaps/patch_insdel.bmp
./setup/data/tools/bitmaps/view_cubicclipping.bmp -> ./install/bitmaps/view_cubicclipping.bmp
./setup/data/tools/bitmaps/notex.bmp -> ./install/bitmaps/notex.bmp
./setup/data/tools/bitmaps/view_cameratoggle.bmp -> ./install/bitmaps/view_cameratoggle.bmp
./setup/data/tools/bitmaps/view_clipper.bmp -> ./install/bitmaps/view_clipper.bmp
./setup/data/tools/bitmaps/brush_flipy.bmp -> ./install/bitmaps/brush_flipy.bmp
./setup/data/tools/bitmaps/scalelockz.bmp -> ./install/bitmaps/scalelockz.bmp
./setup/data/tools/bitmaps/noFalloff.bmp -> ./install/bitmaps/noFalloff.bmp
./setup/data/tools/bitmaps/show_entities.bmp -> ./install/bitmaps/show_entities.bmp
./setup/data/tools/bitmaps/curve_cap.bmp -> ./install/bitmaps/curve_cap.bmp
./setup/data/tools/bitmaps/black.bmp -> ./install/bitmaps/black.bmp
./setup/data/tools/bitmaps/texture_browser.bmp -> ./install/bitmaps/texture_browser.bmp
./setup/data/tools/bitmaps/select_mousetranslate.bmp -> ./install/bitmaps/select_mousetranslate.bmp
./setup/data/tools/bitmaps/scalelockx.bmp -> ./install/bitmaps/scalelockx.bmp
./setup/data/tools/bitmaps/selection_selectcompletetall.bmp -> ./install/bitmaps/selection_selectcompletetall.bmp
./setup/data/tools/bitmaps/splash.bmp -> ./install/bitmaps/splash.bmp
./setup/data/tools/bitmaps/selection_selectinside.bmp -> ./install/bitmaps/selection_selectinside.bmp
./setup/data/tools/bitmaps/window1.bmp -> ./install/bitmaps/window1.bmp
./setup/data/tools/bitmaps/modify_faces.bmp -> ./install/bitmaps/modify_faces.bmp
./setup/data/tools/bitmaps/window2.bmp -> ./install/bitmaps/window2.bmp
./setup/data/tools/bitmaps/console.bmp -> ./install/bitmaps/console.bmp
./setup/data/tools/bitmaps/selection_csgsubtract.bmp -> ./install/bitmaps/selection_csgsubtract.bmp
./setup/data/tools/bitmaps/patch_wireframe.bmp -> ./install/bitmaps/patch_wireframe.bmp
./setup/data/tools/bitmaps/cap_cylinder.bmp -> ./install/bitmaps/cap_cylinder.bmp
./setup/data/tools/bitmaps/view_entity.bmp -> ./install/bitmaps/view_entity.bmp
./setup/data/tools/bitmaps/cap_endcap.bmp -> ./install/bitmaps/cap_endcap.bmp
./setup/data/tools/bitmaps/select_mouserotate.bmp -> ./install/bitmaps/select_mouserotate.bmp
./setup/data/tools/bitmaps/brush_rotatey.bmp -> ./install/bitmaps/brush_rotatey.bmp
./setup/data/tools/bitmaps/white.bmp -> ./install/bitmaps/white.bmp
./setup/data/tools/bitmaps/cap_bevel.bmp -> ./install/bitmaps/cap_bevel.bmp
./setup/data/tools/bitmaps/select_mouseresize.bmp -> ./install/bitmaps/select_mouseresize.bmp
./setup/data/tools/bitmaps/brush_flipz.bmp -> ./install/bitmaps/brush_flipz.bmp
./setup/data/tools/bitmaps/select_mousescale.bmp -> ./install/bitmaps/select_mousescale.bmp
./setup/data/tools/bitmaps/refresh_models.bmp -> ./install/bitmaps/refresh_models.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_split.bmp -> ./install/plugins/bitmaps/bobtoolz_split.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_poly.bmp -> ./install/plugins/bitmaps/bobtoolz_poly.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_trainpathplot.bmp -> ./install/plugins/bitmaps/bobtoolz_trainpathplot.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_dropent.bmp -> ./install/plugins/bitmaps/bobtoolz_dropent.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_merge.bmp -> ./install/plugins/bitmaps/bobtoolz_merge.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_caulk.bmp -> ./install/plugins/bitmaps/bobtoolz_caulk.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_turnedge.bmp -> ./install/plugins/bitmaps/bobtoolz_turnedge.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_cleanup.bmp -> ./install/plugins/bitmaps/bobtoolz_cleanup.bmp
./setup/data/tools/plugins/bitmaps/bobtoolz_treeplanter.bmp -> ./install/plugins/bitmaps/bobtoolz_treeplanter.bmp
./setup/data/tools/plugins/bt/tp_ent.txt -> ./install/plugins/bt/tp_ent.txt
./setup/data/tools/plugins/bt/door-tex.txt -> ./install/plugins/bt/door-tex.txt
./setup/data/tools/plugins/bt/bt-el2.txt -> ./install/plugins/bt/bt-el2.txt
./setup/data/tools/plugins/bt/bt-el1.txt -> ./install/plugins/bt/bt-el1.txt
./setup/data/tools/plugins/bt/door-tex-trim.txt -> ./install/plugins/bt/door-tex-trim.txt
./setup/data/tools/q3data.qdt -> ./install/q3data.qdt
./setup/data/tools/gl/zfill_arbfp1.cg -> ./install/gl/zfill_arbfp1.cg
./setup/data/tools/gl/lighting_DBS_omni_vp.glsl -> ./install/gl/lighting_DBS_omni_vp.glsl
./setup/data/tools/gl/zfill_fp.glsl -> ./install/gl/zfill_fp.glsl
./setup/data/tools/gl/utils.cg -> ./install/gl/utils.cg
./setup/data/tools/gl/zfill_arbvp1.cg -> ./install/gl/zfill_arbvp1.cg
./setup/data/tools/gl/zfill_vp.glsl -> ./install/gl/zfill_vp.glsl
./setup/data/tools/gl/lighting_DBS_XY_Z_arbvp1.cg -> ./install/gl/lighting_DBS_XY_Z_arbvp1.cg
./setup/data/tools/gl/lighting_DBS_omni_vp.glp -> ./install/gl/lighting_DBS_omni_vp.glp
./setup/data/tools/gl/lighting_DBS_omni_fp.glsl -> ./install/gl/lighting_DBS_omni_fp.glsl
./setup/data/tools/gl/zfill_vp.glp -> ./install/gl/zfill_vp.glp
./setup/data/tools/gl/lighting_DBS_XY_Z_arbfp1.cg -> ./install/gl/lighting_DBS_XY_Z_arbfp1.cg
./setup/data/tools/gl/zfill_fp.glp -> ./install/gl/zfill_fp.glp
./setup/data/tools/gl/lighting_DBS_omni_fp.glp -> ./install/gl/lighting_DBS_omni_fp.glp
./games/Q3Pack/tools/q3.game/baseq3/entities.ent -> ./install/q3.game/baseq3/entities.ent
./games/Q3Pack/tools/q3.game/baseq3/default_shaderlist.txt -> ./install/q3.game/baseq3/default_shaderlist.txt
./games/Q3Pack/tools/q3.game/game.xlink -> ./install/q3.game/game.xlink
./games/Q3Pack/tools/q3.game/missionpack/entities-ta.ent -> ./install/q3.game/missionpack/entities-ta.ent
./games/Q3Pack/tools/q3.game/missionpack/default_shaderlist.txt -> ./install/q3.game/missionpack/default_shaderlist.txt
./games/Q3Pack/tools/q3.game/default_build_menu.xml -> ./install/q3.game/default_build_menu.xml
./games/Q3Pack/tools/games/q3.game -> ./install/games/q3.game
Traceback (most recent call last):
  File "./install.py", line 115, in <module>
    copySvn("../msvc_redist", installRoot)
  File "./install.py", line 45, in copySvn
    assertMessage(os.path.isdir(source), "failed to find directory: " + source)
  File "./install.py", line 33, in assertMessage
    raise Exception(message)
Exception: failed to find directory: ../msvc_redist


(sodsm live) #5

i’m running 10.2 as well. i read your post earlier but didn’t have time to answer til after work.

anyway, open up install.py and comment out line 115 like this:

copySvn("…/msvc_redist", installRoot)

i have 1.5 installed in my home directory. i did this by first installing the 2006-03-02 rpm, then copying the /opt/gtkradiant directory to my home directory and then removed the rpm. Before compiling the source i had to change line 88 in SConstruct from:

BUILD=‘debug’
to
BUILD=‘release’

Before running install.py i hade to comment out the msvc line and also create a games directory in the build tree. And after install.py completes, copy the files from the install into my gtkradiant directory.


(dubuntud) #6

thanks for that dude i get it installed but it didn’t solve my original problem. it still crashes when compiling :frowning:


(sodsm live) #7

sorry that just seems strange. as far as that 1.5 version being buggy it could still compile just fine right out of the box so that aint it(i used to use that particular version to compile maps built in 1.4). it has something to do with your configuration.

turn on console logging and build process monitoring in Preferences>Global and Preferences>Settings>Build respectively. If you didn’t have those already enabled then restart radiant from a console, try to compile something and see what errors if any come up on the console.

Also check to see if you have any high cpu and memory intensive services running(like maybe your updater is refreshing or beagle is indexing or something similar).


(dubuntud) #8

wasn’t beagle or any other app or kde i also tried in other windowmanagers :? can i compile maps with command line without actually opening radiant window? i just went hazard and tried that q3map2.x86 <mapname> and it run something :smiley: then when i try to run it in et i get wrong version number so i suppose that q3map2.x86 was for some quake map but any similar way to do it with ET? i checked all preferences i have those monitoring and logging enabled but i don’t rly know how to check the logs :oops:

i think i had somewhat similar prob with et some time ago when some maps needed more memory and it was limeted too low by hunkuage.dat and it was solved by editing the file… so is there some similar file in radiant?


(S14Y3R) #9

Is it possible to use a batch file in Linux? (no idea if possible) or does linux have an equivelant to .bat? like for raw compile of a map i mean…


@rem to use this batch file, drop a .map file on it or run it from a dos window:
@rem > compile <mapname>

@set Q3MAP_PATH="C:\Program Files\Wolfenstein - Enemy Territory\etmain\q3map2\q3map2.exe"
@set ET_PATH="C:\Program Files\Wolfenstein - Enemy Territory"
@set MAP_PATH="C:\Program Files\Wolfenstein - Enemy Territory\etmain\maps\mapname.map"
@set GEN_OPTIONS=-fs_basepath C:\wolfet -game et

@rem
%Q3MAP_PATH% -meta -mv 1024 -mi 6144 %GEN_OPTIONS% -v %MAP_PATH%

@pause

log checking is for looking for errors when somethings not working correctly, look for “error:could not find…(/insert error)”

…I think compile logs are saved in your /program files(/user)GtkRadiant x.x folder and not anywhere near etmain.

have you attempted compiling without -logging on? My old machine wouldn’t do any compiling with logging “on” , try turning it off and see if that helps :slight_smile:


(kamikazee) #10

An equivalent? Heh, it can do even more than that, Bash supports quite some powerfull scripts.


(dubuntud) #11

erhm u seem to know how to compile under linux in console so would u like to tell me too :stuck_out_tongue:


(sodsm live) #12

one of the things you need for 1.5 to build a map is mhash. you can install it through yast if have the oss repository set up(i don’t think it’s on the cd/dvd). you could also go get the sue rpm and install it manually. lemme know if you need help setting up repositories and updates.