-
-
Notifications
You must be signed in to change notification settings - Fork 203
Add OpenJKDF2 port for Star Wars Jedi Knight: Dark Forces II. #2499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
juanvillacortac
wants to merge
13
commits into
PortsMaster:main
Choose a base branch
from
juanvillacortac:openjkdf2-port
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
522d7e6
Add OpenJKDF2 port for Star Wars Jedi Knight: Dark Forces II.
juanvillacortac b2b5459
Improve OpenJKDF2 port compatibility and update metadata.
juanvillacortac e1fa66c
Update OpenJKDF2 port for handheld GLES display and ES launch layout.
juanvillacortac f4aff4f
Fix OpenJKDF2 launcher layout and native gamepad gptokeyb profile.
juanvillacortac b3feb4b
Actualizar README.md
juanvillacortac 8f297a4
Update README.md with new formatting and details
juanvillacortac fac6195
Slim OpenJKDF2 launchers and fix ROCKNIX GLES window creation.
juanvillacortac 9e549ed
Enable runtime handheld mode via OPENJKDF2_HANDHELD launcher flag.
juanvillacortac 68eef8e
Update OpenJKDF2 binary with GLES render-path optimizations.
juanvillacortac 34497be
Sync OpenJKDF2 launchers with SSAA 1.0 on H700 panels.
juanvillacortac 9861c7d
Update OpenJKDF2 binary with native handheld HUD layout.
juanvillacortac ba86dfd
feat: increase HUD size
juanvillacortac 2a9eb35
Update openjkdf2 binary with handheld perf micro-opts and amputation …
juanvillacortac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| ## Notes | ||
|
|
||
| Star Wars Jedi Knight: Dark Forces II (1997) by **LucasArts**. This port runs the **OpenJKDF2** engine (thanks to [ShinyQuagsire](https://github.com/shinyquagsire23/OpenJKDF2) and contributors). | ||
|
|
||
| You must own the game and copy the original files from **GOG** or **Steam** into `openjkdf2/jk1/`. Optional expansion **Mysteries of the Sith** goes in `openjkdf2/mots/` and can be switched from the in-game **Expansions & Mods** menu. | ||
|
|
||
| Saves and settings are stored under `openjkdf2/conf/`. | ||
|
|
||
| ## Supported firmware (PortMaster) | ||
|
|
||
| Requires **aarch64** and **PortMaster** with native **GLES** (Mali or equivalent). Tested on **knulli**; should also work on other PortMaster CFWs that meet those requirements. | ||
|
|
||
| | CFW | Ports folder (typical) | Status | | ||
| |-----|------------------------|--------| | ||
| | [knulli](https://knulli.org/) | `/userdata/roms/ports/` | Tested (RG34XX SP) | | ||
| | [muOS](https://muos.dev/) | `/mnt/mmc/ROMS/Ports/` or `/roms/ports/` | Expected | | ||
| | [ROCKNIX](https://rocknix.org/) | `/roms/ports/` | Expected | | ||
| | [ArkOS](https://github.com/christianhaitian/arkos) | `/roms/ports/` or `/roms2/ports/` | Expected | | ||
| | [Batocera](https://batocera.org/) | varies by device | Expected | | ||
| | AmberELEC / JELOS / UnofficialOS | `/roms/ports/` | Expected (aarch64 devices) | | ||
|
|
||
| **Not supported:** 32-bit **armhf** devices (RG351P/M/V, R36S, ODROID-GO Advance/Super, etc.) — this port ships `openjkdf2.aarch64` only. | ||
|
juanvillacortac marked this conversation as resolved.
Outdated
|
||
|
|
||
| **Recommended hardware:** Anbernic H700 family (RG35XX Plus/H/SP, RG34XX, RG40XX) or similar aarch64 handheld with 2 GB RAM and Mali GPU. | ||
|
|
||
| ## Installation | ||
|
|
||
| 1. Unzip the port to your CFW’s `ports/` folder (see table above). | ||
| 2. Copy JKDF2 game data to `openjkdf2/jk1/` (`episode/`, `resource/`, `MUSIC/`, etc.). | ||
| 3. (Optional) Copy MOTS data to `openjkdf2/mots/`. | ||
| 4. Launch **Star Wars Jedi Knight - Dark Forces II** from PortMaster. | ||
|
|
||
| If the game fails to start, check `openjkdf2/log.txt` on the device SD card. | ||
|
|
||
| ## Controls (handheld) | ||
|
|
||
| | Button | Action | | ||
| |--------|--------| | ||
| | Left stick / D-pad | Move | | ||
| | Right stick | Look | | ||
| | A | Use / Activate | | ||
| | B | Jump | | ||
| | X | Use inventory item / Force power | | ||
| | Y | Cycle weapon | | ||
| | L1 / R1 | Strafe | | ||
| | L2 / R2 | Inventory prev / next | | ||
| | Hold A + stick | Inventory selection | | ||
| | Start / Select | Pause menu (save, load, setup) | | ||
|
|
||
| Select+Start quits the port (PortMaster standard). | ||
|
|
||
| ## Build (porters) | ||
|
|
||
| Engine submodule + scripts live in the [port repository](https://github.com/juanvillacortac/OpenJKDF2). From a clone with submodules: | ||
|
|
||
| ```shell | ||
| ./build.sh | ||
| ``` | ||
|
|
||
| Fork with GLES/handheld patches: [juanvillacortac/OpenJKDF2](https://github.com/juanvillacortac/OpenJKDF2). | ||
|
|
||
| ## Thanks | ||
|
|
||
| - [LucasArts](https://www.lucasarts.com/) for the original game | ||
| - [OpenJKDF2](https://github.com/shinyquagsire23/OpenJKDF2) developers and community | ||
| - [PortMaster](https://portmaster.games/) for handheld port tooling | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.