Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does ppsspp know if the sstate is not supported
08-12-2013, 07:04 AM (This post was last modified: 08-12-2013 07:17 AM by vsub_.)
Post: #1
How does ppsspp know if the sstate is not supported
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 File(s) 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
Find all posts by this user
Quote this message in a reply
08-12-2013, 05:51 PM
Post: #2
RE: How does ppsspp know if the sstate is not supported
The header has this info in a fixed place.
https://github.com/hrydgard/ppsspp/blob/...ile.h#L779
Find all posts by this user
Quote this message in a reply
08-12-2013, 06:03 PM
Post: #3
RE: How does ppsspp know if the sstate is not supported
In the .ppst file the ppsspp version number is always in different location...which is the problem


Attached File(s) 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
Find all posts by this user
Quote this message in a reply
08-13-2013, 06:04 AM
Post: #4
RE: How does ppsspp know if the sstate is not supported
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]
Find all posts by this user
Quote this message in a reply
08-13-2013, 06:18 AM
Post: #5
RE: How does ppsspp know if the sstate is not supported
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
Find all posts by this user
Quote this message in a reply
08-14-2013, 02:39 AM
Post: #6
RE: How does ppsspp know if the sstate is not supported
It should be in fixed address since v0.8.1-642 (july 18).
Find all posts by this user
Quote this message in a reply
08-14-2013, 05:28 AM
Post: #7
RE: How does ppsspp know if the sstate is not supported
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: