PS2 PS2 Remote ASM

Discussion in 'Apps' started by Based_Skid, Oct 19, 2018.

  1. 31
    53
    12
    Based_Skid

    Based_Skid Forum Noob

    Joined:
    Jun 14, 2018
    Messages:
    31
    Likes Received:
    53
    Trophy Points:
    12
    Gender:
    Male
    We Created a Method to inject compiled assembler code from gtlcpimps code designer using the http client file system.

    It injects the game patchinto memory using the HTTP client file system.

    I dont know a lot about PS2 Homebrew but we pulled this off. Im sure this idea could be expanded upon and used to create something unique.


    https://github.com/Based-Skid/PS2-Remote-ASM



    working example : https://update.ps2.host/r0005


    What would be nice is getting libYAML in the ps2sdk. this could potentially pave the way to create homebrew for the console that can interface with a web application

    With That being said, I Think it may also be Possible to Boot an ELF from Http, and its something i havent really explored yet but is the next thing on my list.

    If anyone has any ideas or would like to contribute. Please feel free.

    Note: I will come back here later on and update this thread with more info.
     
    sandungas, Tupakaveli, TnA and 2 others like this.
  2. 677
    327
    97
    TnA

    TnA Member

    Joined:
    Jul 1, 2018
    Messages:
    677
    Likes Received:
    327
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Germany --> Saxony
    'PS2 Homebrew Browser' (download&install and/or direct start) here we come! :)


    Great and interesting work!
     
  3. 31
    53
    12
    Based_Skid

    Based_Skid Forum Noob

    Joined:
    Jun 14, 2018
    Messages:
    31
    Likes Received:
    53
    Trophy Points:
    12
    Gender:
    Male
    @krHACKen and I Manged to Get a prototype going of a Web Based Launcher. (he figured out the elf loading shit)



    It contains Some of the wLaunchELF source code used to Load ELF files

    It has Some Issues going on but its a start.
     
    jolek, Tupakaveli, TnA and 1 other person like this.
  4. 677
    327
    97
    TnA

    TnA Member

    Joined:
    Jul 1, 2018
    Messages:
    677
    Likes Received:
    327
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Germany --> Saxony
    So you want to handle an external server like a 'device' and 'stream' the ELF(s)/App(s) from there? Interesting!

    If it only loads the ELF and the ELF can't access following files (IRXs, themes, whatever), alot apps will fail.

    Maybe a 'Fake-Device' driver could work... [to also yield a higher compatibility]
    (Fake-MC with a redirection on the abstraction between the MC-Access-Drivers and the Hardware-drivers, which actually are then not accessing the MC).
     
    Last edited: Dec 26, 2018
  5. 31
    53
    12
    Based_Skid

    Based_Skid Forum Noob

    Joined:
    Jun 14, 2018
    Messages:
    31
    Likes Received:
    53
    Trophy Points:
    12
    Gender:
    Male
    The Http Client File system is Basically a File system Driver That Provides Access to Http.
    https://github.com/ps2dev/ps2sdk/blob/master/iop/fs/http/src/ps2http.c


    Http Based ELF loader DEMO For the PS2
    Uses DHCP For Network Config
    Loads an ELF file into Memory Via HTTP and Boots it!.
    The Elf has been Tested and is Working on Real Hardware.

    Some of The Apps may fail to load a config file but This is only a Proof of concept.

    Attached Below Is a ZIP file containing the Demo ELF file.

    The ELF Files Loaded over HTTP are Behind a CDN and should load very quick!



    pcsx2_XsckjHolpG.png
     

    Attached Files:

    Last edited: Jan 10, 2019
    jolek, TnA and Tupakaveli like this.
  6. 677
    327
    97
    TnA

    TnA Member

    Joined:
    Jul 1, 2018
    Messages:
    677
    Likes Received:
    327
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Germany --> Saxony
    I'm not sure if you ever heard about "iSendor" (or similar).
    It also was an ELF for the PS2 which was meant to do that.

    Glad you 2 progressed to this point! :)

    Btw.: @Based_Skid: Is the source on your repo upto date (if you intend to make an update)?
     
  7. 31
    53
    12
    Based_Skid

    Based_Skid Forum Noob

    Joined:
    Jun 14, 2018
    Messages:
    31
    Likes Received:
    53
    Trophy Points:
    12
    Gender:
    Male

    Im not sure What Source You are Referring to
     
  8. 677
    327
    97
    TnA

    TnA Member

    Joined:
    Jul 1, 2018
    Messages:
    677
    Likes Received:
    327
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Germany --> Saxony
    Oh! I see, there is no source for 'iLaunchELF', but for 'PS2 ASM'?
     
  9. 31
    53
    12
    Based_Skid

    Based_Skid Forum Noob

    Joined:
    Jun 14, 2018
    Messages:
    31
    Likes Received:
    53
    Trophy Points:
    12
    Gender:
    Male
  10. 677
    327
    97
    TnA

    TnA Member

    Joined:
    Jul 1, 2018
    Messages:
    677
    Likes Received:
    327
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Germany --> Saxony
    THX, that is great! :)
     

Share This Page