This is a tutorial for setting up radiant to work for Jedi Academy, written by ViralDoctor - the original post is in this
Okay, in your home folder you should have a folder called ".radiant". Open it, and a folder called "1.4.0" should be inside. Open that, and make sure there is a folder called "ja.game" inside. If not, duplicate the "q3.game" folder and rename it. Inside the "ja.game" folder, there is a file called "local.pref". This is what the contents should look like:
Quote:
<?xml version="1.0"?>
<qpref version="1">
<epair name="PatchShowBounds">false</epair>
<epair name="MouseButtons">0</epair>
<epair name="LastProject">/Users/your_user/.jka/base/scripts/user0.proj</epair>
<epair name="LastProjectKey">1</epair>
<epair name="PrefabPath"></epair>
<epair name="LastLightIntensity">300</epair>
<epair name="TextureLock">true</epair>
<epair name="RotateLock">true</epair>
<epair name="LastMap"></epair>
<epair name="LoadLast">true</epair>
<epair name="InternalBSP">false</epair>
<epair name="NewRightClick">true</epair>
<epair name="Autosave">true</epair>
<epair name="LoadLastMap">true</epair>
<epair name="CleanTinyBrushes">false</epair>
<epair name="CleanTinyBrusheSize">0.500000</epair>
<epair name="AutosaveMinutes">5</epair>
<epair name="Snapshots">false</epair>
<epair name="MoveSpeed">290</epair>
<epair name="AngleSpeed">34</epair>
<epair name="UseSetGame">false</epair>
<epair name="CamXYUpdate">true</epair>
<epair name="CamDragMultiSelect">1</epair>
<epair name="CamFreeLook">true</epair>
<epair name="CamInverseMouse">false</epair>
<epair name="CamDiscrete">true</epair>
<epair name="NewLightStyle">true</epair>
<epair name="CubicClipping">true</epair>
<epair name="CubicScale">13</epair>
<epair name="ALTEdgeDrag">false</epair>
<epair name="FaceColors">false</epair>
<epair name="XZVIS">false</epair>
<epair name="YZVIS">false</epair>
<epair name="ZVIS">false</epair>
<epair name="SizePainting">true</epair>
<epair name="DLLEntities">false</epair>
<epair name="DetachableMenus">true</epair>
<epair name="PatchToolBar">true</epair>
<epair name="WideToolBar">true</epair>
<epair name="PluginToolBar">true</epair>
<epair name="QE4StyleWindows">0</epair>
<epair name="FloatingZ">false</epair>
<epair name="TextureQuality">0</epair>
<epair name="LoadShaders">1</epair>
<epair name="NoClamp">false</epair>
<epair name="UserINIPath"></epair>
<epair name="Rotation">45</epair>
<epair name="ChaseMouse">true</epair>
<epair name="EntityShow">4112</epair>
<epair name="TextureScale">10</epair>
<epair name="WatchBSP">true</epair>
<epair name="NewTextureWindowStuff">true</epair>
<epair name="TextureScrollbar">true</epair>
<epair name="UseDisplayLists">true</epair>
<epair name="UseAntialiasedPointsAndLines">true</epair>
<epair name="SwitchClipKey">true</epair>
<epair name="SelectWholeEntitiesKey">true</epair>
<epair name="ShowShaders">true</epair>
<epair name="UseGLLighting">true</epair>
<epair name="NoStipple">false</epair>
<epair name="UndoLevels">30</epair>
<epair name="VertexSplit">true</epair>
<epair name="RunQuake2Run">false</epair>
<epair name="LeakStop">true</epair>
<epair name="SleepMode">false</epair>
<epair name="SelectCurves">true</epair>
<epair name="SelectModels">true</epair>
<epair name="ShowShaderlistOnly">false</epair>
<epair name="Subdivisions">4</epair>
<epair name="ClipCaulk">false</epair>
<epair name="SnapTToGrid">false</epair>
<epair name="TargetFix">true</epair>
<epair name="WheelMouseInc">64</epair>
<epair name="PatchBBoxSel">false</epair>
<epair name="GlPointWorkaround">false</epair>
<epair name="EntitySplit1">275</epair>
<epair name="EntitySplit2">38</epair>
<epair name="PositionX">62</epair>
<epair name="PositionY">42</epair>
<epair name="Width">935</epair>
<epair name="Height">683</epair>
<epair name="EntityWnd">308 64 443 551</epair>
<epair name="MapInfoDlg">0 44 327 200</epair>
<epair name="CamWnd">0 0 200 200</epair>
<epair name="ZWnd">0 0 200 200</epair>
<epair name="XYWnd">0 0 200 200</epair>
<epair name="YZWnd">0 0 200 200</epair>
<epair name="XZWnd">0 0 200 200</epair>
<epair name="PatchWnd">0 0 200 200</epair>
<epair name="SurfaceWnd">143 85 348 347</epair>
<epair name="EntityInfoDlg">0 0 200 200</epair>
<epair name="ZWidth">30</epair>
<epair name="XYHeight">514</epair>
<epair name="XYWidth">579</epair>
<epair name="CamWidth">200</epair>
<epair name="CamHeight">232</epair>
<epair name="ZWidthFloating">514</epair>
<epair name="Count">1</epair>
<epair name="File0"></epair>
<epair name="File1"></epair>
<epair name="File2"></epair>
<epair name="File3"></epair>
<epair name="SI_TexMenu">40056</epair>
<epair name="SI_Gamma">1.000000</epair>
<epair name="SI_Exclude">0</epair>
<epair name="SI_Include">1200</epair>
<epair name="SI_ShowNames">false</epair>
<epair name="SI_ShowCoords">true</epair>
<epair name="SI_ShowAngles">true</epair>
<epair name="SI_ShowOutlines">false</epair>
<epair name="SI_ShowAxis">true</epair>
<epair name="SI_NoSelectedOutlines">false</epair>
<epair name="SI_OutLineStyle">3</epair>
<epair name="SI_SurfaceTexdef_Scale1">0.500000</epair>
<epair name="SI_SurfaceTexdef_Scale2">0.500000</epair>
<epair name="SI_SurfaceTexdef_Shift1">8.000000</epair>
<epair name="SI_SurfaceTexdef_Shift2">8.000000</epair>
<epair name="SI_SurfaceTexdef_Rotate">45.000000</epair>
<epair name="SI_PatchTexdef_Scale1">0.500000</epair>
<epair name="SI_PatchTexdef_Scale2">0.500000</epair>
<epair name="SI_PatchTexdef_Shift1">8.000000</epair>
<epair name="SI_PatchTexdef_Shift2">8.000000</epair>
<epair name="SI_PatchTexdef_Rotate">45.000000</epair>
<epair name="UseCustomShaderEditor">false</epair>
<epair name="CustomShaderEditorCommand"></epair>
<epair name="SI_AxisColors0">0.000000 0.500000 0.000000</epair>
<epair name="SI_AxisColors1">0.000000 0.000000 1.000000</epair>
<epair name="SI_AxisColors2">1.000000 0.000000 0.000000</epair>
<epair name="SI_Colors0">0.250000 0.250000 0.250000</epair>
<epair name="SI_Colors1">1.000000 1.000000 1.000000</epair>
<epair name="SI_Colors2">0.750000 0.750000 0.750000</epair>
<epair name="SI_Colors3">0.500000 0.500000 0.500000</epair>
<epair name="SI_Colors4">0.250000 0.250000 0.250000</epair>
<epair name="SI_Colors5">0.000000 0.000000 0.000000</epair>
<epair name="SI_Colors6">0.000000 0.000000 1.000000</epair>
<epair name="SI_Colors7">0.000000 0.000000 0.000000</epair>
<epair name="SI_Colors8">0.000000 0.000000 0.000000</epair>
<epair name="SI_Colors9">1.000000 0.000000 0.000000</epair>
<epair name="SI_Colors10">0.000000 0.000000 1.000000</epair>
<epair name="SI_Colors11">0.500000 0.000000 0.750000</epair>
<epair name="SI_Colors12">1.000000 0.000000 0.000000</epair>
<epair name="SI_Colors13">0.000000 0.000000 0.000000</epair>
<epair name="SI_Colors14">0.000000 0.000000 0.000000</epair>
<epair name="TextureCompressionFormat">0</epair>
<epair name="LightRadiuses">1</epair>
<epair name="Q3Map2Tex">true</epair>
<epair name="ATIHack">false</epair>
</qpref>
It mainly is the preferences for when you edit for JKA. The bold line will need to be changed, replace "your_user" with your short user name. That file referenced there is your project file, it is very important. Make sure the directory "~/.jka/base/scripts/" exists, and inside put your user0.proj folder. Here is a sample user0.proj file:
Quote:
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "project.dtd">
<project>
<key name="user_project" value="1"/>
<key name="brush_primit" value="0"/>
<key name="bsp_Q3Map2: (simulate old style -light -extra) BSP -meta, -vis, -light -super 2" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $ && ! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -saveprt $ && ! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -super 2 $"/>
<key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2 -bounce 8" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $ && ! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -saveprt $ && ! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -super 2 -filter -bounce 8 $"/>
<key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $ && ! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -saveprt $ && ! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -filter -super 2 $"/>
<key name="bsp_Q3Map2: (test) BSP -meta, -vis -fast, -light -fast -super 2 -filter" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $ && ! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -saveprt -fast $ && ! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -super 2 -filter $"/>
<key name="bsp_Q3Map2: (test) BSP -meta, -vis, -light -fast -filter" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $ && ! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -saveprt $ && ! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -filter $"/>
<key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter -bounce 8" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -super 2 -filter -bounce 8 $"/>
<key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -super 2 -filter $"/>
<key name="bsp_Q3Map2: (single) -light -fast -super 2" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast -super 2 $"/>
<key name="bsp_Q3Map2: (single test) -light -fast" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -fast $"/>
<key name="bsp_Q3Map2: (single test) -light -faster" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -light -faster $"/>
<key name="bsp_Q3Map2: (single test) -vis -fast" value="! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis -fast $"/>
<key name="bsp_Q3Map2: (single) -vis" value="! "/sw/games/GtkRadiant-1.4/q3map2" # -game ja -fs_basepath "/Applications/Games/jediacademy" -vis $"/>
<key name="bsp_Q3Map2: (single) BSP -meta" value="! "/sw/games/GtkRadiant-1.4/q3map2" -v # -game ja -fs_basepath "/Applications/Games/jediacademy" -meta $"/>
<key name="mapspath" value="/Users/your_user/.jka/base/maps/"/>
<key name="autosave" value="/Users/your_user/.jka/base/maps/autosave.map"/>
<key name="texturepath" value="/Applications/Games/JediAcademy/base/textures/"/>
<key name="entitypath" value="/Applications/Games/JediAcademy/base/scripts/mp_entities.def"/>
<key name="remotebasepath" value="/Applications/Games/JediAcademy/base/"/>
<key name="rshcmd" value=""/>
<key name="basepath" value="/Applications/Games/JediAcademy/base/"/>
<key name="version" value="1"/>
<key name="gamemode" value="mp"/>
</project>
It is VERY important that you change anything blue above to the path to your JKA folder. As you may have noticed, I removed all the spaces in the pathname, because it would run into problems. Replace the red items with your short user name.
Not quite done yet. :/ Duplicate the q3.game file in /sw/games/GtkRadiant-1.4/games/ , and rename it to ja.game - the contents should look like this:
Quote:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<!-- generated by Radiant setup, modify at your own risks -->
<game
name="Jedi Knight Jedi Academy"
enginepath ="/Applications/Games/JediAcademy/"
gametools="/Applications/Games/JediAcademy/Radiant-1.4/"
basegame="base"
engine="Jedi Academy.app"
shaderpath="shaders/"
default_scale="0.25"
gamename="ja"
/>
Again, change the path to match yours. The gametools folder you might have to create inside your JKA folder, it's called "Radiant-1.4". Inside, you should have the files
listed here. You only really need the bitmaps folder (and it's contents) and game.xlink. The other stuff is only useful to windoze. You should not download the synapse.config file - copy the one from /sw/games/GtkRadiant-1.4/wolf/ into the Radiant-1.4 folder in your JKA folder.
Just a bit more!
Goto
this site and download the mapextras.pk3 file, then put it in your JKA base folder. Radiant needs it. Also, on that site, download the mp_entities.def from the scripts folder and put it in "base/scripts" in your JKA folder. After all this, run Radiant and see if it works. If it doesn't work, run it with logging disabled and then post the log here. The log is located in "~/.radiant/1.4.0/radiant.log".
GOOD LUCK!
Updated Sunday, 25th July for synapse.config problems and not fully explained ja.game file (I'd already downloaded that, so ViralDoctor didn't have to say how to get it - I forgot to add that in
Updated Monday 22nd November with correct file site.