Announcement

Collapse
No announcement yet.

"GoodCBC" - LET'S DO IT! (Codebreaker Day1 set decrypted and recompiled into RAW cbcs

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

  • #76
    It's not documented explicitly because it's a standard practice for (Unix) command-line apps. Text should always be printed to STDOUT, so it can be piped into other programs (grep etc.) or redirected to files (>) and much more.

    That whole magic is implemented in the shell (console) executing cb2util, and is nothing cb2util does itself.
    Last edited by misfire; 08-17-2012, 12:36:40 AM.

    Comment


    • #77
      Is it actually a feature if people don't know that its there? By my way of thinking, if its not mentioned, it probably doesn't exist. But then, that's why I asked. I know nothing of unix and if it wasn't for OPL, I wouldn't really touch Ubuntu. But you have to have it to compile it, so I am reading guides when I stumble across them, or more likely, when someone is kind enough to write one and make it followable by us newbs. Now that I have another command that I can use, I can start poking my fingers into the cheats file and see what tries to bite them off.

      Thank you for making these, they are a great help.

      Oh, bfoos, I did manage to export my cheats file, and I just managed to get it installed back to HDD from memorycard by re-importing a cbc for ghostbusters and removing the memorycard before hitting x to save.
      Last edited by sojakai; 08-17-2012, 03:52:43 AM.

      Comment


      • #78
        You don't have to touch Ubuntu at all. There're cross-compiled Win32 binaries ready to be downloaded here: https://github.com/mlafeldt/cb2util/downloads

        Windows' cmd.exe should provide the same redirect functionality (cmd > file).

        Comment


        • #79
          In any case, I've added another example to the README showing how to extract cheats to a text file: http://mlafeldt.github.com/cb2util/

          Should avoid confusion in the future.

          Comment


          • #80
            I got ubuntu so I could compile OPL9... and the day after I finally managed to get it all set up and got a fully compiled version of OPL, they released 9r641. If someone (DoctorXYZ I believe) hadn't released some scripts for downloading and compiling, I would still be stumped as to how to get it done. Even with the scripts, I don't understand the (manual) procedure.

            I am sorry if I seemed a bit snapish, I really didn't intend to be. I am using the Win32 version, I just didn't know how get it to output to txt as its alot easier than having to read the screen and type them out into a txt file by hand, and the readme file didn't list or hint to any command for it.

            Comment


            • #81
              Let me suggest a solution for your Windows/Ubuntu problem: http://gamehacking.org/vb/threads/68...ew-development

              Also, in a previous blog post I've explained how to compile PS2rd using only four commands: http://mlafeldt.github.com/blog/2012...2-development/ Should be working on Windows as well.

              Comment


              • #82
                You don't have to pull your MC prior to saving changes in CB. If CB detects an HDD on boot, it will always defer to using it instead of MC.
                Missing LiquidManZero since 1685.

                Comment


                • #83
                  @bfoos It worked, I can't complain.

                  @Misfire It's not too much of a problem. I have ubuntu installed on another computer that I Frankenstein'd together. I normally turn one off when I turn the other on.

                  Comment


                  • #84
                    Just a quick note:

                    As of today, cb2util (and libcheats) are licensed under the terms of the MIT license: https://github.com/mlafeldt/cb2util#disclaimer (The diff: https://github.com/mlafeldt/cb2util/pull/10/files)

                    That basically means you can do with the source code whatever you want. No more GPL virus.

                    The next release of cb2util will officially include the new license.
                    Last edited by misfire; 10-14-2012, 04:13:03 PM.

                    Comment


                    • #85
                      I've tagged v1.8 of cb2util, see changelog at https://github.com/mlafeldt/cb2util/...v18-jan-2-2013

                      There're no prebuilt binaries as GitHub has deprecated Downloads and I haven't decided where to put them yet.

                      Comment


                      • #86
                        Can someone assist me in getting cb2util to compile on windows? I had a setup that would compile this and omniconvert without issue but rebuilt my system and can't for the life of me remember what I had to install to get this to compile.

                        Code:
                        bfoos@bfoos-PC /c/cb2util
                        $ make
                        CB2UTIL_VERSION = 1.9
                            CC libbig_int/src/basic_funcs.o
                            CC libbig_int/src/bitset_funcs.o
                            CC libbig_int/src/low_level_funcs/add.o
                            CC libbig_int/src/low_level_funcs/and.o
                            CC libbig_int/src/low_level_funcs/andnot.o
                            CC libbig_int/src/low_level_funcs/cmp.o
                            CC libbig_int/src/low_level_funcs/div.o
                            CC libbig_int/src/low_level_funcs/mul.o
                            CC libbig_int/src/low_level_funcs/or.o
                            CC libbig_int/src/low_level_funcs/sqr.o
                            CC libbig_int/src/low_level_funcs/sub.o
                            CC libbig_int/src/low_level_funcs/xor.o
                            CC libbig_int/src/memory_manager.o
                            CC libbig_int/src/modular_arithmetic.o
                            CC libbig_int/src/number_theory.o
                            CC libbig_int/src/service_funcs.o
                            CC libbig_int/src/str_funcs.o
                            CC libcheats/src/cheatlist.o
                            CC libcheats/src/libcheats.o
                            CC libcheats/src/mystring.o
                            CC libcheats/src/parser.o
                            CC arcfour.o
                            CC cb2_crypto.o
                            CC cb2util.o
                            CC cbc.o
                            CC cheats.o
                            CC cheats_common.o
                            CC compress.o
                            CC fileio.o
                            CC pcb.o
                        pcb.c:16:17: fatal error: elf.h: No such file or directory
                        compilation terminated.
                        make: *** [pcb.o] Error 1
                        I'm not at all accustomed to compiling on windows.
                        Last edited by bfoos; 08-01-2013, 04:34:50 AM.
                        Missing LiquidManZero since 1685.

                        Comment


                        • #87
                          Nevermind, I got it. Used a copy of ps2_elf.h renamed to elf.h and dropped it into x:\MinGW\include and it compiled.
                          Missing LiquidManZero since 1685.

                          Comment


                          • #88
                            GoodCBC r4 attached to first post. This is a complete set replacement.
                            Missing LiquidManZero since 1685.

                            Comment


                            • #89
                              Okay, can someone with FTP access to the site please delete the old set under /ps2/day1/ and upload the complete revision 4 set I compiled? I've already done all the annoying/tedious shit. Thanks.

                              Or perhaps there is some way you guys can set me up with FTP access and read/write to /ps2/* so I can maintain GoodCBC and not have to bother rimsky82 if I change something?
                              Last edited by bfoos; 10-06-2013, 04:29:44 PM.
                              Missing LiquidManZero since 1685.

                              Comment


                              • #90
                                Well, it took a month, but GoodCBC r4 is now live. And with that, there now makes 1,115 cbc files containing nothing but RAW codes.
                                Missing LiquidManZero since 1685.

                                Comment

                                Working...
                                X