the annoying models not showing up problem - FIXED!!!


(damocles) #1

I read lennybellas post about how installing wolf in another directory fixed the problem where models don’t show up because Radiant sticks in the full path in the model key where it only needs models/mapobjects/blah.md3. This led me to wonder why a different folder works, and I finally found it - Radiant doesn’t like it if the path name for the engine is too long. Fortunately there is a very simple fix for this…

Windows still supports 8 character filenames (remember the old filena~1 names?) we can use this…

Go to your /program files/GtkRadiant-ET-1.3/games/ folder and open the file et.game with notepad. Find the line that reads something like:

enginepath =“C:\Program Files\Wolfenstein - Enemy Territory/”

It will of course be whatever folder you installed to. Now change it to use the old 8 character names. In my example above I used:

enginepath =“C:/Progra~1/Wolfen~1/”

You should be able to do a very similar thing to your setup. Remember, simply use the first 6 characters of each folder name and then add ~1 to the end and you should be just fine.

Now your models will have their paths set perfectly without modifying them.

Aren’t you lucky! </Meaning of Life>


(Shai) #2

God bless you! :slight_smile:


(damocles) #3

Figured I would bump this and request that one of the SD guys add it to the mappers info sticky thread.


(Blackadder_NZ) #4

You deserve a beer!

:beer:


(lennyballa) #5

lol god bles you / me a lil bit :stuck_out_tongue:


(TIHan) #6

i did what u said and now radiant wont load… it says cannot find specific path…

heres the code:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

<game
  name="Woflenstein: Enemy Territory"
  enginepath ="C:\Progra~1\Wolfen~1/"
  gametools="C:\Program Files\Wolfenstein - Enemy Territory\Radiant-1.3/"
  basegame="etmain"
  engine="ET.exe"
  gamename="et"
/>

whats wrong?


(chavo_one) #7

Well you’ve got forward slashes and backslashes all mixed into your paths. No matter what OS you’re running, it’s going to be upset with that.

Try changing the forward slashes to backslashes.


(TIHan) #8

ok my entire radiant is possibly ruined… when i start radiant its wanting to find a .proj file :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :banghead: :angry:

and that backslash and fowarslash thing, didn’t work :angry: :angry: :bash:


(TIHan) #9

heres wut the end of the radiant.log says:

last project has version -1, this binary wants version 1 - regenerating from the template
Cannot continue without loading a project...
An unrecoverable error has occured.
Would you like to edit Preferences before exiting Radiant?Shutting down GL ...Done.
Closing log file at Fri Sep 12 16:05:53 2003

(damocles) #10

Show your whole radiant log, that section doesn’t show the actual error. Are you sure all you changed is the enginepath="…" section? Does it work if you set it back to:

enginepath="enginepath =“C:\Program Files\Wolfenstein - Enemy Territory”

Is radiant installed in the standard folder? Is ET in the normal default folder?

What it might be…There’s a chance you have other folders with similar names to “program files” or “wolfenstein - enemy territory”. If you have then it’s possible that windows names them as progra~2 or wolfen~2. Check your folders for similar names (the first 6 characters have to be the same).


(Stektr33) #11

I got this to work using the info here and some trial and error on what I found Radiant was doing. The issue isn’t directly tied to long filenames but in fact because of an extra backslash at the end of the enginepath value.

Before the modifications, you will get an ‘error’ similar to this when you insert a model:


vfsExtractRelativePath: C:/Program Files/Wolfenstein - Enemy Territory/etmain/models/mapobjects/light/lantern.md3
cleaned path: c:/program files/wolfenstein - enemy territory/etmain/models/mapobjects/light/lantern.md3
Matching against c:/program files/wolfenstein - enemy territory//etmain
vfsExtractRelativePath: failed

On the third line, notice the two front slashes before etmain?? That’s what’s causing it to fail.

So going from:


enginepath ="C:\Program Files\Wolfenstein - Enemy Territory\/"

to simply


enginepath ="C:\Program Files\Wolfenstein - Enemy Territory/"

It now works (I tested it out).

For those of you who may have screwed up your et.game file, it should look like this assuming that you’ve installed the game in “C:\Program Files\Wolfensten …”


<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

<game
  name="Woflenstein: Enemy Territory"
  enginepath ="C:\Program Files\Wolfenstein - Enemy Territory/"
  gametools="C:\Program Files\Wolfenstein - Enemy Territory\Radiant-1.3/"
  basegame="etmain"
  engine="ET.exe"
  gamename="et"
/>

I tested it out myself and I know it works, but as always, backup your files before modifying them.


(damocles) #12

That’s weird. When I first opened the file I assumed the fault was because of the erroneous backslash and did exactly as you did, but it still didn’t show up the models for me :confused: Oh well, everyone should do whichever works for them.


(=DaRk=CrAzY-NuTTeR) #13

this is a very useful tip, but i have the full path in and i never get this error

i actually thing its something to do with the prefrences file inside radiant\et.game\ i replaced the file in there with my RTCW one, changed a few values and it worked, everything works


(TFate) #14

Tell me what’s wrong with this game file, please.

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

<game
  name="Wolfenstein: Enemy Territory"
  enginepath ="C:\Progra~\Wolfen~1/"
  gametools="C:\Program Files\Wolfenstein - Enemy Territory\Radiant-1.4/"
  basegame="etmain"
  engine="ET.exe"
  gamename="et"
/>

(=DaRk=CrAzY-NuTTeR) #15

nothing, try the full path and try the et.game prefrences file


(Davros) #16

your problem is this [b]="C:\Progra~[/b]

you need a 1 after the ~

so : ="C:\Progra~1\


(TFate) #17

Phew, thanks. It works now. :cool:


(Enrico Palazzo) #18

Thank you so very much damocles and stektr33 for solving this most annoying of problems. All I had to do was remove the one backslash in the et.game file in the gtkradiant/games folder like stetkr said and all is good now. Amazing


(Hell-Killer) #19

I have a problem. After I have dited the .game file in C:\Program Files\GtkRadiant-1.4\games and saves it, when I open GtkRadiant , it will show me an eroor and it turns off. I had to reinstall GTK Radiant to make it work again. Ok so heer is the code

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> 
 
<game 
  name="Wolfenstein: Enemy Territory" 
  enginepath ="C:\Progra~1\Wolfen~1/" 
  gametools="C:\Program Files\Wolfenstein - Enemy Territory\Radiant-1.4/" 
  basegame="etmain" 
  engine="ET.exe" 
  gamename="et" 
/>

Also when I was looking at program files I found a file named Wolfen~1 :???:
What is the problem , thanks in advance :chef:


(psyco_mario) #20

Also when I was looking at program files I found a file named Wolfen~1
What is the problem , thanks in advance

try deleting that file… it may be the problem