STAR WARS™: Dark Forces

STAR WARS™: Dark Forces

296 ratings
Getting started with XL Engine
By MagicDN
Playing Star Wars: Dark Forces with widescreen and Full HD support.
4
2
   
Award
Favorite
Favorited
Unfavorite
XL Engine download
Edit: Now looks like the other engine at works is getting better than this. You can download and test it yourself from here - https://theforceengine.github.io/downloads.html

I know there are already all the topics about it, but I hope I can make a complete guide to run the game at best as possible. So here it is:

1. Download the XL Engine here - https://1drv.ms/u/s!AgQSCQ_MIQthi1BhUfbPJ7pPFwCn
Installing the XL Engine
2. Here is how to install the XL Engine:

- Delete or Backup your files in DosBox directory, leaving the DosBox directory intact.
("Steam\SteamApps\common\Dark Forces\DosBox")

- Copy everything (from XL_Engine_Release_02.zip) to your "Steam\SteamApps\common\Dark Forces" dir

- move XLengine_Launcher.exe and DarkXL.exe into your empty DosBox folder. ("Steam\SteamApps\common\Dark Forces\DosBox")

- Rename XLengine_Launcher.exe to dosbox.exe, launch with steamclient.


- Click to the Star Wars: Dark Forces Picture (left side of the launcher)

- Set your Dark Forces data path "Steam\SteamApps\common\Dark Forces\Game"








- Run & Exit game

- Rename dosbox.exe back to XLengine_Launcher.exe (at your "Steam\SteamApps\common\Dark Forces\DosBox" dir)

- Rename DarkXL.exe to dosbox.exe (at your "Steam\SteamApps\common\Dark Forces\DosBox" dir)
FIX for the crash at starting the mission
Right click at you dosbox.exe at your "Steam\SteamApps\common\Dark Forces\DosBox" dir, then Properties, Compatibility tab and click "Run this program in compatibility mode" to "Windows XP SP3".
FIX for black screen
If you get the black screen and only see your gun and hear sounds, then disable the bloom in the options menu.
Installing the OpenAL
3. If you already haven't installed the OpenAL, you can download it here - https://www.openal.org/downloads
http://support.focus-home.fr/oalinst.exe (OpenAL32.dll error).
Running the game in Windows 10
Set the compatibility mode to Windows 7 and run as administrator.
Custom fix for some of the problems (may not work for everyone)
4. There is custom fix made by "donrevan". It fixes some of the bugs that the engine have:

- Nar Shadda crash fix
- Possible to pickup mortar gun and the assault cannon
- Reset Life, health and stuff like that

Requirements:
This is compiled via msvc10 so you need the Microsoft Visual C++ 2010 Redistributable Package (x86) in order for it to work properly, you can download it here - https://www.microsoft.com/en-us/download/details.aspx?id=8328

Install:
1. Download the fix from here - https://1drv.ms/u/s!AgQSCQ_MIQthi1FnzRV-Hrv4YUfK
2. Extract contents of the archive to:
"...\Steam\SteamApps\common\Dark Forces"
"...\Steam\SteamApps\common\Dark Forces\DosBox" and
"...\Steam\SteamApps\common\Dark Forces\Game"

If evething is working you should see a text "Alpha 9.50 DarkFX" in the lower right corner of the screen in the main menu.

If you experience crashes or don't want to enable a certain fixes, just open "darkxl_fix.ini" via your favorite text editor. You can use true/false to enable or disable a certain options in the patch.

It's recommended to change settings under [Reset] everything to "false", otherwise you start with max stats and lives on each level.
Launching the game
5. Run the game like usual (all the Steam features are present).

Next I will tell how to get through some glitches and bugs.
At level 7 block don't move right
6. There is a bug in the "Ramses Hed Docking Port" level, in the boxed section of the level where you have to use switches to move block to the right position to get over the caps. But it won't work like it supposed to.

Solution:
You can just jump to get over the other side (and finally to the large elevator).

Level 9 crash
7. At level "Nar Shaddaa, the Vertical City: The Death Mark" you most likely encounter crash.

FIX:

- Right-click on the game title under the Library in Steam and select Properties.
- Under the General tab click the Set launch options button.
- Type "-nosound"
- After you complete the level, delete the "-nosound" parameter.

Level 13 closed door
8. At start of the "The Executor" level the door can't be opened.

Solution:
You can just blow it up!

Level 14 - The Arc Hammer puzzle bug
9. At later part of this level there is 5 switch puzzle. Sadly this puzzle can't be solved. But there is a way to complete the level.

Solution:
You can go through doors. First press "G" key and keep it down, then go forward through closed door (use the elevator to go up to the door).


Edit: According to "Colonel " it is possible to complete the puzzle by using this pattern - https://gyazo.com/fc1b533fca3cbda4c9f21b19fd1993b3

