Announcement

Collapse
No announcement yet.

PS2 Logo Decryptor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PS2 Logo Decryptor

    This is an old project I recently stumbled upon and wanted to share...

    Code:
    ---==========---
       About ps2logo
    ---=============---
    
    The first 12 sectors of every PS2 game disc contain the PS2 boot logo in a
    slightly encrypted form. You can use ps2logo to decrypt a sector dump, and then
    convert the raw image to JPEG or whatever.
    
    For more information, I recommend reading doc/ps2boot.txt written by loser.
    
    
    ---==---
       Build
    ---=====---
    
    To compile ps2logo, you need CMake and a C compiler like gcc.
    I recommend doing an out-of-source build:
    $ mkdir build
    $ cd build
    $ cmake ../src/
    $ make
    
    To install ps2logo:
    # make install
    
    
    ---==---
       Usage
    ---=====---
    
    usage: ps2logo <input file> <output file>
    
    Decrypt encrypted logo in <input file> to <output file>.
    
    
    ---====--
       Sample
    ---======---
    
    This sample is for Linux users. On Windows, you can alternatively use Hex
    Workshop to dump the sectors and Paint Shop Pro to convert the image.
    
    To extract the logo from a PS2 game disc, do the following:
    
    Dump the first 12 sectors of the disc:
    $ dd if=/dev/cdrom of=logo.enc bs=2048 count=12
    
    Decrypt the sector dump:
    $ ps2logo logo.enc logo.raw
    
    Use ImageMagick to convert the raw image to JPEG:
    $ convert -depth 8 -size 344x71 gray:logo.raw logo.jpg
    
    Note that the image width and height depend on the region: 344x71 for PAL and
    384x64 for NTSC.
    
    Open the file in a picture viewer and you should finally see the PS2 logo...
    ps2logo-1.1.tar.gz

  • #2
    Cool; I didn't know someone had actually built anything specific with loser's documentation

    Edit: lol, you didn't specify that it was an old project of yours. Nice work, man.
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

    Comment


    • #3
      Of course, didn't you notice my funky README format?

      I was actually surprised how easily the logo can be extracted on Linux.
      Last edited by misfire; 07-26-2009, 01:01:04 PM.

      Comment


      • #4
        You wouldn't happen to know a program that can open PS2 TIM2 files would you?
        http://www.convert-extensions.com/fo...M2-Bitmap.html
        can iMageStudio open them? i'm guessing there like a higher resolution version of the ps1 TIM format for the ps2.
        The ps1 outputted games in [4:3] 640x480 irc correctly by doubling the texture resolution 320x240 and apply some kind of filter "Bilinear?"
        Last edited by kh2k4; 07-26-2009, 05:56:17 PM.
        http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
        Code Database

        Comment


        • #5
          Sorry, never heard of TIM2.

          Comment


          • #6
            Originally posted by kh2k4 View Post
            You wouldn't happen to know a program that can open PS2 TIM2 files would you?
            Peter08101985 who is part of the Front Mission 5 Translation Project team seems to know about TIM2. See the fourth post down on this page where he mentions TIM2. I've seen this format mentioned multiple times while reading through the forums for the translation project.

            Comment


            • #7
              FYI, ps2logo can now be found at:
              https://github.com/misfire/ps2logo
              https://github.com/misfire/ps2logo/downloads

              Comment


              • #8
                http://psx-scene.com/forums/f6/new-l...ng-tool-12723/
                I found a tool that can insert them back but it only seems to work with .bin cd images.
                http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
                Code Database

                Comment


                • #9
                  Ah, and it's also called ps2logo.

                  I guess it does nothing more than overwriting the first sectors of the disc image with a custom logo.

                  Comment

                  Working...
                  X