1. asper

    asper GBAtemp Advanced Fan
    Member

    Joined:
    May 14, 2010
    Messages:
    896
    Country:
    United States
    I managed to dump the whole flash. This is my used script (you need busybox extracted from Mega Drive Flashback, or at least a busybox which is Playstation Classic processor compatible, copied in the same lolhack.sh folder):

    Code:
    fdisk -l /dev/mmcblk0 > /media/hda_fdisk.txt
    dd if=/dev/mmcblk0 conv=sync,noerror bs=64K | gzip -c | split -b 2000m - /media/backup.img.gz
    
    1st command will get info about flash "geometry" (dunno if it is needed for a restore but... it is just a .txt file :P )

    The 2nd command will make chunks of 2GBs to FAT32-save the whole 16GBs-NAND.


    The full backup can be fully extracted (for example) with 7zip (just extract the 1st file and it will do the rest).


    REMEMBER TO DISABLE PLAYSTATION CLASSIC AUTOSHUTODWN (60 minutes) because the dump will take at least 80 minutes to complete ! (or at least remember to move the joypad at least 1 time after 20-30 minutes :) ). THe dump will give no feedback (just a short green-orange led flashing at the beginning).
     
    Last edited by asper, Dec 9, 2018
    WD_GASTER2, ameisenmann and Advokaten like this.
  2. TonyBiH

    TonyBiH Member
    Newcomer

    Joined:
    Apr 23, 2017
    Messages:
    49
    Country:
    Bosnia and Herzegovina
    4 GB USB Scandisc Cruizer runs better with 4 games added than MediaRange with 10 games added USB 29 GB. MediaRange USB uses to much of power so right side of controller dont work or work with very big delay. So for now as nob I decided is maybe better to play less games untill there is some GUI. Is there way to delete one game when you want to back to factory settings? Is it enough to run usb without any games in games folder to do that?
     
    Last edited by TonyBiH, Dec 9, 2018
  3. titaniuml

    titaniuml GBAtemp Regular
    Member

    Joined:
    May 27, 2015
    Messages:
    111
    Country:
    Have you tried this?

     
  4. adam1290

    adam1290 GBAtemp Regular
    Member

    Joined:
    Dec 10, 2015
    Messages:
    100
    Country:
    You need to have some script in lolhack.sh that enables select + triangle to open up the emu settings. The easiest way to do it is for lolhack.sh to ONLY contain that script, put all your games in the 21 folder (mine are in their own folders with the bin and cue files in there) and then just load them from the emu settings.
     
  5. vanditr

    vanditr GBAtemp Regular
    Member

    Joined:
    Oct 4, 2017
    Messages:
    105
    Country:
    United States
    can someone please make a video on how to do this?
     
  6. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    5,315
    Country:
    Laos
    No.

    gpghax replaces a database file on the system - this has to be replaced with a stock one to get back to stock. (most likely it will suffice to remove the added lines for new games from the .db file that comes with gpghax, and upload it again (save it on the usb stick, boot system with it once))

    Also for game 21 (and every game you added to the carousell thereafter) there will have been a savefile and savestate folder created (with coresponding files) on the system. So to get it to "stock" you'd have to remove them as well. Maybe there are additional files created as well - I dont know.

    Thats why it is currently "better" to only create one additional game added (21), and load in all others (f.e. as pbps or cue/bins), from the select+triangle menu. As all games you start trough that, still count as game 21 from the systems point of view (less cleanup to get back to stock later on).

    @asper (if you are in the mood), I'd preferably need a default (untouched) regional.db file, preferably from a European model of the playstation classic, for later down the road, if you or anyone else has one at hand, please drop me a PN.
    --

    If anyone runs into the issue of wanting to make a multibin game single bin. Read this and google chdman: https://forums.launchbox-app.com/to...n-and-then-pbp/?do=findComment&comment=277997 Works like a charm (also for pbp creation).

    — Posts automatically merged - Please don't double post! —

    Its really better not to at this point I'm afraid. :/

    There are two methods out there currently. The one suggested by gpghacks - and onother one, where you dump the contents of the internal playstation classics game and save folders (incl the regional.db file) onto two partitions of your USB stick entirely, then symlink those - and start modifying on the stick. The second one is "safer" as you only modify files on the usb stick, and not on the system - but more tedious to set up. ;) (You can find this one on the playstation classic reddit, it also uses lolhack)

    Both of those methods are currently unsupported in terms of "being able to get in touch with the devs" - at least potentially. Meaning - give people time to set up an infrastructure, that starts with you getting backups of the most important files first - before you have even a few dozen people trying this out. All of them would have to potentially "one by one" be guided to get their system back to stock.

    We have much bigger things incoming (retroarch being ported onto the system, maybe more) - so infrastructure first (a few devs thinking about how to structure "addons", backup creation, gui database editing, ...) is a good way to go imho. :/

    Otherwise it will be hard to get people back to stock if needed.

    That said, the gpghax method comes with a readme, and is actually pretty easy to follow - if you edited sql lite databases before (know how to use a sql editor). The only thing thats needed is in this readme, and perhaps in my post on the previous page. "Advanced users only."

    The negative is, you will edit one file without necessarily having a backup of it first. If that sounds horrible to you - look for the "run everything of a usb stick with two partitions" method on reddit. Its safer,but more complicated to set up. :) And you then also have to apply knowledge from the gpghax readme to add games (or at least a game - others can then be loaded in via the select+triangle menu).
     
    Last edited by notimp, Dec 9, 2018
    TonyBiH likes this.
  7. asper

    asper GBAtemp Advanced Fan
    Member

    Joined:
    May 14, 2010
    Messages:
    896
    Country:
    United States
    After a few "harvesting" I found out that the "animation intro+sound" is stored in that executable:

    \usr\sony\bin\showlogo

    - WAV intro audio starts at offset 0x88C44
    - Animated LOGO is built of 72 single PNG files starting at offset 0x23D4

    Happy boot modding :)
     
  8. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    5,315
    Country:
    Laos
    Successfully loaded up a Dead or Alive .pbp made out of a single .cue/.bin made out of the original .cue/multibin - with the method linked above.

    The original multibin image of Dead or Alive had 29 .bin files. You dont get many more than that. ;) (= the chdman method works)

    Dead or Alive - playable but with slight sound hitches atm. :) Not perfect.

    PaRappa The Rapper - entirely unplayable because of the input lag.

    Chrono Cross - Title screen animation and intro gamplay are entirely without slowdown or any hitch. Should run perfectly.

    (All tested as .pbp files.)

    Chrono Trigger (Final Fantasy Chronicles) looks horrible, thanks to the currently undefeatable filtering. :)
     
    Last edited by notimp, Dec 9, 2018
  9. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    5,315
    Country:
    Laos
    titaniuml and flinto like this.
  10. alucard733

    alucard733 Member
    Newcomer

    Joined:
    Mar 27, 2017
    Messages:
    17
    Country:
    France
    Good evening,
    I track everything and everything works perfectly, but I have a problem, he does not want to do the backup.db and suddenly I do not have my original regional.db. I would like to know if anyone has it and I would provide it in original ps european classic.
    thank you so much
     
  11. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    5,315
    Country:
    Laos
    Same with me. The backup cp line didn't work with mine either. asper might be able to get his hands on one (european version) - but its part of a 10+GB partition blob he'd have to extract. If better tools are available, you'll have more people getting the original regional.db into their hands - so I'm sure it will eventually make its rounds. :)

    I'd need a (preferably untouched) european one as well. File path is
    /gaadata/databases/regional.db
    btw, for anyone who has direct system access.

    edit: Nor did it work with this guy: https://www.resetera.com/threads/pl...s-envy-toward-us-products.84708/post-15763360
     
    Last edited by notimp, Dec 9, 2018
  12. WD_GASTER2

    WD_GASTER2 Hated by life itself.
    Developer

    Joined:
    Jun 17, 2018
    Messages:
    773
    Country:
    United States

    sweet on nailing the right command. this is actually absolutely important for people to avoid f-ing up their stuff.
     
  13. asper

    asper GBAtemp Advanced Fan
    Member

    Joined:
    May 14, 2010
    Messages:
    896
    Country:
    United States

    Better and faster dump script (it takes just 10-12 minutes):
    Code:
    fdisk -l /dev/mmcblk0 > /media/hda_fdisk.txt
    
    dd if=/dev/mmcblk0 count=2000000 of=/media/mmcblk0img01
    dd if=/dev/mmcblk0 count=2000000 skip=2000000 of=/media/mmcblk0img02
    dd if=/dev/mmcblk0 count=2000000 skip=4000000 of=/media/mmcblk0img03
    dd if=/dev/mmcblk0 count=2000000 skip=6000000 of=/media/mmcblk0img04
    dd if=/dev/mmcblk0 count=2000000 skip=8000000 of=/media/mmcblk0img05
    dd if=/dev/mmcblk0 count=2000000 skip=10000000 of=/media/mmcblk0img06
    dd if=/dev/mmcblk0 count=2000000 skip=12000000 of=/media/mmcblk0img07
    dd if=/dev/mmcblk0 count=2000000 skip=14000000 of=/media/mmcblk0img08
    dd if=/dev/mmcblk0 count=2000000 skip=16000000 of=/media/mmcblk0img09
    dd if=/dev/mmcblk0 count=2000000 skip=18000000 of=/media/mmcblk0img10
    dd if=/dev/mmcblk0 count=2000000 skip=20000000 of=/media/mmcblk0img11
    dd if=/dev/mmcblk0 count=2000000 skip=22000000 of=/media/mmcblk0img12
    dd if=/dev/mmcblk0 count=2000000 skip=24000000 of=/media/mmcblk0img13
    dd if=/dev/mmcblk0 count=2000000 skip=26000000 of=/media/mmcblk0img14
    dd if=/dev/mmcblk0 count=2000000 skip=28000000 of=/media/mmcblk0img15
    dd if=/dev/mmcblk0 count=2000000 skip=30000000 of=/media/mmcblk0img16
    
    It will dump 16 x1GB files uncompressed. If a part is broken you can edit the script to just re-dump it only ;)

    You can join it with batch script:

    copy /b file1 + file2 + file3 ..... fullfile

    Anyway the dump is missing boot0, boot1 and maybe others so do not consider this a full dump :(
     
    Last edited by asper, Dec 10, 2018
    zfreeman and titaniuml like this.
  14. WD_GASTER2

    WD_GASTER2 Hated by life itself.
    Developer

    Joined:
    Jun 17, 2018
    Messages:
    773
    Country:
    United States
    eh, good enough if you need to recover from a brick. there is no reason why boot0 and boot1 would get fubar'd baring something really odd happening. good work :P
     
  15. TonyBiH

    TonyBiH Member
    Newcomer

    Joined:
    Apr 23, 2017
    Messages:
    49
    Country:
    Bosnia and Herzegovina
    I almost bricked mine PSClassic. I was testing maximum of 8 games for 4 GB USB and is not working after that I'm was then back with mine 4 games backup but then i got error "Console needs to shut down please disconect your power cord". Then I used 29 GB usb with 10 games just to get back and yes I was back without error and then I performed factory reset that delete all save states and memory cards. Now I'm fine back to my 4 games only. I don't like load menu with combination select triangle is not apealing to me. One save state without number you used can mess up you. It would be nice that savestate can be deleted. I'm a stubborn ass. :rofl:
     
    Last edited by TonyBiH, Dec 10, 2018
  16. titaniuml

    titaniuml GBAtemp Regular
    Member

    Joined:
    May 27, 2015
    Messages:
    111
    Country:
    How do you know that's a brick?

    Also, you can use the start+triangle save states. You have 9 per game.
     
  17. TonyBiH

    TonyBiH Member
    Newcomer

    Joined:
    Apr 23, 2017
    Messages:
    49
    Country:
    Bosnia and Herzegovina
    I thought that was bricked because it was repeating that console need to power off and it sad error without any other options even when I wait and power off and remove cable for few minutes. Thankfully I resolved that like I sad above. For me that was like i lost some life. Should I delete stuff from lolhack to that code that do select+triangle or there is combination of original file and another line with that?
     
    Last edited by TonyBiH, Dec 10, 2018
    titaniuml likes this.
  18. notimp

    notimp Well-Known Member
    Member

    Joined:
    Sep 18, 2007
    Messages:
    5,315
    Country:
    Laos
    Does factory reset reset the "number of games in the selection" back to the stock 20?

    (Probably not.)

    If so - it probably resets the regional.db file as well.
     
    Last edited by notimp, Dec 10, 2018
  19. TonyBiH

    TonyBiH Member
    Newcomer

    Joined:
    Apr 23, 2017
    Messages:
    49
    Country:
    Bosnia and Herzegovina
    I was back to same usb with mine 10 games just without savestates. Then I was safe to return to USB with only 4 games. You also get to choose language again. When you don't have burden of saves and savestates you can back to whatever you want number of games. System uses just number of any game for savestates and saves if you change game and description you will get old savestate and old save from previous game but never delete game that have savestate without replacement or without deleting savestate that what I was learned.
     
    Last edited by TonyBiH, Dec 10, 2018
    notimp likes this.
  20. titaniuml

    titaniuml GBAtemp Regular
    Member

    Joined:
    May 27, 2015
    Messages:
    111
    Country:
    I just use this updated one from the quote below.

     
    Hekel, fixingmytoys and TonyBiH like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Playstation, classic,