PSX play on PS2 USB

Discussion in 'Sony Programming and Development' started by Wolf77, Mar 13, 2014.

  1. Wolf77

    Wolf77 Member

    Joined:
    Mar 13, 2014
    Messages:
    19
    Likes Received:
    4
    Hi all
    I have a question
    Is it possible creating PS2/PSX USB Manager ISO/BIN/CUE ,something along the lines of OPL which could be boot using orginal PSX Action Replay or Game Shark ???
     
  2. master991

    master991 Enthusiastic Member

    Joined:
    Jun 4, 2012
    Messages:
    597
    Likes Received:
    28
    Yeah, that would be great.
    Also i think on psx side we haven't any usb 1.1 speed problem :p
     
  3. Wolf77

    Wolf77 Member

    Joined:
    Mar 13, 2014
    Messages:
    19
    Likes Received:
    4
    I know that speed usb 1.1 not good, but emu PS2PSXe ffgriever works well from USB, only cuts FMV.

    Advantage of this solution is compatibility psx pal / ntsc using Action Replay or Game Shark 99% games works on PS2 swap trick

    [​IMG][​IMG]
     
    Last edited: Mar 13, 2014
  4. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    I'm not even a hundredth as experienced or as intelligent as some of the guys on the forums, but from what I understand there is no way to invoke PS1DRV while under PS2 mode, thus making what you're proposing impossible (someone out there, feel free to correct me if I'm wrong). The closest you can get at the moment is utilizing one of the official Sony PSone emulator hacks under PS2 HDD-OSD, but that has a whole host of drawbacks, chiefly among them being the fact that the emulator is far from complete and, as a result, many games run with glitches.
     
    Last edited: Mar 13, 2014
  5. smf

    smf mamedev

    Joined:
    Apr 14, 2005
    Messages:
    1,255
    Likes Received:
    88
    Being able to use those on USB or Ethernet would allow you to run those on a pstwo though.
     
  6. Wolf77

    Wolf77 Member

    Joined:
    Mar 13, 2014
    Messages:
    19
    Likes Received:
    4
    Last edited: Mar 14, 2014
  7. tkeely4777

    tkeely4777 Rapidly Rising Member

    Joined:
    Mar 9, 2013
    Messages:
    77
    Likes Received:
    5
    No, I'm talking specifically about PSone mode under PS2, utilizing the PSone hardware under PS2 mode.
     
  8. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Some legendary developer once wrote that accessing the PlayStation 2 peripherals while in the PS mode will result in a bus error. I don't know if it will really happen or not, but it should be likely if the memory mapping does change between the IOP's 2 operating modes.

    The best way now would be to create a good software emulator, which will allow us to emulate some peripherals like the memory card and CD-ROM hardware. Hardware emulation just isn't flexible enough. Interaction with the other pieces of hardware by the running program can be just translated into RPC calls to the PS2 libraries.

    That would also allow us to quit and return back to the dashboard with the existing hardware, which makes things more convenient for gamers.

    Invoking rom0:pS1DRV will reboot the whole PS2 into PS mode, with the IOP in PS mode and the EE set up as the GPU emulator. PS1DRV is actually a PS2 program.
     
    Last edited: Mar 14, 2014
  9. Wolf77

    Wolf77 Member

    Joined:
    Mar 13, 2014
    Messages:
    19
    Likes Received:
    4
    Last edited: Mar 14, 2014
  10. sp193

    sp193 Site Soldier

    Joined:
    Mar 28, 2012
    Messages:
    2,217
    Likes Received:
    1,052
    Most likely not, unless somebody tries that and proves that it is doable.

    That is the independence exploit. As mrbrown wrote, it exploits an unchecked buffer vulnerability in PS1DRV. Through that, unlicensed code can be run.

    It has nothing to do with running PlayStation games on the PlayStation 2, while it is in PS mode.
     
    Last edited: Mar 14, 2014
  11. Delcro

    Delcro Member

    Joined:
    Mar 16, 2014
    Messages:
    10
    Likes Received:
    1
    I am working on adding USB support to POPS-00001. So far, it starts reading from disc0 and then stops. Here's the log output:
     
  12. Wolf77

    Wolf77 Member

    Joined:
    Mar 13, 2014
    Messages:
    19
    Likes Received:
    4
    USB support POPS-00001 good solution.
    It would be great POPS on USB , big problem is speed of installing PSX games to PS2 HDD.
     
  13. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    You must allocate more memory for the iopcd threads, and add a delay loop to sceCdRead, otherwise the FILEIO RPC server will crash while seeking thru the file that is in your USB mass drive. Don't ask me why, I can't remember. We had plenty of horrible crashes trying to make it work D: .
    Also, disc0 isn't needed. I don't have access to the SLBB disassemblies right now, but according to the POPStarter src, this :
    _sw(0x00000000, 0x00200834);
    _sw(0x1000000A, 0x0020083C);
    _sw(0x00000000, 0x0020085C);
    ... should be enuff for disabling both the reading and the integrity check.
    Good luck.


    EDIT : Oh, I just remembered that the POPS-00001 container does not clear all the SIF register flags properly due to some stupid coding mistake. I'd recommend you use the unaltered emulator binaries for great justice :) .
     
    Last edited: Mar 18, 2014
  14. Delcro

    Delcro Member

    Joined:
    Mar 16, 2014
    Messages:
    10
    Likes Received:
    1
    Yeah, I did increase the stack size for iopcd, but what do you mean by add a delay loop to sceCdRead? My own module read function?

    EDIT: Wow! It's working! Thanks krHACKen! Patching the integrity check did it.

    I've attached a ppf patch. Apply it to EXECUTE.ELF and put MYDUMP.BIN and disc/disc0 in folder named POPS in the USB stick. So far I've only tested Bishi Bashi Special 3.
     

    Attached Files:

    Last edited: Mar 19, 2014
    krHACKen likes this.
  15. SkySnake

    SkySnake Member

    Joined:
    Oct 15, 2013
    Messages:
    21
    Likes Received:
    0
    This is awesome Delcro!
    I tested Little Ralph and Policenauts (multi-disks merged into one), they all seemed to run like they did on the HDD.
    I'll have to test more later today, though from those quick tests things are looking good :D
     
  16. naruto977

    naruto977 Newly Registered

    Joined:
    Nov 14, 2013
    Messages:
    3
    Likes Received:
    0
    Could you tell me how you setup POPS for usb? I've tried what Delcro said, but just black screen.
     
    Last edited: Mar 19, 2014
  17. Delcro

    Delcro Member

    Joined:
    Mar 16, 2014
    Messages:
    10
    Likes Received:
    1
    @naruto977: make sure EXECUTE.ELF is the one that is 3MB in size.
     
  18. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Congrats and thanks for sharing your patch !

    Same here. Tried with two flash drives and a USB HDD that was fully FAT32 formatted before the test.
    Here's the SLBB EE output :
    Seems to crash or halt by hitting an exception breakpoint before or during the emulator GPU initialization...
    Not sure I could do that today, but I'll try to set up your PFS wrapper using the POPStarter container and use its subroutine loading facilities to figure out what goes wrong...
     
  19. GillBert

    GillBert Spirited Member

    Joined:
    Jul 26, 2012
    Messages:
    101
    Likes Received:
    39
    It works on my 50001 from an USB stick :), but only with the NA & HDD attached to the PS2. Tested it with Alien Looter game.


    Looks very promising!!!

    EDIT: Tested in a Slim 90006, it works with Road Rash game. I use an execute.elf with PSP 6.60 bios.
     
    Last edited: May 14, 2014
  20. krHACKen

    krHACKen Enthusiastic Member

    Joined:
    Oct 24, 2012
    Messages:
    571
    Likes Received:
    376
    Tried again with another external HDD and Rage Racer v1.0 NTSC J. The intro FMV and the CDDA tracks play fine, no latency, no stuttering. Great stuff !
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page