Closed inukaze closed 2 years ago
Maybe related to https://github.com/hrydgard/ppsspp/issues/13098?
You don't necessarily need Cheat Engine or windows to create cheats, but you do need:
a debugger and your own knowledge of MIPS.
For the first, I have no idea, but as a linux user you probably know some tools yourself. For the second, I believe we have websocket based debugger interface which might or might not be enough, I never used it, but you probably don't need it for things like unlocking items in game.
To create simple cheats that only change some variable stored in memory you don't have to change any code unless you want to patch the connectivity function to reward stuff when used instead of just writing it down, through you will also need to figure out how your game stores the data you want to edit. This can be very simple flag, value or anything else really, there's no rule how game can store it's data, but at least it's very unusual for that data to be specially protected in case of PSP games afaik there's only 1 game that has an anti-cheat - FFT0 - and it was easily disabled.
PPSSPP info log prints out the address PSP memory is allocated when you boot first game in it, it shouldn't change until you exit PPSSPP and you also should know that PSP has 32 mb of memory with 8 of that for kernel, so the user memory starts at that address+8mb with game loading 0x4000 after that.
Memory viewer from windows version is really not build for searching through data to create cheats, that's exactly why Cheat Engine is prefered and why external tools on other operating systems would be better suited for it as well.
Once you have your PSP addresses and values, you just need to google for CWCheat formatting, how you should format your data to be seen as CWCheat. There was many sites for that in the past, but they mostly disappeared, maybe still something in japanese, at worst you can check PPSSPP source ~ https://github.com/hrydgard/ppsspp/blob/master/Core/CwCheat.cpp while looking at some example cheats to get the idea, it's not really hard, but most code types are useless, confusing and hard to debug in case of failures, it's always better to just learn MIPS when a cheat requires more effort.
PPSSPP CWCheat does have some emulator specific code types, but that's really only for enhancements(ie, to trigger or change shader effects or gamepad vibrations based on values from game) and nothing that would benefit you here.
Maybe related to #13098?
Yeah its a duplicate of my issue. Hopefully someone will understand how to do it maybe.
Maybe related to #13098?
Yeah its a duplicate of my issue. Hopefully someone will understand how to do it maybe.
The first point yes, is the same xD reading your post i see this
I know that Dolphin does something similar for GBA to GC connection by using VBA-M . The PSP connect to the PS2 via the USB port.
and yes, i use Dolphin-Emu + VBAM or mGBA with that emulators the thing works for example with « Four Sword Adventures » & « Zelda : The Four Sword »
Wow opening this thread could cause my firefox to crash LOL probably due too so many screenshots >.<
Anyway, i'm sure you can find memory scanner/editor like Cheat Engine on linux, may be something like these? https://alternativeto.net/software/cheat-engine/?platform=linux For debugger, you can always use remote debugging through browser.
i already use Scanmem (cli) + GameConqueror (GTK Gui) but the GUI not had all options the cli program can use.
i try to compile "PINCE" another day but my software is old for that.
The Qt version used to have an incomplete and somewhat broken debugger, but it made it harder to add new debugging features. The web socket API is the new way. It would be perfectly acceptable for you to make a separate Qt app that connected to PPSSPP using that API. It could implement a memory viewer or anything else in whatever way you wanted.
I may add more to the web debugger, such as a memory viewer, and that would be not only cross platform but useful for PPSSPP running on mobile devices, TVs, consoles, or raspberry pis. The reason I haven't added as much to the web UI is I've been worried about some new security restrictions being implemented by browsers.
http://ppsspp-debugger.unknownbrackets.org/
That said, you can also run PPSSPP in WINE on Linux, and use the Windows debugger.
I'm going to close this as a duplicate of #13098 for the rest.
This is an issue tracker - there's a forum if you want to discuss things. You wouldn't add another "bread" item to a grocery list every time you thought about it, right? We do the same here - we already have "bread" (this issue) on our list.
By keeping the list clean, we can also make sure all the information a developer needs to fix the issue is at their finger tips. When there are multiple issues, information gets lost and it becomes hard to fix things, so they are fixed more slowly. Duplicates won't make fixes appear faster.
And remember - PPSSPP is open source. Try to find new and useful information, and add it to the original issue. If you can't wait any longer, muster up your courage and try fixing it yourself. PPSSPP gets better the more people contribute. You could be that amazing person who solves this problem for everyone.
-[Unknown]
The Qt version used to have an incomplete and somewhat broken debugger, but it made it harder to add new debugging features. The web socket API is the new way. It would be perfectly acceptable for you to make a separate Qt app that connected to PPSSPP using that API. It could implement a memory viewer or anything else in whatever way you wanted.
I may add more to the web debugger, such as a memory viewer, and that would be not only cross platform but useful for PPSSPP running on mobile devices, TVs, consoles, or raspberry pis. The reason I haven't added as much to the web UI is I've been worried about some new security restrictions being implemented by browsers.
http://ppsspp-debugger.unknownbrackets.org/
That said, you can also run PPSSPP in WINE on Linux, and use the Windows debugger.
I'm going to close this as a duplicate of #13098 for the rest.
This is an issue tracker - there's a forum if you want to discuss things. You wouldn't add another "bread" item to a grocery list every time you thought about it, right? We do the same here - we already have "bread" (this issue) on our list.
By keeping the list clean, we can also make sure all the information a developer needs to fix the issue is at their finger tips. When there are multiple issues, information gets lost and it becomes hard to fix things, so they are fixed more slowly. Duplicates won't make fixes appear faster.
And remember - PPSSPP is open source. Try to find new and useful information, and add it to the original issue. If you can't wait any longer, muster up your courage and try fixing it yourself. PPSSPP gets better the more people contribute. You could be that amazing person who solves this problem for everyone.
-[Unknown]
Well thank you for the answer. 1 - i think the web api is a right way
2 - "Security restrictions being implemented by browsers" included the browser for Gemini Protocol ? just for mention a few of them : Kristall (Qt), moonlander (GTK), deedum (Android / iOS), Bollux (CLI)
3 - A) "you can also run PPSSPP in WINE on Linux, and use the Windows debugger.". B) "You wouldn't add another "bread" item to a grocery list every time you thought about it, right?"
A) Yes i can run PPSSPP trought "Wine Is Not Emulator" on GNU.
B) You wouldn't install nested operating systems (like GNU/Linux, inside install Mac OS X, inside mac os x, install microsoft windows) when you really don't need a compat layer for execute binary executable maked for another operating system, when you can use a binary native executable for host operating system. right ?
4 - i dont know that issue the #13098 exist, my bad, sorry for that. and well i still trying my self, determine what does PSP when connect to PS2 for share data. Because on the PSCX2, the Outrun 2006 for PlayStation 2, had the same option of via usb and just got "PSP is not connected". i am thinking this is the things take too many years for get solved. Because need a lot information and test for determine which things are really need it.
Well if someone find the "cheats" for "Unlock PS2 Content" on this version of outrun, can publish on LunaMoo PPSSPP Workarounds, right there -> https://github.com/LunaMoo/PPSSPP_workarounds/issues/7
@inukaze JPCSP can do what you want now on its latest commits (incomplete implemetation tho).
@MojoJojoDojo : Thank you very much for the information
2 - "Security restrictions being implemented by browsers" included the browser for Gemini Protocol ?
Sorry, missed this. No - my concern is that browsers are starting to restrict local network access, because attacks on routers and things like that are starting to become a concern. They're also very intentionally locking features behind valid TLS/SSL certificates, which are hard to get for a local connection. Because of the way debugging works with PPSSPP, you're connecting to the local application over network.
-[Unknown]
Hi there, i am playing this game a lot. i love it. Well the thing is some content of game should be unlocked via USB conection with PlayStation 2.
1 - Is possible emulate that connection from PCSX2 ?
Well in case that is not possible, i try to create cheat just for unlock the content available on this game.
2 - Why the QT Version for GNU/Linux not have the tools like « Memory Viewer » ? You can't fork part of Scanmem project for make it ?
Well the Outrun 2006 PSP (Europe) v1.01 can be unlocked via USB PS2 Connection is the follow :
Cars :
Track / Stage :
BGM / BackGround Music :
Colors for Cars : 328GT (Outrun) [ White, Blue ] F430 (Outrun) [ Black, White, Green, Blue, Cyan ]
3 - My point is in case the PS2 USB Connection can not be emulated i prefer try to search for cheats (without anything related to Microsoft Windows). But the native version of PPSSPP (QT) for my Operating System not had the tools like the Microsoft Windows Version.
That diffucultme a lot when i try to search and determine which ram region is accessed for read.
In that case, someone had a tutorial of how make cheats for PPSSPP from scratch, in a common form for GNU/Linux, Haiku, Mac OS X, and Microsoft Windows without use « Cheat Engine » ?