Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: [Help] Loader with compressed ISOs?
  

Results 1 to 10 of 10
  1. #1 [Help] Loader with compressed ISOs? 
    VIRGIN KLM's Avatar
    VIRGIN KLM is offline Member
    Join Date
    May 2012
    Posts
    25
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    Hey everybody,

    I wanted to make this question sometime now but is there any loader out there that supports somekind of compression on isos like a compressed image format or a zip'ed ISO or something?
    I heard that PS2ESDL did at sometime but I'm not sure and such feature is very intresting.
    (I believe) Using some basic LZ-type algorythm in isos wouldn't hurt and wouldn't be tough to implement and even better PS2's hardware would be capable of handling such compression easily and it would help you tackle the USB loading speed issues at an avergage percentage.
    Reply With Quote  

  2. #2  
    LocalH is offline Member
    Join Date
    Dec 2010
    Posts
    174
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    6
    You can always try using OPL with games from an SMB share, which can then be compressed with the host OS's on-the-fly compression (if available). I have 364GB of PS2 ISOs on my old Windows share (which, after moving to an HDD setup, is just used for storage now) and they only take up 271GB of actual disk space (and NTFS compression is not anywhere near efficient).
    Chip-free homebrew <3

    SCPH-39001, FMCB 1.8c, NA+250GB HDD
    SCPH-75001, FMCB 1.8c

    GSM 0.36 + OPL r639 = Gaming bliss ^_^
    Reply With Quote  

  3. #3  
    VIRGIN KLM's Avatar
    VIRGIN KLM is offline Member
    Join Date
    May 2012
    Posts
    25
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    Quote Originally Posted by LocalH View Post
    You can always try using OPL with games from an SMB share, which can then be compressed with the host OS's on-the-fly compression (if available). I have 364GB of PS2 ISOs on my old Windows share (which, after moving to an HDD setup, is just used for storage now) and they only take up 271GB of actual disk space (and NTFS compression is not anywhere near efficient).
    Thanx but (I may sound super retarded) I don't think I fully understood what you told me or you missunderstood my question.
    I was pointing if it's possible to compress an iso and store it as compressed on removable media and use it as is which would lead into a number of nice stuff like games taking less space, 4GB USB sticks can hold game ISOs that exceed it's capacity because of using a full DVD5 and also faster load times.
    Example, PSP's with CFWs use CSO format for exactly the same purpose. I'm not sure if something simmilar could be done on PS2.

    EDIT: I don't have a Network Adaptor on my PS2, it's expansion bay is damaged.
    Reply With Quote  

  4. #4  
    RandQalan's Avatar
    RandQalan is online now Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,661
    Downloads
    17
    Uploads
    37
    Mentioned
    18 Post(s)
    Tagged
    4 Thread(s)
    Likes Given
    744
    Likes Received
    415
    You could try using windows native compression and see if either OPL or PS2ESDL work with it not sure myself and probably won't work but you could try

    BTW use DVD CD folder and compression probably best chance

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  5. #5  
    VIRGIN KLM's Avatar
    VIRGIN KLM is offline Member
    Join Date
    May 2012
    Posts
    25
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    Quote Originally Posted by RandQalan View Post
    You could try using windows native compression and see if either OPL or PS2ESDL work with it not sure myself and probably won't work but you could try

    BTW use DVD CD folder and compression probably best chance
    As far as I know ISOs are an uncompressed container format and CD/DVD folders recognize/load only .iso formats in both OPL and PS2ESDL...
    Am I missing something?
    Reply With Quote  

  6. #6  
    LocalH is offline Member
    Join Date
    Dec 2010
    Posts
    174
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    6
    Using Windows compression won't work unless your streaming games to OPL over the network, as using Windows compression requires NTFS, and even if it worked with FAT32, it would require that OPL contain code to decompress on the fly, which it currently does not, and due to the slow speed of the IOP it would likely slow loading speeds, rather than improve them.
    Chip-free homebrew <3

    SCPH-39001, FMCB 1.8c, NA+250GB HDD
    SCPH-75001, FMCB 1.8c

    GSM 0.36 + OPL r639 = Gaming bliss ^_^
    Reply With Quote  

  7. #7  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by VIRGIN KLM View Post
    As far as I know ISOs are an uncompressed container format and CD/DVD folders recognize/load only .iso formats in both OPL and PS2ESDL...
    Am I missing something?
    The (really) early private versions of PS2ESDL used to support compression - and it was so strong that it could shrink most of my games to around 25% of their sizes.... but made the video lag slightly worse too.

    So no, no loader supports compressed disc images now. The PS2's IOP doesn't have enough power to support compression over a slow interface like USB, and yet not cause slowdowns in data transfer performance.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  8. #8  
    VIRGIN KLM's Avatar
    VIRGIN KLM is offline Member
    Join Date
    May 2012
    Posts
    25
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    Quote Originally Posted by SP193 View Post
    The (really) early private versions of PS2ESDL used to support compression - and it was so strong that it could shrink most of my games to around 25% of their sizes.... but made the video lag slightly worse too.

    So no, no loader supports compressed disc images now. The PS2's IOP doesn't have enough power to support compression over a slow interface like USB, and yet not cause slowdowns in data transfer performance.
    So I heard right, well, you could scale the compression to lower ratio which would result into better results though.
    For example, PS2's IOP wouldnt be able to handle an ISO with LZMA type compression which demands alot of resources but there are more free algorythms out there that are built around a low-end hardware phylosophy and would give a good balance without breaking/compromising anything, which is the same phylosophy Nintendo uses on DS's system which has a far slower interface(built-in LZ algorythm).
    So should I put what I said above to the request area?!
    I'm sure many people would be pleased by something like this.
    Also you could bring back the support of it as a POC or put it there with no promises over results, still would be usefull for games with no or nearly any videos.
    Reply With Quote  

  9. #9  
    LocalH is offline Member
    Join Date
    Dec 2010
    Posts
    174
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    6
    One (fairly cheap?) way to implement some storage reduction would be to preprocess the ISOs, searching for very large runs of a single byte, and noting where they are in the file so that the loader could spit out the noted byte within those regions. For performance, make the "compression" LBA-granular, possibly with a minimum count of LBAs before the feature kicks in (to help mitigate RAM usage for storing the table of such regions). This would especially help with all the ISOs that have large amounts of dummy data (but only if the dummy data is uniformly the same byte over and over).
    Chip-free homebrew <3

    SCPH-39001, FMCB 1.8c, NA+250GB HDD
    SCPH-75001, FMCB 1.8c

    GSM 0.36 + OPL r639 = Gaming bliss ^_^
    Reply With Quote  

  10. #10  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by VIRGIN KLM View Post
    So I heard right, well, you could scale the compression to lower ratio which would result into better results though.
    For example, PS2's IOP wouldnt be able to handle an ISO with LZMA type compression which demands alot of resources but there are more free algorythms out there that are built around a low-end hardware phylosophy and would give a good balance without breaking/compromising anything, which is the same phylosophy Nintendo uses on DS's system which has a far slower interface(built-in LZ algorythm).
    So should I put what I said above to the request area?!
    I'm sure many people would be pleased by something like this.
    Also you could bring back the support of it as a POC or put it there with no promises over results, still would be usefull for games with no or nearly any videos.
    The prototypes used LZO compression - which should have been lighter than LZMA.

    However, I learned that the real problem came from the fact that the IOP is a 36MHz MIPS R3000A..... which is multithreaded and is far too insufficient that it can even up getting bombarded with interrupt requests (At a faster rate than it can even register), especially from peripherals that can transfer data faster than the IOP can (E.g. the i.Link port and Ethernet interface).

    So since the IOP is already quite busy, the IOP will take quite a while to decompress data.

    If compression was to be reintroduced, I suppose that it would work best with HDD support, as great transfer rates offered by the ATA interface will make up for the IOP's lack of processing power.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •