Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Bug report
description: Something in OpenRAGE does not work as it should.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug!
For quick questions or help with the setup, the [Matrix room](https://matrix.to/#/#openRAGE:nope.chat) is often faster.

**Please do not attach game files, executables or encryption keys.** OpenRAGE takes them from your own copy of the game.
- type: dropdown
id: game
attributes:
label: Game
options:
- GTA V Legacy
- GTA V Enhanced
- GTA VI
- Red Dead Redemption 2
- GTA IV
- Not game-specific
validations:
required: true
- type: input
id: game-version
attributes:
label: Game version and store
description: For example "1.0.3725, Steam" or "Rockstar Launcher, July 2026 update".
- type: input
id: version
attributes:
label: OpenRAGE version
description: Shown under Help → About OpenRAGE, or with `openrage --version`.
placeholder: "0.6.0"
validations:
required: true
- type: dropdown
id: os
attributes:
label: Operating system
options:
- Linux
- Linux (Steam Deck)
- Windows
validations:
required: true
- type: dropdown
id: install
attributes:
label: How did you install OpenRAGE?
options:
- AppImage
- Flatpak
- .tar.gz (Linux)
- .zip (Windows)
- Built from source
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you do, and what went wrong? Error messages as text help more than screenshots alone.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: If you know them, the steps that lead to the problem.
placeholder: |
1. Open …
2. Click …
3. See the error
- type: textarea
id: expected
attributes:
label: What did you expect instead?
- type: textarea
id: mods
attributes:
label: Mods in the game folder
description: ASI loaders, Script Hook, SHVDN, LML, `dinput8.dll`, `xinput1_4.dll` and the like can change what OpenRAGE detects. List what you have installed, if anything.
- type: textarea
id: logs
attributes:
label: Output or logs
description: If you started OpenRAGE from a terminal, paste what it printed. This is shown as code, no backticks needed.
render: text
- type: checkboxes
id: checks
attributes:
label: Before sending
options:
- label: I searched the existing issues and did not find this bug.
required: true
- label: I did not attach game files, executables or keys.
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Help and questions (Matrix)
url: https://matrix.to/#/#openRAGE:nope.chat
about: Help with installing, setting up your game and using OpenRAGE.
- name: Documentation
url: https://two-play.github.io/openrage/guide/
about: Getting started, the explorer, modding and every command.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Feature request
description: Suggest a new feature, format or game for OpenRAGE.
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for the idea! Rough ideas can also be discussed first in the [Matrix room](https://matrix.to/#/#openRAGE:nope.chat).
- type: textarea
id: problem
attributes:
label: What do you want to do?
description: Describe the task or the problem, not only the solution. For example "I want to replace the textures of a weapon in RDR2".
validations:
required: true
- type: textarea
id: solution
attributes:
label: How could OpenRAGE help?
description: "How you imagine it working: a button, a command, a new format, …"
- type: dropdown
id: game
attributes:
label: Game
multiple: true
options:
- GTA V
- GTA VI
- Red Dead Redemption 2
- GTA IV
- Not game-specific
- type: textarea
id: openiv
attributes:
label: How do other tools do it?
description: If OpenIV, CodeWalker or another tool already does this, say how. Links to formats or documentation help a lot.
- type: checkboxes
id: checks
attributes:
label: Before sending
options:
- label: I searched the existing issues and did not find this idea.
required: true
19 changes: 19 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- Thanks for contributing! Pull requests go into `develop`. -->

## What does this change?

<!-- A short description of the change and why it is needed. Link the issue it fixes, e.g. "Fixes #123". -->

## How was it tested?

<!-- Commands you ran, games and versions you tried it with, screenshots for GUI changes. -->

## Checklist

- [ ] The pull request targets `develop`.
- [ ] Every commit is signed off (`git commit -s`, see [CONTRIBUTING.md](https://github.com/Two-Play/openrage/blob/develop/CONTRIBUTING.md#licences-and-sign-off)).
- [ ] Code from other projects has a compatible licence and is listed in `NOTICE.md`.
- [ ] `cargo fmt --all --check` and `cargo test` pass locally.
- [ ] No game files, executables, encryption keys or extracted game assets are included.
- [ ] Large generated files (dictionaries, test data) are left out or discussed first.
- [ ] Documentation in `site/` is updated if the change affects users.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
include:
# macOS (Apple silicon) is a preview: its result is shown but does not block.
- os: macos-latest
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental || false }}
steps:
- uses: actions/checkout@v5
- name: Install system libraries for the GUI (Slint, audio output)
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: DCO

# Every commit of a pull request must be signed off under the Developer
# Certificate of Origin (https://developercertificate.org/), with a
# "Signed-off-by:" line that names the commit's author (`git commit -s`).
# See CONTRIBUTING.md. Merge commits and bots are skipped.
on:
pull_request:

permissions:
contents: read

jobs:
sign-off:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Check the sign-off of every commit
env:
BASE: ${{ github.event.pull_request.base.sha }}
HEAD: ${{ github.event.pull_request.head.sha }}
run: |
failed=0
for c in $(git rev-list --no-merges "$BASE..$HEAD"); do
author_name=$(git log -1 --format='%an' "$c")
author_mail=$(git log -1 --format='%ae' "$c")
subject=$(git log -1 --format='%h %s' "$c")
case "$author_mail" in
*'[bot]@users.noreply.github.com') echo "skip (bot): $subject"; continue ;;
esac
# The sign-off must carry the author's e-mail address.
if git log -1 --format='%(trailers:key=Signed-off-by,valueonly)' "$c" \
| grep -qiF "<$author_mail>"; then
echo "ok: $subject"
else
echo "::error::Commit $subject has no 'Signed-off-by: $author_name <$author_mail>' line."
failed=1
fi
done
if [ "$failed" = 1 ]; then
echo
echo "Sign off your commits under the Developer Certificate of Origin (see CONTRIBUTING.md):"
echo " last commit: git commit --amend -s --no-edit"
echo " all commits: git rebase --signoff ${{ github.event.pull_request.base.ref }}"
echo "then push again (git push --force-with-lease)."
exit 1
fi
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release

# Pushing a tag such as v0.2.0 builds OpenRAGE for Linux (.tar.gz, AppImage
# and Flatpak) and Windows (.zip) and publishes a GitHub release with them and
# their SHA-256 checksums.
# and Flatpak), Windows (.zip) and macOS (Apple silicon, .tar.gz; preview) and
# publishes a GitHub release with them and their SHA-256 checksums.
# "Run workflow" (manual) builds the same archives without publishing, to
# try a release first. Tests are not repeated here: CI runs them on every
# change to main, which is where release tags are cut from.
Expand All @@ -28,7 +28,12 @@ jobs:
name: linux-x86_64
- os: windows-latest
name: windows-x86_64
# Preview: a failed macOS build does not hold up the release.
- os: macos-latest
name: macos-arm64
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental || false }}
steps:
- uses: actions/checkout@v5
- name: Check that the tag matches the version in Cargo.toml
Expand Down Expand Up @@ -75,6 +80,10 @@ jobs:
if [ "$RUNNER_OS" = "Windows" ]; then
cp target/release/openrage.exe target/release/openrage-gui.exe "$dir/"
7z a -tzip "out/$dir.zip" "$dir" > /dev/null
elif [ "$RUNNER_OS" = "macOS" ]; then
cp target/release/openrage target/release/openrage-gui packaging/openrage.png "$dir/"
cp packaging/macos/README-macOS.txt "$dir/"
tar czf "out/$dir.tar.gz" "$dir"
else
cp target/release/openrage target/release/openrage-gui "$dir/"
cp packaging/openrage.desktop packaging/openrage.png packaging/openrage-mime.xml "$dir/"
Expand Down
63 changes: 63 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Contributing to OpenRAGE

Thanks for wanting to help! Bug reports, ideas, documentation, testing on your own game and code are all welcome.

## Talk to us

- **Matrix:** [#openRAGE:nope.chat](https://matrix.to/#/#openRAGE:nope.chat) for questions, help and development.
- **GitHub Issues:** for bugs that can be reproduced and for feature requests. Please use the templates.

For bigger changes (a new game, a new archive format, a large refactoring), open an issue or ask on Matrix first, so that we can agree on the approach before you put a lot of work in.

## Pull requests

- Work goes into **`develop`**; `main` only takes releases. Please target `develop`.
- Keep pull requests focused: one feature or fix each. Large changes are easier to review in several smaller steps.
- Run `cargo fmt --all --check` and `cargo test` before opening the pull request.
- Update the documentation in [`site/`](site/) when the change affects users.

Building from source, the build environment and the project layout are described on the [development page](https://two-play.github.io/openrage/development/).

## What we cannot accept

OpenRAGE contains no game files and no encryption keys, and it has to stay that way. Please never commit or attach:

- game files, executables or encryption keys,
- assets extracted from a game (models, textures, sounds, …),
- leaked or otherwise unlawfully obtained material.

Large generated files, such as name dictionaries, should be discussed first; they may be better shipped separately.

## Licences and sign-off

OpenRAGE has three licences, depending on the part of the project:

| Part | Licence |
|---|---|
| Everything not listed below | GPL-3.0-only |
| `crates/rage-tfit2` | AGPL-3.0-only |
| Plugin interface and SDK (`crates/openrage-plugins/wit`, `plugins/`) | MIT OR Apache-2.0 |

**Your contribution is licensed under the licence of the files you change** ("inbound = outbound"). You keep your copyright; there is no contributor licence agreement (CLA).

### Developer Certificate of Origin

Every commit has to be signed off under the [Developer Certificate of Origin 1.1](https://developercertificate.org/). With the sign-off you confirm that you wrote the change yourself, or otherwise have the right to submit it under the project's licence. Add it with `-s`:

```sh
git commit -s -m "Your message"
```

This adds a line with your name and e-mail address to the commit message:

```
Signed-off-by: Your Name <you@example.com>
```

A check on every pull request makes sure each commit carries a sign-off with its author's e-mail address. Use a name you are known by; a pseudonym is fine. Forgot it? `git commit --amend -s` fixes the last commit, `git rebase --signoff develop` all commits of your branch.

### Code from elsewhere

- Code from other projects is welcome if its licence is compatible with the part you add it to. Keep its copyright notice, name the source in the commit message and add it to [NOTICE.md](NOTICE.md).
- Do not copy code whose licence is unknown or incompatible, and no code decompiled or copied from a game or from closed-source tools. Findings from reverse engineering (how a format is laid out) are fine; describe them in your own code.
- New dependencies must pass the licence check (`cargo deny check licenses`, also run in CI).
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# OpenRAGE

**The open-source successor to OpenIV — mod GTA V and Red Dead Redemption 2, and explore GTA VI, on Linux and Windows.**
**The open-source successor to OpenIV — mod GTA V and Red Dead Redemption 2, and explore GTA VI, on Linux, Windows and macOS.**

### 🌴 New: GTA VI works!

Expand All @@ -21,7 +21,7 @@ edit game text and install `.oiv` packages — compatible with OpenIV's `mods` f
[![Dev environment](https://github.com/Two-Play/openrage/actions/workflows/dev-env.yml/badge.svg)](https://github.com/Two-Play/openrage/actions/workflows/dev-env.yml)
[![License: GPL-3.0](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](LICENSE)
[![Rust 1.99](https://img.shields.io/badge/rust-1.99-orange.svg?logo=rust)](rust-toolchain.toml)
[![Platforms](https://img.shields.io/badge/platform-Linux%20%7C%20Windows-lightgrey.svg)](#installation)
[![Platforms](https://img.shields.io/badge/platform-Linux%20%7C%20Windows%20%7C%20macOS-lightgrey.svg)](#installation)
[![GUI: Slint](https://img.shields.io/badge/GUI-Slint-2379F4.svg)](https://slint.dev)
[![GPU: wgpu](https://img.shields.io/badge/GPU-wgpu-8A2BE2.svg)](https://wgpu.rs)

Expand Down Expand Up @@ -74,7 +74,7 @@ More screenshots and all features: **[two-play.github.io/openrage](https://two-p

## Installation

Download the [latest release](https://github.com/Two-Play/openrage/releases/latest) for Linux (AppImage, Flatpak or `.tar.gz`) or Windows (`.zip`) and start `openrage-gui`. On first start it finds your game and sets up the keys. Step by step: **[Getting started](https://two-play.github.io/openrage/getting-started/)**.
Download the [latest release](https://github.com/Two-Play/openrage/releases/latest) for Linux (AppImage, Flatpak or `.tar.gz`), Windows (`.zip`) or macOS (Apple silicon, `.tar.gz`, preview) and start `openrage-gui`. On first start it finds your game and sets up the keys. Step by step: **[Getting started](https://two-play.github.io/openrage/getting-started/)**.

For the GTA VI preview, choose the folder containing `game_scarlett_master.exe` or RPF9 archives. With the supported executable beside the archives, OpenRAGE reads their tables of contents with the keys in it (the keys are not stored), so archives open at once. Names are matched to the hashes in the tables; files without a match are listed under `entries/`. Without the executable, or with another build, the explorer indexes the archives in the background and caches the results, which can take several minutes for large archives; recovered entries are then grouped by file type and offset, with model names recovered from their data where possible. Editing RPF9 archives is not supported.

Expand All @@ -100,6 +100,14 @@ cargo build --release # target/release/openrage-gui and target/release/open

The website lives in [`site/`](site/) and is built from Markdown.

## Community

Questions, ideas, or want to show what you made? Join us on **Matrix**: **[#openRAGE:nope.chat](https://matrix.to/#/#openRAGE:nope.chat)**

New to Matrix? Open the link and pick a client, for example [Element](https://element.io/download); creating an account is free.

Found a bug or have a feature request? [Open an issue](https://github.com/Two-Play/openrage/issues/new/choose). Want to contribute code? See [CONTRIBUTING.md](CONTRIBUTING.md).

## License

GPL-3.0-only, except `crates/rage-tfit2` (the RDR2 archive cipher, ported from an AGPL-3.0 project), which is AGPL-3.0-only, and the plugin interface and SDK (`crates/openrage-plugins/wit`, `plugins/`), which are MIT OR Apache-2.0 so that plugins may use any licence. See [LICENSE](LICENSE) and [NOTICE.md](NOTICE.md) for third-party attributions, and [THIRD_PARTY_LICENSES.md](THIRD_PARTY_LICENSES.md) for the licenses of all third-party crates in the programs (generated from `Cargo.lock`, checked in CI). The same is in the app under **Help → About OpenRAGE**, via `openrage licenses` and on the [licenses page](https://two-play.github.io/openrage/licenses/).
Expand Down
Loading
Loading