Also after defeating the final Boss the door won't open and you have to go through the door again to the shuttle and exit the level.

Other useful info
It is recommended to uncheck "always keep this game up to date" to keep the XL Engine files intact.

Because there are no info in the game, so here are the controls you will need:

F1 - P.D.A.
F2 - Night Vision Goggles
F4 - Gas Mask
F5 - Head Lamp

If you want to use secondary attack (normally R) with Right Mouse Button, you can download this config file - https://1drv.ms/u/s!AgQSCQ_MIQthgZ4dfGBq3sgPjo8E0w?e=kovNI8

Keep in mind, that this is very early version of engine and you will encounter some other bugs or glitches. We can only hope, that they will be fixed in next version.

There are no solutions yet for:
- run game with onboard GPUs;
- turn down or mute the music volume;
- using the Packaered Mortar Gun, Stouker Concussion Rifle and Assult Cannon;
(Packaered Mortar Gun & Assult Cannon possible fixed by donrevan ?)
- no music in cutscenes;
- exploding the white barrels;
- killing the mouse droids (can't collect batteries);
- no end game cinematics.

If you really stuck or you just want to end the level in some reason, you can do this:

bring down the console (ˇ key, at US keyboard, it's different key with other keyboards) and type "g_mission_complete 1".

and some other cheat codes the engine have:
lapostal (full shields/health, all weapons)
lamaxout (full ammo and all weapons)
lacds (full map, though I thought this was supposed to toggle, it appears permanent)
labrady (full ammo)
laredlite (freeze/unfreeze enemies)


Enjoy the game!


Big thanks for Lucius for making this great engine!

Looks like there is new engine in works, you can look the progress in here - https://theforceengine.github.io

< >
262 Comments
MagicDN  [author] Jan 22 @ 11:50am 
Hi sonderkraftfahrzeug! Thank you, I have been keeping my eye on that progress some time and looks like it's getting there and is playable. I have to test the latest version soon.
sonderkraftfahrzeug Jan 22 @ 10:41am 
Hi you may want to make an update to the guide (at the top). The Force Engine's latest (Dec 2021) release https://theforceengine.github.io now supersedes this and works a lot better than DarkXL. I see people are still playing DarkXL and are getting frustrated that missions crash, weapons are not implemented and that their health doesn't reset.
JoJo2498 Dec 31, 2021 @ 9:57am 
The performance is awful with a whopping 1 FPS. I'm serious. This is fucking terrible. I have an RX 5500 XT, which is a pretty new card. Go figure. Why the hell is it running so terrible? Port is dead in the dirt anyway
I love women who headbutt Nov 7, 2021 @ 11:54am 
Eyenard == music should work by default. Regarding making NarShadda work with sound see the ammended guide above or my earlier posts below regarding the DonReven fix.

If you have no sound in game perhaps you at some point used the "nosound" launch command. Simply go to the guide above and delete "no sound".
MagikGimp Nov 7, 2021 @ 10:35am 
@Dundoo Rumours of his death were greatly exaggerated! xD Anyway, thanks so much for linking to the new project. I will be keeping an eye on it for sure; very exciting news. Mostly for Outlaws (which I haven't played) more than anything, having completed Dark, although it wouldn't hurt to do another run of course!
eynard Oct 28, 2021 @ 8:29am 
how to enable music in levels?
BleppyBoi Aug 11, 2021 @ 8:07am 
I would like to let everyone know that if you're having troubles with OpenAL, where you have it installed but DarkXL or the launcher doesn't think it's installed, simply go to your system32 folder, find the OpenAL extension, delete it then reinstall it and hopefully everything should work now.
alexanderbarak Jul 12, 2021 @ 6:22pm 
Does anyone have the issue where the game won't even launch properly? It starts out fullscreen and crashes to windowed mode which is super tiny. I'm using wondows 10, tried running in compatibility mode Windows 7, tried running the .exe as administrator which it would not allow... I'm lost guys.
I love women who headbutt May 3, 2021 @ 12:21pm 
Hey Diet. That is indeed a "legit" shortcut where you basically skip the entire level.
However I found a way to get the patch to work if you check the guide above it was amended, along with the "Ark Hammer puzzle" that can be solved too (my screen shot isn't the best but that pattern opens the red doors above the elevator).
So now you can play the whole level with sound and play through Ark Hammer without cheats, until that very last door right at the end to the shuttle :)
The Asskins Diet May 3, 2021 @ 9:52am 
Not sure if this is mentioned in any of the previous pages, but I figured out another work around for Level 9 with the sound. I found it was possible near the beginning to run, jump, and land on that bridge that leads to the objective. The crash doesn't occur til a ways into the level. This skip does skip most of the level, but it's at least quicker and doesn't require you to quit out.