Torna indietro   Console-Tribe.com Forum > Console Area > Sony Labs > Sony PSP (PlayStation Portable) > General Chat > PSP Official & Homebrew Scene News

PSP Official & Homebrew Scene News News dalla Scena PSP Ufficiale e Homebrew

Comment
 
Article Tools Modalità visualizzazione
Released: PspStates Experiment v2
Released: PspStates Experiment v2
Published by Baglioooo
03-07-2008
Files allegati
Tipo file: rar pspstates_experiment2.rar‎ (13.9 KB, 150 visite)
Predefinito Released: PspStates Experiment v2

Dark_Alex, grande coder della scena psp e già creatore del PspStates Experiment v1, aggiorna suddetto plugin alla versione v2.
Per chi non avesse seguito le precedenti news, l'homebrew è in grado di salvare lo stato della psp in ogni momento, analogamente a quanto avviene con gli emulatori.

Questa versione mira a fixare dei bug e aggiunge il supporto al savestate con umd inserito.

Changelog:

Citazione:
# Fixed important bug in inter-thread code (semaphore wasn't waiting due to interrupts disabled), that caused the load state to not be completely read in some cases. This caused black screen after state load (unless you just saved that state, in this case state was still in ram), or even worse, game not working properly due to partial load.
# Added states per game basis. The controls are slightly different: old controls now do a local savestate/loadstate of the game, while pressing additionally select button will save/load a global state. See instructions for more info.
# Fixed bug that caused normal sleep mode waking up immediately.
# UMD discs and isos in normal UMD mode are now supported. However, they require to nullify umdcache, by flashing one file, read the instructions in the readme.
Readme:

Citazione:
PspStates Experiment v2 for PSP SLIM
------------------------------------

Changes in V2:
-------------

- Fixed important bug in inter-thread code (semaphore wasn't waiting due to interrupts disabled), that caused the load state to not be completely read in some cases. This caused black screen after state load (unless you just saved that state, in this case state was still in ram), or even worse, game not working properly due to partial load.

- Added states per game basis. The controls are slightly different: old controls now do a local
savestate/loadstate of the game, while pressing additionally select button will save/load
a global state. See instructions for more info.

- Fixed bug that caused normal sleep mode waking up inmediately.

- UMD discs and isos in normal UMD mode are now supported. However, they require to nullify umdcache, by flashing one file, read the instructions below.


Remember that states of the old version are all globals, and you need to press select addtionaally. Also, remember that when doing the load state of a state saved in previous version,
the plugin in ram after the load will be the old one, so it is probably better to discard old
save states.

--------------

Please read carefully this readme before proceeding to use this plugin. There are some
small changes in the readme of this version.

Note: The author will not be responsable of any kind of damage to units or of data loss
(including game data loss) that this software may cause.
This is true for all my software as they are free, but in this case I would feel like I
would indicate it explicitily.
It is recommended that you backup the nand and important data of memory stick before using this plugin, in order to avoid posible loss of data.

This program was never intended to be part of M33 cfw, it always was planned to be released as
a plugin, just to clarify

This software is experimental work and it may behave incorrectly or not work in all cases.

Requisites:
-----------

- 4.01 M33, 1 or 2, doesn't matter.
- A good memory stick is recommended. Fake memory sticks are... fake... and shit, they could make
load and savestate too slow.

Instructions:
-------------

Copy seplugins folder content (IMPORTANT: including the empty folder SAVESTATE, as the plugin will not create it) in /seplugins and activate the plugin using the recovery.

This plugin at the moment will only work in game mode, don't bother to use it in pops or vsh.

If you plan to use the plugin for UMD's or for isos in normal mode, then you will have to flash
the file umdcache.prx in this directory, in /kd using usb flash0. Just disabling the Umd cache in
the XMB may not work properly, it is safer to flash this file. Of course you will loose umdcache.
This file is not coyrighted, it is just a dummy module with the name of a sony file.


SaveState procedure:
--------------------

- To save a state, press the home button in game, and once in the home button screen, press R
plus one of the followings buttons: up, down, right, left, square, triangle, cross, circle or start. Each of this button is considered a "slot", so you can have up to 9 states.

Unlike in previous version, there are now .local and global states. Local states can be loaded
only in the game that saved it, and global ones can be loaded in whatever other game, as soon
as the hardware (same disc in case of umd0s,a memory stick with same iso path in case of isos) is present.

Local states are the normal behaviour: while pressing R in the home button press one of the slot
buttons.
Global states: while pressing R+select, press the slot button.

- At that moment, the PSP will go to sleep mode and return automatically inmediately.

- After the quick sleep mode return, you will see a black screen for some seconds, don't worry it will end. The time can vary depending of games and cpu speed, at this state the program is copying ram from one place to another.

- When the screen is turned on again, you will see the memory stick led blinking for some time: this is the write of the file. If your memory stick is good, this step should be quick.

- The state is saved, it can be loaded during the game or in another game session. (if memory sitck is same or with similar content, you can load other game states withing a game).

The state is saved to one of the followings files:

For global states:

ms0:/seplugins/SAVESTATE/globalstate_u.bin -> up button
ms0:/seplugins/SAVESTATE/globalstate_d.bin -> down button
ms0:/seplugins/SAVESTATE/globalstate_l.bin -> left button
ms0:/seplugins/SAVESTATE/globalstate_r.bin -> right button
ms0:/seplugins/SAVESTATE/globalstate_q.bin -> square button
ms0:/seplugins/SAVESTATE/globalstate_t.bin -> triangle button
ms0:/seplugins/SAVESTATE/globalstate_x.bin -> cross button
ms0:/seplugins/SAVESTATE/globalstate_c.bin -> circle button
ms0:/seplugins/SAVESTATE/globalstate_s.bin -> start button

For local states, if the game is an umd or an iso, it will use the gamecode, if it is a homebrew,
it will use the first 9 characters of the homebrew directory. Examples:

ms0:/seplugins/SAVESTATE/ULES00818_u.bin -> up button
.................................................. ...
ms0:/seplugins/SAVESTATE/ULES00818_s.bin -> start button


The size of the file may vary depending of the game, as it is a 36 MB dump compressed.
Tests show that the most expected range is: 10-20 MB. The plugin will not check free space,
you are on your own on that.

Lcoal and global save states share exactly the same format. If you want to convert one to the other, just change the filename properly.

LoadState procedure:
--------------------

- To load a state, press the home button in a game, and once in the home button scree, press L
plus one of the slot buttons mentioned in savestates to load a local state, or L+select+slot button to load a global state.

- In that moment, the memory stick led will blink. This step should be fast on good memory sticks.
- After that, the psp will go to sleep mode and return automatically quickly.
- The screen will be black for some moment, this wait moment is much faster than the one for savestates.
- Once the screen is turned on, and if all went fine, your system will be now in the state in which you saved it.

Comments
--------

- The current release is a 4.01 M33 specific plugin. It won't work in a future firmware without an update, unless that firmware has highly similarities with 4.01.

- For faster operation, it is recomended that you set speed to 333 for game in vshmenu or recovery.

- With global states, you can load the state of any other umd, iso or homebrew, as soon as isos are really in the same memory stick or similar path, or in case of umd, the disc is present. Do not change name or path of isos or homebrews after saving a state.

- A load state is a REAL LOAD STATE with all the consequences.
Lets say you are playing an iso game in march33 mode with the plugin X activated and plugin
Y desactivated.
Then, in another sesion you are playing that game (or another, as doesn't matter), in
np9660 mode with the plugin X desactivated and the plugin Y activated. When you load the state,
the game that was saved will still be in march33 mode with plugin X activated and Y plugin
desactivated.
Because the load state even restores the own pspstates plugin itself, this also causes the
"plugin self-downgrading" problem commented later.

- This plugin is not compatible with any homebrew or plugin using the memory extended size of the slim. pspstates can be enabled while using them, but then it SHOULD NOT BE USED.

Interoperability
----------------

- Interoperability between different sony version numbers: this won't be supporte due to technical reasons. If you were in let's say in a future 4.10 M33 and you want to load a state saved in 4.01 M33, even if the plugin is updated to work on 4.10 M33, it will probably crash loading that state.

- Interoperability between different M33 version numbers (4.01 M33, M33-2, M33-3...): there shouldn't be problem with this. After load state, the system would be temporally downgraded in ram, until you exit to vsh.

- Interoperability with future versions. Because this software is still experimental, future versions could change savestate data format. Even if it doesn't change, the "plugin self downgrading" problem still exists: you have saved a state in version 1, and then you load it
in version 2, the plugin in ram after the load state will be the version 1.

- Interoperability with other psp's. Probably not a good idea to share savestates between psp's... they could cause hardware incorrect answer or data loss. The only test done has been PSP1: TA-085, PSP2: TA-085 v2. The PSP1 saved the state.
The PSP2 loaded the state. The state load apparently worked, but the game, which was controlled
by analogic pad, wasn't answering properly to controls. Wether this was caused by different mother boards or other reasons it is unknown.
Anyways if you want to proceed to do more tests, do it on your own, but have in mind some things:

* Functional issues: the hardware should be the more similar possible. The isos or homebrews
should have same paths. Better not to have another plugin activated.

* Privacy issues: The savedata may contain in plain text or compressed, wep or wpa keys. Also,
if the XMB didn't clear properly the ram, there exist the possibility too of the savedata
containing filenames or even binary data of media that was played in the XMB, which can
be recovered using computer forensics.

* Legal issues: The savedata contains code of sony kernel, and code of games, so it is probably illegal to share them.


FAQ
----

Q: Why only PSP SLIM?
A: In the current implementation, I'm using slim extra memory. The file writing is post-poned
while file read is done before the real load state. This is because we lack of a good memory
stick driver that could be used in situations where the kernel is off. The only memory stick
driver we have, which is the used in DC, is extremelly slow, it has no sense to use it here. Until memory stick dma code is reversed, it is impossible the implementation on psp phat.

Q: After doing a savestate, sound stopped working
A: try to load the state you just saved to see if this fixes. This may happen sometimes in
some games, it is not 100% sure, but the reason identified in tests seems to be: the write of the file. In the current implementation,the plugin performs the real savestate after returning from the induced sleep mode code, compressing it in from one ram to temporal one, then original sleep mode return code is executed,and when the system is stable, the file is written. It seems some games or some sony code may not like that such a big file is written, probably due to the time it may take.
If some day, the DMA memory stick driver is reversed, this problem should be gone too... hopefully

Q: What happens if I load a state that doesn't exist?
A: If the file to load doesn't exist, the last state loaded or saved in the current session will be loaded as it still remains in ram. If no state was previously loaded or saved, then, black screen

Third party licenses
--------------------

This program uses the FastLZ library, which is relased under MIT license. A copy
of the license can be found at fastlz_license directory.
Per salvare premere il dorsale R+select e il tasto corrispondente allo slot; cosi si farà un salvataggio di tipo globale(lo slot è utilizzabile da tutti i giochi).
Per effettuare un salvataggio locale, cioè utilizzabile con un solo gioco, premere il dorsale L e il tasto corrispondente allo slot.

Per rendere compatibile il plugin con gli umd, flashare il file umdcache.prx in flash0:/KD/.

Per caricare uno stato la procedura è identica tranne per il fatto di dover usare il dorsale L.



IL PROGRAMMA, COME LA PRECEDENTE VERSIONE, E' COMPATIBILE SOLO CON PSP SLIM




Download




Enjoy
Latest 15 news

Article Tools
Sponsored Links
  #1 (permalink)  
By Lionheart89 on 03-07-2008, 12.37.33
Predefinito

piccolo errore di funzionamento in news (rispetto la v1 le cose sono cambiate):

"R + SELECT + TASTO SLOT" --------> salvataggio "globalmente" (i slot sono per tutti i giochi)
"R + TASTO SLOT" -------> salvataggio "localmente" (lo slot e solo per un gioco)

invece per la modalità "UMD REQUIRED" flashare umdcache.prx in "flash0:/KD/"
Rispondi citando
  #2 (permalink)  
By IO ME MEDESIMO on 03-07-2008, 12.42.50
Predefinito

buono che risolva sempère così velocemente anche se sto plugin lo odio ti fa perdere il bello dei fgiochi più difficili
Rispondi citando
  #3 (permalink)  
By Sam91 on 03-07-2008, 12.43.37
Predefinito

Uff,le fat rimangono ancora a bocca asciutta (forse così dimagriscono e diventano slim))
Cmq è bello che le novità anzichè introdurle la sony le introduca D_A
Rispondi citando
  #4 (permalink)  
By Triple H on 03-07-2008, 13.19.24
Predefinito

la modalità UMD Required sarebbe quella per fare savestate anche agli umd?(oltre che a iso e backup?)
Rispondi citando
  #5 (permalink)  
By Baglioooo on 03-07-2008, 13.38.52
Predefinito

correggo
Rispondi citando
  #6 (permalink)  
By Lollo96 on 03-07-2008, 13.56.16
Predefinito

D_A lo farà anche per fat?
Rispondi citando
  #7 (permalink)  
By soranodock on 03-07-2008, 14.20.55
Predefinito

Potete anche scrivere le changelog in italiano eh....
Rispondi citando
  #8 (permalink)  
By ettore46 on 03-07-2008, 15.29.38
Predefinito

qualke volta in italiano l'hanno scritto forse ora no xk nn sn riusciti a tradurlo cmq io devo capire xk ame nn funge...........devo mettere nella memori sl il pspstates.prx e il file txt game ke devo mettere nella cartella seplugins giusto?? nn devo mettere nient'altro?? xk c'è un prx ke si kiama umdcache e un file ke is kiama license...........
Rispondi citando
  #9 (permalink)  
By MASK90 on 03-07-2008, 16.07.17
Predefinito

maro per la fat ancora niente uffa D_A non puo abbandonare noi FAT!!!!!!
Rispondi citando
  #10 (permalink)  
By ettore46 on 03-07-2008, 16.55.09
Predefinito

del resto le cose vekkie prima o poi si abbandonano giusto??????????
Rispondi citando
  #11 (permalink)  
By DartH on 03-07-2008, 16.57.11
Predefinito

Citazione:
Originalmente inviato da soranodock Visualizza messaggio
Potete anche scrivere le changelog in italiano eh....
fallo te che sai fare tutto
Rispondi citando
  #12 (permalink)  
By MetaSymon on 03-07-2008, 16.58.09
Predefinito

Citazione:
Originalmente inviato da ettore46 Visualizza messaggio
del resto le cose vekkie prima o poi si abbandonano giusto??????????
Ti prego non torniamo in War..

Rispondi citando
  #13 (permalink)  
By Gh0s7 on 03-07-2008, 18.54.15
Predefinito

Citazione:
Originalmente inviato da ettore46 Visualizza messaggio
del resto le cose vekkie prima o poi si abbandonano giusto??????????
ora ti ammoniscono

comunque,il prx sta migliorando ma secondo me è ancora lontano da quello che serve..deve creare le cartelle per ogni gioco,un poco come fa savegame deemer...
Rispondi citando
  #14 (permalink)  
By Menk[ITA] on 03-07-2008, 18.57.05
Predefinito

Citazione:
Originalmente inviato da Gh0s7 Visualizza messaggio
eve creare le cartelle per ogni gioco,un poco come fa savegame deemer...

erm, non per essere pedante ma già crea dei savestates per i giochi:

Citazione:
For local states, if the game is an umd or an iso, it will use the gamecode, if it is a homebrew,
it will use the first 9 characters of the homebrew directory. Examples:

ms0:/seplugins/SAVESTATE/ULES00818_u.bin -> up button
.................................................. ...
ms0:/seplugins/SAVESTATE/ULES00818_s.bin -> start button
Leggere prima di scrivere castronerie no, eh????
Rispondi citando
  #15 (permalink)  
By Gh0s7 on 03-07-2008, 22.19.24
Predefinito

se leggessi quello che quoti..parlo di cartelle..per me sarebbe più comodo averli divisi in cartelle..posso esprimere un parere personale o no?
Rispondi citando
  #16 (permalink)  
By salvuccio_90 on 04-07-2008, 00.46.42
Predefinito

ottimo,lo metto subito
Rispondi citando
  #17 (permalink)  
By Dante-dei on 04-07-2008, 01.08.32
Predefinito

Sinceramente mi fa schifo per ora come plugin.
L'idea è bella e sarebbe ottimo se non che mi corrompe il file ogni volta rovinando i caratteri del gioco facendo sparire le "F" e le "X" ad esempio.
Rispondi citando
  #18 (permalink)  
By eMMe 92 on 04-07-2008, 01.43.26
Predefinito

Interessante come idea... è bello vedere persone che si impegnano così cpme D_A !!!
Rispondi citando
  #19 (permalink)  
By ettore46 on 04-07-2008, 11.28.04
Predefinito

Citazione:
Originalmente inviato da Gh0s7 Visualizza messaggio
ora ti ammoniscono

comunque,il prx sta migliorando ma secondo me è ancora lontano da quello che serve..deve creare le cartelle per ogni gioco,un poco come fa savegame deemer...
dai skerzavo............. si sta migliorando cmq a me continua a nn funzionare........................................ .....................io nella memory devo mettere il plugin e il file di testo game.txt ( con scritto ms0 ecc) e basta?????? xk io il plugin lo attivo ma nn mi funziona.....
Rispondi citando
Comment


Currently Active Users Viewing This Article: 1 (0 members and 1 guests)
 
Article Tools
Modalità visualizzazione

Regole di scrittura
Non puoi postare nuovi argomenti
Non puoi postare repliche
Non puoi postare allegati
Non puoi editare i tuoi post

BB code è Attivato
Le faccine sono Attivato
Il codice [IMG] è Attivato
Il codice HTML è Attivato
Trackbacks are Disattivato
Pingbacks are Disattivato
Refbacks are Disattivato
Vai al forum