Skip to content

Releases

Hard Corps: Uprising on Nintendo Switch 0.431 (experimental)

Choose a tag to compare

@rashevskyv rashevskyv released this 22 Nov 12:38

Hard Corps: Uprising (Xbox 360 XBLA, 2011) on Nintendo Switch, by static recompilation with the ReXGlue SDK. Built from commit bd9f83f. This release has the Switch build only (see "Windows and Linux" below).

New since 0.310

  • New build base. The Switch build now uses the SDK, toolchain and PGO tools of renut_nx_ultimate_base, with link-time optimisation and profile-guided optimisation. We did not compare its speed with 0.310.

  • Audio balance, three new lines in the settings menu (L3 + R3), live, 0 to 200 % in steps of 10:

    • SFX VOLUME (default 80 %): the sound effects.
    • MUSIC VOLUME (default 100 %): the music.
    • VOICE VOLUME (default 20 %): the voices and enemy cries, which were too loud in 0.310.
    • 100 % is the game's own mix. Above 100 % amplifies, and loud passages can clip. The voice and effect sounds are told apart by a table that the game builds at start from your game's sound banks. The split between voices and effects was checked in the log only, not by ear. Some sounds may be on the wrong line.
    • In settings.txt: sfx_gain=0.8, music_gain=1.0, voice_gain=0.2 (0 to 2).
  • FRAME RATE: 30, 45 or 60. 45 is new: it shows 3 of every 4 frames. 60 SKIP WHEN BUSY and 60 are now one mode: 60. 30 HALF SPEED is removed; a settings.txt with fps_mode=3 loads as 30. In every mode a frame is skipped when the GPU is still busy, so a slow GPU costs shown frames, not game speed. A slow CPU can still slow the game down. In 30 fps mode, a 30 Hz scene (the movies) is now drawn at 30 fps, not at about 15.

  • RESOLUTION (menu, applies at the next start): NATIVE 1280X720 (default), 1120X630, 960X540 or 800X450. A lower value draws fewer pixels and gives a softer picture. It is for stages where the GPU is too slow, not a recommended setting.

  • CHEATS page (menu line CHEATS, B goes back): GOD MODE, INFINITE LIVES, INFINITE HEALTH, KEEP WEAPONS, RAPID FIRE, a weapon and level lock for slot A and slot B, and START STAGE (1 to 8; a change jumps to that stage when the menu closes, if a stage is being played). All are off by default.

  • Automatic CPU/GPU clocks (opt-in). Add clocks=1 to sdmc:/switch/hcu/settings.txt (default 0: the game does not touch the clocks). Then the memory goes to 1600 MHz, and a governor sets the CPU/GPU pair. It starts on the first step of a preset, which is also the floor. When 3 or more frames are lost in one second, it goes one step up (two steps for 6 or more). After about 10 good seconds (longer after a failed step down) it goes one step down, never below the floor. The preset follows FRAME RATE and the console mode (handheld or docked), and it changes live when you change either one:

    Console, FRAME RATE Start and floor (CPU / GPU MHz) Top Measured?
    Handheld, 30 1122 / 384 1785 / 768 no: a guess
    Handheld, 45 1326 / 460.8 1785 / 768 no: a guess
    Handheld, 60 1785 / 844.8 1785 / 921.6 partly: handheld on one OLED, about 57.5 fps on average, with dips
    Docked, any 1683 / 844.8 1785 / 921.6 no: a guess
    • On the first Switch model (Erista), the game holds the GPU at 460.8 MHz on every step, handheld and docked. The CPU steps stay. Mariko, OLED and Lite use the table as it is. This path was not tested on an Erista console. Docked, it also lowers the GPU from the stock rate to 460.8 MHz.
    • sys-clk has priority: a clock that sys-clk sets is left to sys-clk. With Horizon OC or sys-clk-OC running, or firmware below 8.0.0, the game does not touch the clocks.
    • clocks_auto=0 turns the governor off (a fixed CPU 1581 / GPU 384). clocks_cpu=<MHz> and clocks_gpu=<MHz> set a fixed pair (clocks_cpu at most 1785, clocks_gpu at most 768).
    • When you quit the game, the old clocks come back.
  • The shader set is rebuilt from the console's shader dumps and a scan of the game files: 304 files in shaders/.

  • The FPS COUNTER also shows t <seconds> #<swap>, so a screenshot can be matched to a line in the log.

  • The log is now sdmc:/switch/hcu/hcu_log_<build id>.txt, one file per build.

  • The project license is now GPL-3.0-or-later (it was GPL-2.0-only). All authors of the port agreed to the change.

