SOTHR - utilities

Warhammer: Shadow of the Horned Rat

For the Win95 version of sothr (English v1.1)( Mobygames ) :: Batch script to install the game from the CD. Full-Install, No-CD required after installation.

The batch script requires the 32-bit version of cmd.exe run as an administrator. On Windows 64-bit that would be %windir%\sysWOW64\cmd.exe

post-install, right-click on whshr.exe, select properties, navigate to the compatibility tab
set compatibility mode to "Windows 95"
set 256-colors
set 640x480 resolution
set "Disable display scaling on high DPI settings" (src included) :: export the game's sprite files as bitmaps.

Extract all (~8,000) with a batch script:
FOR %%f in (*.BOP) DO sothr_spr %%~nf (src included) ::Color and Animated Cursors ported from the Dark Omen cursor fix

The new cursors require the game to run in a color depth of 32bpp. This should not be a problem for the release. The original releases are hit & miss on Windows because of the compatibility shims. On WINE, we can just patch out the 32bpp color check.

File: WHSHR.EXE (v1.1)
Description: Skip check for 8bpp display.
File Offset: 0x00041833
Patch Bytes: 0x90 0x90 0x90 0x90 0x90 0x90
Original Bytes: 0x0F 0x85 0x0C 0x00 0x00 0x00

File: WHSHR.EXE (v1.1)
Description: Force 32bpp display.
File Offset: 0x00042EC0
Patch Bytes: 0x6A 0x20
Original Bytes: 0x6A 0x08