How to Make your own Cheat Codes
#30
(04-28-2023, 04:01 AM)LightKingdom666 Wrote: I found other instructions, the only problem is that there are two, and what's wrong with that? Well, one instruction only works for Basketball while the other works only for the three remaining sports (Volleyball, Dodgeball and Hockey), the truth is that I don't know if there is any way to merge these two instructions to make it a single code and not two.

You cannot 'make' one code using two hook instructions. It would be two ASM codes. Each code using its respective hook address.

(04-28-2023, 04:01 AM)LightKingdom666 Wrote: The instructions are these:

8135639c stw r0, 0x0224 (r5) - Basketball.

8018b300 stfs f31, 0x010C (r5) - Volleyball, Dodgeball and Hockey.

Another thing, the first instruction only uses values from 0 (Empty Bar) to 5 (Full Bar), while the second is with the other values that I published.

That first one is kinda odd that it's only for 0 or 5. There is definitely an instruction that exists for the other values in basketball, you just have to find it.

(04-28-2023, 04:01 AM)LightKingdom666 Wrote: And wouldn't there be some way to start with a full bar from the beginning? (I mean that you don't have to throw the ball to fill it up, and also that when you do the special attack it never empties).

Yes its possible but more difficult. You would need to find the right spot in Dynamic Memory to set a Memory BP, and once the game writes Zero to it (right when the game/match first loads), the BP will be hit. This already is tough to do. Another thing is that the Zero write may be part of a universal Memset function. This function will be used for a slew of other things that need to be zero'd out. So writing a C2 ASM code using a hook address within this Memset function will not make a usable code.

The approach would be find the spot(s) in Dynamic memory that keep track of the Bar value. Set a BP on it, and restart the game/match. Since it's dynamic memory, this probably won't work. As the game will probably 'choose' a new spot in memory for the Bar value to go to after every new game/match.

(04-28-2023, 04:01 AM)LightKingdom666 Wrote: I'm also having problems with the GVRs (to be able to choose between the blue or red team), since I tried to create both codes this way, but it didn't work, I don't know if it's because I'm structuring it wrong or if the record is wrong:

Code:
cmpwi r28, 0x0 #Team Value
bne jump_code

li r0, 0x5 #Bar Value

jump_code:
stw r0, 0x0224 (r5)

Code:
cmpwi r31, 0x0 #Team Value
bne jump_code

lis r12, 0x3F80 #Bar Value
stw r12, 0x010C (r5)

jump_code:
lfs f31, 0x010C (r5)

You have the right idea. It's possible that you may have the wrong GVR or the values for Blue vs Red aren't what you assume to be. Your example codes are fundamentally correct from an Assembly standpoint.

Part of me wants to get this game, and directly help you with this (i.e. Discord call), but unfortunately I simple don't have the free time.

To wrap this up, even with the "bad luck" on the lack of successful codes made so far, you have made a ton of progress in the overall concepts of making ASM codes. Some games are just "tougher" to make codes for. This may be one of them.
Reply


Messages In This Thread
How to Make your own Cheat Codes - by Vega - 08-12-2018, 12:34 AM
RE: How to Make your own Cheat Codes - by Vega - 04-03-2023, 11:52 PM
RE: How to Make your own Cheat Codes - by Vega - 04-06-2023, 11:06 PM
RE: How to Make your own Cheat Codes - by Vega - 04-10-2023, 03:18 PM
RE: How to Make your own Cheat Codes - by Vega - 04-12-2023, 02:32 PM
RE: How to Make your own Cheat Codes - by Vega - 04-13-2023, 01:05 AM
RE: How to Make your own Cheat Codes - by Vega - 04-14-2023, 12:41 AM
RE: How to Make your own Cheat Codes - by Vega - 04-14-2023, 06:01 PM
RE: How to Make your own Cheat Codes - by Vega - 04-14-2023, 08:20 PM
RE: How to Make your own Cheat Codes - by Vega - 04-26-2023, 01:16 AM
RE: How to Make your own Cheat Codes - by Vega - 04-29-2023, 12:54 PM
RE: How to Make your own Cheat Codes - by Hackwiz - 04-29-2023, 02:41 PM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-01-2023, 11:17 AM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-01-2023, 05:57 PM
RE: How to Make your own Cheat Codes - by Vega - 05-01-2023, 10:05 PM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-02-2023, 10:19 AM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-02-2023, 11:32 PM
RE: How to Make your own Cheat Codes - by Vega - 05-03-2023, 12:12 AM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-03-2023, 10:59 AM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-03-2023, 05:06 PM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-03-2023, 08:51 PM
RE: How to Make your own Cheat Codes - by Vega - 05-03-2023, 09:32 PM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-04-2023, 11:15 AM
RE: How to Make your own Cheat Codes - by Vega - 05-05-2023, 12:13 AM
RE: How to Make your own Cheat Codes - by Vega - 05-05-2023, 02:08 PM
RE: How to Make your own Cheat Codes - by Vega - 05-06-2023, 12:51 AM
RE: How to Make your own Cheat Codes - by Hackwiz - 05-06-2023, 03:57 PM
RE: How to Make your own Cheat Codes - by Vega - 05-08-2023, 01:22 AM
RE: How to Make your own Cheat Codes - by Vega - 05-10-2023, 03:42 PM
RE: How to Make your own Cheat Codes - by Unnamed - 06-08-2023, 02:56 PM
RE: How to Make your own Cheat Codes - by Vega - 06-18-2023, 11:58 PM
RE: How to Make your own Cheat Codes - by Unnamed - 10-10-2024, 11:38 AM

Forum Jump:


Users browsing this thread: 7 Guest(s)