Enclave

Enclave

62 ratings
Enclave - Misc FIXES
By hexaae
Various fixes for Enclave (gfx glitches, crash and stability fixes), Steam version.
   
Award
Favorite
Favorited
Unfavorite
Patches & fixes:
⚠ Remember you need AMD/NVidia GPUs with TnL support, Shader 2.0 and >128MB VRAM, so this old game may not work at all on Intel iGPUs.

(Small donations 💰 to buy and fix some more games are welcome from my profile page)

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀💣 UPDATE (Feb 2023) 💣
Unfortunately this game became very unstable with modern systems: it may crash (MXR.dll fault) after multiple Restart Mission, or suddenly while playing: unknown unrecoverable error on a black screen and the game will auto-quit.
There is no known fix. Downgrading Quality Shadows: Player can only reduce the sudden crash chances. (Same issue confirmed with the GOG and original retail 3CDs versions). EVERYTHING has already been tried, even fixes through MS ACT or Vulkan wrappers and more...
As a quick crash test you can load Light Campaign, 4th mission: Deserted Temple. Selecting "Restart Mission" multiple times sooner or later the game will crash, especially when using highest gfx settings.

📢 Recommended: DO NOT use "Restart Mission" at all (install this patch)[1drv.ms]. Use Return to Map instead.


>2GB PATCH
Edit (you can use HxD[mh-nexus.de]) the 'enclave.exe' and replace byte $0E with $2E at address $00000126 to increase >2GB memory patch.
00000126: 0E to 2E

If you're too noob to manually modify the exe, you can try with tool 4GB Patch: https://ntcore.com/?page_id=371

GFX FIX UPDATE (Jul 2017)
Original game issues fixed on modern HW:
  • torch lighting problems in the very first level with modern drivers
  • issues with Windows color palette when you quit the game
  • other minor rendering issues
Good news!
Voodooman has found a good D3D8 wrapper perfectly working with Enclave, that solves also brightness change issues with Windows 10 (not fixed by WineD3D)!
All you have to do is to download and use dgVoodoo2[dege.freeweb.hu] wrapper by Dege (see FAQ).

1) copy from dgVoodoo2_xxx.zip the files ...\MS\x86\D3D8.dll & ddraw.dll in the same dir of Enclave.exe
2) run just once dgVoodooCpl.exe, adjust DX settings tab as you wish (f.e. increase VRAM to 2-4GB) and uncheck 'dgVoodoo Watermark' to disable logo in the bottom right, and then copy generated dgVoodoo.conf in the same dir of Enclave.exe

Always play with VSync on and select a resolution @120Hz max (120fps).

Be also sure you have installed legacy DX driver components:
https://www.nvidia.com/en-us/drivers/physx/physx-9-13-0604-legacy-driver/ (NVidia)
https://www.microsoft.com/download/details.aspx?id=35

Done.

FAQ
Q: Are you really SURE is safe running dgVoodoo2?
A: Yep! https://www.pcgamingwiki.com/wiki/DgVoodoo_2

Q: What can I do if the game doesn't work with dgVoodoo2?
A: Some users reported an older version of dgVoodoo 2 solved the problem, so if latest version doesn't work please try an older archive from the official homepage (f.e. ver 2.78.2)

MULTILANGUAGE FIX FOR VOICED ANCIENT TOME INTROS
The cinematic 5 intros for the Light Campaign and 5 intros for the Dark Campaign are dubbed in English, French, German, Italian, Spanish.
Poor Steam version of Enclave forgot to set the correct language for the intros.

HOW TO:

Edit "...\Enclave\environment.cfg" and add "BINK_SOUNDTRACK=<n>":
2 for French
3 for German
4 for Italian
5 for Spanish.

E.g. (ITA fix):

VID_RENDER=Direct3D8
XR_SURFOPTIONS=16
VP_FOV=95.000000
VP_FRONTPLANE=0.500000
VP_BACKPLANE=5000.000000
XR_FLARES=0
XR_DLIGHT=1
XR_FASTLIGHT=0
XR_WALLMARKS=1
XR_SHADOWDECALS=1
XR_LODOFFSET=0.000000
XR_LODSCALEBIAS=0.000000
XR_STENCILSHADOWS=0
XR_PORTALTEXTURESIZE=256
XR_SHADOWDECALTEXTURESIZE=256
VID_MODE=1920 1080 32 60
BINK_SOUNDTRACK=4
XR_SPLINETESSLEVEL=1.000000
R_PICMIP0=0
R_PICMIP2=0
R_PICMIP3=0
R_PICMIP4=0
R_PICMIP5=0
R_PICMIP6=0
R_PICMIP7=0
R_PICMIP1=0
R_ANISOTROPY=1.000000
SND_USE3D=1

WIZARD BUGFIX
https://steamcommunity.com/app/253980/discussions/0/626329820834834982/

Sidian 19 dec 2014, 23:01
Wizard bug (fix included)
There is a bug with the wizard class, making the wizard very weak actually.

Sorceress and wizard should get a damage bonus with better armor while druid and lich get better summonings, but the wizard does not benefit from that: I discovered a syntax error causing that bug while working on a mod for enclave.

You can easily test it out yourself: With armor level 2, the sorceress does double the damage done by the wizard (damage over time effects are not affected, however the initial damage of the staff is).

Download the bugfix here:
https://www.dropbox.com/s/02398thg562t3b3/enclave_wizard_bugfix.zip?dl=0

Just unpack the zip file in your Enclave folder and overwrite the old file(s). Feel free to create a backup of your original files (...\SteamApps\common\Enclave\Sbz1\registry).
Now the wizard is as powerful as he should be!

Enjoy!

P.S.:
👉🏻 Playing in OpenGL mode is deprecated: less special FX, crashes in certain levels. Use VID_RENDER=Direct3D8 and force v-sync on and enable g-sync if you can.

Still runs perfectly fine and smoothly on my ASUS GL703GS with i7-8750h (12 threads), gtx 1070 MP 8GB, 32GB DDR4 2666Mhz, 144Hz 1080p screen with g-sync, Windows 10 22H2 (feb 2023).
NVidia driver 527.56 SD.


