The Force Engine - to play classics like STAR WARS Dark Forces in modern

A snap package would be heaven sent since the compiling of it seems unknown / and -or obscure: https://github.com/luciusDXL/TheForceEngine/issues/231

Source code: https://github.com/luciusDXL/TheForceEngine/releases/tag/v1.08.000

“The Force Engine is a project with the goal to reverse engineer and rebuild the Jedi Engine for modern systems and the games that used that engine - Dark Forces and Outlaws. The project will include modern, built-in tools, such as a level editor and will make it easy to play Dark Forces and Outlaws on modern systems as well as the many community mods designed to work with the original games.”

1 Like

Further about The Force Engine:

https://www.gamingonlinux.com/2023/02/star-wars-dark-forces-source-port-the-force-engine-adds-linux-support/

Came for same as TheForceEngine has been now released as a flatpak. But flatpak is very hard to install on Ubuntu or at least very confusing as the command line is needed for it with skill to coding.

Would be so nice to click install on App Center and be done with it.

https://flathub.org/fi/apps/io.github.theforceengine.tfe

Although there finally is a flatpak for this now, it unfortuntaly doesn’t honestly work much at all. Even if you get it installed, the program does not recognize the game path for installed Dark Forces of Steam even if one browses to it with the TFE’s own interface. 3rd party additional app (flatseal) is needed too and tweaking inside that.

So The Force Engine flatpak does not work as its own. Who can know these things? Never mind those new comers.

https://www.gamingonlinux.com/2024/02/the-force-engine-for-classic-star-wars-dark-forces-now-on-flathub/comment_id=258483

Not sure if a snap packaging would actually work better with TFE as the snap permissions AFAIK can be made more flexible for the snap package itself when required.

I will look at doing this over weekend.

1 Like

I have a local build that works but there’s a catch: I really need core24 released to make it easier to support. It can totally work on core22 but it will need more work.

I’ve opened a topic upstream to discuss details: https://github.com/luciusDXL/TheForceEngine/issues/391

You mean for a snap package of TFE? That would be 100% amazing :hugs:

Yes. It basically works but I need to spend time on polish. I won’t have time today so this is definitely a weekend job.

1 Like

People like you are God sent. Utter friendliness and understanding :+1:

For example Lutris project in the face of trouble (and believe me there are many) has always been if not out right toxic, then “grumpy”. I was about to provide more info just to see the thread was already closed getting back https://github.com/lutris/lutris/issues/5335#issuecomment-1970753744

I know i shouldn’t tell this here put the kind of “elitist” behaviour still harms Linux alot at certain cases!

I have a snap that will soon be available for testing.

Remaining TODOs:

  • integrate the desktop file
  • test against real Roland SC-55 (deferred)
  • integrate data extractor from dark forces from GOG distribution
  • set sensible location for save files
1 Like

The snap for amd64 is up in the stable channel of the-force-engine. (edited: originally in edge)

To test this run:

sudo snap install the-force-engine
the-force-engine.import-gog-installer ~/Downloads/dark-forces/setup_star_warstm_dark_forces_1.0.2_\(20338\).exe

After that you can launch the force engine from the menu/shell and auto-detect game data files.

The source code for the snap is in https://gitlab.com/zygoon/the-force-engine-snap - I will work on sending the changes upstream.

All settings are kept in $HOME/snap/the-force-engine/common/Data. Game data for Dark Forces are imported and auto-detected from $HOME/snap/the-force-engine/common/DarkForces.

Enjoy!

Edit: Have a look at Install The Force Engine on Linux | Snap Store – the snap is now available for x86_64 and aarch64, although I have not yet tested it there (anyone with a desktop-mode Raspberry Pi around?)

See the snap description for usage instructions.

This works fine on my nvidia-equipped system. I will test it on some other places to see if anything is missing.

EDIT: It should also work on integrated graphics. It _even _ ran fine on WSL2 but input was messed up and I was unable to move the mouse cursor correctly.

Thanks alot already for your hard work. But alas, The Force Engine launches yet does not recognize the game files automatically (the autodetect paths button does nothing and on the path row there is nothing) and when attempting to click the browse button (that also does nothing or bring any file manager to browse in).

I have manually copied the Dark Forces game files from a Steam snap install even to BOTH places now ~/snap/the-force-engine/common/Data/ and ~/snap/the-force-engine/common/Data/DarkForces (there i had to also of course manually create the “DarkForces” folder additionally.

The result is same or even worse as in Flatpak TFE then :confused: “Game Source data cannot be found” reads in the settings in red that is all and the autodetect and browse buttons do not work. Ubuntu 23.10.

Tried also clicking Start in the main window (in hopes of TFE recognizing the data files copied manually to folders anyway) - and that just brings to that uploaded screenshot of Game Settings with that Game Source data cannot be found text.

Re-read zygas post above, it should be ~/snap/the-force-engine/common/DarkForces (Note, without “Data” in the path)

Is it possible just to work out that autodetect paths button work? I mean it’s there but without a function so maybe just aim to get that work :face_with_peeking_eye:

You are supposed to copy game data to ~/snap/the-force-engine/DarkForces/. I’ve included basic instructions in snap info the-force-engine. There’s also a program that automatically imports data from a GOG installer.

I know about the limitation that clicking browse does nothing. Will fix that in the next revision.

1 Like

Note that I did include a patch for the auto-detect functionality in the snap. See snap info the-force-engine. There’s also this patch in the snap that shows how the detection works: 0002-Add-crude-support-for-SNAP_USER_COMMON-DarkForces.patch · main · zygoon / the-force-engine-snap · GitLab

Sounds perfect! This will be the de facto universal TFE package :heart_eyes:

There is a small typo in the description of this snap.

If you have a physical copy of the came

1 Like