http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 12:57:46 GMT 10
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 13:04:41 GMT 10
REHDHook v1.0.0.3 [CHG] Plugin interface version has changed to 1.01! (Plugins need to be recompiled with the new SDK.) [ADD] Added configuration options to override the window size. [FIX] Fixed a bug with the configuration manager not using boolean values properly. [ADD] Added the hook version to the launcher. [ADD] The launcher will now auto-close when injection is completed successfully. [ADD] Added automousehide, doorskip, and speedtimer addons to the release package. [ADD] Added some more documentation. [CHG] Changed the Changelog format some. [CHG] Removed console key configuration from rehdhook.xml, it is now inside of the Default.txt [ADD] Added screen size overriding allowing users to render the game at any resolution they want. [ADD] Added screen size aspect resolution overriding too. (Use these features with caution!) [ADD] Added new screenshot plugin. (Allows plugins to be saved in bmp, jpg and png formats.) [FIX] Fixed FPS plugin displaying double the fps. [ADD] Added Direct3DPrePresent and Direct3DPostPresent calls to plugins. (Not added to addons since they can't make use of it.) [ADD] XRemap plugin is now part of the main release package.
Some stuff to note with this change: - The console key has been moved to default.txt instead of the xml configuration. This is done to reduce clutter in the xml. - Any personal plugins will need to be recompiled with the SDK to work with v1.0.0.3! (New Direct3D callbacks are added.)
The new window size and aspect overriding is fairly "fragile". Meaning if you use bad values the following can happen: - The game will crash. - The game will hang/freeze. - The game will over-render off-screen. Meaning the game will render too big for the window and get cut off.
So be sure to use proper values while you are working with them.
REHDHook v1.0.0.2 [FIX] Fixed console lines overrunning when newlines are used. (May has have some left-over bugs, we'll see!) [FIX] Fixed a bug with the configuration manager not loading files properly.
REHDHook v1.0.0.1 [FIX] Fixed a left-in bug for setting the window to an invalid style. [ADD] Added /quit as a console command to also exit the game immediately. [CHG] Changed the way the console is first initialized. [CHG] Changed the way the console handles when the device is reset. [FIX] Fixed a bug in the example addon. (Was missin the common require.) [ADD] Added configuration option 'console_key' to allow users to bind the console to their own desired key. [ADD] Added key bind commands to the console. [ADD] Added healthbar addon. [ADD] Added fps addon. (Displays the current game FPS.) [ADD] Added mem:AllocMemory to addons. [ADD] Added mem:DeallocMemory to addons. [ADD] Added documentation. [ADD] Added ExamplePlugin.7z which contains an example plugin source code for REHDHook.
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 13:04:54 GMT 10
Already!? Woot!
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 13:28:25 GMT 10
I start the game and I only see the top left part (I was using 1280x720) I've tried increasing the resolution to 1920x1080 and it's the same, only now I see a smaller portion of the top left corner... It's like I only see the top left 640x480 or 800x600 or something like that no matter what resolution I use.
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 13:35:10 GMT 10
I start the game and I only see the top left part (I was using 1280x720) I've tried increasing the resolution to 1920x1080 and it's the same, only now I see a smaller portion of the top left corner... It's like I only see the top left 640x480 or 800x600 or something like that no matter what resolution I use. Oh whoops that is my fault. Was testing something just before I released and forgot to remove it haha.. www.dropbox.com/s/kkocwptmutfu0yb/REHDHook_v1.0.0.0.7z?dl=0Download link should be the same, just need the REHDHook.dll from this new update.
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 13:47:36 GMT 10
Works fine now The thing is there was something interesting going on there, as my mouse pointer and the whole screen was cropped inside REHDHook's "viewport... ?" That being good for 4:3 monitors support... Only problem was that the game's framebuffer wasn't downscaled accordingly to fit inside REHDHook's "viewport" It was, if I were to guess, unscaled (1:1) Am I close... ?
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 14:18:42 GMT 10
Works fine now The thing is there was something interesting going on there, as my mouse pointer and the whole screen was cropped inside REHDHook's "viewport... ?" That being good for 4:3 monitors support... Only problem was that the game's framebuffer wasn't downscaled accordingly to fit inside REHDHook's "viewport" It was, if I were to guess, unscaled (1:1) Am I close... ? I was messing around with the backbuffer of the game forcing it to render at 800x600. But the game does not at all like that heh.
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 14:22:40 GMT 10
Works fine now The thing is there was something interesting going on there, as my mouse pointer and the whole screen was cropped inside REHDHook's "viewport... ?" That being good for 4:3 monitors support... Only problem was that the game's framebuffer wasn't downscaled accordingly to fit inside REHDHook's "viewport" It was, if I were to guess, unscaled (1:1) Am I close... ? I was messing around with the backbuffer of the game forcing it to render at 800x600. But the game does not at all like that heh. It would be nice to add proper 4:3 fullscreen support (not that "double letterboxing" the bastard is doing now) by cropping what's outside the 4:3 area. EDIT: Is it possible to add a "Quit" console command to quit the game via console (also without Y/N dialogue which come to think of it I didn't really saw while closing the game... ) ? F2 > quit > Enter ? or with autocomplete F2 > q > TAB > Enter
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 15:00:30 GMT 10
I was messing around with the backbuffer of the game forcing it to render at 800x600. But the game does not at all like that heh. It would be nice to add proper 4:3 fullscreen support (not that "double letterboxing" the bastard is doing now) by cropping what's outside the 4:3 area. EDIT: Is it possible to add a "Quit" console command to quit the game via console (also without Y/N dialogue which come to think of it I didn't really saw while closing the game... ) ? F2 > quit > Enter ? or with autocomplete F2 > q > TAB > Enter There is already, use /exit
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 15:09:37 GMT 10
It would be nice to add proper 4:3 fullscreen support (not that "double letterboxing" the bastard is doing now) by cropping what's outside the 4:3 area. EDIT: Is it possible to add a "Quit" console command to quit the game via console (also without Y/N dialogue which come to think of it I didn't really saw while closing the game... ) ? F2 > quit > Enter ? or with autocomplete F2 > q > TAB > Enter There is already, use /exit Oh, the slash before the command... I'm so stupid right now...
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 15:32:42 GMT 10
So after tinkering a bit without using REHDHook it seems the crash that happens inside of the graphics options it not caused by REHDHook. This crash seems to happen for me even playing the game normal. So I will be removing this from the 'Known Issues' list since it does not appear to be a bug I can fix.
I am working on REHDHook v1.0.0.1 now, with some fixes and adjustments. Here is the change log so far: [FIX] Fixed a left-in bug for setting the window to an invalid style. [ADD] Added /quit as a console command to also exit the game immediately. [CHG] Changed the way the console is first initialized. [CHG] Changed the way the console handles when the device is reset. [FIX] Fixed a bug in the example addon. (Was missin the common require.) [ADD] Added configuration option 'console_key' to allow users to bind the console to their own desired key.
|
|
Posts: 111
|
Post by 80t on Jan 28, 2015 15:43:45 GMT 10
"ERR09: Unsupported function." trying to change resolution ingame. Had (still have) no problem changing the resolution without REHDHook.
EDIT: Aaaaaaand... Going to sleep. Gn.
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 28, 2015 16:59:44 GMT 10
"ERR09: Unsupported function." trying to change resolution ingame. Had (still have) no problem changing the resolution without REHDHook. EDIT: Aaaaaaand... Going to sleep. Gn. When I do it without REHDHook running the game has about a 25% chance of crashing for me still. So I am not too sure whats causing it. I do know its due to a Direct3D function being called, but figuring out which one and where is the issue.
|
|
http://atom0s.com
Posts: 154
|
Post by atom0s on Jan 29, 2015 10:35:45 GMT 10
REHDHook v1.0.0.1[FIX] Fixed a left-in bug for setting the window to an invalid style. [ADD] Added /quit as a console command to also exit the game immediately. [CHG] Changed the way the console is first initialized. [CHG] Changed the way the console handles when the device is reset. [FIX] Fixed a bug in the example addon. (Was missin the common require.) [ADD] Added configuration option 'console_key' to allow users to bind the console to their own desired key. [ADD] Added key bind commands to the console. [ADD] Added healthbar addon. [ADD] Added fps addon. (Displays the current game FPS.) [ADD] Added mem:AllocMemory to addons. [ADD] Added mem:DeallocMemory to addons. [ADD] Added documentation. [ADD] Added ExamplePlugin.7z which contains an example plugin source code for REHDHook. Downloadwww.dropbox.com/s/qzi0v45mk4tgr2d/REHDHook_v1.0.0.1.7z?dl=0
|
|
Posts: 111
|
Post by 80t on Jan 29, 2015 10:42:50 GMT 10
In it's current state, can this tool hook game input and change some buttons functions ? For Example to move "Cancel" function from "B" button to "X" button (only in-game not menus) ?
EDIT:
For some reason, the FPS counter displays double the amount... so 30FPS displays 60, 60FPS displays 120 and 120FPS displays 240...
|
|