Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancemement: Hide and/or bookmark sections #46

Open
Pharaoh2k opened this issue Feb 9, 2024 · 5 comments
Open

Enhancemement: Hide and/or bookmark sections #46

Pharaoh2k opened this issue Feb 9, 2024 · 5 comments

Comments

@Pharaoh2k
Copy link

Pharaoh2k commented Feb 9, 2024

Hi Avan,

I got a scenario of scanning a game with many "hidden sections".
For my initial scan, I used a byte scan greater than zero to check which section had actual data.
The remaining selected sections (obviously) contained data, while the others were useless (all zeroes).
Then I took a screenshot that should remind me which sections to manually select later on when I need to scan:

6SBTgFG

What I am looking for is a way to bookmark those sections and/or hide the useless hidden sections that I no longer wish to see/scan and then easily select and auto-select them.
Maybe you'll come up with additional and/or other efficient solutions/ideas. :)

@avan06
Copy link
Owner

avan06 commented Feb 9, 2024

Hi Pharaoh2k,

Have you tried enabling the "Write hidden section conf" feature in the options?
This allows you to mark hidden sections that are all zeros as not visible in the configuration.

WriteHiddenSectionConf:
Determine whether to enable writing detected hidden section configurations to the "path to PS4CheaterNeo\sections[GAME_ID].conf" path. This option must be enabled when using the "SCAN for Hidden Sections" query window scan type. Note: Enabling this option will result in longer startup times for the Query window as it queries [GAME_ID] information every time the program starts. Default disabled.

Thank you.

@Pharaoh2k
Copy link
Author

Pharaoh2k commented Feb 12, 2024

Ahh, that's great, I had it enabled but didn't realize I could edit the file to change values from True to False and make them no longer show up on the list. :)
Instead of needing to do manual editing, I got a suggestion for a better solution, which I think should be simple to implement.
Can you add 2 more options to the right-click menu:

  • Invert hidden-sections selection <==EDIT: actually, maybe this one is not even necessary since we already have "Invert Checked", but the next option is the most important
  • Disable selected hidden sections <== EDIT: This will bulk toggle True to False in the config file.

This way, we can scan the entire process for byte > 0, which will only leave sections that contain data selected, then we can invert the selection by selecting "Invert hidden-sections selection" to select only hidden sections that are empty and finally we can disable (set them to False) in the config by just choosing "Disable selected hidden sections" option and then we can refresh the process and the empty hidden sections will no longer be displayed.
Hope I explained myself clearly.
Or if you have a better idea/suggestion? :)

By the way, this is completely unrelated, but I suggest you rename these:
Section View Full Row Select -> Full Row Select
Section View Detect Hidden Section -> Detect Hidden Sections

They are both under the Section View category, so it's unnecessary to repeat "Section View" in their name.

@Pharaoh2k
Copy link
Author

An additional feature that may be very handy is something named like "Full Process Hidden Section Analysis" button or action, which will automatically do all of the following:

  1. Scan all hidden sections for byte > 0 (this will obviously take time to scan, but anyway it's just an initial scan and it will save a lot of time afterwards)
  2. Exclude and Hide all empty sections by writing them as False in the config

And an extra handy feature can be "Reset/Re-enable all disabled hidden sections"

@Pharaoh2k
Copy link
Author

And one last feature suggestion:
"First hidden section address" which will allow setting the minimum section address to start adding virtual hidden sections from.
So, for example, if we set it to 0x8810FC000, then the virtual hidden sections will only be generated from that address onward.

@avan06
Copy link
Owner

avan06 commented Feb 18, 2024

In version 1.0.2.6, features like "Invert checked Hidden" and "Disable checked Hidden" have been added.
Additionally, regarding the "First hidden section address" feature, I have not implemented it because the location may vary for each game. Therefore, I have temporarily not included this functionality. Instead, I have added the "Detect hidden section start from the end" option. When enabled, this option will start detecting hidden sections from the end of the last "regular section" address. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants