Welcome, Guest. Please Login or Register
  (UTC)
AvP Unknown
News:
Locked Topic KingKenny's Ultimate Guide on How to Get AvP2 + Primal Hunt Working on Your Computer! (Read 157708 times)
KingKenny
Global Moderator
*****
Offline


Hail to the king, baby!

Posts: 377
Location: USA
Joined: Jun 9th, 2010
Gender: Male
KingKenny's Ultimate Guide on How to Get AvP2 + Primal Hunt Working on Your Computer!
Oct 6th, 2018 at 3:37am
 
KingKenny's Ultimate Guide for Getting AvP2 and Primal Hunt Working on Your Computer!

The following is a step by step guide on how to get Aliens vs Predator 2 (AvP2) and Primal Hunt working on your computer. Note that some steps will be summarized in video format and there are various issues you may run into. Some issues can be fixed via different methods. I'm listing all known fixes to let you decide what is best for you.

Keep in mind that this guide will have the expectation that you are installing/installed your games to the folders:

C:/Program Files (x86)/Fox/Aliens vs. Predator 2/

and

C:/Program Files (x86)/Fox/Aliens vs. Predator 2 - Primal Hunt/

Note that this information is for WINDOWS (PC).

This guide will attempt to address all issues and may be updated if more information comes to light.


I would suggest all new players do the following from this guide first:

  • Download and install AvP2 and Primal Hunt.
  • Update AvP2 with the official patches.
  • Install the master server patch for AvP2.
  • Install the master server patch for Primal Hunt.
  • Try playing both games. If you get crashes or glitches, refer to the fixes below in this guide.
  • Once you have the games working fine, beat the single player campaigns and play mulitiplayer.
  • Then look at the numerous custom maps and mods for this game. There are a lot!


Scroll down in this thread for answers and solutions to common questions and problems.

Donate.

If this guide helped you and you wish to donate as a thank you, please donate to https://www.paypal.com/paypalme/MrKingKenny


KingKenny

Website: http://kingskins.avpunknown.com/

Bitchute: https://www.bitchute.com/kingkenny/
Odysee: https://odysee.com/@KingKenny:9
Rumble: https://rumble.com/c/KingKenny
Youtube: https://www.youtube.com/user/b1kingkenny

Gamefront: https://www.gamefront.com/@kingkenny
GameBanana: https://gamebanana.com/members/993275
ModDB: https://www.moddb.com/members/thekingkenny
Nexus Mods: https://www.nexusmods.com/users/77671958?tab=user+files

AvP2 Discord: https://discord.com/invite/esPD62d
« Last Edit: yesterday at 1:32am by KingKenny »  


Back to top
IP Logged
 
KingKenny
Global Moderator
*****
Offline


Hail to the king, baby!

Posts: 377
Location: USA
Joined: Jun 9th, 2010
Gender: Male
Re: KingKenny's Ultimate Guide on How to Get AvP2 + Primal Hunt Working on Your Computer!
Reply #1 - Feb 12th, 2023 at 6:39pm
 
-Last updated on Yesterday at 1:48am

Game installation.


Step 1

Get AvP2. Either grab your physical discs to install the game or get the digital version here: https://www.avpunknown.com/avp2aio/

The exe version will have an automated install for you.

The iso version is a exact rip of the original game discs. The isos can be mounted to discs or extracted via winbin2iso portable and then the setup.exe can be run.


Step 2

Install the game. For the physical discs, insert disc one into your computer and follow the instructions and install all the updates.

For the digital version, follow this video installation tutorial (this uses the cd mount for isos):

https://www.youtube.com/watch?v=xLQXY6bmBpQ

Do not install Gamespy arcade. You likely won't need to install DirectX either. Some users report the installation failing when trying to install DirectX. Select no for both during the installation.


Step 3

Try to run AvP2.exe and see if the game loads up. If everything is fine you are done.

If you run into any performance issues (bad fps, texture issues, low screen resolution, game crashes, client mfc error, graphical glitches, other) please scroll down the guide to address these issues.


How do I play online?


