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

Possible cheat code pointer issue (reported by email) #10557

Closed
hrydgard opened this issue Jan 22, 2018 · 4 comments
Closed

Possible cheat code pointer issue (reported by email) #10557

hrydgard opened this issue Jan 22, 2018 · 4 comments
Labels

Comments

@hrydgard
Copy link
Owner

@LunaMoo you might have some idea?

Got this message:

I just want you too to fix the cheat activation , there are types that doesn't work yet like the copy pointer adress : this is an example

 _L 0x60000000 0x00000000
 _L 0x00000002 0x00000000
 _L 0x10000002 0x00000000

Does this make sense?

@LunaMoo
Copy link
Collaborator

LunaMoo commented Jan 22, 2018

That example cheat is copying 0 from address 0 with offset 0 to offset 0, aka doing nothing, made a better "test cheat" for some of those pointer types that are more popular in #10072 (comment) which can be used in any game, then looking at 08801040 in disassembly to see if results match the expected ones. Also I made sure they work before merging that pr and there were no further changes, so unsurprisingly they still work and produce expected results.

So this could simply be about someone thinking cheat code doesn't work based on some existing cheat made for PSP, while in reality pointer could be stored at different location or offsets could differ aka memory allocation issue. But that's just my interpretation, I have no practical use for pointer code types as it's easier for me to just inject a script into the game and let it do all the work, which leaves my cheats safer and not affected by memory allocation issues.

@unknownbrackets
Copy link
Collaborator

In theory it's a bug if we're not accurate on memory allocation. I think it will be hard to get some timing right, though...

The biggest things I know of are Psmf/Mp3/etc. (see #9601) and I think sceIo*Async calls (which allocate a thread stack I think.) I don't know what else makes it off...

-[Unknown]

@danphamus304
Copy link

Issue

@LunaMoo
Copy link
Collaborator

LunaMoo commented Jun 10, 2018

This will now be tracked in #11167 closing.

@LunaMoo LunaMoo closed this as completed Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants