Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does ppsspp know if the sstate is not supported
#1
If the state is maded by other ppsspp version,you can't load the state because ppsspp is checking something in the file.

My question is what...is it certain address that contains value\text.
I'm asking because I'm making a saves manager with a lot of features

Edit:Hmm it does have the ppsspp version info but the bad thing is that it's not always on the same address which means I can't add such feature


Attached Files Thumbnail(s)
   
Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Reply
#2
The header has this info in a fixed place.
https://github.com/hrydgard/ppsspp/blob/...ile.h#L779
Reply
#3
In the .ppst file the ppsspp version number is always in different location...which is the problem


Attached Files Thumbnail(s)
   
Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Reply
#4
There's a few bytes specifying a revision, which ought to be updated more frequently, but it uses that. The version only provides a warning (or at least used to only provide a warning.)

-[Unknown]
Reply
#5
Is it possible the save states creation to be changed in a way so that version info to always be at certain address?
Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Reply
#6
It should be in fixed address since v0.8.1-642 (july 18).
Reply
#7
Hm yes,I didn't know that.
I'm using 0.8.1-589 and it's always on different place...I guess I'll add the feature.
Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Reply


Forum Jump: