Aliens Vs Predator - Source code update
Page last updated - 8th January 2013
What is this?
This is an enhancement to Aliens Vs Predator that aims to fix bugs and add
new features to the game while keeping it compatible and playable on most modern
Windows based operating systems.
Latest executable release: 1st April 2013
setup_AvPx.exe - now with automated installer
The source code is hosted at:
Supported operating systems:
List of improvements:
- Direct3D9 HLSL shader based renderer for improved compatability with
modern graphics cards (no new rendering effects yet)
- Numerous bug and crash fixes
- Ogg Vorbis music playback as an alternative to inserting the game's
- FMV playback of original FMV video files (no need to convert them to
- Support for correctly saving profile, savegame and log files on Windows
Vista and above (UAC aware)
- Xbox 360 control pad support
- Resolution independant menu rendering (can render menus at resolutions
greater than 640x480)
- A copy of Aliens Vs Predator - Gold Edition. (Standard edition should
work but isn't extensively tested. Steam "Aliens Vs Predator Classic 2000"
should also work.)
- If you're using the Non-Gold/Standard version of AvP, you'll need to
extract and place the following file in your AvP game folder. Extract the
file english.txt from the archive, rename it to language.txt and place it in
your AvP folder along with my .exe file. The language was originally created
by relnev I believe. The link to where he was hosting it now seems to be
dead, so i'll host it here
Where are user profiles, savegames and configuration settings stored?
If you are wondering where the User_Profile folder and configuration files have gone, they have been
moved out of the AvP game folder and are now stored in your My Documents folder
e.g. on Vista and upwards, the files are stored in C:\Users\(your username)\Documents\My Games\Aliens versus Predator
How to get music playback working
- First, grab the audio from the AvP game cd and convert it to Ogg Vorbis format. To do this, I use
Exact Audio Copy in conjunction with oggenc2
(I used the version with libVorbis). I won't go into any detail on how to set up and use EAC but my compression properies are set up as shown
in this screenshot. You can alternatively create the .ogg files using any other capable audio ripping software.
- Then, create a folder called 'Music' in your AvP Game folder. Copy the .ogg files created above into this folder
and create a text file in the Music folder called 'ogg_tracks.txt'. In this text file, you need to provide a list of the filenames for your .ogg
files. See this screenshot for an example of how to do it.
That should be it - the game should now pick up the .ogg files and play them.
Big thanks to Melanikus (who is techically part of the "team"), blueshogun96,
bassquake, Plagman, Visper, Clockface, l11l1VeNoM1l11l, dla and relnev, anyone at the awesome Vogons forum who
suggested bug fixes and everyone else who helped (sorry if I forgot anyone!)
Compiling the source code
- Install Visual Studio C++ 2010
- Install the DirectX SDK
- Compile libogg, libvorbis, libtheora, libsmackerdec, libbinkdec as a
Release build, with Runtime Library type set to Multi-threaded DLL
- Point Visual Studio to the .lib files you built above