Ydnar help! Still can't get 'fixaas' to work


(Grand Nagus) #1

The subject sez it all… I still can’t get that ‘-fixaas’ switch to work. All it does is trash the existing aas file for my map! Here’s what I did:

  1. Made an .aas file for a map.
  2. Ran bots on that map to see if the .aas file works (it works).
  3. Sent the .aas file to q3map2 with the ‘fixaas’ switch activated.
  4. Ran the map and tried to load bots, but couldn’t (got ‘aas not initialized’ error).

I basically reassociated the .aas file for the map from which it came from. I tried step 3 with the .map, .bsp and .aas files (after recreating the .aas file for each attempt), and also tried the same with both an ‘optimized’ and ‘normal’ .aas file. All three times I got this message:

It looked like it did something, but when testing the .aas file in Elite Force the bots wouldn’t load into the map anymore. I used this batch file to take advantage of the ‘fixaas’ switch:

“E:\Applications\Games\Raven\STVEF\Tools\NewCompiler\q3map_2516\q3map2.exe” -fs_basepath “E:\Applications\Games\Raven\STVEF” -game ef -fixaas %1

Can you help me get this to work, ydnar? I don’t think anybody else knows how to get that switch to work either, judging by my previous unanswered old post. But I think everyone would benefit from this switch if we knew how to get it to work!

Thanks in advance for the help, and thanks for such an awesome and feature-packed compiler!


(ydnar) #2

I’m not sure. Perhaps EF has a different AAS header. If you can find out that data from Raven, I could maybe see about fixing it.

y


(Grand Nagus) #3

Thanks for the reply, ydnar!

I’ll try to get that info for you, but I think that Raven dropped support for Elite Force (it’s a pretty old game anymore) so I may or may not be successful. I sorta suspected a version issue, because bspc for EF stated that it contained extensions specifically designed for Elite Force when I ran it. But to eliminate the possibility, I also tried using Quake3’s bspc version 2.1h (May 6, 2001) and that didn’t work either; the bots played around on the map until I ran the ‘fixaas’ switch on q3map2… What version of bspc.exe is known to work with ‘fixaas’, and where can I get it?

Thanks again for the help! :slight_smile:


(ydnar) #4

What’s the full commandline you’re using with -fixaas?


(Grand Nagus) #5

Here’s what I’m using for my batchfile bot compilers.

q3map2 ‘fixaas’:
“E:\Applications\Games\Raven\STVEF\Tools\NewCompiler\q3map_2516\q3map2.exe” -fs_basepath “E:\Applications\Games\Raven\STVEF” -game ef -fixaas %1

bspc:
“C:\Program Files\Quake III Arena\Radiant-14\bspc.exe” -forcesidesvisible -bsp2aas %1


(ydnar) #6

Try this:

  1. Compile your map.

  2. Run BSPC to create the AAS file

  3. Test in EF

  4. Run -fixaas

  5. Test in EF again

  6. Give me the full, exact command line that you use, including all arguments, not the batch file.

y


(Grand Nagus) #7

Actually…

Give me the full, exact command line that you use, including all arguments, not the batch file.

…if you replace the %1 in the batchfiles I’ve listed with mappath\mapname.map or mappath\mapname.bsp, then that’s exactly what I would normally type at the command prompt.

But to eliminate whatever could be happening, I treated the map like it was a Quake3 map and tried this:

  1. Compiled ‘test01.map’ doing ‘map’ and ‘vis’ with q3map2 v.2.5.16:
    -fs_basepath “E:\Applications\Games\Raven\STVEF” -game ef -custinfoparms -meta -patchmeta
    -fs_basepath “E:\Applications\Games\Raven\STVEF” -game ef -vis -saveprt
  2. At the command prompt:
    bspc -forcesidesvisible -bsp2aas test01.bsp
  3. Tested .aas file in EF, it worked.
  4. At the command prompt:
    q3map2 -fixaas test01.map
  5. Tested .aas file in EF, it didn’t work.

I used BSPC version 2.1h by Mr Elusive and Q3Map (ydnar) version 2.5.16. I compiled from within Radiant. I copied both bspc.exe and q3map2.exe and related files into the ‘e:\btest’ directory, along with ‘test01.map’, ‘test01.bsp’, ‘test01.prt’ and ‘test01.srf’, and did the bot compiling there (so I wouldn’t have to worry about long filenames or whatnot). I then moved the ‘test01.aas’ file from ‘e:\btest’ to my maps folder to test it in Elite Force. The .aas file worked before I ran ‘fixaas’, and didn’t work after ‘fixaas’. q3map2 returned this:
— FixAAS —
Loading E:\btest est01.bsp
Creating checksum…
Trying E:\btest est01.aas
Trying E:\btest est01_b0.aas
Trying E:\btest est01_b1.aas
0 seconds elapsed

Lemme know if you need any more info, or if you have any ideas I should try. Thanks!


(Grand Nagus) #8

You’re not having much luck either, huh? Dang! Well, the only things I can really suspect are either the version of bspc that I’m using to make an .aas file or the syntax of my commandline… I’m using the quake3 version of bspc (not the Elite Force version), so I would presume that the resulting aas file it created would be the same as if my map were written for Quake3. What version of bspc are you using, ydnar? Also, what are you typing at the command prompt to get ‘fixaas’ to work for you?

Thanks for helping me out on this, I can’t wait to play around with it once I figure it out! :smiley:


(ydnar) #9

Make sure you use -game ef on the commandline so Q3Map2 knows what kind of BSP you’re loading.


(Grand Nagus) #10

Thanks for the response, ydnar! I tried what you said but that didn’t work either. I created my .aas file with BSPC v.2.1h and then typed this at the command prompt:

q3map2 -game ef -fixaas test01.map

at the command prompt. I then loaded the game and couldn’t load a bot. But here’s what’s really weird… If I create a working .aas file and then run ‘-fixaas’ on it, if I type this at the command prompt:
bspc -aasopt test01.aas
I get this error:
ERROR: E:\btest est01.aas is not an AAS file
whereas if I don’t run -fixaas on it, then it optimizes just fine. Now I’m REALLY stumped. :banghead:

Let’s say you already have a map with a working .aas file; what do you type at the command prompt to get it to work, ydnar? Thanks!


(mena666) #11

Just happened to find a solution here. :drink:
There is also a link to sample files such as q3dm17.


(Nail) #12

after 2 1/2 years, he either fixed it or gave up long ago methinks, nice bump just in case though


(mena666) #13

Thanks.
BTW, guessing from the report@q3w, I can’t help but imagine a sort of malicious intention of its implementation. :roll:
Anyway, as google search indicates, few people have cared about this switch.
Let’s just bet that the next version of q3map2 will no longer corrupt the aas, um, accidentally.


(obsidian) #14

WTF?


(pjw) #15

Cross-posting from Q3W (cheers SD, tips hat)

I’m starting to think that you have some sort of serious mental/social issues. What you seem to be attempting to do here is to create some sort of cross-forum drama, by posting under two different nicks. You posted the above comment here, and then this at the Q3W forums:

Sooo…hmmn. No one anywhere actually complained about any malicious intent (that I can find), but you refer to such posts on “the other forum” in order to…well…I’m not quite sure, and it doesn’t really matter–it’s not my job to figure it out. I got out of that line of work quite a few years ago.

Short form: Please stop doing weird shit like this. Please? You’re obviously an intelligent individual, but behavior like this does nothing but tend to invalidate (by simple association) anything legitimate. People tend to ignore good ideas and contributions when they’re overshadowed by general weirdness.