Dear visitor, welcome to CRYMOD.NET - Портал сообщества CryENGINE. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 1 times, last edit by "Clivey" (Apr 9th 2022, 7:17pm)
Hope you are well...Saw you message on my YT site
You're lucky I still had it mate![]()
Anyhow, here is the source code for my Sandbox2 fix.(It wont let me upload here) https://easyupload.io/ccy19d
No idea if it still works as its 12 years old now and I kind of left the scene shortly after, so not sure if any patches may screw it up.
its pretty easy to fix if it doesn't work as its just cycling through the windowclasses, hooking the right ones and then moving them in memory to where they should be in the right position on the screen
It was the only way I could do it in memory, as if I were to hack the exe, Crytek would have rained down on me as they dont like their exe's altered![]()
This post has been edited 3 times, last edit by "Clivey" (Apr 9th 2022, 8:20pm)
I only created it out of curiosity, because I realised that if we could decompile it, I could create an app that could move/replace objects in a level, so in effect, you could have a app that randomly changed the buildings/object, making it a procedurally random, therefore every time you loaded a level, it would look feel a little different every time. I only really used it that from that point onwards to help people that had broken pak files.
They also banned me from releasing a mod called DynaFPS in Crysis, which tracked the FPS of the user and dynamically adjusted the visuals on the screen. So you could set it to 60 FPS and the mod would be dynamically increasing/decreasing the engine settings to maintain it. That didn't go down well with them as they were getting a lot of publicity of the "Can it run Crysis?" memes and that mod would have killed the publicity they got![]()
Sadly, I don't have either of those anymore
What issues are you getting with Win10/11? If I get time, I might have a peak, just depends on what the issues are.
This post has been edited 3 times, last edit by "Clivey" (Apr 10th 2022, 12:44am)
If its moving controls around, then you can just simply add any new ones to the code I posted.
The easiest way is to use a spy tool like MS Spy++ or winspy, so you can just grab the handle and class name from Sandbox, get the location and force a new location in memory. Should be fairly easy to just add controls to my code.
Edit: The database button issue, if that database window is not part of the default SB2 window (i.e. the DB windows is opened by a menu/button), then you might have to add a timer in for scanning for the DB window every 1 or 2 seconds and if found, repaint the window after moving the button back to being visible.
Once the fix is in place, because you are still scanning every 2 secs, you can just add a Boolean to not apply it a 2nd time because the DB window has not bee closed yet. Then once the scanning detects the DB window is closed again, it can repaint it if opened up again by resetting the boolean.
It depends on how they coded the SB2 ie. they may destroy the DB window when its closed and create it on opening or you may find that is created once and kept in memory, in which case you will only need to fix it once
Does that make sense?