Announcement

Collapse
No announcement yet.

How to "split" codes up? (not the right term I guess)

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

  • How to "split" codes up? (not the right term I guess)

    Take "all cards" codes for cardgames for example, instead of having 1 code per card, it's all reduced to just a couple of lines. How to get it back to the "1 code per card" state? It's something done in many other cases as well to produce a code that's as short as possible.

    Specifically, I'm talking about a Playstation 2 RAW code (of 15 lines, with 14 being the actual code and the other one just a necessary line).
    Last edited by GamerXYZ; 05-27-2011, 05:37:19 PM.

  • #2
    Here a Guide from CMP
    Code Codensing
    http://www.codemasters-project.net/g...wentry.php?e=9

    Here a Windows PC Program
    Code Condensed 0.2
    http://www.codemasters-project.net/g...ntry.php?e=638
    lee4 Does Not Accept Codes Requests !
    When lee4 asks a question it does not mean lee4 will look at your game
    *How to create and use SegaCD codes >click here<*
    >)

    Comment


    • #3
      Thanks for the reply. Unfortunately, I don't seem to have a set increment so I can't let the program do it, and address is a bit too hard to do manually. Seems at some time it even "skips forward" 8 instead of 4. Perhaps it's not even a condensed code anyway (though I guess 32-bit condensed)? Here, I'll post it:

      200FF000 3C030032
      200FF004 3463F790
      200FF008 24013F50
      200FF00C 3C066762
      200FF010 34C60525
      200FF014 3C08C000
      200FF018 35080000
      200FF01C 8C690000
      200FF020 11090002
      200FF028 AC660000
      200FF02C 24630004
      200FF030 2421FFFF
      200FF034 1401FFF9
      200FF03C 08064AE0
      20192B70 0803FC00

      What this RAW code for Duelists of the Roses does is give more than 800 cards (all of them), 9 copies each, and puts their deck leader rank at RADM. Now, a few days ago I made a request for a code that turns them into the max rank. Once I found this code, I wanted to give it a try myself, but I obviously need to uncondense it before I know what to change. Would you know what I must do with this code to properly uncondense it?

      Comment


      • #4
        You can't condense that. None of the values are identical or incremented by a set amount. There is something odd though.

        200FF014 3C08C000
        200FF018 35080000

        The second line changes t0 to 0 when it was just set to C0000000. An error in the code? That second line might not be necessary depending on what they doing, or else was just an inane line. You should be safe removing that line.
        July 7, 2019

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

        Comment


        • #5
          Well, I only have some basic knowledge about cheats, so I have no idea about that. I found the cheat somewhere, tested it on a new game if that was really the one I used before, and it indeed was, which led to this topic. Unfortunately that still means I somehow got to find what in that code sets the cards' deck leader rank.

          And never mind about that. It was actually very easy, can't believe I never saw it. The RADM rank is the 8th rank (if you count no-rank as the first), so a logical assumption would be that it's 08. The last line is not one that edits the game but is rather necessary or something, but the line before that (the "true last line of the code") starts with 08 as well. Hmm... the last line starting with the same value as the rank... And indeed, changing that 08 gave the result I was looking for.

          Well, there are some minor problems now though. With that last line, any value other than 08 or 0C (well... tested only 0B to make really sure 0C was the final rank and not over it) on the line above crashes everything. And at 0C (the final rank), while it does give all benefits of the final rank, it's a bit screwy (no name, wrong symbol, etcetera). Removing that last line makes the whole rank code not work, and changing the last line's 08 to 0C does nothing. Would you know what the problem is? I guess something else in the code needs to be changed as well.
          Last edited by GamerXYZ; 05-28-2011, 04:27:58 PM.

          Comment


          • #6
            the code you posted is subroutine code can't be change easy.

            don't removed any lines of subroutine code

            to make easier look at the codebreaker's
            codebreaker has individual cards codes found here
            http://gamehacking.org?s=bsfree2&sys=27&gid=18010


            after looking at codebreaker's codes

            the subroutine line to change card value are these two lines
            200FF00C 3C06????
            200FF010 34C6????
            lee4 Does Not Accept Codes Requests !
            When lee4 asks a question it does not mean lee4 will look at your game
            *How to create and use SegaCD codes >click here<*
            >)

            Comment

            Working...
            X