Hard Corps: Uprising PC Port

Hard Corps: Uprising PC Port is a native Windows port of Hard Corps: Uprising that supports higher resolutions and custom anti-aliasing.

README

Hard Corps: Uprising — PC Port

Hard Corps: Uprising running natively on Windows through static recompilation, with the TRG launcher and modern PC options.

Latest release Downloads Platform

The original Xbox 360 game code, statically recompiled to native PC code with the ReXGlue SDK. No game files included: bring your own Hard Corps: Uprising Xbox Live Arcade package.

What you need

  • Windows 10 or 11, 64-bit, and a DirectX 12 graphics card
  • The latest Microsoft Visual C++ 2015-2022 Redistributable (x64). Most PCs already have it.
  • Your own Hard Corps: Uprising Xbox Live Arcade package, this exact game version:
GameHard Corps: Uprising, Xbox Live Arcade
Title ID58410A18
Content type000D0000 (Xbox Live Arcade), STFS LIVE package
Media ID3C5663CB
Game version0.0.0.3
default.xex12,955,648 bytes, CRC32 3DF903B9, SHA-256 530EDE8ED5271051A2AB19C077A97FB167E4F30B094C292E8F59D37D0D2069DC

The launcher checks the Title ID when you pick the package, and checks default.xex after extracting it. Package containers can differ between copies, so default.xex is what identifies the version. Any other version is refused, because the port is built for this exact game code.

Installing

  1. Download HardCorpsUprising-v0.1.0-windows-x64.zip from the latest release and extract it anywhere you can write to.
  2. Run hard_corps_uprising.exe. The launcher opens.
  3. On the Play page click Install from package... and pick your package. It is one file with a long hexadecimal name and no extension. On an Xbox 360 drive it is in Content\0000000000000000\58410A18\000D0000\.
  4. Wait until Ready to play appears. The game files (about 1 GB) are copied into the game folder next to the program. The package file itself is not copied there.
  5. Press PLAY.

No game files are included in the release.

Reinstall from package... repairs the game files and keeps your settings and saves.

Windows SmartScreen

Windows may warn the first time you run the program, because the release is not digitally signed. If you downloaded it from this repository's releases page, choose More info, then Run anyway.

The launcher

The launcher opens before the game. Your choices are saved to settings.toml in Documents\hard_corps_uprising. To turn the launcher off, set Show this launcher to Off on the Play page. Hold Shift while starting to bring it back.

Play
  • Install from package... with the Title ID and game version checks, and Reinstall from package...
  • The Ready to play status, and the Show this launcher setting
Display
  • Display mode: Windowed or Borderless Fullscreen. Press F11 while playing to switch between them.
  • Window size and Monitor
  • VSync on or off
  • Aspect ratio: Letterbox 16:9 keeps the game's picture on any window shape; Stretch fills the window

Window size, monitor and VSync take effect when you press PLAY. If one differs from the launcher's window, the game restarts once in a new window.

Graphics
  • Render resolution: Original (1280×720), 2x (2560×1440, recommended for 1440p), 3x (3840×2160) or 4x (5120×2880)
  • Anti-aliasing: Off, FXAA or FXAA Extreme
  • Multisampling: 2x MSAA on or off
  • Texture filtering: Game, Off, 2x, 4x, 8x or 16x
Gameplay
  • Frame rate in title: shows the frame rate in the window title, for example Hard Corps: Uprising | FPS: 60.00
Controls
  • Xbox 360 controllers work without setup
  • Keyboard: enabled or disabled. The keys are listed on the page; docs/input.md has the full layout.
  • Plain arrow keys are the right stick. Menus use W A S D or Shift + arrow keys.
  • Local two-player works with two Xbox controllers. The keyboard and a connected controller both drive player 1.
  • Online multiplayer is not supported.
About
  • The port version, game version and library versions
  • Open the game folder, or the saves and settings folder
  • Show settings file, and Reset all settings

Screenshots

title_screen

gameplay

Reporting problems

If the game does not start or crashes, please open an issue. Attach the newest hard_corps_uprising_*.log file from the logs folder next to the program, and say what you were doing when the problem happened.

Building it yourself

The recompiled C++ is generated from your own game files, so the repository does not contain it. Clone with submodules, so the TRG launcher is included:

git clone --recurse-submodules https://github.com/saulob/hard-corps-uprising-recompiled.git

In an existing clone, run git submodule update --init --recursive.

  1. Install Visual Studio with the C++ and LLVM/Clang components. tools\build.ps1 expects Visual Studio 18 Community at its default location.
  2. Extract your package's files into game\extracted with an Xbox 360 STFS extractor, so that game\extracted\default.xex exists.
  3. .\tools\codegen.ps1 downloads the pinned ReXGlue SDK 0.10.0, checks default.xex and generates the C++ into generated\.
  4. .\tools\build.ps1 builds build\hard_corps_uprising.exe. .\tools\build.ps1 -Run also starts it.
  5. .\tools\package-release.ps1 makes the release ZIP in dist\. It publishes nothing.

How the launcher, settings and installer work is described in docs/launcher.md. The other technical notes are in docs/.

Credits

  • Hard Corps: Uprising by Arc System Works, published by Konami for Xbox Live Arcade (2011). This is an unofficial fan-made PC port. It is not affiliated with or endorsed by Konami or Arc System Works, and it contains none of their files.
  • ReXGlue SDK for the recompiler and runtime (BSD 3-Clause)
  • TRG Launcher, the launcher interface, pinned at v1.1.0. The referenced revision contains no explicit license file.
  • The launcher and package installer follow the approach of the Earthworm Jim HD PC port
  • The licenses of the libraries the release includes are in the licenses folder of the ZIP

AI disclosure

AI tools were used to assist with code analysis, development, debugging and documentation. Changes were directed, tested and reviewed by the maintainer.

License

Original code in this project is licensed under the GNU General Public License v2.0 only (GPL-2.0-only). See LICENSE.

Third-party components retain their respective licenses and notices. See licenses/ReXGlue-LICENSE.txt and licenses/THIRD-PARTY-LICENSES.txt.

No game files are included. Hard Corps: Uprising and its assets are not covered by this project's license.