Page 3 of 6

HaYDeN wrote:Your assumption

Posted: 03 May 2012, 09:27
by helifax
Your assumption is that it will crash, your modifying executing code - potentially anything could happen as a result of overwriting data in the wrong process or overwriting the wrong location in a known process.

Additionally, typically a game/or process will not generate a valid HWND and associated registered window class until the executable has fully loaded and initiated - this ensures you don't inject whilst a executable is still loading into memory, in a completely unknown and volitile state.

Thirdly it confirms with reasonable certinanty that the process you are attaching to is the process you intended to attach to.

Its kind of like looking for a car in a carpark when all you know is that its red instead of its registration plate.


Yes I was assuming it crashes..could do anything or ..could do other "damage". For the 2nd point I understand, but correct me if I am wrong: That basically prevents the automatic injection BEFORE the executable has completely loaded. This is viable if you want to automatically inject in the exe file. If you do it manually after the executable is being loaded and you are in the app is this still needed?

For the 3rd part I understand. One such game was Sw The old republic. Two processes with the same name were started but only one was the REAL one:)

Best Regards

Not sure I understand where

Posted: 03 May 2012, 10:10
by HaYDeN

Yes I was assuming it crashes..could do anything or ..could do other "damage". For the 2nd point I understand, but correct me if I am wrong: That basically prevents the automatic injection BEFORE the executable has completely loaded. This is viable if you want to automatically inject in the exe file. If you do it manually after the executable is being loaded and you are in the app is this still needed?

For the 3rd part I understand. One such game was Sw The old republic. Two processes with the same name were started but only one was the REAL one:)

Best Regards


Not sure I understand where you're coming from - injecting before the process has loaded is not workable and/or is pointless (for a number of reasons) - a system wide hook would be a different discussion.

And I am using the term "inject" very loosly here, can refer to anything from a codecave (eg. "code injection") to DLL injection.

In your last example - the method described would have delt with that accurately and seamlessly without any complications.

Hyden ... your fix works for

Posted: 03 May 2012, 15:46
by Garden
HaYDeN ... your fix works for me, but crashs occur every time that goes into a cutscene, and the resolution does not stay saved, I have to change it every time I start the game.... =(

Hi HaYDenNope tried it

Posted: 03 May 2012, 19:37
by StAnToN
Hi HaYDen

Nope tried it again still doesnt work, ive looked at the exe file and shows 1.0.1168.0

Garden wrote:HaYDeN ... your

Posted: 03 May 2012, 22:28
by HaYDeN
HaYDeN ... your fix works for me, but crashs occur every time that goes into a cutscene, and the resolution does not stay saved, I have to change it every time I start the game.... =(


If it crashes only for you when you hit cutscenes then logic suggests it's something to do with your installation.

You've tried getting to cutscenes with no fix?

For having to change the resolution every time - set it in the config file, altho for me it does save and re-launch using the previously selected resolution.

HaYDeN wrote:Garden

Posted: 04 May 2012, 02:10
by Garden
[quote]HaYDeN ... your fix works for me, but crashs occur every time that goes into a cutscene, and the resolution does not stay saved, I have to change it every time I start the game.... =(


If it crashes only for you when you hit cutscenes then logic suggests it's something to do with your installation.

You've tried getting to cutscenes with no fix?

For having to change the resolution every time - set it in the config file, altho for me it does save and re-launch using the previously selected resolution.


With the solution of Hellifax I had no problems and cutscenes run normally ... but I would like to use your solution to fix the FOV of the cutscenes... =(

Try the SKIDROW cracked exe

Posted: 04 May 2012, 02:25
by HaYDeN
Try the SKIDROW cracked exe and see if the problem( s ) goes away as that's what it was built with.

HaYDeN wrote:Try the SKIDROW

Posted: 04 May 2012, 04:15
by Garden
Try the SKIDROW cracked exe and see if the problem( s ) goes away as that's what it was built with.



Yup, this is the problem .... with Skidrow exe the cutscenes working properly.

But I do not want to lose the achievements of the game and the Steam interface...


Anyway to update the plugin to work with the original exe???





Thanks for the help HaYDeN... =)

Garden wrote:HaYDeN wrote:Try

Posted: 04 May 2012, 10:09
by helifax
[quote]Try the SKIDROW cracked exe and see if the problem( s ) goes away as that's what it was built with.



Yup, this is the problem .... with Skidrow exe the cutscenes working properly.

But I do not want to lose the achievements of the game and the Steam interface...


Anyway to update the plugin to work with the original exe???

Thanks for the help HaYDeN... =)

Hey there:) I will look in the future to see about the FOV in cutscenes:) Can't really say exactly when it will be done but very soon:)

Best Regards,
Helifax

Updated version

Posted: 06 May 2012, 19:17
by helifax
Hello all,

Made major improvements to the plugin:

Ability to use the proper scale of the HUD
Toggle key to be used during coversations: correct FOV and placement of dialogs - Sadly this is needed because if the changes are not activated only during the conversation it crashes the game when going to the inventory! Activate it before starting a conversation or during a conversation.


Let me know how it works.

Best Regards,
Helifax

Attached files Plugin.Risen 2 Dark Waters.rar (151.8 KB)

I guess your fix doesn't work

Posted: 09 May 2012, 19:33
by Falcon1
New patch released today.
No English Patch Notes so far... In case you can read german: http://forum.deepsilver.com/forum/showthread.php/63856-Erster-Patch-zu-Risen-2-mit-Bugfixes-und-neuen-Features

I guess no one actually test

Posted: 09 May 2012, 20:18
by helifax
I guess no one actually test the latest plugin? Since the interested in this game is so "high" I am thinking if I should maintain this plugin in the future or not....

PS@Falcon1: thank you for the info:)

Falcon1 wrote:New patch

Posted: 10 May 2012, 00:28
by helifax
New patch released today.
No English Patch Notes so far... In case you can read german: http://forum.deepsilver.com/forum/showthread.php/63856-Erster-Patch-zu-Risen-2-mit-Bugfixes-und-neuen-Features


Updated for the latest patch. !!!!!

If anyone is really using this plugin to play with this game let me know Also let me know if you encounter any problems with it:)
Simply use it with the latest version of WideScreen Fixer and replace the existing plugin with this one:)

Best Regards,
Helifax

Attached files Plugin.Risen 2 Dark Waters.rar (151.4 KB)

I actually used your first

Posted: 10 May 2012, 03:43
by Falcon1
I actually used your first plug-in version to play the game. Worked pretty well. Will have a look at the new version, as soon as possible. Didn't have too much time for the game the last few days. (And tbh., the time I had was spent with LoL...)

Keep up the good work :)

Helifax... sorry but I have

Posted: 10 May 2012, 14:16
by Garden
Helifax... sorry but I have not tested the plugin before because I was traveling, but last night I could try, and work very well, the only inconvenience is having to press the hotkey before cutscens or subtitles disappear ... but it's nothing that comes to bother.

And Hud was perfect ...

Please keep supporting this game, I'm sure besides me there are many other people playing.... Thanks

It doesn't work for me I get

Posted: 11 May 2012, 17:46
by Falcon1
It doesn't work for me :(
I get Surround and a perfect HUD In-Game. But the main menu is squeezed horizontally and the "Workaround key" does change something but I can't see any dialog options to choose from.

And it is really hard to tell whether the Workaround Key is activated or not... Makes the game crashing 50% of the time, while trying to open the Inv/Map etc.

Could you do "fallback" version to your old plug-in just with support for the new patch!?

If the game crashes that

Posted: 11 May 2012, 20:45
by helifax
If the game crashes that means that the workaround is enabled. That is the REASON we need the workaround to prevent the crash. Otherwise I can write the correct fov every time but once the inventory key is pressed => crash. The same problem has Hayden in hist tool also... I tried to do it with other methods like code caves..but it crashes upon injection. This is the only method I managed to make it work.


The workaround should toggle between the UI displayed correctly and on half screen (vertically). Please try a couple of times. Also try to bind a different key for the workaround key.

Let me know if if will work;))

Best Regards,
Helifax

As already said, doesn't work

Posted: 12 May 2012, 00:44
by Falcon1
As already said, doesn't work for me. Tested various constellations. I can take some screenshots if this helps.

Screenshots: Before and After activating the Workaround Hotkey:




Falcon1 wrote:As already

Posted: 12 May 2012, 01:57
by helifax
As already said, doesn't work for me. Tested various constellations. I can take some screenshots if this helps.

Screenshots: Before and After activating the Workaround Hotkey:





Interesting:) can you tell me what resolution you are using? also can you send me the "ConfigDefault.xml" file in a PM? I want to see that everything is correctly done there:)

I use 5040x1050

Posted: 12 May 2012, 04:17
by Falcon1
I use 5040x1050 resolution.
PMing the file wouldn't work... So I post it here.

Attached files ConfigDefault.zip (6.1 KB)