Replies: 3 comments 4 replies
-
|
ImGui and OpenGL are almost fully accessible through Lua scripts, so you can spawn your own GUI windows with buttons and actions very easily. I don't think there's any way to edit an existing widget like the assembly window within a Lua script, unless @nicolasnoble has some idea. Btw is your name a Naruto reference? |
Beta Was this translation helpful? Give feedback.
-
|
If you'd like an example of creating custom GUI elements for game hacking, see here As you can see, this allows not only defining new windows and widgets to do things, but even binding in-game variables to the GUI if you know their addresses. Can't find example code rn cause I'm in uni. |
Beta Was this translation helpful? Give feedback.
-
Mmmm not very easily but it should be fairly easy to implement in Redux itself. There's also an auto updater that you can turn on. It will tell you if there's an update available when booting. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example I would like to be able to add a "Condition" and "Action" TextBoxes to the "Breakpoints" window/tab and a "Add Conditional Breakpoint" button that allows me to add a breakpoint that is triggered on some condition and does some action when triggered.
Another example is the ability to add a "Assemble" and "Enable/Disable Breakpoint" commands to the context menu of the Assembly window/tab.
The new controls can be programmed in Lua script and use the Lua API.
This can be very useful because all these features that are missing from the GUI can already be done with the Lua API.
I highly recommend you to give a high priority to this feature request because this feature request is very useful and if implemented everyone else don't have to wait for you to add new windows, tabs, menus and controls to the GUI because temporarily they will be able to do this by themselves both dynamically and manually.
Until this feature is implemented PCSX-Redux users will have to use the Lua API with both the "Lua Console" and "Lua Editor" windows to do anything that can't be done with the GUI controls to do what they want to do like adding conditional breakpoints for example.
If PCSX-Redux is open source then this is always possible to change the source code to add new GUI controls and build it but since Lua API and scripting already exist and supported by PCSX-Redux I would like to have a quick way to do this because Microsoft Visual Studio is very slow, large and consumes a lot of disk space and compiling and building can sometimes fails with errors and can be very annoying in general requires to download and install a lot of thing in your device.
The source code of PCSX-Redux should be used only when what you want to do can't be done with a Lua script because the Lua API doesn't have a function that does what you want to do or you either want or need to use a different language that is not Lua which can be automatically optimized by modern C and C++ compilers with the -O3 option or for some reason and you may want to use the source code of PCSX-Redux to extend the Lua API and add new functions to it for example after the user began a new feature request to add this function to the Lua API to be used with Lua scripts or a pull request and optionally add a new GUI control that uses this new Lua API function.
Beta Was this translation helpful? Give feedback.
All reactions