The official servers for AvP2 and Primal Hunt were pulled years ago. However, there are alternative ways of playing.

Please visit: https://www.avpunknown.com/avp2master/

Download and install the master server patch (MSP) to re-enable online play. Please note that both AvP2 and Primal Hunt have separate MSP files to install for each game.

MSP also comes with compatibility improvements and makes the game less likely to crash. 99% of AvP2 and Primal Hunt players use this. I HIGHLY recommend it.

If you prefer to play a LAN game (via multiplayer LAN) you can use Gameranger. Download it from here http://www.gameranger.com

There are other VPN software out there that will also work. Some users have used programs such as Tunngle, Evolve and Hamachi. Some of these programs are no longer supported though. Gameranger probably has the biggest playerbase for the LAN-playing players.

Do NOT try to run a LAN game after installing the MSP. LAN AvP2 runs off v1.0.9.6 AvP2. If you have MSP running and other players do not, you will not be able to play together. In order to play AvP2 on LAN, you will need to have AvP2 installed without MSP or if you did install MSP, rename your "avp2p5.rez" file in your AvP2 folder to something like "avp2p5-x.rez". If this file is renamed the MSP will not load and the game will load as v1.0.9.6.


The game isn't starting.


If you receive any messages such as failure to load game or a specific file, or you get a black box when loading the game and the game doesn't actually start. Well then make sure your game was installed correctly. You will likely need to reinstall the game if there is an error.

If you are sure you installed the game correctly and are on Windows 10, try renaming AVP2.exe to AVP2GAME.exe. Some Windows 10 users have reported AVP2.exe being blocked from loading due Windows blocking it. Renaming the exe sometimes fixes this. This is a rare occurrence though.

If the issues persists, do the following:

1. Uninstall the game.
2. Clean your registry of AvP2.
3. Reinstall the game.

If you attempt to uninstall and reinstall AvP2 without cleaning your registry after uninstalling, your game will usually still not work.

To clean your registry, you can use a program to automatically clean it such as the following programs:




If you rather clean your registry manually, the registry location can be in the following locations:

Quote:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Monolith Productions\Aliens vs. Predator 2


Quote:
Computer\HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\Current Version\Uninstall{3EF79591-BF16-4CF8-8FF0-D8AD968228B1}


If the game is installed correctly and the game will still not load, download this dll file here:

https://www.avpunknown.com/avp2files/avp2fixes/dinput.zip

Read the readme.txt in the zip. Then extract the dinput.dll and place it in your base AvP2 directory.

The default directory for AvP2 will be here: "C:\Program Files\Fox\Aliens vs. Predator 2".

Try loading the game now.


AvP2 crashes when loading a single player mission.


If AvP2 crashes every time you load a single player mission, download the AVP2 SP FIX rez file and install it into your AvP2 game folder here:

C:/Program Files (x86)/Fox/Aliens vs. Predator 2/

Download: https://avpunknown.com/avp2files/avp2fixes/avp2_spfix.zip


Primal Hunt keeps crashing.

If Primal Hunt keeps crashing even after installing the Primal Hunt Master Server Patch (MSP), download and install the phcli.dll file into your Primal Hunt game folder here:

C:/Program Files (x86)/Fox/Aliens vs. Predator 2 - Primal Hunt/

This dll fixes a common crash with certain language systems when you launch the game.

Download: https://avpunknown.com/avp2files/avp2fixes/phcli.zip


Keyboard controls are not working!


Try the following fixes. Some may not work depending on how your controls got bugged in the first place.


Fix 1 - Reset your controls (Try this first)

While in game, go into your options menu and then click on the controls menu. On the bottom right hand corner, click "restore defaults".

Fix 2 - Create or load another profile

Go to the profile menu within the main menu and create a new profile or load another profile. Each profile has its own user settings and mission progress.

Fix 3 - Replace your autoexec.cfg file

The autoexec.cfg file contains all the keybindings. It is located in these locations:

C:/Program Files (x86)/Fox/Aliens vs. Predator 2/autoexec.cfg

and

c:/Program Files (x86)/Fox/Aliens vs. Predator 2 - Primal Hunt/autoexec.cfg

