Skip to content

About

DF revival

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Desktop Forces

A team shooter for low-end PCs in the spirit of Mobile Forces (Rage Software, 2002), made in Unreal Engine 5.8 by the Mobile Forces community (mf.nofisto.com). It plays like the original (rules and numbers are ported from its UnrealScript) and can play its maps, but it is its own game: code, tools, docs and art in this repository are ours.

  • No original game data in this repository. A Python pipeline (Tools/mfport) converts the maps, textures, sounds and models from your own copy of Mobile Forces into a separate content plugin, Mobile Forces Classic (Plugins/MobileForcesClassic). Disable that plugin and the game builds without any of it.
  • Community content whose authors agreed (list in Tools/mfport/packs.toml) is part of the game itself; textures it still borrows from the original game get replacement art over time (Docs/Pipeline.md).
  • Low-end first: forward shading, baked lighting, no Nanite / Lumen / virtual shadow maps, textures at most 512 px (256 on low), 4 GB VRAM is plenty (Docs/Performance.md).
  • Gameplay numbers carry the original value in a comment (Docs/Gameplay.md).

Quick start (new teammates)

Cloned the repo and only see a grey test range with a ball? That's MF_TestRange — the built-in physics sandbox. The actual game content (maps, weapons, vehicles, textures) needs to be imported from your Mobile Forces installation.

Easiest way:

python3 Tools/setup.py            # interactive: checks prereqs, sets up config, picks maps

Or list/import maps directly:

python3 Tools/setup.py --list-maps      # show the 22 core maps with authors
python3 Tools/setup.py --import-all     # import everything (takes a while first time)

Quick start (manual)

Requirements: Unreal Engine 5.8, Python 3.11+ with Pillow and numpy, Wine (Linux/macOS only; runs the original UCC.exe exporter for levels and sounds), ffmpeg (sounds, music), a Mobile Forces install for the classic content.

# 1. point the pipeline at your game (optional if the default path fits)
cp Tools/mfport/mfport.example.toml Tools/mfport/mfport.toml && $EDITOR Tools/mfport/mfport.toml

# 2. build the C++ modules
python3 Tools/play.py build

# 3. convert + import a map (warehouse ~10 min the first time; shaders compile once)
python3 Tools/mfport/mfport.py all mf-warehouse

# 4. play (map, mode dm|tdm|holdout|sc|ctf|det|cap|trailer|koh|tug, bots) - or `python3 Tools/play.py editor`
python3 Tools/play.py mf-warehouse tdm 8

# or start at the main menu (map / mode / bots / options / credits)
<UE>/Engine/Binaries/Linux/UnrealEditor "$PWD/DesktopForces.uproject" -game

On Windows: python Tools\package.py (or py -3) builds and packages, and the pipeline runs with python instead of Wine - Docs/Building.md, also for dual boot (one checkout shared by Linux and Windows).

Default controls are the original ones (WASD, mouse, Q loadout, R reload, 1-0 weapons, Ctrl / C crouch (nitro when driving), Shift walk, E get in / out of vehicles, G drop the flag, V orders (keys or mouse), F1 scores, Tab one-line console, ~ full console, Esc menu), plus X for armour/gadgets; in the loadout screen a number picks a row, a second number the item in it. Map URL options: ?game=/Script/DesktopForces.TeamDeathMatch (also Holdout, KingOfTheHill, ...), ?Bots=8?BotSkill=0.7, ?Teams=4, ?ScoreLimit=10?TimeLimit=5, ?Vehicles=0.

Layout

Path What
Source/DesktopForces/ Game module: player, movement, weapons (one file each), loadout, game modes, vehicles, HUD, menu
Source/DesktopForces/Game/<Mode>/, Weapons/<Name>/, Vehicles/<Name>/ The MF-mods (game modes, weapons and items, vehicles), part of the game - list in Modding
Source/DesktopForcesEditor/ Editor module: importer commandlet (-run=DFImport) that builds assets and maps from the pipeline output
SourceArt/ The team's own art and music (menu pictures, start-up theme, mod icons) - see CREDITS.md
Tools/artgen/ Procedural textures + SourceArt conversion
Tools/mfport/ Python pipeline: reads the original packages (.umf/.utx/.uax/.u), exports with UCC, converts BSP/meshes/textures/sounds
Tools/mfport/packs.toml Which converted content is part of the game and which stays classic
Tools/mfport/overrides/ Replacement textures (committed; take precedence over the originals)
Content/MF/ Our own assets (master materials, menu art, crate, test map) - committed
Content/Maps/, Content/MF/Community/ Converted community maps cleared for the game (tracked on Azure, generated on GitHub)
Plugins/MobileForcesClassic/ Content converted from the original game - generated locally, never committed
Tools/setup.py Interactive first-time setup and map import helper
Tools/sync_github.sh Export individual source commits to GitHub (--dry-run: only prepare) without checking out content
Docs/ How everything works

Docs

Licence

Code, tools and docs: Mozilla Public License 2.0 - see LICENSE.md. Contributing: CONTRIBUTING.md (sign off your commits). Art and music in SourceArt/ belong to their authors (CREDITS.md).

Mobile Forces is © Rage Software and its current rights holders. Desktop Forces is a fan-made game, not affiliated with them, and ships no original game data.

About

DF revival

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages