haekb / nolf1-modernizer

The goal of NOLF Modernizer is to help fix some long standing bugs, and update some more outdated features of the game.
https://haekb.itch.io/nolf-modernizer
45 stars 11 forks source link

Console Implementation #12

Closed haekb closed 4 years ago

haekb commented 4 years ago

Found the pointer for the function that CPrint ships whatever you write to. This happens to also be the function the engine uses to print to a console or log file.

Used detours to hook into it, and replace it with my own. Then I ported the console from NOLF2M over.

Functional, but ugly.

haekb commented 4 years ago

image Loooooking good now. Needs some final tweaks, and an optional black background.