Skip to content

Dynamic modification of Romjakten to force it into a window for use on modern computers with high resolution

Notifications You must be signed in to change notification settings

hiirotsuki/romjakten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Romjakten Window Fix

Makes Romjakten behave in a normal window instead of a broken "fullscreen" mode.

How it works

Hooks the game's Import Address Table (IAT) to intercept Windows API calls:

  • CreateWindowExA: Hook and redirect the background window to be 640x480.
  • GetSystemMetrics: The game centers its 640x480 drawing area based on screen size, force the screen size to 640x480.
  • ShowWindow: Normalize maximize window calls.

Usage

  1. Compile with your favorite C compiler targeting win32 or download from releases tab.
  2. Inject into romjakt.exe with your favorite DLL injector like https://github.com/hiirotsuki/simpleloader/
  3. Enjoy!

About

Dynamic modification of Romjakten to force it into a window for use on modern computers with high resolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages