Skip to content

STH-Recompiled v1.1: crash fix and custom textures switch

Choose a tag to compare

@FlyinRabit205 FlyinRabit205 released this 03 Nov 10:08
· 21 commits to main since this release
05b49bf

Fixes the crash after long play sessions and adds a custom textures switch to the options menu.

Fixes

  • Crash after an hour or two of play (#2). The game starts short worker threads all the time, about one a second. The port never gave their memory back, so after one to two hours it ran out and the game crashed. Finished threads now return their memory, so long sessions stay stable. Thanks to @Infeernuss for the logs and crash dumps.

New

  • Custom textures on/off in the options menu. Press F1 (controller: BACK + START), go to GRAPHICS, CUSTOM TEXTURES. It takes effect at once. OFF shows the game's original textures.
  • Xbox colour keying in the renderer: textures with a key colour cut it out, as on the console.

Goal Ring squares (#1)

Still being worked on. The captures show the squares come from the port's renderer, not the texture pack; they appear with custom textures off too. F3 captures now record what decides each draw's transparency. One F3 capture at the Goal Ring with v1.1 will pin down the cause. Thanks to @duartepedro03 for the video and captures.

Updating from v1.0

Copy files\Shadow.exe from the new zip over the one in your install folder. Your game files, texture pack, settings and saves stay as they are. You can also run Setup again over the old folder.

Downloads

  • ShadowNativePort-v1.1-Windows.zip: run Setup.exe.
  • ShadowNativePort-v1.1-Linux.zip: runs through Proton or Wine 9+ (see README-Linux.txt).

Neither download contains game code or game files. You need your own copy of Shadow the Hedgehog (Xbox, USA).