https://github.com/hiirotsuki/romjakten
Dynamic modification of Romjakten to force it into a window for use on modern computers with high resolution
https://github.com/hiirotsuki/romjakten
c dll dyphavsjakten romjakten
Last synced: about 1 year ago
JSON representation
Dynamic modification of Romjakten to force it into a window for use on modern computers with high resolution
- Host: GitHub
- URL: https://github.com/hiirotsuki/romjakten
- Owner: hiirotsuki
- Created: 2025-01-29T08:29:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-15T11:37:29.000Z (about 1 year ago)
- Last Synced: 2025-05-15T12:34:42.130Z (about 1 year ago)
- Topics: c, dll, dyphavsjakten, romjakten
- Language: C
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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!