xuanyuanyaoming / procfw

Automatically exported from code.google.com/p/procfw
0 stars 0 forks source link

Feature request: act.dat switcher #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NoDRM engine is a great idea, so it's only fitting that PRO CFW would feature a 
simple mechanism to alternate between act.dat files, created by the same user 
under different account activations of the same console. 

Right now, PRO-B already allows to do everything needed manually: you can set 
XMB USB device to Flash2 in recovery menu and copy your current act.dat to your 
PC; after that, you simply activate your PSP to another account and repeat the 
procedure, and whenever you want to play games, purchased from a previous 
account, you disable write protection of Flash )also from recovery menu and 
overwrite act.dat with one that fits your needed game (provided, it's already 
installed and it's license is also in license folder).

What I suggest is automating this process, via recovery menu, or a standalone 
app, that would work this way:
1. On demand (or maybe even automatically for those users, who do not usually 
use separate accounts, but still may accidentally get banned for frequent 
reactivation - apparently, these days it's quite easy to achieve) copy act.dat 
to, say, ms0:\Accounts\%username%\
2. List all directories thus (or manually) created under ms0:\Accounts and, 
when any of them selected, overwrite Flash2:\act.dat with the one, stored at 
that directory.
3. Also, it would be nice, if it'd remember which act.dat is the real one at 
this point (i.e., the one, that the console had been really activated with the 
last time), so that there would be a corresponding option "reset to default" 
(yes, it'd double with some other entry, but for users who have A LOT of these 
accounts, a clearly visible option would be needed). Or maybe it could be set 
to automatically restore on reboot.

Original issue reported on code.google.com by astashen...@gmail.com on 14 Jun 2011 at 6:56

GoogleCodeExporter commented 9 years ago
You stated an incorrect type, u should have written "Enhancement" rather than 
"Defect" :)

Original comment by stepy...@gmail.com on 14 Jun 2011 at 9:09

GoogleCodeExporter commented 9 years ago
I know. Maybe I'm dumb, but I can't find where to switch this. When I click 
"new issue" - there's just an entry form. No drop-down boxes, nothing that 
would indicate it's possible to switch. After a couple attempts I came to think 
this is only available to mods, or smth.

Original comment by astashen...@gmail.com on 14 Jun 2011 at 9:28

GoogleCodeExporter commented 9 years ago
This is similar to the psp having accounts like the ps3. I think that this 
would be a wonderful idea.

Original comment by omnic...@gmail.com on 14 Jun 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Well, here is my approach:

* Store the act.dat and the system.dreg (there is any other files?) in slots, 
as example: act_us.dat, act_eu.dat, act_hk.dat, etc.
* Provide an entry in the recovery menu to change the slot (the slot sill use 
the store region name).

When a user creates an account then it will save the user/password and the 
activation to the selected slot (this requires that the user select the correct 
slot when creating the account on the psp). If the user has accounts from 
various stores and wants to login to a different account then he only has to go 
to the recovery and select the desired region. The CFW will manage all the 
redirection and will use the account/activation file.

Now for the psn content: one option is to try every act.dat file until the 
npdrm functions succeed (or fail if none of the act.dat match). Another 
approach is to parse the PSPEDAT header (or the rif file) to try to find the 
region where that game/add-on belongs and use the correct act_XX.dat file. Of 
course, the first act_XX.dat file to be tested is the one that is currently 
selected in the recovery config.

The only drawback with this approach is that one cannot use different psn 
accounts for the same region but i think that the multiple region support is 
far more important than use multiple accounts in the same store.

After a quick look the modules that have a reference to the act.dat are np9660, 
np_inst, npdrm, usbstorboot, game_plugin, npsignup_plugin and sysconf_plugin.

Any comments or drawbacks about this approach?

Original comment by cesa...@gmail.com on 16 Jun 2011 at 2:55

GoogleCodeExporter commented 9 years ago
I was under the impression that there's no need to use system.dreg. Is it 
somehow related to online functionality? Because I tried with only swapping 
act.dat and PSN games worked; on the other hand I never tried to play online 
via this method (and I believed it's a ban risk - trying to log into a game on 
a non-activated console).
Your solution obviously adds more functionality in terms of automating the 
process, which is good.
Anyway, my main question here is: where is system.dreg and what is it used for?
Btw, the "Account manager" issue has been flagged as "Done". Dunno, what 
functionality is implemented, need to try the nightly build.

Original comment by astashen...@gmail.com on 16 Jun 2011 at 3:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What is it useful for ?
The DRM engine should avoid swapping act.dat.

Why would you swap them ?

Original comment by devnonam...@gmail.com on 14 Jun 2012 at 8:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No answer

Original comment by devnonam...@gmail.com on 25 Aug 2013 at 2:34