Skip to content

Commit

Permalink
[PR:12] "BridgeApi" - RemixApi wrapper for x86 games
Browse files Browse the repository at this point in the history
- #12

- [REMIX-3433]
- Includes Remix API headers under new `ext/remix/` top-level dir
  - `remix_c.h` and `remix.h`
  - Added an #ifndef to be able to turn off non-x64 compiler error at top of `remix_c.h`
- Add new root dir `public/include/` for bridge-specific Remix API header
  - `public/include/remixapi/bridge_remix_api.h`
- Adds new util `Serializable<T>` helper class in `util_serializable.h`
  - Defines a uniform interface of functions to de-/serialize generic classes
- Adds new RemixApi util helpers in `util_remixapi.h/.cpp`
  - Defines `Serializable<T>`s for remixapi types, and adds extra helpers to handle their quirks
- Adds `remix_api.h/.cpp` to both Client and Server\
  - Helpers for handling the x86 -> x64 conversion
  • Loading branch information
nv-nfreybler committed Sep 18, 2024
2 parents f34857a + c7a4067 commit 2dd0a0e
Show file tree
Hide file tree
Showing 24 changed files with 4,251 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
_output/
_output
_comp*
_Comp*
_vs/**

.history
Expand Down
11 changes: 11 additions & 0 deletions bridge.conf
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@
# client.enableDpiAwareness = True


# Exposes Remix API through the bridge, allowing d3d9-hooked applications
# to call API functions directly, as opposed to going through the d3d9
# API.
# !!! EXPERIMENTAL !!! Defaults off until extensive testing results in
# full validation.
#
# Supported values: True, False

# client.exposeRemixApi = False


#
# Server Settings
#
Expand Down
Loading

0 comments on commit 2dd0a0e

Please sign in to comment.