Addendum
ENABLE ADDITIONAL XBOX CONTROLLER INPUT
Set Steam Input for this game to "Default", do not force Steam Input remapping for this game.
Edit '...\Enclave\options.cfg' and change this line like this:
CONFIG=config.mpp
Change/rename original '...\Enclave\config.mpp' and create a new one containing (only) this section to use and remap XBox controller 🎮 just like it was on the XBox 1[www.gamesdatabase.org] edition in 2002 (apparently missing Crossbow assisted circular aiming though):
void main() { // ------------------------------------------------------------------- // Xbox 360 Controller -> XBox One Controller // ------------------------------------------------------------------- // "bind" // "bind2" (press/release) // "bindrep" (repeat) // "joy0_axis00" (A Button) // "joy0_axis01" (B Button) // "joy0_axis02" (X Button) // "joy0_axis03" (Y Button) // "joy0_axis04" (Left Shoulder Button) // "joy0_axis05" (Right Shoulder Button) // "joy0_axis06" (Back Button) // "joy0_axis07" (Start Button) // "joy0_axis08" (Left Stick click) // "joy0_axis09" (Right Stick click) // "joy0_axis0c" (Left Stick) // "joy0_axis0d" (Right Stick) // "joy0_axis0e" (Triggers) // "joy0_axis0f" (DPad) bind "joy0_axis00", "cmd nextweapon"; //Switch weapon by pressing A Button bind "joy0_axis01", "cyclecameramode 0, 1"; //Cycle camera positions with B Button bind "joy0_axis02", "cmd nextitem"; //Switch item by pressing X Button bind "joy0_axis03", "activateitem \"0x106\""; //Drink potion by pressing Y Button bind2 "joy0_axis04", "press attack2", "release attack2"; //Second attack or use item/shield by pressing Left Shoulder Button bind "joy0_axis07", "releaseall; cl_opengamemenu"; //Open menu with Start Button bind2 "joy0_axis08", "press crouch", "release crouch"; //Crouch by pressing Left Stick bind2 "joy0_axis09", "moveup 1; press jump", "moveup 0; release jump"; //Jump by pressing Right Stick bindrep "joy0_axis0c", "moveright arg1 / 128.0; moveforward (-arg0) / 128.0"; //Move with Left Stick bindrep "joy0_axis0d", "lookvelocity0 arg1*0.2, arg0*0.08"; //Look with Right Stick (modify arg1 and arg0 to change horizontal and vertical sensitivity) bindrep "joy0_axis0e", "int a0 = arg0/255.0; if(a0) { press attack } else { release attack }"; //Attack by pressing either Triggers //bind "joy0_axis0f", "int a0 = arg0/255.0; if(a0) { cmd nextitem } int a1 = arg1/255.1; if(a1) { cmd nextweapon }"; //Horizontal DPad changes item, vertical DPad changes weapon

KNOWN ISSUES ON MODERN XBOX ONE CONTROLLERS
DPAD = not working, you have to use keyboard for menus (someone can give me a hand with menu controls, without a 3rd party input wrapper like Xidi or XInputPlus?)
OK BUTTON = Y
BACK BUTTON = LB
55 Comments
hexaae  [author] Feb 28 @ 6:16am 
Never tested under Linux unfortunately... not sure if you can use dgVoodoo2 under proton or wine...
Nazarych_UA Feb 27 @ 2:55pm 
Hello. I have Linux. The problem is that at the start there are black lines on the right. In the settings 1920x1080. Tried with proton and without. With best regards.
hexaae  [author] Oct 16, 2023 @ 11:56am 
I think it is correct to always credit all other fixes sources👍🏻
Sidian Oct 16, 2023 @ 10:18am 
When i got the urge to play Enclave again and was looking for a guide for graphic fixes, i certainly did not expect to read my name in that very steam guide. :tobdog:
Thanks for crediting me properly.
hexaae  [author] Jul 25, 2023 @ 6:26am 
If the original game (before you apply my Guide) doesn't work either... then, open a specific thread. Posting here won't help.
Gloom Jul 25, 2023 @ 6:21am 
yeah already tried it, doesn't work
hexaae  [author] Jul 25, 2023 @ 6:12am 
@Gloom probably trying to start on iGPU? RTFM at the beginning of this guide ;)
Gloom Jul 25, 2023 @ 6:08am 
this game doesn't open for me, any fix?
hexaae  [author] Apr 17, 2023 @ 4:42pm 
Are you sure it starts on dGPU? Did you force VID_RENDER=Direct3D8?

The patch to remove Restart Mission is totally safe, since it just removes 2 lines from a script (not a mod) to hide that menu option.
tanino Apr 17, 2023 @ 12:59am 
Hi,

I tried to get this game to run using dgVoodo 2.78.2 and I followed instructions to the tee however the game simply loads to a black screen and then after a few seconds hard crashes with no error displayed.

I double checked that I am forcing vsync and I copied D3D8.dll, Ddraw.dll and the dgVoodoo.conf file in the same directory as Enclave.exe. I also increased VRAM to 4GB when I ran dgVoodooCpl.exe.

I did not install the patch which removes the Restart Mission option as I figured trying to install multiple patches or mods at the same time might cause some issues without first getting the game to run.

As an experimental fix I tried to force a resolution (1920x1080) using dgVoodoo.conf but I was unable to solve this issue.

Any tips as to what I am doing wrong?

OS: Windows 11 Pro 22H2
GPU: AMD Radeon RX 580 8GB (confirmed to support TnL)
CPU: AMD Ryzen 5 3600
Monitor Resolution: 1920x1080 @ 60 Hz