Announcement

Collapse
No announcement yet.

Code Designer

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

  • Code Designer

    Project Details

    Github link
    https://github.com/TylerDev905/CodeDesigner

    Code designer is a tool that can be used to assemble and disassemble MIPS32 assembly code into hexadecimal. This means that you can use this tool to create cheat codes for the playstation 2. Most if not all MIPS assembly instructions are supported as well as code designer syntax. Code designer syntax is a small set of commands that can make writing assembly much easier.

    Features
    • Syntax highlitghing of both the assembler and disassembler views
    • Supports EE, COP0, and C0P1
    • Code designer syntax
    • The parser can detail errors down to the argument
    • Single and multiline comments
    • Multiple projects can be open at a time.



    Code designer syntax
    Address
    will tell the assembler, the the address it should start counting from. Labels are not supported with the address command.
    Code:
     address  $000a0000
    Labels
    Should be lowercase(this may change soon)
    can be used to define an address with a human readable string. Labels can then be used with some operations and some Code designer commands.
    Code:
    label: //a label can be used to set an address. 
    :targetlabel //target labels can be used to tell an instruction or command to use the labels address.
    
    label: 
    addiu a0, a0, $0001 
    beq zero, zero, :label //will calculate the offet for the branch 
    nop 
    j :label <--will use the labels address for the jump operation
    Setreg
    will set a registers value to the word or label supplied.
    Code:
    setreg a0, $12345678 
    setreg a0, :label
    Call
    will pass the registers given and move them into argument registers then it will perform a jal instruction to the address or label specified.
    Code:
    call $12345678(s0, s1, s2, s3) 
    call :label(s0, s1, s2, s3)
    Hexcode
    will place a word at the current address of the assembler. The word can be defined in hex or it can come from a labels address.
    Code:
    hexcode $12345678 
    hexcode :label
    Print
    will take a string and convert it into hexadecimal
    Code:
    print "hello world"
    Bugs
    • Branches that contain a label must be lowercase
    • Disassembling some branches results in a 5 digit hex value


    Loading a dump
    • File > Open > select .bin memory dump
    • Labels should be named the same as the dump but with a .txt extension. This file should be in regular code format with only on codes. remove jokers



    Loading source code
    • File > Open > select .asm source




    Click image for larger version

Name:	a00xPuG.png
Views:	1
Size:	171.1 KB
ID:	163873
    Click image for larger version

Name:	PSpr6rj.png
Views:	1
Size:	73.7 KB
ID:	163869
    Click image for larger version

Name:	SaQCEMc.png
Views:	1
Size:	22.1 KB
ID:	163870

    Click image for larger version

Name:	EWsmswx.png
Views:	1
Size:	42.6 KB
ID:	163871
    Click image for larger version

Name:	rFFXAYb.png
Views:	1
Size:	28.5 KB
ID:	163872
    Attached Files
    Last edited by Cronotrigga; 01-31-2016, 02:57:03 PM.

  • #2
    It looks a lot cleaner than the last one. We need to get up on skype soon to hack some codes and wake renegade up from hibernation.

    Comment


    • #3
      Originally posted by Harry62 View Post
      It looks a lot cleaner than the last one. We need to get up on skype soon to hack some codes and wake renegade up from hibernation.
      He has been on a few times in the last two weeks but i agree.

      Comment


      • #4
        this project keeps getting 10X better on every update. Keep up the good work friend

        Comment


        • #5
          I added more info about the program in the main post and added more up-to-date screen shots. Almost ready for a release.

          Comment


          • #6
            Lots of new things.

            Intro that features gamehacking.org
            Added update address textbox
            Load a .asm or .bin file
            Label manager that has a powerful search tool
            Label manager can import code lists into labelled items
            String dumper that has a powerful search tool
            Last edited by Cronotrigga; 01-31-2016, 03:42:45 AM.

            Comment


            • #7
              I saw some .sh files. Is this only for Linux?

              Sorry if it seems like a dumb question.

              Comment


              • #8
                Originally posted by 47iscool View Post
                I saw some .sh files. Is this only for Linux?

                Sorry if it seems like a dumb question.
                It's C# .NET 4.5 or 4.6 framework I can't remember the exact version. This will run on anything that allows the .NET frame work to run.

                Comment


                • #9
                  History has been added

                  Comment


                  • #10
                    Originally posted by Cronotrigga View Post
                    It's C# .NET 4.5 or 4.6 framework I can't remember the exact version. This will run on anything that allows the .NET frame work to run.
                    I didn't even know there was a netfx 4.6.

                    Thanks for the tip. I sure future emulators will require it so I'll go and DL it now.

                    Comment


                    • #11
                      Added address formatting like ps2dis

                      Comment


                      • #12
                        Okay so pretty big update! As of right now this tool is now usable for most purposes. At the moment there are a few bugs that shouldn't really cause any issues.

                        Whats new?
                        • QuickBms Scripting support - used to pack and unpack any archive type
                        • * Intellisense in the assembler
                        • File save, save as, open etc is now all implemented
                        • labels now work across a project for .cds files. This means that a label definition from a memory dump will automatically allow labels in the intellisense in the assembler.
                        • tweaks and bug fixes
                        • History for memory dumps
                        • Labels now export a .cdl file, which is just a code list of all off codes
                        • Project window is implemented







                        Last edited by Cronotrigga; 02-10-2016, 06:15:44 PM.

                        Comment


                        • #13
                          Have you thought about, maybe some time in the future adding ppc support?

                          There is currently no app that will search labels for referrals in Wii/GC games . It would be awesome if it were possible.

                          Just asking, not requesting. Can't wait for the release, because here lately I have really been into PS2 hacking.

                          Great work on the project, looks pretty impressive.

                          Comment


                          • #14
                            Originally posted by 47iscool View Post
                            Have you thought about, maybe some time in the future adding ppc support?

                            There is currently no app that will search labels for referrals in Wii/GC games . It would be awesome if it were possible.

                            Just asking, not requesting. Can't wait for the release, because here lately I have really been into PS2 hacking.

                            Great work on the project, looks pretty impressive.
                            I have actually been thinking about extending code designer to work with more asm languages. No, idea when or if it will ever happen but i have looked into the instruction set. Thanks for the interest, I appreciate the feedback.

                            Comment


                            • #15
                              how do i set up this program? it's not .exe do i need ps2dis for this?

                              anyways, i need a tutorial for moon jump/jump codes as well walk through walls

                              i now own Prince of Perisa Warror Within yes i bought it laast week at the same store where i get PS2 console two years ago

                              Comment

                              Working...
                              X