Announcement

Collapse
No announcement yet.

SOCOM II :: Newer codes

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

  • SOCOM II :: Newer codes

    The following codes have a code section for the code designer source used to compile these codes. Code designer can be found in the Research & Development section on the forum. The original versions of codes designer were created by Gtlcpimp. I have recently recreated code designer with much more functionality. This is available in the Research & Development section. Its currently only available from github however a release will be posted this coming week. I thought I would share some of my source code to allow others to see how code designer can be used to create very unique codes.



    Code:
    address $202CED04
    j :___AnimationSet
    
    address $200a0000
    hexcode $00ce6ce0 //no anim set
    hexcode $00ce6ec0 //hostage 1
    hexcode $00ce70a0 //hostage 2
    hexcode $00ce7280 //restrained
    hexcode $00ce7460 //torturer
    hexcode $00ce7640 //guard board 2
    hexcode $00ce7820 //guard board 3
    hexcode $00ce7be0 //guard warmhands
    hexcode $00ce7a00 //guard smoking
    hexcode $00ce7dc0 //defuse 
    hexcode $00ce7fa0 //launcher
    hexcode $00ce8360 //computer
    hexcode $00ce8540 //surrender
    nop
    
    ___AnimationSet:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    
    setreg t0, $000a0000
    addiu t1, zero, $0004//change this index value to change the animation set
    sll t1, t1, 2
    add t0, t0, t1,
    
    lw t0, $0000(t0)
    
    setreg t2, $00440c38
    lw t2, $0000(t2)
    sw t0, $528(t2)
    sw t0, $52c(t2)
    sw t0, $530(t2)
    
    lw ra, $00000(sp)
    jr ra
    addiu sp, sp, $0030
    Code:
    202CED04 0802800E
    200A0000 00ce6ce0
    200A0004 00ce6ec0
    200A0008 00ce70a0
    200A000C 00ce7280
    200A0010 00ce7460
    200A0014 00ce7640
    200A0018 00ce7820
    200A001C 00ce7be0
    200A0020 00ce7a00
    200A0024 00ce7dc0
    200A0028 00ce7fa0
    200A002C 00ce8360
    200A0030 00ce8540
    200A0034 00000000
    200A0038 27BDFFD0
    200A003C AFBF0000
    200A0040 3C08000A
    200A0044 35080000
    200A0048 24090004
    200A004C 00094880
    200A0050 01094020
    200A0054 8D080000
    200A0058 3C0A0044
    200A005C 354A0C38
    200A0060 8D4A0000
    200A0064 AD480528
    200A0068 AD48052C
    200A006C AD480530
    200A0070 8FBF0000
    200A0074 03E00008
    200A0078 27BD0030

    This code will extend the game to have a kick player feature. Similar to how rifle butt works in close combat. It is still not complete and could use a tester on lan so that i can setup the packets correctly. For testing purposes to show how it works, a hook has been added to show the icon when approaching a hostage. This can be removed later. The rifle butt hook should allow the code to work when the rifle butt icon is displayed. If the code does not work when clicking on the icon please let me know and I can fix it. A death message will be displayed when a player is killed by a kick.




    Version 1 - Faster kick
    Code:
    /*
    Author: Antix [Fatality]
    Action Boot Fuck
    Socom 2: r0001
    */
    
    address $20694d48 
    hexcode $00010000
    
    address $20c49788
    hexcode $ffffffff
    
    address $205938cc
    jal :___Icon
    
    address $20593d50
    jal :___Icon
    
    address $20669528
    hexcode $000A0000
    
    address $2040C370
    print "Kick"
    nop
    
    //turn icon on
    address $200a0000
    
    ___ExecAnimation:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    sw s1, $0008(sp)
    
    //Get Seal Pointer
    jal $002b3580
    nop
    daddu s0, v0, zero,
    beq s0, zero, :NotReady
    nop
    lb t0, $0ed4(s0)
    addiu v0, zero, $0002
    bne t0, v0, :NotReady
    nop
    lw s1, $000d8(s0)
    lw s1, $0000(s1)
    
    //Execute Animation
    daddu a0, s0, zero,
    addiu a1, zero, $00f2
    daddu a2, zero, zero,
    daddu a3, zero, zero,
    jal $00588BC0
    daddu t0, zero, zero,
    
    lw t1, $1044(s1)
    setreg t0, $10000000
    sub t0, t1, t0,
    bgezal t0 :PlayerDead
    addiu a1, zero, $00a2
    sw zero, $1044(s1)
    
    setreg a1, $000a0500
    setreg a0, $000a0600
    lw a2, $0014(s0)
    jal $001988d0
    lw a3, $0014(s1)
    
    setreg a0, $000a0600
    jal :___ExecMessage
    addiu a1, zero, $0000
    addiu a1, zero, $004c
    beq zero, zero, :VictimAnimation
    nop
    
    PlayerDead:
    sw t0, $1044(s1)
    
    VictimAnimation:
    //Execute Animation
    daddu a0, s1, zero,
    daddu a2, zero, zero,
    daddu a3, zero, zero,
    jal $00588BC0
    daddu t0, zero, zero,
    
    beq zero, zero, :EndExecAnimation
    nop
    NotReady:
    jal $00592d50
    nop
    EndExecAnimation:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    lw s1, $0008(sp)
    jr ra
    addiu sp, sp, $0030
    
    ___Icon:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    
    jal $00544ca0
    daddu s0, a0, zero,
    daddu a0, s0, zero,
    addiu a1, zero, $0001
    jal $00544ca0
    addiu a2, zero, $0001
    
    EndIcon:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    jr ra
    addiu sp sp, $0030
    
    ___ExecMessage:
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    daddu a1, a0, zero,
    daddu a2, a1, zero,
    mtc1 zero, $f12
    setreg a0, $004366A0
    daddu a3, zero, zero,
    jal $002b6530
    daddu t0, zero, zero,
    
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    
    address $200a0500
    print "%s boot fucked %s to death"
    nop

    Code:
    20694D48 00010000
    20C49788 ffffffff
    205938CC 0C028039
    20593D50 0C028039
    20669528 000A0000
    2040C370 6B63694B
    2040C374 00000000
    200A0000 27BDFFD0
    200A0004 AFBF0000
    200A0008 AFB00004
    200A000C AFB10008
    200A0010 0C0ACD60
    200A0014 00000000
    200A0018 0040802D
    200A001C 1200002A
    200A0020 00000000
    200A0024 82080ED4
    200A0028 24020002
    200A002C 15020026
    200A0030 00000000
    200A0034 8E1100D8
    200A0038 8E310000
    200A003C 0200202D
    200A0040 240500F2
    200A0044 0000302D
    200A0048 0000382D
    200A004C 0C1622F0
    200A0050 0000402D
    200A0054 8E291044
    200A0058 3C081000
    200A005C 35080000
    200A0060 01284022
    200A0064 05110010
    200A0068 240500A2
    200A006C AE201044
    200A0070 3C05000A
    200A0074 34A50500
    200A0078 3C04000A
    200A007C 34840600
    200A0080 8E060014
    200A0084 0C066234
    200A0088 8E270014
    200A008C 3C04000A
    200A0090 34840600
    200A0094 0C028046
    200A0098 24050000
    200A009C 2405004C
    200A00A0 10000002
    200A00A4 00000000
    200A00A8 AE281044
    200A00AC 0220202D
    200A00B0 0000302D
    200A00B4 0000382D
    200A00B8 0C1622F0
    200A00BC 0000402D
    200A00C0 10000003
    200A00C4 00000000
    200A00C8 0C164B54
    200A00CC 00000000
    200A00D0 8FBF0000
    200A00D4 8FB00004
    200A00D8 8FB10008
    200A00DC 03E00008
    200A00E0 27BD0030
    200A00E4 27BDFFD0
    200A00E8 AFBF0000
    200A00EC AFB00004
    200A00F0 0C151328
    200A00F4 0080802D
    200A00F8 0200202D
    200A00FC 24050001
    200A0100 0C151328
    200A0104 24060001
    200A0108 8FBF0000
    200A010C 8FB00004
    200A0110 03E00008
    200A0114 27BD0030
    200A0118 27BDFFD0
    200A011C AFBF0000
    200A0120 0080282D
    200A0124 00A0302D
    200A0128 44806000
    200A012C 3C040043
    200A0130 348466A0
    200A0134 0000382D
    200A0138 0C0AD94C
    200A013C 0000402D
    200A0140 8FBF0000
    200A0144 03E00008
    200A0148 27BD0030
    200A0500 62207325
    200A0504 20746F6F
    200A0508 6B637566
    200A050C 25206465
    200A0510 6F742073
    200A0514 61656420
    200A0518 00006874
    200A051C 00000000

    Version 2 - Better kick
    Code:
    /*
    	CodeDesigner v2.0
    	Created by: Gtlcpimp
    	Official CheatersLounge Product Copyright ©
    */
    
    
    address $20593964
    jal :___Icon
    
    address $205938cc
    jal :___Icon
    
    address $20593d50
    jal :___Icon
    
    
    address $20669528
    hexcode $000A0000
    
    address $2040C370
    print "RAPE"
    nop
    
    
    address $200a0000
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    sw s1, $0008(sp)
    
    //Get Seal Pointer
    jal $002b3580
    nop
    daddu s0, v0, zero,
    beq s0, zero, :NotReady
    nop
    lb t0, $0ed4(s0)
    addiu v0, zero, $0002
    bne t0, v0, :NotReady
    nop
    lw s1, $000d8(s0)
    lw s1, $0000(s1)
    
    //Execute Animation
    daddu a0, s0, zero,
    addiu a1, zero, $011c
    daddu a2, zero, zero,
    daddu a3, zero, zero,
    jal $00588BC0
    daddu t0, zero, zero,
    
    setreg t0, $000a0000
    lb t1, $0500(t0)
    addiu t2, zero, $0003
    beq t2, t1, :ResetCounter
    nop
    addiu t1, t1, $0001
    sb t1, $0500(t0)
    beq zero, zero, :EndExecAnimation
    nop
    
    ResetCounter:
    sw zero, $0500(t0)
    setreg a1, $000a0504
    setreg a0, $000a0600
    jal $001988d0
    lw a2, $0014(s1)
    
    setreg a0, $000a0600
    jal :___ExecMessage
    addiu a1, zero, $0001
    
    beq zero, zero, :EndExecAnimation
    nop
    
    NotReady:
    jal $00592d50
    nop
    EndExecAnimation:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    lw s1, $0008(sp)
    jr ra
    addiu sp, sp, $0030
    
    
    ___Icon:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    
    jal $00544ca0
    daddu s0, a0, zero,
    daddu a0, s0, zero,
    addiu a1, zero, $0001
    jal $00544ca0
    addiu a2, zero, $0001
    
    EndIcon:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    jr ra
    addiu sp sp, $0030
    
    ___ExecMessage:
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    daddu a1, a0, zero,
    daddu a2, a1, zero,
    mtc1 zero, $f12
    setreg a0, $004366A0
    daddu a3, zero, zero,
    jal $002b6530
    daddu t0, zero, zero,
    
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    
    address $200a0504
    print "%s was raped with no vaseline..."
    nop

    Code:
    20694D48 00010000
    20C49788 ffffffff
    205938CC 0C028039
    20593D50 0C028039
    20669528 000A0000
    2040C370 4B43494B
    2040C374 00000000
    200A0000 27BDFFD0
    200A0004 AFBF0000
    200A0008 AFB00004
    200A000C AFB10008
    200A0010 0C0ACD60
    200A0014 00000000
    200A0018 0040802D
    200A001C 1200002A
    200A0020 00000000
    200A0024 82080ED4
    200A0028 24020002
    200A002C 15020026
    200A0030 00000000
    200A0034 8E1100D8
    200A0038 8E310000
    200A003C 0200202D
    200A0040 2405011C
    200A0044 0000302D
    200A0048 0000382D
    200A004C 0C1622F0
    200A0050 0000402D
    200A0054 8E291044
    200A0058 3C081000
    200A005C 35080000
    200A0060 01284022
    200A0064 05110010
    200A0068 240500A2
    200A006C AE201044
    200A0070 3C05000A
    200A0074 34A50500
    200A0078 3C04000A
    200A007C 34840600
    200A0080 8E060014
    200A0084 0C066234
    200A0088 8E270014
    200A008C 3C04000A
    200A0090 34840600
    200A0094 0C028046
    200A0098 24050000
    200A009C 2405004C
    200A00A0 10000002
    200A00A4 00000000
    200A00A8 AE281044
    200A00AC 0220202D
    200A00B0 0000302D
    200A00B4 0000382D
    200A00B8 0C1622F0
    200A00BC 0000402D
    200A00C0 10000003
    200A00C4 00000000
    200A00C8 0C164B54
    200A00CC 00000000
    200A00D0 8FBF0000
    200A00D4 8FB00004
    200A00D8 8FB10008
    200A00DC 03E00008
    200A00E0 27BD0030
    200A00E4 27BDFFD0
    200A00E8 AFBF0000
    200A00EC AFB00004
    200A00F0 0C151328
    200A00F4 0080802D
    200A00F8 0200202D
    200A00FC 24050001
    200A0100 0C151328
    200A0104 24060001
    200A0108 8FBF0000
    200A010C 8FB00004
    200A0110 03E00008
    200A0114 27BD0030
    200A0118 27BDFFD0
    200A011C AFBF0000
    200A0120 0080282D
    200A0124 00A0302D
    200A0128 44806000
    200A012C 3C040043
    200A0130 348466A0
    200A0134 0000382D
    200A0138 0C0AD94C
    200A013C 0000402D
    200A0140 8FBF0000
    200A0144 03E00008
    200A0148 27BD0030
    200A0500 62207325
    200A0504 20746F6F
    200A0508 6B637566
    200A050C 25206465
    200A0510 6F742073
    200A0514 61656420
    200A0518 00006874
    200A051C 00000000


    This tactical menu will give you the following tactical commands to issue to fellow players. When a message is pressed the animation which depicts the command will be executed and a message will be displayed. For this this to work online with others a packet would need to be used to display the message.



    Code:
    address $203E5F28
    print "COVER ME"
    nop
    
    address $203E5F60
    print "TARGET SPOTTED"
    nop
    
    address $203E5F88
    print "KEEP LOW"
    nop
    
    address $203e5fa0
    nop
    
    address $203E5FC8
    print "LETS MOVE"
    nop
    
    address $203e5fe0
    nop
    
    address $203E6060
    print "HOLD POSITION"
    nop
    
    address $20cba3f0
    hexcode $000A0100
    
    address $20cba470
    hexcode $000A0114
    
    address $20cba4f0
    hexcode $000A0128
    
    address $20cba570
    hexcode $000A013c
    
    address $20cba6f0
    hexcode $000A0150
    
    address $200a0000
    print "%s : %s"
    nop
    
    
    address $200a0100
    
    setreg a0, $00cba390
    addiu a1, zero, $0141
    j :___TacticalCmds
    nop
    
    setreg a0, $00cba410
    addiu a1, zero, $0144
    j :___TacticalCmds
    nop
    
    setreg a0, $00cba490
    addiu a1, zero, $0145
    j :___TacticalCmds
    nop
    
    setreg a0, $00cba510
    addiu a1, zero, $0143
    j :___TacticalCmds
    nop
    
    setreg a0, $00cba510
    addiu a1, zero, $0142
    j :___TacticalCmds
    nop
    
    
    ___TacticalCmds:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    sw s1, $0008(sp)
    sw s2, $000c(sp)
    daddu s1, a0, zero,
    daddu s2, a1, zero,
    setreg s0, $00440c38
    lw s0, $0000(s0)
    beq s0, zero, :EndTacticalCmds
    nop
    
    setreg a1, $000a0000
    setreg a0, $000a0050
    lw a2, $0014(s0)
    jal $001988d0
    daddu a3, s1, zero,
    
    setreg a0, $000a0050
    setreg a1, $00000000
    jal :___ExecMessage
    nop
    daddu a0, s0, zero,
    jal :___ExecAnimation
    daddu a1, s2, zero,
    
    EndTacticalCmds:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    lw s1, $0008(sp)
    lw s2, $000c(sp)
    jr ra
    addiu sp, sp, $0030
    
    ___ExecMessage:
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    daddu a1, a0, zero,
    daddu a2, a1, zero,
    addiu a2, zero, $0003
    mtc1 zero, $f12
    setreg a0, $004366A0
    daddu a3, zero, zero,
    jal $002b6530
    daddu t0, zero, zero,
    
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    
    ___ExecAnimation:
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    daddu a2, zero, zero,
    daddu a3, zero, zero,
    jal $00588BC0
    daddu t0, zero, zero,
    End:
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    Code:
    203E5F28 45564F43
    203E5F2C 454D2052
    203E5F30 00000000
    203E5F28 00000000
    203E5F60 47524154
    203E5F64 53205445
    203E5F68 54544F50
    203E5F6C 00004445
    203E5F70 00000000
    203E5F88 5045454B
    203E5F8C 574F4C20
    203E5F90 00000000
    203E5FA0 00000000
    203E5FC8 5354454C
    203E5FCC 564F4D20
    203E5FD0 00000045
    203E5FD4 00000000
    203E5FE0 00000000
    203E6060 444C4F48
    203E6064 534F5020
    203E6068 4F495449
    203E606C 0000004E
    203E6070 00000000
    20CBA3F0 000A0100
    20CBA470 000A0114
    20CBA4F0 000A0128
    20CBA570 000A013c
    20CBA6F0 000A0150
    200A0000 3A207325
    200A0004 00732520
    200A0008 00000000
    200A0100 3C0400CB
    200A0104 3484A390
    200A0108 24050141
    200A010C 08028059
    200A0110 00000000
    200A0114 3C0400CB
    200A0118 3484A410
    200A011C 24050144
    200A0120 08028059
    200A0124 00000000
    200A0128 3C0400CB
    200A012C 3484A490
    200A0130 24050145
    200A0134 08028059
    200A0138 00000000
    200A013C 3C0400CB
    200A0140 3484A510
    200A0144 24050143
    200A0148 08028059
    200A014C 00000000
    200A0150 3C0400CB
    200A0154 3484A510
    200A0158 24050142
    200A015C 08028059
    200A0160 00000000
    200A0164 27BDFFD0
    200A0168 AFBF0000
    200A016C AFB00004
    200A0170 AFB10008
    200A0174 AFB2000C
    200A0178 0080882D
    200A017C 00A0902D
    200A0180 3C100044
    200A0184 36100C38
    200A0188 8E100000
    200A018C 12000011
    200A0190 00000000
    200A0194 3C05000A
    200A0198 34A50000
    200A019C 3C04000A
    200A01A0 34840050
    200A01A4 8E060014
    200A01A8 0C066234
    200A01AC 0220382D
    200A01B0 3C04000A
    200A01B4 34840050
    200A01B8 3C050000
    200A01BC 34A50000
    200A01C0 0C02807B
    200A01C4 00000000
    200A01C8 0200202D
    200A01CC 0C028089
    200A01D0 0240282D
    200A01D4 8FBF0000
    200A01D8 8FB00004
    200A01DC 8FB10008
    200A01E0 8FB2000C
    200A01E4 03E00008
    200A01E8 27BD0030
    200A01EC 27BDFFD0
    200A01F0 AFBF0000
    200A01F4 0080282D
    200A01F8 00A0302D
    200A01FC 24060003
    200A0200 44806000
    200A0204 3C040043
    200A0208 348466A0
    200A020C 0000382D
    200A0210 0C0AD94C
    200A0214 0000402D
    200A0218 8FBF0000
    200A021C 03E00008
    200A0220 27BD0030
    200A0224 27BDFFD0
    200A0228 AFBF0000
    200A022C 0000302D
    200A0230 0000382D
    200A0234 0C1622F0
    200A0238 0000402D
    200A023C 8FBF0000
    200A0240 03E00008
    200A0244 27BD0030


    Code:
    address $200a0000
    print "This is a test message"
    nop
    
    
    ExecMsg:
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    
    mtc1 zero, $f12
    setreg a0, $004366A0
    setreg a1, $000a0000
    daddu a2, zero, zero, //this is the color of the message
    daddu a3, zero, zero,
    jal $002b6530
    daddu t0, zero, zero,
    
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    
    
    
    address $D044F15C 
    hexcode $0000F3FF
    address $202CED04
    j :ExecMsg
    
    
    address $D044F15C 
    hexcode $0000FFFF
    address $202CED04
    jr ra


    The following code will execute any animation as supplied by the arguments.

    a1 = animation id
    a2 = not sure, however from messing with the code I noticed that changing this to 9 forces the drop dead bodies icon to popup after an animation.
    a3 = not sure, seems to mostly be zero.
    t0 = not sure, however from messing with the code I noticed that changing t0 to other values would change the actual animation. For example victory dance would change to a different victory dance.

    Code:
    address $200a0000
    
    ExecAnimation:
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    
    jal $002b3580
    nop
    daddu a0, v0, zero,
    beq a0, zero, :EndExecAnimation
    nop
    
    setreg a1, $00000012
    setreg a2, $00000001
    setreg a3, $00000000
    setreg t0, $0000000d
    jal $00588BC0
    nop
    
    EndExecAnimation:
    lw ra, $0000(sp)
    jr ra
    addiu sp, sp, $0030
    
    
    
    
    address $D044F15C 
    hexcode $0000F3FF
    address $202CED04
    j :ExecAnimation
    
    
    address $D044F15C 
    hexcode $0000FFFF
    address $202CED04
    jr ra

    Old Animation list
    Code:
    Kick Nades 000000f2
    Place Claymore 0000010f
    Toss Grenade 00000032
    Jump Launch 00000008
    Jump Land 0000000a
    Jump Land Hard 0000000b
    Pistol Step Up 0000ffff
    Climb Medium 000000bb
    Climb Over 000000bd
    Pistol die 0000005d
    Death 02 00000089
    Pistol Death 02 0000ffff
    Crawl death 01 0000008a
    Crawl Death 02 0000008b
    Death crouch back01 0000008c = IDOT
    Death crouch chest 01 0000008d
    Death crouch head 02 0000008e
    Death crouch head 01 0000008f
    Death stand head 01 00000090
    Death prone chest01 00000094
    Death stand larm01 00000095
    Death stand chest03 00000098
    Death buddy crouch01 0000009c
    Death buddy prone01 0000009d
    Crouch flinch 0000009e
    Prone flinch 0000009f
    Flinch right arm 00000033
    
    0000011E = Cough
    0000004C = Stabbed (You get Stuck.)
    000008C = Death on back
    0000008D = Death crouch chest
    0000008E = Death crouch chest #2
    00000095 = Death stand Left arm
    00000098 = Death stand chest #3
    0000009C = Death buddy crouch 1
    0000009D = Death buddy prone 1
    0000008F = Death crouch head 1
    00000094 = Death prone chest 1
    00000008A = Crawl death 1
    0000008B = Crawl Death 2
    00000089 = Death 2
    0000009E = Crouch Flinch
    0000009F = Prone Flinch
    00000033 = Flinch right arm
    000000A0 = Flinch left arm
    00000034 = Flinch right leg
    000000A1 = Flinch right leg
    000000A2 = Hit stomach
    000000A3 = Hit shoulder
    000000A4 = Hit01
    000000D7 = Rifle butt
    00000090 = Death stand head (You get Stuck.)
    00000092 = Death stand head #3 (You get Stuck.)
    0000003C = Receive restraints
    0000003B = Apply restraints
    00001065 = Guard restrained death
    000000B4 = Guard restrained arms
    000000D9 = Buddy carry stand
    000000B9 = Buddy carry body
    0000002F = Fall forward
    000000AF = Fall backwards
    000000AE = Land forward
    000000B0 = Land backwards
    00000030 = Get up forwards
    000000B1 = Get up backwards
    00000140 = Dive to prone
    00000111 = Defuse bomb begin
    00000113 = Defuse bomb loop
    00000115 = Defuse bomb end
    000000C0 = Ladder slide
    000000AC = Surrender
    000000A7 = Flash bang cower
    000000A8 = Flash bang cower #2
    0000014D = Shrug
    00000150 = Wipe brow
    0000015E = Startled #1
    0000015F = Startled #2
    00000160 = Startled #3
    00000161 = Startled #4
    00000162 = Startled #5
    00000162 = Fumble03
    00000158 = Suspicious signal
    00000159 = Suspicious look forward
    0000015A = Suspicious look forward #2
    0000015B = Look around
    0000015C = Keep quiet
    000000C4 = Victory dance
    000000B1 = Get up backwards
    00000030 = Get up forward
    00000032 = Toss grenade
    000000F2 = Kick Grenade
    0000014E = Swat Flies
    00000149 = Check watch
    0000014F = Tie Shoes
    00000151 = Puke
    00000092 = Death By headshot
    
    Stand animation 00000053
    Crouch animation 00000054
    Prone animation 00000055
    Hang animation 00000056
    Climb ladder 00000057
    Jog forward in stand 00000059
    Jog forward 0000005A
    Jog Backwards 0000005B
    Jog right 0000005E
    Walk Animation 00000062
    Crouch>stand 00000063
    Crouch Walk Forwards 00000065
    Crouch Walk Left 00000066
    Crouch Strafe Right 00000067
    Climb ledge 2 0000006E
    Climb ledge 3 0000006F
    Fall Off Ledge 00000070
    Hover-00000072
    Shake-00000076
    Hunch Over Strange 00000077
    Ladder Climb 00000078
    Climb ledge 4 00000079
    Throw grenade 0000007c
    Switch weapons in prone 00000080
    Restrain 00000081
    Pickup ammo? 00000082
    Place c4 charge 00000083
    Run left in stand 00000088

    Animation id list I created.
    Code:
    6a peak left stand
    6b peak right stand
    6c peak left crouch
    6d peak right crouch
    6e climb and hang
    6f hang then climb on object
    70 rip something from a wall?
    72 float in air
    78 climb ladder
    79 climb on
    7C throw grenade heavy
    7d throw grenade light
    7e pull pin from grenade with teeth
    7d switch weapons and use binoculars?
    89 die rolls to back
    8a die and roll to back
    8b die fall forward and crawl
    8c die and fall forward
    8d die and fall to back
    8e die and roll to back
    8f die falls to back
    90 die by head shot fall to back(blood)
    91 die by head shot to knees then front(blood)
    92 die by head show fall to front(no blood)
    93 die by head show fall to front(blood)
    94 die and roll on back
    95 die shot in arm falls on back
    96 die hands swing falls on front
    97 die hands swing falls on back from side
    98 die hands swing fall on back
    99 die hands swing falls on back from side
    9a die on back shot in chest
    9b die side ways and roll on side
    9c die forward and crawl
    9d die on side and roll on back
    9e flinch stand
    9f flinch prone
    a0 flinch stand hard
    a1 flinch stand light
    a2 flinch lose balance
    a3 flinch/roll and get back up
    a4 flinch lose balance
    a5 flinch crouch and look around
    a6 flinch lose balance in crouch hand back and look around
    a7 flinch lose balance and look around 
    a8 flinch head down/look around
    a9 flinch prone head down
    aa die by head shot fall to back
    ac surrender and drop weapon
    ae hit by blast and get up
    af hit by blast on back and get up
    b0 hit by blast on back and get up
    b1 fall on ass and get back up
    b2 jump(hop)
    b4 torso flip
    b5 die by blast and float
    b9 drop and lay on side
    ba short step up
    bb climb
    bc climb
    bd jump fence
    be ladder slide
    bf ladder slide
    c0 pelvic thrust
    c3 pelvic thrust
    c4 victory dance
    c5 pelvic thrust
    d7 rifle butt
    d8 rifle butt
    dd pickup dead body
    de pickup dead body
    e3 go to crouch
    e4 go to prone
    e5 go to prone
    e6 jump 
    e7 jackoff animation
    e8 jackoff animation lower
    e9 prone peak left
    ea prone peak right
    eb prone peak left
    ec prone peak right
    ef under hand throw from left hand
    f0 under hand throw from right hand
    f1 under hand throw from left hand
    f2 kick
    f3 over hand throw crouch right hand
    f4 over hand throw prone right hand
    f5 over hand throw from prone while getting on knees
    f6 reload stand
    f7 reload stand
    f8 reload crouch
    f9 reload prone
    fa reload prone
    fb reload crouch
    fc reload stand
    fd reload stand
    fe reload gun tilted standing
    ff reload gun tilted standing
    100 reload crouch
    101 reload prone
    102 reload stand
    103 reload shotgun
    104 reload shotgun crouch
    105 reload shotgun prone
    106 reload shotfun standing
    107 pickup/drop
    109 grab something from belt
    10a jerkin it hard as fuck
    10b pull out launcher
    10c pull out launcher
    10d put launcher away
    10e pull mag out of gun?
    10d pull mag from pistol ?
    10e switch guns?
    10f plant
    110 plant
    111 crack chem lights?
    112 crack chem lights crouch?
    115 switch weapons in crouch
    116 crack chem lights crouch?
    119 press buttons right hand
    11a press buttons left hand
    11b press button crouch
    11c sneak forward
    11d hand over hand
    11e cough?
    11f 4 hops forward?
    12f head shake
    130 torso shake
    13f get down in prone(rape)
    141 follow
    142 Hold Position
    143 Train pull
    144 Go Ahead
    145 stay low
    146 Go ahead crouch hand from the side
    147 Go ahead crouch hand infront of face
    148 Go ahead crouch hand from side

    This code was made using both mine and Harry's work. The code uses autoaim to distinguish if a player is present. When autoaim turns on your gun will automatically fire at the enemy.

    Code:
    //Credit Harry Enable Autoaim online
    address $205aaaf8 
    hexcode $00000000
    
    //Credit Antix Autoaim all entities 
    address $205AB2FC 
    hexcode $00000000
    address $205AB2EC 
    hexcode $00000000
    
    //Antix + Harry
    address $202CED04
    j :___AimBot
    
    ___AimBot:
    addiu sp, sp, $FFD0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    sw s1, $0008(sp)
    setreg s1, $005C1118
    
    jal $002b3580
    nop
    daddu s0, v0, zero,
    beq s0, zero, :AimBotOff
    nop
    
    lb t0, $05e2(s0)
    beq t0, zero, :AimBotOff
    nop
    
    setreg t0, $47C35000
    sw t0, $1164(s0)
    setreg t0, $47C35040
    sw t0, $116c(s0)
    
    sw zero, $0000(s1)
    beq zero, zero, :EndAimBot
    nop
    
    AimBotOff:
    setreg t0, $0C1702B8
    sw t0, $0000(s1)
    
    EndAimBot:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    lw s1, $0008(sp)
    jr ra
    addiu sp, sp, $0030
    Code:
    205AAAF8 00000000
    205AB2FC 00000000
    205AB2EC 00000000
    202CED04 080B3B42
    202CED08 27BDFFD0
    202CED0C AFBF0000
    202CED10 AFB00004
    202CED14 AFB10008
    202CED18 3C11005C
    202CED1C 36311118
    202CED20 0C0ACD60
    202CED24 00000000
    202CED28 0040802D
    202CED2C 1200000D
    202CED30 00000000
    202CED34 820805E2
    202CED38 1100000A
    202CED3C 00000000
    202CED40 3C0847C3
    202CED44 35085000
    202CED48 AE081164
    202CED4C 3C0847C3
    202CED50 35085040
    202CED54 AE08116C
    202CED58 AE200000
    202CED5C 10000004
    202CED60 00000000
    202CED64 3C080C17
    202CED68 350802B8
    202CED6C AE280000
    202CED70 8FBF0000
    202CED74 8FB00004
    202CED78 8FB10008
    202CED7C 03E00008
    202CED80 27BD0030
    Last edited by Cronotrigga; 02-12-2016, 02:56:56 AM.

  • #2

    Code:
    /*
    Author: Antix [Fatality]
    Force Icons version 1.0
    Socom 2: r0001
    */
    
    address $20669530
    hexcode $000a6000
    
    address $20669610
    hexcode $000a6000
    
    address $20669a70
    hexcode $000a6000
    
    address $20406350
    hexcode $000a6000
    
    ___Icon:
    //a0 string to send
    address $200a6000
    
    addiu sp, sp, $ffa0
    sd ra, $0050(sp)
    sq s4, $0040(sp)
    sq s3, $0030(sp)
    daddu s4, a0, zero
    sq s2, $0020(sp)
    sq s1, $0010(sp)
    sq s0, $0000(sp)
    lw s0, $0004(a0)
    addiu s2, zero, $0001
    addiu s1, zero, $0030
    
    start:
    beq s2, s1, :end
    nop
    
    daddu a0, s0, zero
    daddu a1, s2, zero
    jal $00544CA0
    addiu a2, zero, $0001
    beq zero, zero, :start
    addiu s2, s2, $0001
    
    end:
    ld ra, $0050(sp)
    lq s4, $0040(sp)
    lq s3, $0030(sp)
    lq s2, $0020(sp)
    lq s1, $0010(sp)
    lq s0, $0000(sp)
    jr ra
    addiu sp, sp, $0060
    Compiled Code
    Code:
    20669530 000a6000
    20669610 000a6000
    20669A70 000a6000
    20406350 000a6000
    200A6000 27BDFFA0
    200A6004 FFBF0050
    200A6008 7FB40040
    200A600C 7FB30030
    200A6010 0080A02D
    200A6014 7FB20020
    200A6018 7FB10010
    200A601C 7FB00000
    200A6020 8C900004
    200A6024 24120001
    200A6028 24110030
    200A602C 12510007
    200A6030 00000000
    200A6034 0200202D
    200A6038 0240282D
    200A603C 0C151328
    200A6040 24060001
    200A6044 1000FFF9
    200A6048 26520001
    200A604C DFBF0050
    200A6050 7BB40040
    200A6054 7BB30030
    200A6058 7BB20020
    200A605C 7BB10010
    200A6060 7BB00000
    200A6064 03E00008
    200A6068 27BD0060
    Force Icon
    Code:
    /*
    Author: Antix [Fatality]
    Force Icon version 1.0
    Socom 2: r0001
    */
    
    address $20669530
    hexcode $000a6000
    
    address $20669610
    hexcode $000a6000
    
    address $20669a70
    hexcode $000a6000
    
    address $20406350
    hexcode $000a6000
    
    ___Icon:
    //a0 string to send
    address $200a6000
    
    addiu sp, sp, $FFd0
    sw ra, $0000(sp)
    
    jal $002b3580
    nop
    beq v0, zero, :EndIcon
    nop
    daddu a0, v0, zero,
    addiu a1, zero, $0014
    jal $00544ca0
    addiu a2, zero, $0001
    
    EndIcon:
    lw ra, $0000(sp)
    jr ra
    addiu sp sp, $0030
    Code:
    01 action
    02 climb
    03 talk
    04 primary weapon no text
    05 secondary weapon no text
    06 Drop bomb
    07 Demolition
    08 pickup body
    09 drop body
    0a knife attack
    0b restrain
    0c rifle butt
    0d unavailable
    0e follow
    0f hold position
    10 ladder slide
    11 satchel
    12 place c4
    13 use turret
    14 dismount turret
    15 victory dance



    Perfect All Weapons: Give you all weapons in game and in the lobby.
    Patch 1.0

    Code Designer Source
    Code:
    /*
    Author: Antix [Fatality]
    Enable All Weapons
    Socom 2: r0001
    */
    
    
    
    //L1 + Up
    address $D044f15c
    hexcode $0000FBEF
    address $202ced04
    j $000A5124
    
    
    //L1 + Down
    address $D044f15c
    hexcode $0000FBBF
    address $202ced04
    hexcode $03e00008
    
    
    
    address $205BDC30 
    hexcode $03e00008
    hexcode $00000000
    
    address $200a5000
    
    hexcode $003fd2e0
    hexcode $003fd2d0
    hexcode $003fd2c0
    hexcode $003fd2a0
    hexcode $003fd290
    hexcode $003fd280
    hexcode $003fd270
    hexcode $003fd260
    hexcode $003fd250
    hexcode $003fd240
    hexcode $003fd230
    hexcode $003fd220
    hexcode $003fd210
    hexcode $003fd200
    hexcode $003fd1f0
    hexcode $003fd1e0
    hexcode $003fd1d0
    hexcode $003fd1b8
    hexcode $003fd1a8
    hexcode $003fd198
    hexcode $003fd188
    hexcode $003fd178
    hexcode $003fd160
    hexcode $003fd148
    hexcode $003fd138
    hexcode $003fd128
    hexcode $003fd110
    hexcode $003fd0f0
    hexcode $003fd0d0
    hexcode $003fd0b0
    hexcode $003fd0a0
    hexcode $003fd090
    hexcode $003fd080
    hexcode $003fd070
    hexcode $003fd060
    hexcode $003fd050
    hexcode $003fd040
    hexcode $003fd030
    hexcode $003fd020
    hexcode $003fd008
    hexcode $003fcff8
    hexcode $003fcfe8
    hexcode $003fcfd8
    hexcode $003fcfc8
    hexcode $003fcfb0
    hexcode $003fcf98
    hexcode $003fcf80
    hexcode $003fcf60
    hexcode $003fcf50
    hexcode $003fcf30
    hexcode $003fcf10
    hexcode $003fcef8
    hexcode $003fcee8
    hexcode $003fced0
    hexcode $003fceb8
    hexcode $003fcea0
    hexcode $003fce88
    hexcode $003fce78
    hexcode $003fce68
    hexcode $003fce58
    hexcode $003fce48
    hexcode $003fce38
    hexcode $003fce28
    hexcode $003fce18
    hexcode $003fce00
    hexcode $003fcde8
    hexcode $003fcdd8
    
    hexcode $000A5114
    hexcode $00000000
    hexcode $62616E45
    hexcode $4C5F656C
    hexcode $65447361
    hexcode $00000073
    
    
    
    ___EnableAllWeapons:
    //a0 string to send
    
    addiu sp, sp, $ffd0
    sw ra, $0000(sp)
    sw s0, $0004(sp)
    
    lui s0, $000a
    addiu s0, s0, $5000
    startCode:
    lw a0, $0000(s0)
    beq a0, zero, :endCode
    nop
    jal $00351ef0
    nop
    beq v0, zero, :startCode
    addiu s0, s0, $0004
    addiu a0, zero, $0009
    sw a0, $0004(v0)
    beq zero, zero, :startCode
    nop
    endCode:
    lw ra, $0000(sp)
    lw s0, $0004(sp)
    jr ra
    addiu sp, sp, $0030
    Compiled
    Code:
    D044F15C 0000FBEF
    202CED04 08029449
    D044F15C 0000FBBF
    202CED04 03e00008
    205BDC30 03e00008
    205BDC34 00000000
    200A5000 003fd2e0
    200A5004 003fd2d0
    200A5008 003fd2c0
    200A500C 003fd2a0
    200A5010 003fd290
    200A5014 003fd280
    200A5018 003fd270
    200A501C 003fd260
    200A5020 003fd250
    200A5024 003fd240
    200A5028 003fd230
    200A502C 003fd220
    200A5030 003fd210
    200A5034 003fd200
    200A5038 003fd1f0
    200A503C 003fd1e0
    200A5040 003fd1d0
    200A5044 003fd1b8
    200A5048 003fd1a8
    200A504C 003fd198
    200A5050 003fd188
    200A5054 003fd178
    200A5058 003fd160
    200A505C 003fd148
    200A5060 003fd138
    200A5064 003fd128
    200A5068 003fd110
    200A506C 003fd0f0
    200A5070 003fd0d0
    200A5074 003fd0b0
    200A5078 003fd0a0
    200A507C 003fd090
    200A5080 003fd080
    200A5084 003fd070
    200A5088 003fd060
    200A508C 003fd050
    200A5090 003fd040
    200A5094 003fd030
    200A5098 003fd020
    200A509C 003fd008
    200A50A0 003fcff8
    200A50A4 003fcfe8
    200A50A8 003fcfd8
    200A50AC 003fcfc8
    200A50B0 003fcfb0
    200A50B4 003fcf98
    200A50B8 003fcf80
    200A50BC 003fcf60
    200A50C0 003fcf50
    200A50C4 003fcf30
    200A50C8 003fcf10
    200A50CC 003fcef8
    200A50D0 003fcee8
    200A50D4 003fced0
    200A50D8 003fceb8
    200A50DC 003fcea0
    200A50E0 003fce88
    200A50E4 003fce78
    200A50E8 003fce68
    200A50EC 003fce58
    200A50F0 003fce48
    200A50F4 003fce38
    200A50F8 003fce28
    200A50FC 003fce18
    200A5100 003fce00
    200A5104 003fcde8
    200A5108 003fcdd8
    200A510C 000A5114
    200A5110 00000000
    200A5114 62616E45
    200A5118 4C5F656C
    200A511C 65447361
    200A5120 00000073
    200A5124 27BDFFD0
    200A5128 AFBF0000
    200A512C AFB00004
    200A5130 3C10000A
    200A5134 26105000
    200A5138 8E040000
    200A513C 10800009
    200A5140 00000000
    200A5144 0C0D47BC
    200A5148 00000000
    200A514C 1040FFFA
    200A5150 26100004
    200A5154 24040009
    200A5158 AC440004
    200A515C 1000FFF6
    200A5160 00000000
    200A5164 8FBF0000
    200A5168 8FB00004
    200A516C 03E00008
    200A5170 27BD0030

    Comment


    • #3


      Code:
      address $20694d48 
      hexcode $00010000
      
      address $20c49788
      hexcode $ffffffff
      
      address $203e3dd8
      hexcode $000B0264
      
      address $205443F0
      j :___OnRoomJoin
      
      
      address $200b0000
      ___MapEditor:
      addiu sp, sp, $FFD0
      sw ra, $0000(sp)
      sw s0, $0004(sp)
      sw s1, $0008(sp)
      sw s2, $000c(sp)
      sw s3, $0010(sp)
      sw s4, $0014(sp)
      sw s5, $0018(sp)
      sw s6, $001c(sp)
      sw s7, $0020(sp)
      sw at, $0024(sp)
      sw v0, $0028(sp)
      sw v1, $002c(sp)
      
      
      //Storage address
      setreg at, $000a0000
      
      //======================================
      
      lui s6, $0044
      lw s6, $0c38(s6)
      beq s6, zero, :EndCode
      nop
      
      // [s0] world pointer
      setreg s0, $0045c380
      lw s0, $0000(s0)
      beq s0, zero, :EndCode
      nop
      
      // [s1] offset
      lw s1, $006c(s0)
      addiu s1, s1, $FFFF
      sll s1, s1, 2
      
      
      // [s2] Cursor offset
      lw s2, $0004(at)
      sll s2, s2, 2
      
      //======================================
      
      // [s0] Map list start address
      lw s0, $0070(s0)
      
      // [s1] Map list end address
      add s1, s0, s1,
       
      // [s2] Map cursor address
      add s2, s0, s2,
      
      // [s4] Timer value
      lw s4, $0000(at)
      addiu v0, zero, $0005
      bne s4, v0, :EndTimer
      nop
      
      sw zero, $0000(at)
      daddu s4, zero, zero,
      
      // [s5] Controller input value
      setreg s5, $0044F15C
      lh s5 $0000(s5)
      
      
      //======================================
      
      
      // [L1+UP] Pressed
      addiu v0, zero, $FBEF
      bne s5, v0, :EndL1UP
      nop
      
      //On List End
      bne s2, s1, :NotEndOfList
      nop
      //set index to start
      addiu v1, zero, $0000
      sw v1, $0004(at)
      beq zero, zero, :EndTimer
      nop
      
      NotEndOfList:
      //set next index
      lw v1, $0004(at)
      addiu v1, v1, $0001
      sw v1, $0004(at)
      
      beq zero, zero, :EndTimer
      nop
      
       
      //==========================================
      EndL1UP:
      
      
      // [L1+DOWN] Pressed
      addiu v0, zero, $FBBF
      bne s5, v0, :EndL1DOWN
      nop
      
      //On List End
      bne s2, s0, :NotStartOFList
      nop
      setreg v1, $0045c380
      lw v1, $0000(v1)
      lw v1, $006c(v1)
      addiu v1, v1, $FFFF
      sw v1, $0004(at)
      beq zero, zero, :EndTimer
      nop
      
      NotStartOFList:
      //set previous index
      lw v1, $0004(at)
      addiu v1, v1, $FFFF
      sw v1, $0004(at)
      beq zero, zero, :EndTimer
      nop
      
      
      //==========================================
      EndL1DOWN:
      
      // [L1+SQUARE] Pressed
      addiu v0, zero, $7BFF
      bne s5, v0, :EndL1SQUARE
      nop
      //==========================================
      
      // [s3] Map cursor string address
      lw s3, $0008(at)
      beq s3, zero, :EndTimer
      nop
      sw s3, $0028(s6)
      beq zero, zero, :EndTimer
      nop
      
      //==========================================
      EndL1SQUARE:
      
      // [L1+X] Pressed
      addiu v0, zero, $BBFF
      bne s5, v0, :EndL1X
      nop
      //==========================================
      
      
      lw s3, $000c(at)
      beq s3, zero, :EndTimer
      nop
      sw s3, $0028(s6)
      lw s3, $0010(at)
      sw s3, $0014(s6)
      beq zero, zero, :EndTimer
      nop
      
      //==========================================
      EndL1X:
      
      
      // [L1+O] Pressed
      addiu v0, zero, $F3FF
      bne s5, v0, :EndL1O
      nop
      //==========================================
      
      lw s1, $0008(at)
      beq s1, zero, :EndTimer
      nop
      
      lw s3, $03c0(s6)
      sw s3, $0030(s1)
      lw s3, $03c4(s6)
      sw s3, $0034(s1)
      lw s3, $03c8(s6)
      sw s3, $0038(s1)
      
      //==========================================
      EndL1O:
      
      
      //Add Time
      EndTimer:
      lw s2, $0000(s2)
      beq s2, zero, :EndString
      nop
      sw s2, $0008(at)
      
      lw s2, $0090(s2)
      sw s2, $0014(s6)
      EndString:
      
      
      addiu s4, s4, $0001
      sw s4, $0000(at)
      EndCode:
      
      lw ra, $0000(sp)
      lw s0, $0004(sp)
      lw s1, $0008(sp)
      lw s2, $000c(sp)
      lw s3, $0010(sp)
      lw s4, $0014(sp)
      lw s5, $0018(sp)
      lw s6, $001c(sp)
      lw s7, $0020(sp)
      lw at, $0024(sp)
      lw v0, $0028(sp)
      lw v1, $002c(sp)
      jr ra
      addiu sp, sp, $0030
      
      
      ___OnRoomJoin:
      addiu sp, sp, $FFd0
      sw ra, $0000(sp)
      sw s0, $0004(sp)
      sw s1, $0008(sp)
      sw at, $000C(sp)
      setreg at, $000A0000
      
      lui s0, $0044
      lw s0, $0c38(s0)
      beq s0, zero, :EndOnRoomJoin
      nop
      lw s1, $0014(s0)
      sw s1, $0010(at)
      lw s1, $0028(s0)
      sw s1, $000c(at)
      
      setreg at, $002CED04
      setreg s1, $0802C000
      sw s1, $0000(at)
      
      EndOnRoomJoin:
      lw ra, $0000(sp)
      lw s0, $0004(sp)
      lw s1, $0008(sp)
      lw at, $000C(sp)
      jr ra
      addiu sp sp, $0030
      
      
      ___OnRoomExit:
      addiu sp, sp, $FFd0
      sw ra, $0000(sp)
      sw s0, $0004(sp)
      sw s1, $0008(sp)
      sw at, $000C(sp)
      
      setreg at, $002CED04
      setreg s1, $03e00008
      sw s1, $0000(at)
      
      setreg at, $000A0000
      sw zero, $0000(at)
      sw zero, $0004(at)
      sw zero, $0008(at)
      
      lui s0, $0044
      lw s0, $0c38(s0)
      beq s0, zero, :EndOnRoomExit
      nop
      lw s1, $0010(at)
      sw s1, $0014(s0)
      lw s1, $000C(at)
      sw s1, $0028(s0)
      
      EndOnRoomExit:
      lw ra, $0000(sp)
      lw s0, $0004(sp)
      lw s1, $0008(sp)
      lw at, $000C(sp)
      j $00204438
      addiu sp sp, $0030



      Code:
      20694D48 00010000
      20C49788 ffffffff
      203E3DD8 000B0264
      205443F0 0802C07F
      200B0000 27BDFFD0
      200B0004 AFBF0000
      200B0008 AFB00004
      200B000C AFB10008
      200B0010 AFB2000C
      200B0014 AFB30010
      200B0018 AFB40014
      200B001C AFB50018
      200B0020 AFB6001C
      200B0024 AFB70020
      200B0028 AFA10024
      200B002C AFA20028
      200B0030 AFA3002C
      200B0034 3C01000A
      200B0038 34210000
      200B003C 3C160044
      200B0040 8ED60C38
      200B0044 12C0005F
      200B0048 00000000
      200B004C 3C100045
      200B0050 3610C380
      200B0054 8E100000
      200B0058 1200005A
      200B005C 00000000
      200B0060 8E11006C
      200B0064 2631FFFF
      200B0068 00118880
      200B006C 8C320004
      200B0070 00129080
      200B0074 8E100070
      200B0078 02118820
      200B007C 02129020
      200B0080 8C340000
      200B0084 24020005
      200B0088 16820046
      200B008C 00000000
      200B0090 AC200000
      200B0094 0000A02D
      200B0098 3C150044
      200B009C 36B5F15C
      200B00A0 86B50000
      200B00A4 2402FBEF
      200B00A8 16A2000C
      200B00AC 00000000
      200B00B0 16510005
      200B00B4 00000000
      200B00B8 24030000
      200B00BC AC230004
      200B00C0 10000038
      200B00C4 00000000
      200B00C8 8C230004
      200B00CC 24630001
      200B00D0 AC230004
      200B00D4 10000033
      200B00D8 00000000
      200B00DC 2402FBBF
      200B00E0 16A20010
      200B00E4 00000000
      200B00E8 16500009
      200B00EC 00000000
      200B00F0 3C030045
      200B00F4 3463C380
      200B00F8 8C630000
      200B00FC 8C63006C
      200B0100 2463FFFF
      200B0104 AC230004
      200B0108 10000026
      200B010C 00000000
      200B0110 8C230004
      200B0114 2463FFFF
      200B0118 AC230004
      200B011C 10000021
      200B0120 00000000
      200B0124 24027BFF
      200B0128 16A20007
      200B012C 00000000
      200B0130 8C330008
      200B0134 1260001B
      200B0138 00000000
      200B013C AED30028
      200B0140 10000018
      200B0144 00000000
      200B0148 2402BBFF
      200B014C 16A20009
      200B0150 00000000
      200B0154 8C33000C
      200B0158 12600012
      200B015C 00000000
      200B0160 AED30028
      200B0164 8C330010
      200B0168 AED30014
      200B016C 1000000D
      200B0170 00000000
      200B0174 2402F3FF
      200B0178 16A2000A
      200B017C 00000000
      200B0180 8C310008
      200B0184 12200007
      200B0188 00000000
      200B018C 8ED303C0
      200B0190 AE330030
      200B0194 8ED303C4
      200B0198 AE330034
      200B019C 8ED303C8
      200B01A0 AE330038
      200B01A4 8E520000
      200B01A8 12400004
      200B01AC 00000000
      200B01B0 AC320008
      200B01B4 8E520090
      200B01B8 AED20014
      200B01BC 26940001
      200B01C0 AC340000
      200B01C4 8FBF0000
      200B01C8 8FB00004
      200B01CC 8FB10008
      200B01D0 8FB2000C
      200B01D4 8FB30010
      200B01D8 8FB40014
      200B01DC 8FB50018
      200B01E0 8FB6001C
      200B01E4 8FB70020
      200B01E8 8FA10024
      200B01EC 8FA20028
      200B01F0 8FA3002C
      200B01F4 03E00008
      200B01F8 27BD0030
      200B01FC 27BDFFD0
      200B0200 AFBF0000
      200B0204 AFB00004
      200B0208 AFB10008
      200B020C AFA1000C
      200B0210 3C01000A
      200B0214 34210000
      200B0218 3C100044
      200B021C 8E100C38
      200B0220 1200000A
      200B0224 00000000
      200B0228 8E110014
      200B022C AC310010
      200B0230 8E110028
      200B0234 AC31000C
      200B0238 3C01002C
      200B023C 3421ED04
      200B0240 3C110802
      200B0244 3631C000
      200B0248 AC310000
      200B024C 8FBF0000
      200B0250 8FB00004
      200B0254 8FB10008
      200B0258 8FA1000C
      200B025C 03E00008
      200B0260 27BD0030
      200B0264 27BDFFD0
      200B0268 AFBF0000
      200B026C AFB00004
      200B0270 AFB10008
      200B0274 AFA1000C
      200B0278 3C01002C
      200B027C 3421ED04
      200B0280 3C1103E0
      200B0284 36310008
      200B0288 AC310000
      200B028C 3C01000A
      200B0290 34210000
      200B0294 AC200000
      200B0298 AC200004
      200B029C AC200008
      200B02A0 3C100044
      200B02A4 8E100C38
      200B02A8 12000005
      200B02AC 00000000
      200B02B0 8C310010
      200B02B4 AE110014
      200B02B8 8C31000C
      200B02BC AE110028
      200B02C0 8FBF0000
      200B02C4 8FB00004
      200B02C8 8FB10008
      200B02CC 8FA1000C
      200B02D0 0808110E
      200B02D4 27BD0030
      Update: 02-07-2015
      Apparently the previous versions of the map editor was freezing for some people. I have realized today that the emulator has some error handling built in that was skipping over some minor errors. This should now be fixed. I also ran into an issue where the code was freezing when leaving the room. This is now fixed.

      Thanks to renagade for finding the object coordinates for me.

      How it works:
      L1 + UP To scroll up
      L1 + DOWN to scroll down
      L1 + Square to become the map piece
      L1 + X to return back to your character
      L1 + R1 Send Object to X hair coordinates

      When a map piece is selected, you will become the actual map piece. Move the map piece as desired and revert back to your player to leave the piece at its last location. Some pieces you will not be able to become. This is a timer based code, this means that i use a timer to slow the core hook down for button input. This means that the code can react differently based on the emulator or the ps2. If you find that the scrolling is to fast change the timer max variable line to a higher or lower value.

      Comment


      • #4
        This just basically scrolls the imposter name. It works in game and in lobby.

        Code:
        address $D044F15C
        hexcode $0000FBEF
        address $202CED04
        j $000b0000
        
        
        address $200a0010
        print "                [Fatality] Antix is a beast! I Always win! 0x539"
        
        
        address $200b0000
        addiu sp, sp, $FFd0
        sw ra, $0000(sp)
        sw s0, $0004(sp)
        sw at, $0008(sp)
        sw v0, $000c(sp)
        sw v1, $0010(sp)
        setreg at, $000a0000
        
        
        jal :___checkTime
        daddu a0, at, zero,
        bne v0, zero, :EndImposter
        nop
        
        jal :___clearTime
        daddu a0, at, zero,
        
        
        //persona pointer
        jal :___getPersona
        daddu a0, zero, zero,
        beq v1, zero, :EndLobbyCheck
        nop
        jal :___offsetPersonaName
        daddu a0, v1, zero,
        daddu s0, v0, zero,
        EndLobbyCheck:
        
        //seal pointer
        jal :___getSealPointer
        nop
        beq v0, zero, :EndSealCheck
        nop
        jal :___offsetSealName
        daddu a0, v0, zero,
        daddu s0, v0, zero,
        EndSealCheck:
        
        //no pointer
        beq s0, zero, :EndImposter
        nop
        jal :___getIndex
        daddu a0, at, zero,
        
        addiu a0, at, $0010
        add a0, a0, v0,
        daddu a1, s0, zero,
        jal :___copyString
        addiu a2, zero, $000F
        
        bne v0, zero, :NextIndex
        nop
        jal :___clearIndex
        daddu a0, at, zero,
        beq zero, zero, :EndImposter
        nop
        
        NextIndex:
        jal :___setIndex
        daddu a0, at, zero,
        
        EndImposter:
        jal :___addTime
        daddu a0, at, zero,
        jal $002c5010
        nop
        lw ra, $0000(sp)
        lw s0, $0004(sp)
        lw at, $0008(sp)
        lw v0, $000c(sp)
        lw v1, $0010(sp)
        jr ra
        addiu sp, sp, $0030
        nop
        nop
        nop
        
        
        ___checkTime:
        lw v0, $0000(a0)
        addiu v1, zero, $0025
        beq v0, v1, :EndTimeCheck
        daddu v0, zero, zero,
        addiu v0, zero, $0001
        EndTimeCheck:
        jr ra
        nop
        
        ___clearTime:
        sw zero, $0000(a0)
        jr ra
        nop
        
        ___addTime:
        lw v0, $0000(a0)
        addiu v0, v0, $0001
        sw v0, $0000(a0)
        jr ra
        nop
        
        ___getIndex:
        daddu v0, zero, zero,
        lw v0, $0004(a0)
        jr ra
        nop
        
        ___clearIndex:
        sw zero, $0004(a0)
        jr ra
        nop
        
        ___setIndex:
        lw v0, $0004(a0)
        addiu v0, v0, $0001
        sw v0, $0004(a0)
        jr ra
        nop
        
        ___copyString:
        /*
        a0 Copy address
        a1 paste address
        a2 range
        
        returns
        v0 $0001 if end of string
        */
        addiu sp, sp, $FFd0
        sw ra, $0000(sp)
        sw s0, $0004(sp)
        sw s1, $0008(sp)
        sw s2, $000c(sp)
        sw s3, $0010(sp)
        daddu s0, a0, zero,
        daddu s1, a1, zero,
        daddu s2, zero, zero,
        
        StartCopy:
        beq s2, a2, :EndCopy
        addiu v0, zero, $0001
        
        lb s3, $0000(s0)
        beq s3, zero, :EndString
        daddu v0, zero, zero,
        
        sb s3, $0000(s1)
        addiu s0, s0, $0001
        addiu s1, s1, $0001
        beq zero, zero, :StartCopy
        addiu s2, s2, $0001
        
        EndString:
        sb zero, $0000(s1)
        EndCopy:
        lw ra, $0000(sp)
        lw s0, $0004(sp)
        lw s1, $0008(sp)
        lw s2, $000c(sp)
        lw s3, $0010(sp)
        addiu sp, sp, $0030
        nop
        nop
        nop
        
        ___getPersona:
        
        //Arguements
        //a0 zero for my playerid, or the player id to search for
        
        //Returns
        //v0 player id
        //v1 player slot pointer
        
        
        addiu sp, sp, $ffa0
        sd ra, $0040(sp)
        sq s3, $0030(sp)
        sq s2, $0020(sp)
        sq s1, $0010(sp)
        sq s0, $0000(sp)
        
        lui s0, $00c5
        lh s0, $975c(s0)
        
        beq a0, zero, :continue
        nop
        daddu s0, a0, zero
        continue:
        
        lui s1. $0044
        addiu s1, s1, $14c0
        daddu, s2, zero, zero,
        
        start:
        lui s3, $0044
        addiu s3, s3, $1578
        beq s1, s3, :fail
        nop
        
        lh s3, $0000(s1)
        beq s0, s3, :success
        nop
        
        addiu s1, s1, $0008
        beq zero, zero, :start
        nop
        success:
        daddu v0, s3, zero,
        lw v1, $0004(s1)
        fail:
        ld ra, $0040(sp)
        lq s3, $0030(sp)
        lq s2, $0020(sp)
        lq s1, $0010(sp)
        lq s0, $0000(sp)
        jr ra
        addiu sp, sp, $0060
        nop
        nop
        nop
        
        
        ___getSealPointer:
        setreg v0, $00440c38
        lw v0, $0000(v0)
        jr ra
        nop
        
        ___offsetSealName:
        lw v0, $0014(a0)
        jr ra
        nop
        
        ___offsetPersonaName:
        addiu v0, a0, $000e
        jr ra
        nop
        
        ___offsetPersonaTag:
        addiu v0, a0, $002e
        jr ra
        nop
        Code:
        D044F15C 0000FBEF
        202CED04 0802C000
        200A0010 20202020
        200A0014 20202020
        200A0018 20202020
        200A001C 20202020
        200A0020 7461465B
        200A0024 74696C61
        200A0028 41205D79
        200A002C 7869746E
        200A0030 20736920
        200A0034 65622061
        200A0038 21747361
        200A003C 41204920
        200A0040 7961776C
        200A0044 69772073
        200A0048 3020216E
        200A004C 39333578
        200B0000 27BDFFD0
        200B0004 AFBF0000
        200B0008 AFB00004
        200B000C AFA10008
        200B0010 AFA2000C
        200B0014 AFA30010
        200B0018 3C01000A
        200B001C 34210000
        200B0020 0C02C03B
        200B0024 0020202D
        200B0028 14400022
        200B002C 00000000
        200B0030 0C02C042
        200B0034 0020202D
        200B0038 0C02C073
        200B003C 0000202D
        200B0040 10600004
        200B0044 00000000
        200B0048 0C02C09F
        200B004C 0060202D
        200B0050 0040802D
        200B0054 0C02C097
        200B0058 00000000
        200B005C 10400004
        200B0060 00000000
        200B0064 0C02C09C
        200B0068 0040202D
        200B006C 0040802D
        200B0070 12000010
        200B0074 00000000
        200B0078 0C02C04A
        200B007C 0020202D
        200B0080 24240010
        200B0084 00822020
        200B0088 0200282D
        200B008C 0C02C056
        200B0090 2406000F
        200B0094 14400005
        200B0098 00000000
        200B009C 0C02C04E
        200B00A0 0020202D
        200B00A4 10000003
        200B00A8 00000000
        200B00AC 0C02C051
        200B00B0 0020202D
        200B00B4 0C02C045
        200B00B8 0020202D
        200B00BC 0C0B1404
        200B00C0 00000000
        200B00C4 8FBF0000
        200B00C8 8FB00004
        200B00CC 8FA10008
        200B00D0 8FA2000C
        200B00D4 8FA30010
        200B00D8 03E00008
        200B00DC 27BD0030
        200B00E0 00000000
        200B00E4 00000000
        200B00E8 00000000
        200B00EC 8C820000
        200B00F0 24030025
        200B00F4 10430002
        200B00F8 0000102D
        200B00FC 24020001
        200B0100 03E00008
        200B0104 00000000
        200B0108 AC800000
        200B010C 03E00008
        200B0110 00000000
        200B0114 8C820000
        200B0118 24420001
        200B011C AC820000
        200B0120 03E00008
        200B0124 00000000
        200B0128 0000102D
        200B012C 8C820004
        200B0130 03E00008
        200B0134 00000000
        200B0138 AC800004
        200B013C 03E00008
        200B0140 00000000
        200B0144 8C820004
        200B0148 24420001
        200B014C AC820004
        200B0150 03E00008
        200B0154 00000000
        200B0158 27BDFFD0
        200B015C AFBF0000
        200B0160 AFB00004
        200B0164 AFB10008
        200B0168 AFB2000C
        200B016C AFB30010
        200B0170 0080802D
        200B0174 00A0882D
        200B0178 0000902D
        200B017C 1246000A
        200B0180 24020001
        200B0184 82130000
        200B0188 12600006
        200B018C 0000102D
        200B0190 A2330000
        200B0194 26100001
        200B0198 26310001
        200B019C 1000FFF7
        200B01A0 26520001
        200B01A4 A2200000
        200B01A8 8FBF0000
        200B01AC 8FB00004
        200B01B0 8FB10008
        200B01B4 8FB2000C
        200B01B8 8FB30010
        200B01BC 27BD0030
        200B01C0 00000000
        200B01C4 00000000
        200B01C8 00000000
        200B01CC 27BDFFA0
        200B01D0 FFBF0040
        200B01D4 7FB30030
        200B01D8 7FB20020
        200B01DC 7FB10010
        200B01E0 7FB00000
        200B01E4 3C1000C5
        200B01E8 8610975C
        200B01EC 10800002
        200B01F0 00000000
        200B01F4 0080802D
        200B01F8 3C110044
        200B01FC 263114C0
        200B0200 0000902D
        200B0204 3C130044
        200B0208 26731578
        200B020C 12330009
        200B0210 00000000
        200B0214 86330000
        200B0218 12130004
        200B021C 00000000
        200B0220 26310008
        200B0224 1000FFF7
        200B0228 00000000
        200B022C 0260102D
        200B0230 8E230004
        200B0234 DFBF0040
        200B0238 7BB30030
        200B023C 7BB20020
        200B0240 7BB10010
        200B0244 7BB00000
        200B0248 03E00008
        200B024C 27BD0060
        200B0250 00000000
        200B0254 00000000
        200B0258 00000000
        200B025C 3C020044
        200B0260 34420C38
        200B0264 8C420000
        200B0268 03E00008
        200B026C 00000000
        200B0270 8C820014
        200B0274 03E00008
        200B0278 00000000
        200B027C 2482000E
        200B0280 03E00008
        200B0284 00000000
        200B0288 2482002E
        200B028C 03E00008
        200B0290 00000000

        Comment

        Working...
        X