Replies: 1 comment 1 reply
-
|
This should be feasible to add if necessary even though it'll probably be off by default because a lot of people, including me, very often edit memory that's safe to edit while the emulator is running. Is there something that makes this so necessary though? Can't you alternatively just stop typing on the editor? Sadly the raw mouse workaround isn't very suitable here, because most people don't know or enjoy navigating the GUI without a cursor. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recall that the debugger of PCSX2 1.6.0 disallows the user to modify the memory of the emulated PS2 rom while the core is running.
This means that the viewed memory in the debugger window of PCSX2 can NOT be edited and the "Assemble Opcode" context menu command is disabled while the core is running.
In order to edit the memory or/and use the "Assemble Opcode" context menu command the core must be paused by clicking on the "Break" button on the top left corner of the debugger window of PCSX2.
This is a safe restriction because modifying the memory while the core is running can be dangerous and yield to unexpected behaviours up to crashing the debugger or the emulator!
Do you hate to see new open issues reports? Then I highly recommend you to give this feature request a high priority and implement it soon so PCSX-Redux users like me won't open new issues and complain because they modified the memory of the game while the core was running and PCSX-Redux crashed as a result!
PCSX-Redux, unlike PCSX2, allows the user to modify the memory of the emulated PS1 rom with any of it's memory editors even while the core is running and I don't think that this is a good idea at all.
What do you really think might happen if any memory of any game is changing by any memory editor while the core is running? Think about it.
I both suggest, propose and even highly recommend to at least add a new safe mode, which is enabled by default, that disables all memory editors while the core is running.
Of course that if the core was paused by either pressing F6 to pause emulation or the Pause button in the Assembly window or tab was clicked then all memory editors can still be used to modify any memory that the user wishes and desires to but until the core is resumed and all the memory editors are disabled again while safe mode is enabled.
If the user attempts to use any memory editor to modify any memory while both safe mode is enabled and the core is running then an error message box appears:
If the user wants to modify the memory with any memory editor even while the core is running then the user must disable safe mode in order to do so but show him or her a proper warning message that the action to disable safe mode is not recommended and pausing the core or emulation instead is more recommended. Use it in your own risk!
When the "Assemble" command will be added to the context menu of the Assembly window or tab as feature requested in https://github.com/grumpycoders/pcsx-redux/discussions/1063
Then make sure that the "Assemble" context menu command shows a proper error message box while both safe mode is enabled and the core is running because changing MIPS instructions is also modifying memory for everything!
Otherwise if either safe mode is disabled or the core is NOT running, that is paused, then the Assemble context menu command will do what it supposes to do as described in the "Assemble" feature request which is linked above.
Right now if the user doesn't want to edit the memory of the PS1 rom that he or she is playing while the core is running with the belief that this is an unsafe act then these users must remember to pause the emulation by either pressing F6 or click on the Pause button in the Assembly window or tab, edit the memory with any memory editor of PCSX-Redux and then resume the game by either pressing F5 or clicking on the Resume button in the Assembly window or tab.
But if the user forgets to pause emulation before editing the PS1 rom's memory then the user might experience unexpected behaviour that might result in PCSX-Redux crash!
Think about it and take care!
A temporary solution and workaround to this problem is to just enable the "Use raw input for mouse" in the Controls window or tab and keep it enabled all the time or at least until the safe mode feature request is added to PCSX-Redux in the future.
While the "Use raw input for mouse" is enabled the PCSX-Redux user can NOT access any window and tab, including all the memory editors of PCSX-Redux and thus he or she can NOT edit the memory of the emulated PS1 rom while the core is running.
While the "Use raw input for mouse" is enabled the user is free to access any window and tab but only when the emulation is paused and the core is not running.
Even though both the "Pause emulation" menu command and the Pause button of the Assembly window or tab are inaccessible while the "Use raw input for mouse" is enabled the user can still pause emulation by just pressing the F6 key on his or her keyboard so this is still alright after all.
This way the PCSX-Redux user will never forget and always remember to pause both emulation and core before editing any memory with any memory editor of PCSX-Redux because he or she will always be forced to pause emulation and core by pressing the F6 key on his or her keyboard before editing any memory with any memory editor of PCSX-Redux!
Beta Was this translation helpful? Give feedback.
All reactions