github shinyquagsire23/OpenJKDF2 v0.6.11
v0.6.11 64-bit Debug

latest releases: v0.9.9, v0.9.8, v0.9.7...
pre-release4 years ago

What's new?

  • Hotfix: Fixed force alignment on Windows builds
  • Bugfix: Fixed a nullptr dereference that could happen in co-op
  • Bugfix: Fixed a crash in SetThingModel
  • Bugfix: Fixed chat text cropping with larger fonts or with long chat messages.
  • Enhancement: Added support for downsampling 24-bit WAVs to 16-bit WAVs.
  • Installation now defaults to SDL_GetPrefPath locations (old installs will continue to work):
    • Windows: %APPDATA%\OpenJKDF2\openjkdf2\
    • macOS: ~/Library/Application Support/OpenJKDF2/openjkdf2
    • Linux: ~/.local/share/OpenJKDF2/openjkdf2/ ($XDG_DATA_HOME/OpenJKDF2/openjkdf2)
    • Linux Flatpaks: ~/.var/app/org.openjkdf2.OpenJKDF2/data/OpenJKDF2/openjkdf2
    • In -motsCompat mode, the last openjkdf2 folder is changed to openjkmots, ie %APPDATA%\OpenJKDF2\openjkmots\
  • MoTS (experimental):
    • When running openjkdf2-64.exe from an existing MoTS installation, it will autodetect a MoTS CD key and apply the -motsCompat flag automatically.
    • Added OPENJKMOTS_ROOT for overriding the MoTS root directory separate from OPENJKDF2_ROOT, when launching with -motsCompat.
  • Added an Extensions & Mods menu (WIP):
    • The asset directory can now be accessed in-game by clicking on Open Resource Folder.
    • In the future, this will be where you can install and switch between JKDF2 and JKMoTS, as well as launching other total-conversion style mods.
    • Open Resource Folder is also useful for finding OpenJKDF2.RPT and crash.log for bug reporting.
mods.mp4

About these builds

Currently, I am only providing 64-bit builds for Windows and MacOS to find regressions and undefined behavior; Linux can download via Flathub or compile manually (See BUILDING.md for instructions). It is recommended to backup any savedata you place significant value on before running.

About Experimental JK MoTS support

  • MoTS cannot be completed yet! However, I will gratefully accept any bug reports on game behavior, because it helps me to keep track of what needs to be done. There's a lot, the debug menu is your friend :)
  • MoTS mode can be launched by adding the -motsCompat command line argument. This will move asset searching to openjkmots instead of openjkdf2 and unlock all additional COG verbs and other changes.

Running

  • Windows: Extract the distribution zip so that openjkdf2-64.exe is in the same directory as JK.EXE, then run openjkdf2-64.exe.
  • MacOS: Copy OpenJKDF2.app into your Applications folder and run it. You may need to right click -> Open to get around Gatekeeper.
  • Linux: Install via Flathub, or compile and copy openjkdf2 into the same directory as JK.EXE and run.

If game assets are missing, an install prompt will show on startup and ask for either:

  • An existing GOG/Steam/original installation
  • An original Disk 1, followed by Disk 2

To transfer saves, enter the main menu and select Expansions & Mods, then click Open Resource Folder. A window will open where you can copy your old player folder to. You can also install any mods to mods/ and episodes/.

mods.mp4

My game crashed, what do I do?

I'm looking for regressions and crashes! File an issue or email me at mtinc2@gmail.com with a crash stacktrace. If it's reproducible, a savefile or instructions to reproduce would also be appreciated.

  • Windows: Copy the crash log from openjkdf2-64.RPT.
  • MacOS: Cmd+Space, type Console.app and copy the entire crash report from openjkdf2-64. Alternatively, copy the crash log from crash.log
  • Linux: Copy the crash log from crash.log or the console output.

To open the asset directory where the crash log is located, enter the main menu and select Expansions & Mods, then click Open Resource Folder, as shown in the above mp4.

QoL feature notes:

  • Built-in jkgfxmod texture pack support
  • IPv6 Multiplayer support, based on Valve's GameNetworkingSockets
  • SDL2 controller/joystick support, with up to 32 buttons bindable.
  • Emissive Textures, Bloom, Screenspace Ambient Occlusion (SSAO)
  • Music is loaded from audio tracks at MUSIC/Track<12..32>.ogg in Ogg Vorbis format (same as the GOG/Steam releases), if they are present. Music can also be loaded from MUSIC/1/Track<1..11>.ogg and MUSIC/2/Track<1..11>.ogg for installs made from original disks. The music looping bug is also fixed.
  • Menus, cutscenes and the game viewport auto-rescale to the window size, with appropriate aspect ratios (ultrawide, or at least wide-er monitor support).
  • Game runs at full framerates by default instead of 30FPS/50FPS in Singleplayer (validated up to 144FPS)
    • FPS can be capped to any value in Setup > Display
    • VSync can be enabled or disabled in Setup > Display
  • Weapon waggle is scaled properly with FPS
  • FOV is adjustable in Setup > General
  • HiDPI is configurable in Setup > General
  • HUD elements are scaled with screen resolution
  • LOD and mipmap distances are scaled with render resolution to ensure textures and models don't degrade noticeably on higher-resolution screens.

What isn't working:

  • Using plus or minus to resize the screen (with SDL2, resolution auto-resizes to window size)
  • In-game screenshots

Don't miss a new OpenJKDF2 release

NewReleases is sending notifications on new releases.