r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

How-To: Fix Missing Bots in ioquake3 in Linux

r3dux | May 3, 2010

I don’t do a lot of PC gaming these days, preferring more to just sling a disc in the 360 or PS3 to get my jollies without all the patch/driver hassle, but you’ve got to have a couple of linux games installed to vent the occasional blood-lust. With that in mind, I grabbed the latest version of ioquake3 earlier, and tried out a single player game, but no bots would join the match, and a look at the shell showed errors along the line of:

^1Error: file bots/default_c.c, line 2: file charsh” not found
^3Warning: couldn’t find skill 1 in bots/default_c.c
^1Error: file bots/default_c.c, line 2: file charsh” not found
^1Error: file bots/default_c.c, line 2: file charsh” not found
^1Error: file bots/default_c.c, line 2: file charsh” not found
^3Warning: couldn’t load any skill from bots/default_c.c
^1Error: file bots/kyonshi_c.c, line 2: file charsh” not found
^3Warning: couldn’t find skill 1 in bots/kyonshi_c.c

Apparently it’s only been an issue with the 64-bit version – but even the older version I had was showing the same problem (which I don’t quite get how) – anyways, I recompiled ioquake3 and it’s all fixed up – and thought that if anyone else was up against the same issue it might be useful to know how to fix it quickly and easily.

1.) Get the source

For this we need to have subversion installed to download the source trunk, if you do – great!, if not, run this first:

sudo apt-get install subversion

With subversion in place, from the command line create a folder with mkdir ioqcode or the like, go into it with cd ioqcode and then grab the source with:

svn co svn://svn.icculus.org/quake3/trunk ioquake3

2.) Build it

Go into the downloaded trunk code with cd ioquake3 and then build that bad-boy with this complex command:

make

Geez, linux is tech ;) To be fair, you’ll need the sdl-dev packages installed (libsdl1.2-dev) and of course build-essential – I didn’t have to get any extra packages, it just built.

3.) Pick a place to stick it

Because I’m the only user of my laptop, I have a folder called Games in my home directory, so I just created ~/Games/ioquake3 and then copied all the files from the build/release-linux-x86_64 sub-folder (created when you successfully built ioquake using that complex make command – your folder won’t have _64 on the end if you built it on a 32-bit system) to ~/Games/ioquake3/, and then copied the pak0 to pak8.pk3 files from my original Windows install of Quake III into the baseq3 subfolder of the ioquake3 folder.

4.) Frag on!

Launch ioquake3.x86_64 and get your game on =D

YouTube Preview Image

I have absolutely no idea how they’ve got motion blur on the game (unless it’s applied post-game to the captured footage) – but it looks AWESOME! Want! If you know how they did it please feel free to smack me with the clue-stick in the comments! Cheers! =D

Update: It turns out they’re using the Excessive Plus mod in the video (which works fine with ioquake), still no clue about the motion blur though…

Another Update: Turns out this issue exists in the 64-bit version of OpenArena as well as ioquake3. I rebuilt openarena using the 0.81 version from the svn here – but still no dice with getting bots to spawn. Apparently the 32-bit version of OpenArena is unaffected.

Related posts:

  1. How To: Compress Each Folder/Directory to Separate Archives in Linux
  2. How To: Convert a Directory of MP3s to WAVs in Linux
  3. How To: Fix Broken Sound in ScummVM under Linux
  4. How To: Install Thunderbird 3 in Linux
  5. How To: Compile and Use the Dolphin Gamecube/Wii Emulator in Linux
Categories
Gaming, How-To, Linux
Tags
Bots, Compile, IOQuake3, Problem, quake, quake 3 arena, quake III arena
Comments rss
Comments rss
Trackback
Trackback
Print This Post Print This Post

« The Ooks of Hazzard – Kids (MGMT Cover) Death Cab For Cutie – Your Heart is an Empty Room »

6 Responses to “How-To: Fix Missing Bots in ioquake3 in Linux”

  1. Steve says:
    May 10, 2010 at 7:03 am

    Have this same problem, with both IOQuake and OpenArean since installing 64-bit Lucid. I did not find that recompiling and reinstalling as described above would fix the problem, however.

    Reply
    • r3dux says:
      May 10, 2010 at 9:23 am

      Well, that’s really odd…

      I didn’t have any problems at all with OpenArena as installed through synaptic – it just worked straight off the bat, it was only ioquake which couldn’t spawn bots. Actually, my bad, OpenArena does not spawn bots, so that’s broken – but the rebuilt ioquake is definitely working fine for me…

      The only other thing I can think of is that there was a lot of cruft in my baseq3 folder from having it on windows with lots of mods installed and I was using a symbolic link to the windows-partition-located baseq3 folder.

      As part of the experimentation to try to get ioquake working I just copied the files pak0.pk3 to pak8.pk3 into the ioquake baseq3 folder, which leaves it pretty untainted. If you’re using a baseq3 folder from any previous installs, it might be worth making sure you’ve got a clean baseq3 folder which should have these (and only these) files n’ folders in it – including the .so files which were built with the new version of ioquake, not the leftover ones from any other install:

      Clean ioquake baseq3 folder

      Alternatively, and I only mention this for completeness, make sure that you’re actually running the newly built version of ioquake, not the existing non-working version by accident! ;)

      Let me know how it works out – because the rebuild and clean-up worked perfectly for me on 10.04 64-bit!

      Reply
  2. How-To: IOQuake3 Linux Tips n’ Tricks | r3dux.org says:
    May 12, 2010 at 6:59 pm

    [...] had to build a copy of IOQuake3 (Q3 from now on) the other day, as the version I had wouldn’t spawn bots on 64-bit Linux. Did [...]

    Reply
  3. ZiNk says:
    September 6, 2010 at 10:37 am

    Here’s a quick que on fixing the bots without the pain of recompiling – just copy a file “botfiles/chars.h” from “pak0.pk3″ and rename it to charsh” the quotation marks are nessesery (there is a typo in the source, but well, instead of recompiling it’s quicker to rename the darn file).

    Reply
  4. Adrian says:
    December 31, 2011 at 11:54 pm

    Hello,

    Many thanks for posting that – my Intel 64 Ubuntu system has exactly the symptoms you described, and rebuilding the package using your guide sorted it out for me.

    Thank you – wanted to play Q3 on Linux for years and have never managed it up until now!!!

    Adrian

    Reply
  5. Spike » ioquake3: no bot on Quake 3 Arena says:
    January 31, 2012 at 3:07 pm

    [...] ZiNk comment on “How to fix missing bots in ioquake3 in linux” article Categorie:Linux Tag: Commenti (0) Trackbacks (0) Lascia un commento [...]

    Reply

Leave a Reply

Click here to cancel reply.

Translate

Categories

Archives

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Film Flash GLSL Gnome Hack How-To install Jaunty Java Kinect Linkage Linux Mash-Up Microsoft Motion OpenGL Particle Photoshop Problem PS3 Remix Remove Retro script Slides Sound Systems Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“Microsoft Windows: Where even the cat walking across the keyboard has root...”

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox