PS3 [RELEASE] IMG Encrypt (.ISO, .BIN, .BIN.ENC)

Discussion in 'General PS3 Discussion' started by Ph4nton, Jul 2, 2019.

  1. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    After having problem with Ps2 Classic GUI, I decided to make my own program for encrypt and decrpy image files. This project is just a graphic interface project (GUI) over the work of @flatz, the name of the initial project is: "ps2classic src"

    This project is a Win32 program (Windows only)

    To enable debug console use
    Code:
    IMGDecrypt.exe -debug
    This is an open source project and the github link can be found at the end of this thread.

    Supported files: .ISO, .BIN and .BIN.ENC

    Features:

    • Multi-file image suporte.
    • Encrypt and Decrypt
    • Drag and Drop
    • A C/C++ Project


    Images:
    [​IMG]


    [​IMG]

    Download:

    Version 1.1: https://github.com/Ph4nton/IMG-Encrypt/releases/download/1.1/IMG.Encrypt.zip

    Version 1.0: https://github.com/Ph4nton/IMG-Encrypt/releases/download/1.0/IMG.Encrypt.zip

    Source: https://github.com/Ph4nton/IMG-Encrypt

    Ps¹. If you have problems running the program or missing dll problem, install the Microsoft Visual C ++ 2017 Redistributable Pack: https://aka.ms/vs/16/release/vc_redist.x86.exe

    Credits:
    @flatz
    @kozarovv
    @aldostools
     
    Last edited: Jul 2, 2019
    VTSTech, Algol, Louis Garry and 16 others like this.
  2. 5,909
    2,935
    497
    atreyu187

    atreyu187 Old Hunter Moderator

    Joined:
    Sep 29, 2014
    Messages:
    5,909
    Likes Received:
    2,935
    Trophy Points:
    497
    Gender:
    Male
    Occupation:
    Scholar of Byrgenwerth
    Location:
    Cainhurst Castle
    Home Page:

    Nice I'm sure this will help quiet a few. Keep up the good work and always nice to see fresh blood around.
     
  3. 750
    187
    72
    Sdw100

    Sdw100 Moderator

    Joined:
    Nov 17, 2014
    Messages:
    750
    Likes Received:
    187
    Trophy Points:
    72
    Gender:
    Male
    Occupation:
    ENGINEER
    Location:
    ENGLAND
    Good stuff thanx for the upload
     
  4. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    Nice release :) What does "Multi-file image suporte." mean?
    Is it batch conversion of multiple ISO files in a single step?
    or is it support for PS2 games that use multi-discs like DMC2, Xenosaga 2, etc? or both?
     
    Algol and Sdw100 like this.
  5. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    Yes, is a convert multiple ISOs files in a single step, like in second picture
     
    aldostools likes this.
  6. 7,646
    5,857
    872
    kozarovv

    kozarovv Developer

    Joined:
    Nov 8, 2014
    Messages:
    7,646
    Likes Received:
    5,857
    Trophy Points:
    872
    Home Page:
    Nice project. Does it add LIMG automatically?
     
  7. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    I've heard about it, but I don't know what it's, and what it does.
    You could explain it? maybe I'll add it in the next update.
     
    Algol likes this.
  8. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    LIMG is a header that should be added to the ISO with some info like sector size, number of sectors, and other bytes used by the ps2_netemu. Without the LIMG the .BIN.ENC will not work.

    The original ps2classic.exe released by flat_z didn't include that code. PS2 Classics GUI adds that header.
    There are some forks of the original ps2classic that support the creation of LIMG...
     
    Louis Garry, Sdw100, Ph4nton and 2 others like this.
  9. 7,646
    5,857
    872
    kozarovv

    kozarovv Developer

    Joined:
    Nov 8, 2014
    Messages:
    7,646
    Likes Received:
    5,857
    Trophy Points:
    872
    Home Page:
    Using fact that tool not add limg yet, but allow batch encrypt ISO.. I made pack of 1564 encrypted configs for HEN users using that tool. Renamed to be used with webman mod. Pack is even with PS2 Classics GUI v2.2.2 set. So miss some newest configs, nothing major.

    UNTESTED!!

    Download: http://www.mediafire.com/file/j8g9v0l67erkzk8/HEN_CONFIGS.7z/file
     
  10. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    I moved the *.ENC files to /ENC folder and re-packed your files, to make them usable in webMAN MOD.
    https://github.com/aldostools/webMAN-MOD/releases/download/1.47.24/PS2CONFIG.pkg (44.7MB)

    As there are many duplicates, I only kept 1 version of these. I preferred to keep the ones from CUSTOM and NET.
     
  11. 185
    264
    97
    bucanero

    bucanero Developer

    Joined:
    Jun 29, 2019
    Messages:
    185
    Likes Received:
    264
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    I might be wrong, but it looks like your ps2classic source code already has LIMG support, see prepare_iso(...) :
    https://github.com/Ph4nton/IMG-Encr...5311d9a714cd/IMGEncrypt/ps2classic/iso.c#L518

    Just check with @aldostools or any other experienced dev here to be sure that's what you're needing to add in your next version.

    cheers!
     
  12. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
  13. 3,260
    5,350
    522
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    3,260
    Likes Received:
    5,350
    Trophy Points:
    522
    Yes, that function adds LIMG header... but it only supports mode1/2048 (data CD & DVD). It doesn't support CD images in mode2/2352.

    wbe32(buffer+8, data_size/0x800);
    wbe32(buffer+12, 0x800);
     
    Algol likes this.
  14. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    Apparently in the last binary of ps2classic.exe he made some change in LIMG, but I have only the binary, does anyone have the source code?
    upload_2019-7-2_17-37-35.png
     
  15. 7,646
    5,857
    872
    kozarovv

    kozarovv Developer

    Joined:
    Nov 8, 2014
    Messages:
    7,646
    Likes Received:
    5,857
    Trophy Points:
    872
    Home Page:
    Try here.
     

    Attached Files:

    Algol, Ph4nton and bucanero like this.
  16. 185
    264
    97
    bucanero

    bucanero Developer

    Joined:
    Jun 29, 2019
    Messages:
    185
    Likes Received:
    264
    Trophy Points:
    97
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    I checked the ps2classic source code I have and it's the same as the one you have on your GitHub project, there's a prepare_iso(...) method but there's no ps2_build_limg(...) , sorry :(

    oh nevermind!, check @kozarovv 's file, the code is there :) no need to reverse it with IDA! ;)
     
  17. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    Oh, thank you very much, I will work on an update
     
  18. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    Oh Yes, I really wasn't in the mood to reverse all the necessary functions.
     
  19. 20
    29
    12
    Ph4nton

    Ph4nton Forum Noob

    Joined:
    Jun 21, 2019
    Messages:
    20
    Likes Received:
    29
    Trophy Points:
    12
    Gender:
    Male
    sandungas, ayassinsayed and Algol like this.
  20. 319
    151
    72
    Niander466

    Niander466 Member

    Joined:
    Dec 23, 2017
    Messages:
    319
    Likes Received:
    151
    Trophy Points:
    72
    Gender:
    Male
    Occupation:
    Nurse
    Home Page:
    Good work, my friend!
     

Share This Page