Announcement

Collapse
No announcement yet.

CB2crypt v1.3

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

  • #61
    Originally posted by Gtlcpimp View Post
    Oh nice, now that we know the compression, and it's pretty obvious how the cheats file is set up on structures, we can easily build a tool to create and compress a custom cheats file to throw in a Code Breaker Save file
    The funny thing is that you were looking at the decompression code while I was digging in the compression code. From a glance, I couldn't really tell what's going on but when I went to SaveCheats(), I found a call to a function with five arguments, the 5th always being 9.

    Actually, 9 is a magical number when it comes to compression. Every Linux savvy user knows that "gzip -9" packs a file with the best compression level. I had then looked at the headers of the zlib library and immediately saw compress2() and uncompress(). A simple test program finally confirmed my assumption.

    Originally posted by Gtlcpimp View Post
    Well, since zlib doesn't seem to want to work on Win32 app compiling for me right now I can't build a PC tool, but do have a working PS2 tool! lol...
    Check out http://www.zlib.net/ for a Windows port.

    I'll be looking at the CBS compression after work.
    Last edited by misfire; 12-08-2010, 05:26:15 AM. Reason: It's the 5th argument, not 4th

    Comment


    • #62
      FYI, I figured out how to unpack CBS files. The data section we had wondered about turned out to be zlib-compressed (like cheats file) and RC4-encrypted (like CBC and PCB files).

      I managed to unpack the CBS file in "CBv10 Exploit v0.01a by Gtlcpimp.rar": http://pastie.org/1358541

      Also, I wrote a simple Perl script to unpack zlib-compressed data: http://pastie.org/1358549

      Use it like: $ perl unpack-script 8 cheats cheats.out

      So I guess the remaining work is to understand the container format of unpacked CBS files and extend cb2util accordingly.
      Last edited by misfire; 12-08-2010, 03:24:07 PM. Reason: Add perl script usage

      Comment


      • #63
        Maybe you can find out how to stop it adding the useless cheats partion to a HDD also.
        http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
        Code Database

        Comment


        • #64
          cb2util is now able to extract (and optionally decrypt) all codes from "cheats" files: http://pastie.org/1360413

          I created a dedicated git branch for development (https://github.com/misfire/cb2util/tree/cheats). And with the help of my libcheats library (https://github.com/misfire/libcheats), creating such files should be easy too.

          Even more good news: I found the source code of xp2cc.

          Comment


          • #65
            This may sound like a dumb question due to me not reading and comprehending things, but what's being done with cb2crypt? Wasn't it mostly for decrypting and encrypting codebreaker codes for both v6 and lower, and v7 and higher? What's changed?
            July 7, 2019

            https://www.4shared.com/s/fLf6qQ66Zee
            https://www.sendspace.com/file/jvsdbd

            Comment


            • #66
              Originally posted by bungholio View Post
              This may sound like a dumb question due to me not reading and comprehending things, but what's being done with cb2crypt? Wasn't it mostly for decrypting and encrypting codebreaker codes for both v6 and lower, and v7 and higher? What's changed?
              CB2Util not CB2crypt

              Comment


              • #67
                Originally posted by bungholio View Post
                This may sound like a dumb question due to me not reading and comprehending things, but what's being done with cb2crypt? Wasn't it mostly for decrypting and encrypting codebreaker codes for both v6 and lower, and v7 and higher? What's changed?
                Good question. To be honest I don't know if any new features make it to CB2crypt. I'm currently putting all of my energy into cb2util, a portable console application, that will soon be able to cope with all CodeBreaker file formats.

                Anyway, I think I've got all pieces I need to add CBS support (read and write) and to write a code compiler to create Day1 and "cheats" files. Stay tuned!

                Comment


                • #68
                  And btw, here is the source code of xp2cc: https://github.com/misfire/xp2cc

                  Really funny to see something I've written six years ago...

                  Comment


                  • #69
                    So does anyone think it would be useful for a CB ps2 http server? I don't want to put one together if no one would think it would serve a use...

                    Comment


                    • #70
                      How many times has the hacked codebreaker v9.2 server been used?
                      http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
                      Code Database

                      Comment


                      • #71
                        Originally posted by kh2k4 View Post
                        How many times has the hacked codebreaker v9.2 server been used?
                        What server? What I am talking about is a PS2 app that will operate an HTTP server on the PS2 to remotely manage the "cheats" file in the PCB folder via web browser...

                        Comment


                        • #72
                          I see good idea for slim users for lengthy updates could you also make a ps2side app for editing so you don't have to have a computer / network constantly turned on for small updates though the same as CheatsE?
                          http://bh-re-db.pcriot.com/ <- Biohazard / Resident Evil
                          Code Database

                          Comment


                          • #73
                            I could, just don't know how much use it would serve though. Most likely only like one or two people would use!

                            Comment


                            • #74
                              Thanks a ton misfire!

                              It's great news that you figured out the cheats file MC extraction. Bravo!

                              The only other thing I could think anyone would want to do is extract the cheats from the partition CB creates on a FAT PS2's HDD.

                              I can think of at least two people that would use it. Dlanor at psx-scene and myself. i know he has hundreds of hand typed codes for the FF series of games on his HDD.

                              I'm not asking for this because it would seem like too much effort for the amount of people who would use it.

                              You have already done some much to make cheats easier to use, I feel no one really can rightly ask any more of you.

                              Comment


                              • #75
                                You're welcome.

                                Tell me more about the HDD partition. I'm interested. I guess it is encrypted? Can you extract it as an image?

                                It's a shame that I actually never connected a HDD to my fat PS2...
                                Last edited by misfire; 12-16-2010, 05:22:29 AM.

                                Comment

                                Working...
                                X