If the file is corrupted, you can replace it with the following autoexec.cfg files:

(Right click and save as on these links for the autoexec.cfg file.)

For AvP2: https://kingskins.avpunknown.com/dl/autoexec/AvP2/autoexec.cfg

For Primal Hunt: https://kingskins.avpunknown.com/dl/autoexec/PH/autoexec.cfg

Fix 4 - Install the dinput file

Download: https://avpunknown.com/avp2files/avp2fixes/dinput.zip

Read the readme.txt in the zip. Then extract the dinput.dll and place it in your base AvP2 directory.

The default directory for AvP2 will be here: "C:\Program Files\Fox\Aliens vs. Predator 2".

Fix 5 - Reinstall your game.

If all else fails, uninstall your game. Clean your computer's registry of anything linked to AvP2 and do a fresh install. How to clean your registry is mentioned above under "The game isn't starting."


The game starts but I receive a client mfc application has stopped working error.


Fix 1 - Install Master Server Patch (RECOMMENDED)

If you haven't already, please install the Master Server Patch: https://www.avpunknown.com/avp2master/

Fix 2 - Dinput dll

Try placing this dll file in your AvP2 game folder: http://www.avpunknown.com/avp2files/avp2fixes/dinput.zip

Launch AvP2. If it didn't fix the problem, remove the dll and try the steps below.

Fix 3 - Client MFC Guide

If you still have a problem, follow this guide here: https://www.avpunknown.com/cgi-bin/YaBB.pl?num=1422165698

Fix 4 - Whack-a-mole

This is the biggest hurdle for most people. If you are still having trouble getting past the client mfc error, you must play whack-a-mole.

From my experience, those who have a good copy of the game and still experience the mfc error, running the game as administrator or changing the compatibility settings will usually fix the error.

Try running avp2.exe under Windows XP. If this fails, try Windows XP SP1. Fails? Try Windows XP SP2 and so on. Run through the list of all options.

If this still doesn't work, try running avp2.exe as administrator alone. If this fails, try running avp2.exe as admin AND applying compatibility mode. Once again run through the whole list of options.

If these all fail, try doing the same thing, but with lithtech.exe. Lithtech.exe will be found in your Aliens vs Predator 2 installation folder.

This is in: C:/Progam Files (x86)/Fox/Aliens vs. Predator 2/.

This approach also applies to Primal Hunt's Primal Hunt.exe and lithtech.exe.

For Primal Hunt these are found in C:/Program Files (x86)/Fox/Aliens vs. Predator 2 - Primal Hunt/

Note your compatibility modes for AvP2.exe may not work for Primal Hunt. For example, on my computer, AvP2 runs without a compatibility mode set, but I need it set to Windows XP SP3 on Primal Hunt.

Again, this is a whack-a-mole game to figure out which setup will work for you.

Eventually you will find the combo that works.


The game menus are so small!


AvP2 and Primal Hunt were built for older displays and likely don't give you the option for your screen resolution of choice. You can adjust them in a variety of options/ways.

Note that both AvP2 and Primal Hunt's main menus are fixed to a 640x480 resolution. They DO NOT scale to higher resolutions. So for example, if you pick 1920x1080 resolution, your in-game resolution (during actual gameplay) will be 1920x1080, but the main menus will look like this:



This is normal. There are no scaling fixes for the main menus yet. Also the in-game hud does not scale.

Keep in mind with any of these fixes, if you click display on the AvP2 or Primal Hunt launcher, the game may revert you back to a lower screen resolution. Avoid clicking display on the launcher unless you need to change your renderer. If it does change, just swap it back via one of the methods below.


My screen resolution is too low or not what I want.


Fix 1 - Install the master server patch (RECOMMENDED)

The master server patch will modify your base game to not only restore online play, but also bring native support to your screen resolution. Once installed, you can changed your screen resolution and aspect ratio in the igame's options menu.

Download it here:

https://avpunknown.com/avp2master/


Fix 2 - Edit your autoexec.cfg

This method is quick, easy and doesn't need any other program to work. There are other cool tricks you can do with this file too to enhance your game, like third person view, volumetric shadows, etc. For more info on these check my site at https://kingskins.avpunknown.com

The only problem with this method is that the FOV with have a stretched aspect ratio.

To get your custom screen resolution:

Open up your autoexec.cfg file located in c:/Program Files (x86)/Fox/Aliens vs. Predator 2/ with Windows Notepad. For Primal Hunt, the autoexec.cfg is found in c:/Program Files (x86)/Fox/Aliens vs. Predator 2 - Primal Hunt/.

Search (Ctrl + F) for the following entries:

"SCREENWIDTH" "#"
"GameScreenHeight" "#"
"SCREENHEIGHT" "#"
"GameScreenWidth" "#"

Change the resolution numbers that appear after those entries to your desired screen resolution. You may use resolutions that go beyond AvP2's resolution settings, but if you access and modify the display settings on the game launcher, your custom resolution will be immediately overwritten.

Make sure to check your display and video card's maximum resolution settings as AvP2's autoexec.cfg won't be able to use a resolution unsupported by your video card/display. Also note that a higher resolution demands more out of your system requirements. A higher resolution may increase lag, especially in multiplayer and as the number of textures on-screen increases.

However, there is an exception. Any resolution above 2048 height and 1536 wide is completely unsupported by AvP2 and will not work as this resolution is the cut-off limit for the game. There are workarounds to this though.

Which are....


Fix 3 - Widescreen patches

If using notepad is too difficult for you, you can download any of these widescreen patches to do the job for you. Note that these may actually be better in that they fix the field of view to match the aspect ratio. Please keep in mind that some widescreen patches, specifically those with custom launchers, can have compatibility issues with the master server patch. I recommend you use the master server patch for widescreen support and only use the 4K dll if you need 4K support.

1 - https://avpunknown.com/avp2files/avp2fixes/d3dim700.zip - RECOMMENDED. This will give 4K+ support and work with Master Server Patch.

2 - https://www.avpunknown.com/avp2files/avp2mods/smallmods/avp2_widescreen_patch.zi...

3 - https://www.avpunknown.com/avp2files/avp2mods/smallmods/AvP2_WidescreenPatch.rar

4 - With 4K support - https://www.avpunknown.com/avp2files/avp2mods/smallmods/AvP2_4K_Launcher_sui_Mac...

5 - Primal Hunt Version - https://www.avpunknown.com/avp2files/avp2mods/smallmods/avp2phcustomlauncher100....


My screen is cropped. How do I maximize the game to not be cropped?

When you launch the game, if you see black borders around the game menus or during gameplay, your screen is likely being cropped due to scaling.

To fix this, right click on AvP2.exe or PrimalHunt.exe and select properties. From here you want to "disable scaling on high DPI settings".

Depending on your version of Windows, this may show up differently. On Windows 10 click the button "change high DPI settings", select "override high DPI scaling behavior" and then select the scaling to be performed by "application".


How do I play the game windowed? How about borderless?

Launch AvP2.exe or PrimalHunt.exe.

Click options and type into your command line "+windowed 1" for just windowed or "+windowed 1 +borderless 1" for windowed and borderless. Type either in without quotes.

Click the box always specify these command-line parameters and click ok.

Now play.


Cutscenes/dialogue/npcs are playing/moving too fast.


Cap your framerate to 60 fps using either via a setting on your computer or via fps limiter software.

Alternatively, you can use the AvP2's Master Server Patch (MSP) to address this issue.

Download: https://avpunknown.com/avp2master/

Once the MSP is installed, launch the game and hit "~" on your keyboard to open MSP's console. Then enter "framelimit 60" without the quotes into the console. Then close the console and play.


Mouse movement zig-zags or is uncontrollable.


Fix 1 - Polling rate (TRY THIS FIRST)

Try decreasing your mouse polling rate to 125.


Fix 2 - DInput DLL

https://www.avpunknown.com/avp2files/avp2fixes/dinput.zip

Read the readme.txt in the zip. Then extract the dinput.dll and place it in your base AvP2 directory.

The default directory for AvP2 will be here: "C:\Program Files\Fox\Aliens vs. Predator 2".

Try loading the game now and see if the mouse issues are resolved. If not, remove this dll file and try the steps below.


Fix 3 - DI wrapper

Download and install the DI wrapper. Place the dll file in c:/Program Files/Fox/Aliens vs. Predator 2/.

https://code.google.com/archive/p/di-wrapper/downloads

If it doesn't work, remove this dll file.


Fix 4 - LithFix by HeyJake - For AvP2 and Primal Hunt (NOT COMPATIBLE WITH MSP)

https://haekb.itch.io/lithfix - Visit this site for the most up to date version.

From HeyJake:

"This uses the base AVP2PH DLLs as a base. Fixes up mouse look, and adds a frame limiter."

As of 04/26/2020, the current versions are:

AvP2 Version: https://www.avpunknown.com/avp2files/avp2fixes/Lithfixb2%20-%20AVP2.7z

Primal Hunt Version: https://www.avpunknown.com/avp2files/avp2fixes/Lithfixb2%20-%20AVP2PH.7z

I have no mouse look (view up and down with mouse) after installing Master Server Patch.

For AvP2, open the launcher (AvP2.exe) and click options. In the command line put the following:

"+legacymouse 1"

For Primal Hunt, open the launcher (PrimalHunt.exe) and click options. In the command line put the following:

"+rawmouse 0"

(Don't enter the quotation marks for each command line).

For both launchers, hit the checkbox for "Always specify these command-line parameters."

Hit ok and then play.


Other performance issues.


Do you get any of the following?

1. Texture tearing/pop-ups.
2. Black screen vision modes.
3. Black screen underwater.
4. Low fps.

If so try any of the following:


Fix 1 - DDRAW DLL FPS fix

https://community.pcgamingwiki.com/files/file/579-windows-881-ddraw-fps-fix/

Download and install the ddraw dll file and place it in c:/Program Files/Fox/Aliens vs. Predator 2/.

Note this will only help improve your fps and will not address other performance issues.


Fix 2 - Use dgVoodoo 2 (Recommended for some users, but not all.)

Follow the video tutorial:

https://www.youtube.com/watch?v=6BauFpoxQpg

Alternate video link - https://www.bitchute.com/video/oNdwyj01Dv0r/


Download dgVoodoo 2 here: http://dege.freeweb.hu/ - use password "dege" if asked.

This will address all performance issues and will also add the benefit of enabling Steam and Discord overlays during gameplay if desired.

PLEASE NOTE: dgVoodoo 2 does not like dynamic lighting on the Lithtech engine. You will get some fps drops when there is dynamic lighting on the screen (shoulder lamp, pred pistol, flares, etc). If you FPS is already under 30 fps, dgVoodoo 2 can help you. if you have fps of 60+ already, you will get an fps drop. However, you may still need dgVoodoo 2 if you are experiencing a lot of texture glitching on the screen.

I can vouch for dgVoodoo v2.55.2 for AvP2 and Primal Hunt.

There are newer releases of dgVoodoo2, but many of them cause a graphical glitch on the alien health bars. You can try the newer releases if you wish as your performance may vary. If you get the graphical glitches, just rollback to previous release of dgVoodoo2.

Also some people have been claiming that Google is blocking the dgVoodoo2 downloads because it thinks it is malware. It is NOT as I'm clearly using and have been for years. Ignore this warning. You might also want to not use Chrome.


Fix 3 - Install the master server patch (RECOMMENDED)

The master server patch will modify your base game to not only restore online play, but also address many performance issues and add Steam and Discord overlays too if desired.

Download it here:

https://avpunknown.com/avp2master/

To disable the inverted vision modes using the master server patch, when in-game, hit "`" on your keyboard and type into the console "-invertbypass" without quotes. This will disable/remove the inverted vision modes in similar fashion to Option E below.


Fix 4 - dgVoodoo 2 + Master Server Patch

Both dgVoodoo 2 and the master server patch can be run together. Try running them individually of each other first to see what kind of results you get. If there are still issues, then try running them together.


Fix 5 - Vision Mode Fix (For single player use ONLY)

I don't recommend this option anymore, but I will still list it just in case you want to use it.

If you get the black screen vision modes for predator and alien this is a workaround to being able to see.

But this will not work underwater and WILL NOT WORK IN MULTIPLAYER.

If you only care about single player and dgVoodoo 2 is too complicated for you to install, this is the option for you.

Download vision mode patch at: https://kingskins.avpunknown.com

Video demonstration of it in action:

https://www.youtube.com/watch?v=hcUbAwHtMDE

Alternate video link - https://www.bitchute.com/video/LMCrcNjqoCvp/


Fix 6 - TheCanonMaster's D3D7 Fix

TheCanonMaster made a DDraw wrapper for Aliens vs Predator 2 which you can get here:

Download: https://github.com/thecanonmaster/d3d7fix_avp2

This wrapper can be used with default AvP2, MSP, dgVoodoo 2, mods, etc. There is a settings file which can be edited to customize the preset settings for your game's set up. I have personally found this wrapper to give AvP2 with MSP and dgVoodoo 2 a small fps performance boost in the past. However, when using this wrapper for Primal Hunt, with MSP and dgVoodoo 2, it provided a significant fps boost.

I recommend trying this wrapper after you have already installed MSP. You will have to play around with the settings to find what works best for your hardware set up and preferences. Please read the documentation that is provided in the download.


Game resources differ!

If you try joining a multiplayer server and receive the message "Error: Game Resources Differ", either you or the server you are trying to join are running something that the other doesn't have.

For example, the server could be running a custom mod or map. You will need to be also running this mod or map to join.

It is also possible that you are running a mod that the server does not have. If so, exit the game and disable the mod. Then try rejoining.

Most servers will likely allow skins (new textures) and sound packs (new sounds). However, there are a few strict server admins that will run servers that block these.


How do I use the torch and hacking tool in Primal Hunt?

Third Law disabled the torch and hacking tool for both marines and corporates in Primal Hunt. However, you can enable the torch via editing the autoexec.cfg file if you are running Primal Hunt as is.

Follow this guide to do so:

https://www.youtube.com/watch?v=09H5lhOKKWI

Alternate video link - https://www.bitchute.com/video/UgAn0ujZhCZP/


Alternatively, if you have the master server patch installed for Primal Hunt, it will fix this issue automatically.

Download it here:

https://avpunknown.com/avp2master/

Language Packs.

I created three language packs that will let your play AvP2 and Primal Hunt in either French, Spanish or German.

They can be downloaded off my website here: https://kingskins.avpunknown.com/


How do I install custom content (mods, maps, skins, rez files)?

Follow the video tutorial:

https://www.youtube.com/watch?v=ohG_yg0Z_dw

Alternate video link - https://www.bitchute.com/video/lSN060y3yhb9/


Where can I get custom maps and other custom content for AvP2 and Primal Hunt?

For multiplayer maps get the "Ultimate Map Pack" aka UMP at: https://www.avpunknown.com/ump/

UMP has almost all multiplayer maps released for AvP2. The latest version is UMP3.

Video guide of how to install the Ultimate Map Pack:
https://www.youtube.com/watch?v=xOMmJuMaZxc

For single player maps get the "Happy Hunting Map Pack" aka HHMP at:

https://kingskins.avpunknown.com

Trailer of Happy Hunting Map Pack:

https://www.youtube.com/watch?v=Dx3OK8U_tVA

Video guide of how to install the Happy Hunting Map Pack:
https://www.youtube.com/watch?v=c9w8EQt4odo

Many more custom content can be found at:

https://www.avpunknown.com

and

https://kingskins.avpunknown.com - This is my personal website with content I created. Check my links page for even more sites!

Additional sites:

Gamefront: https://www.gamefront.com/games/aliens-vs-predator-2
ModDB: https://www.moddb.com/games/aliens-vs-predator-2
Nexus Mods: https://www.nexusmods.com/aliensvspredator2/
Game Banana: https://gamebanana.com/games/459
« Last Edit: yesterday at 1:48am by KingKenny »  


Back to top
IP Logged