Known gaps

  • One pixel shader (hash DDA40E6A75645432) does not translate (a cube vector op); it is not in the archive. An object that uses it is not drawn.
  • Vertex shaders come only from shader dumps of played scenes. In a scene nobody has played with the port yet, some objects can be missing. The log hcu_log_<build id>.txt names each shader pair without a translated shader.
  • Not replaced yet: the controller picture on the How to play screen, the Guide button ring, and the texts "Press START" and "Xbox 360 controller" that are part of the game's images.

Diagnostic settings

input_record, input_replay and bench_seconds in settings.txt record and replay player 1's buttons for speed tests. They are diagnostic, off by default, and not for normal play. During a replay the controllers do not work, except L + R + ZL + ZR + Plus, which quits. Other new settings.txt keys (for example tiled_cache, cull, shadow_target, audio_threads) are test switches, off by default.

Read this first: experimental

This is a normal release, but it is still experimental software.

  • Little testing. This exact build was not started on a console yet. All tests used diagnostic builds on one console (Switch OLED, Mariko): short sessions, and a recorded 2.5-minute replay in 30 fps mode. The 45 fps mode and docked mode were not tested. Many stages and menus are not checked. Graphical glitches, crashes and freezes are possible, and save data may be lost.
  • The clock presets are mostly guesses. Only the handheld 60 fps start was partly measured, and the governor is only partly checked on a console. Overclocking is at your own risk; with clocks=0 (the default) the game does not change any clock.
  • 30 fps is the tuned default. 60 fps needs higher clocks (clocks=1 or sys-clk). At stock clocks the 45 and 60 fps modes can slow down in busy scenes.
  • Local 2-player needs two full controllers: a Pro Controller, a Joy-Con pair, or the console in handheld mode. A single Joy-Con (one half) is not supported. The Xbox LIVE features are not available.
  • Quit with the game's own menu, not by resetting the console.

Files

File What
hcu-0.431.bd9f83f-switch.zip Switch (Atmosphère + hbmenu). Unzip to the SD root. To update 0.310, unzip over it: your settings.txt, game files and saves stay. The licenses folder holds the third-party licence texts
SHA1SUMS, SHA256SUMS checksums

Switch NRO SHA-1: 96cf75635d4b09443e7ef88ab51a81ba2be5c875 (build 0.431.bd9f83f; the on-screen version and the logs show 0.431.bd9f83f-msr-pgo; hbmenu shows 0.431.bd9f83f-m, because the NACP field cuts at 15 characters).

You need your own copy of the game

Extract the XBLA package (tools/stfs_extract.py, or the PC port's launcher) and put the extracted files (default.xex and the data folders) into sdmc:/switch/hcu/game/. Start the game from hbmenu with title takeover (hold R while starting any installed game). Install details, controls and the settings menu (L3 + R3): see the README's Switch section.

Local 2-player (Switch)

  • Connect a second controller: a Pro Controller or a Joy-Con pair. A single Joy-Con (one half) is not supported, because the game uses every button of a full controller.
  • In handheld mode the console is player 1 and the wireless controller is player 2.
  • Docked, or with the Joy-Cons detached, wireless controller 1 is player 1 and wireless controller 2 is player 2.
  • To pair or reorder controllers without leaving the game, open the port menu (L3 + R3), pick CONTROLLERS and press A. The console's controller screen opens after a short flash.

DLC characters (Switch)

Harley Daniels, Sayuri and Leviathan work from your own Xbox Live Arcade marketplace packages of the DLC (not checked with this build). The release contains no DLC files. The Switch build reads DLC from sdmc:/switch/hcu/user/. Two ways to install it:

  • With the PC port: install each DLC package in the PC launcher (the DLC page, Install DLC...). Then copy the folder user_data/0000000000000000/58410A18 (next to the PC executable) to sdmc:/switch/hcu/user/0000000000000000/58410A18.
  • With the script: run python tools/stfs_extract.py --dlc <package> <SD>/switch/hcu/user for each package, where <SD> is the SD card root.

Both ways end with sdmc:/switch/hcu/user/0000000000000000/58410A18/00000002/<content id>/ and .../58410A18/Headers/00000002/<content id>.header. Details: the README's "DLC characters" section.

Windows and Linux

Not in this release. Use the 0.303 PC builds (release switch-0.303.fdae3aa on the Releases page: Windows x64 zip, Linux x86_64 AppImage, requirements there). The changes in this release are for the Switch build; no new PC build was made or tested.

Legal note

The archive contains the recompiled game program, which is a derived work of the game, and the translated shaders. It contains no game data (no graphics, sound, music or text) and no DLC, except the game's title image as the hbmenu icon of the NRO. The licence texts of the third-party parts are in the licenses folder. Use it only with a copy of the game you own. Hard Corps: Uprising belongs to Konami. This is an unofficial fan project, not affiliated with Konami, Arc System Works, Microsoft or Nintendo.

Hard Corps: Uprising on Nintendo Switch 0.310 (experimental)

Choose a tag to compare

@rashevskyv rashevskyv released this 15 Nov 17:16

Hard Corps: Uprising (Xbox 360 XBLA, 2011) on Nintendo Switch, by static recompilation with the ReXGlue SDK. Built from commit c728c58. This release has the Switch build only: the PC code did not change since 0.303 (see "Windows and Linux" below).

New since 0.303

  • Boss and enemy graphics: 12 shaders that were missing on the console are now translated (34 files in shaders/). Without them some objects were not drawn, for example the cart enemy and parts of a boss cannon on stage 1.
  • Switch button icons in the game's prompts: our own drawings of the Switch buttons (A, B, X, Y, L, R, ZL, ZR, +, -, the d-pad, the sticks, HOME) replace the Xbox icons. No Nintendo files are used.
  • New port menu item BUTTON ICONS: SWITCH (default) or XBOX (the game's Xbox icons with the A/B and X/Y pictures swapped, as in 0.303). It applies at the next start. In settings.txt: button_glyphs=switch or button_glyphs=xbox.
  • The log hcu_log.txt names each shader pair that has no translated shader (one line per pair), so a missing object can be reported with its shader numbers.

Known gaps

  • The boss and cart fix is checked on stage 1 only.
  • Not replaced yet: the controller picture on the How to play screen, the Guide button ring, and the texts "Press START" and "Xbox 360 controller" that are part of the game's images.

Read this first: experimental

  • Very little testing. A few hours of single player on one console, and a short check of local 2-player and the DLC characters. Many stages and menus are not checked. Graphical glitches, crashes and freezes are possible, and save data may be lost.
  • Local 2-player needs two full controllers: a Pro Controller, a Joy-Con pair, or the console in handheld mode. A single Joy-Con (one half) is not supported. The Xbox LIVE features are not available.
  • 30 fps by default. The game runs at full speed and every second frame is drawn. The 60 fps modes (FRAME RATE in the port menu) can slow the game down in busy scenes.
  • Enemy cries may sound too loud.
  • Quit with the game's own menu, not by resetting the console.

Files

File What
hcu-0.310.c728c58-switch.zip Switch (Atmosphère + hbmenu). Unzip to the SD root. To update 0.303, unzip over it: your settings.txt, game files and saves stay
SHA1SUMS, SHA256SUMS checksums

Switch NRO SHA-1: 9d7ba08ed2ae11218f313128fb2e6d8e25942336 (build 0.310.c728c58).

You need your own copy of the game

Extract the XBLA package (tools/stfs_extract.py, or the PC port's launcher) and put the extracted files (default.xex and the data folders) into sdmc:/switch/hcu/game/. Start the game from hbmenu with title takeover (hold R while starting any installed game). Install details, controls and the settings menu (L3 + R3: FRAME RATE, OVERLAY, FPS COUNTER, RUMBLE, BUTTON ICONS, CONTROLLERS): see the README's Switch section.

Local 2-player (Switch)

  • Connect a second controller: a Pro Controller or a Joy-Con pair. A single Joy-Con (one half) is not supported, because the game uses every button of a full controller.
  • In handheld mode the console is player 1 and the wireless controller is player 2.
  • Docked, or with the Joy-Cons detached, wireless controller 1 is player 1 and wireless controller 2 is player 2.
  • To pair or reorder controllers without leaving the game, open the port menu (L3 + R3), pick CONTROLLERS and press A. The console's controller screen opens after a short flash.

DLC characters (Switch)

Harley Daniels, Sayuri and Leviathan work from your own Xbox Live Arcade marketplace packages of the DLC. The release contains no DLC files. The Switch build reads DLC from sdmc:/switch/hcu/user/. Two ways to install it:

  • With the PC port: install each DLC package in the PC launcher (the DLC page, Install DLC...). Then copy the folder user_data/0000000000000000/58410A18 (next to the PC executable) to sdmc:/switch/hcu/user/0000000000000000/58410A18.
  • With the script: run python tools/stfs_extract.py --dlc <package> <SD>/switch/hcu/user for each package, where <SD> is the SD card root.

Both ways end with sdmc:/switch/hcu/user/0000000000000000/58410A18/00000002/<content id>/ and .../58410A18/Headers/00000002/<content id>.header. Details: the README's "DLC characters" section.

Windows and Linux

Not in this release. Use the 0.303 PC builds: switch-0.303.fdae3aa (Windows x64 zip, Linux x86_64 AppImage, requirements there). Everything new in 0.310 is Switch code, so a PC build of 0.310 would be the same program.

Legal note

The archive contains the recompiled game program, which is a derived work of the game, and the translated shaders. It contains no game data (no graphics, sound, music or text) and no DLC. Use it only with a copy of the game you own. Hard Corps: Uprising belongs to Konami. This is an unofficial fan project, not affiliated with Konami, Arc System Works, Microsoft or Nintendo.

Hard Corps: Uprising on Nintendo Switch 0.303 (experimental)

Choose a tag to compare

@rashevskyv rashevskyv released this 05 Nov 11:27

Hard Corps: Uprising (Xbox 360 XBLA, 2011) on Nintendo Switch, by static recompilation with the ReXGlue SDK. Built from commit fdae3aa.

New since 0.297

  • Local 2-player on the Switch, with two full controllers.
  • DLC characters (Harley Daniels, Sayuri, Leviathan) on the Switch, from your own DLC packages.
  • OVERLAY and FPS COUNTER are independent in the port menu: each one is shown or hidden alone.
  • The port menu is smaller, and it has a new CONTROLLERS item (the console's controller screen).

Read this first: experimental

  • Very little testing. A few hours of single player on one console, and a short check of local 2-player and the DLC characters. Many stages and menus are not checked. Graphical glitches, crashes and freezes are possible, and save data may be lost.
  • Local 2-player needs two full controllers: a Pro Controller, a Joy-Con pair, or the console in handheld mode. A single Joy-Con (one half) is not supported. The Xbox LIVE features are not available.
  • 30 fps by default. The game runs at full speed and every second frame is drawn. The 60 fps modes (FRAME RATE in the port menu) can slow the game down in busy scenes.
  • Enemy cries may sound too loud.
  • Quit with the game's own menu, not by resetting the console.

Files

File What
hcu-0.303.fdae3aa-switch.zip Switch (Atmosphère + hbmenu). Unzip to the SD root
hcu-0.303.fdae3aa-windows-x64.zip Windows 10/11 x64, Direct3D 12 (see below)
hcu-0.303.fdae3aa-linux-x86_64.AppImage Linux x86_64, Vulkan, glibc 2.38 or newer (see below)
SHA1SUMS, SHA256SUMS checksums

Switch NRO SHA-1: 655986f8f651647d9bf16cf0d37391ce08a6349f (build 0.303.fdae3aa).

You need your own copy of the game

Extract the XBLA package (tools/stfs_extract.py, or the PC port's launcher) and put the extracted files (default.xex and the data folders) into sdmc:/switch/hcu/game/. Start the game from hbmenu with title takeover (hold R while starting any installed game). Install details, controls and the settings menu (L3 + R3: FRAME RATE, OVERLAY, FPS COUNTER, RUMBLE, CONTROLLERS): see the README's Switch section.

Local 2-player (Switch)

  • Connect a second controller: a Pro Controller or a Joy-Con pair. A single Joy-Con (one half) is not supported, because the game uses every button of a full controller.
  • In handheld mode the console is player 1 and the wireless controller is player 2.
  • Docked, or with the Joy-Cons detached, wireless controller 1 is player 1 and wireless controller 2 is player 2.
  • To pair or reorder controllers without leaving the game, open the port menu (L3 + R3), pick CONTROLLERS and press A. The console's controller screen opens after a short flash.

DLC characters (Switch)

Harley Daniels, Sayuri and Leviathan work from your own Xbox Live Arcade marketplace packages of the DLC. The release contains no DLC files. The Switch build reads DLC from sdmc:/switch/hcu/user/. Two ways to install it:

  • With the PC port: install each DLC package in the PC launcher (the DLC page, Install DLC...). Then copy the folder user_data/0000000000000000/58410A18 (next to the PC executable) to sdmc:/switch/hcu/user/0000000000000000/58410A18.
  • With the script: run python tools/stfs_extract.py --dlc <package> <SD>/switch/hcu/user for each package, where <SD> is the SD card root.

Both ways end with sdmc:/switch/hcu/user/0000000000000000/58410A18/00000002/<content id>/ and .../58410A18/Headers/00000002/<content id>.header. Details: the README's "DLC characters" section.

Windows and Linux

Builds of this branch for PC. They are the upstream PC port (launcher, cheats, achievements, display options; the About page shows the upstream version 0.6.1) with one change: the recompiled code is generated with this branch's ReXGlue codegen fix (switch/sdk-edits-hcu.py: the vector registers stay in the context with non_volatile_as_local), which the intro movie needs. The PC source did not change since 0.297 (only the Switch code changed), so the program files inside both packages are byte-identical to the 0.297 ones. Tested only to the title screen: Windows on one PC, Linux in a software Vulkan driver (llvmpipe).

  • hcu-0.303.fdae3aa-windows-x64.zip: unzip, run hard_corps_uprising.exe, install your package from the launcher. SHA-1 1adf712b7c55b36727a9329a923217af33acf0c0.
  • hcu-0.303.fdae3aa-linux-x86_64.AppImage: mark it executable and run it. Built on Ubuntu 24.04, so it needs glibc 2.38 or newer (upstream's own builds need 2.31). SHA-1 a0f17b1ab97ea1f8d67584395134bac0062fa97e.

Requirements

Windows

Linux

  • x86_64 with glibc 2.38 or newer (for example Ubuntu 24.04, Fedora 39, Debian 13 or newer).
  • A GPU with a Vulkan driver.
  • FUSE 2 for the AppImage (libfuse2 / libfuse2t64). Without FUSE, run it with --appimage-extract-and-run.

Build notes: the Windows build used Visual Studio 2022 Build Tools with MSYS2's clang and the DirectX headers package (HCU_VS_ROOT, HCU_LLVM_BIN, HCU_DX_HEADERS in tools/build.ps1); the Linux AppImage was made with tools/package-linux.sh (HCU_MAX_GLIBC=2.38). Upstream's PC releases: saulob/hard-corps-uprising-recompiled.

Legal note

The archive contains the recompiled game program, which is a derived work of the game, and the translated shaders. It contains no game data (no graphics, sound, music or text) and no DLC. Use it only with a copy of the game you own. Hard Corps: Uprising belongs to Konami. This is an unofficial fan project, not affiliated with Konami, Arc System Works, Microsoft or Nintendo.

Hard Corps: Uprising on Nintendo Switch 0.297 (experimental)

Choose a tag to compare

@rashevskyv rashevskyv released this 03 Nov 17:56

Hard Corps: Uprising (Xbox 360 XBLA, 2011) on Nintendo Switch, by static recompilation with the ReXGlue SDK. Built from commit 5be467e.

Read this first: experimental

  • Very little testing. A few hours of single player on one console. Many stages and menus are not checked. Graphical glitches, crashes and freezes are possible, and save data may be lost.
  • One controller. Local 2-player and the Xbox LIVE features are not available. The DLC characters are not supported.
  • 30 fps by default. The game runs at full speed and every second frame is drawn. The 60 fps modes (FRAME RATE in the port menu) can slow the game down in busy scenes.
  • Enemy cries may sound too loud.
  • Quit with the game's own menu, not by resetting the console.

Files

File What
hcu-0.297.5be467e-switch.zip Switch (Atmosphère + hbmenu). Unzip to the SD root
hcu-0.297.5be467e-windows-x64.zip Windows 10/11 x64, Direct3D 12 (see below)
hcu-0.297.5be467e-linux-x86_64.AppImage Linux x86_64, Vulkan, glibc 2.38 or newer (see below)
SHA1SUMS, SHA256SUMS checksums

Switch NRO SHA-1: 0f96ad4e7eb6cfbc28c446608fe93ae9919c2beb (build 0.297.5be467e).

You need your own copy of the game

Extract the XBLA package (tools/stfs_extract.py, or the PC port's launcher) and put the extracted files (default.xex and the data folders) into sdmc:/switch/hcu/game/. Start the game from hbmenu with title takeover (hold R while starting any installed game). Install details, controls and the settings menu (L3 + R3: FRAME RATE, OVERLAY, FPS COUNTER, RUMBLE): see the README's Switch section.

Windows and Linux

Builds of this branch for PC, added to this release. They are the upstream PC port (launcher, cheats, achievements, display options; the About page shows the upstream version 0.6.1) with one change: the recompiled code is generated with this branch's ReXGlue codegen fix (switch/sdk-edits-hcu.py: the vector registers stay in the context with non_volatile_as_local), which the intro movie needs. Tested here only to the title screen: Windows on one PC, Linux in a software Vulkan driver (llvmpipe).

  • hcu-0.297.5be467e-windows-x64.zip: unzip, run hard_corps_uprising.exe, install your package from the launcher. SHA-1 13205ec0a7cfc44332f2e59c82225c60fc062fd2.
  • hcu-0.297.5be467e-linux-x86_64.AppImage: mark it executable and run it. Built on Ubuntu 24.04, so it needs glibc 2.38 or newer (upstream's own builds need 2.31). SHA-1 62595667edff4e42ad652877290fa30cf8e40bab.

Requirements

Windows

Linux

  • x86_64 with glibc 2.38 or newer (for example Ubuntu 24.04, Fedora 39, Debian 13 or newer).
  • A GPU with a Vulkan driver.
  • FUSE 2 for the AppImage (libfuse2 / libfuse2t64). Without FUSE, run it with --appimage-extract-and-run.

Build notes: the Windows build used Visual Studio 2022 Build Tools with MSYS2's clang and the DirectX headers package (HCU_VS_ROOT, HCU_LLVM_BIN, HCU_DX_HEADERS in tools/build.ps1); the Linux AppImage was made with tools/package-linux.sh (HCU_MAX_GLIBC=2.38). Upstream's PC releases: saulob/hard-corps-uprising-recompiled.

Legal note

The archive contains the recompiled game program, which is a derived work of the game, and the translated shaders. It contains no game data (no graphics, sound, music or text). Use it only with a copy of the game you own. Hard Corps: Uprising belongs to Konami. This is an unofficial fan project, not affiliated with Konami, Arc System Works, Microsoft or Nintendo.