Tales of Symphonia [GQSEAF] (USA)

Started by dcx2, June 12, 2011, 03:00:53 AM

Previous topic - Next topic

Viciousgx

Quote from: dcx2 on June 12, 2011, 03:00:53 AM
This should be version 1, dunno if there's more than one version.  Looks like there were a few versions for PAL...

can learn S/T techs without forgetting opposites v1.1 [dcx2]
F322840C 90337B01
38600000 00000000
F322845C 70F70301
38600000 00000000
...does work for healing?



Is it possible to "Un- F3" this Code. tried searching if there was version 1 rather than 1.1 with no luck.
Also great Work goemon_guy reviving this thread xD

goemon_guy

#91
Why would you need the code to have no F3 codetype?

can learn S/T techs without forgetting opposites [dcx2]
2122840C 7CC32038
0522840C 38600000
2122845D 7CC32038
0522845C 38600000
E0000000 80008000
un-F3'd by goemon_guy
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Viciousgx

Codes starting with F3 their addresses cant be read by the "system" that i use. (Dem Rules)
but tyvm i Frackin love you :D it works now.


goemon_guy

Summon without Overlimit [goemon_guy]
F322549C 0AD4A302
3C00FFFF 6000FFFF
90060084 00000000
F32254A4 0C7EA102
3C00FFFF 6000FFFF
90060080 00000000

No problem! But the love should be going to dcx2 for making the code. ;)
If you need anything else converted, just ask!
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Deathwolf

F3 only works with Ossleepthread and VBI hook right? Just asking...
lolz

goemon_guy

#95
I'm pretty sure F2 and F3 work on all Hooktypes, Deathwolf!

Instant spellcast (All players) [goemon_guy]
F3239770 10E2A101
38000000 00000000
Enemies can also spellcast instantly...

Cast Holy Judgment instead of Holy Song v2 [goemon_guy]
21239B44 2C000032
05239B48 48000044
E0000000 80008000


The last code  could not be F2'd, as setting any ASM codetype (C2, F2, etc) to that area crashes the game upon casting Holy Song.
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

dcx2

#96
Are you sure you C2'd correctly?  You're writing a branch, but all branches are relative, so if your C2/F2 code was composed of "48000044 00000000" then it would crash.  To do an absolute branch, you'll need to load the destination address into CTR or LR and then use bctr or blr to get there.

EDIT:

Another option: if you're hooking a conditional branch (e.g. beq), then you can instead hook the cmp and modify it so that it always returns true (e.g. cmpw r0,r0 to force beq- always true)

goemon_guy

I'm not sure what the first thing I understood the first part you posted. (I haven't the foggiest idea how to use CTR or LR XD)

I'll give the second thing a try...
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

Frezzere

Kratos All 26 Techs (Excluding Secret Tech)NOVICE
KKGY-QDR3-U3MDX
5MZH-9BMU-V0D0H
FDUR-4Q1A-H1YTA
NPVZ-VNDX-KNYQB

Zelos All 25+1 Techs (Excluding Secret Tech)NOVICE
YYKB-J3GN-YPDJX
2PUJ-3QN4-QYUHC
FAX5-F1FT-EV4J5
W484-DPKC-NR0H5

Sorry to ask again but can someone port these or if possible a code to give zelos and kratos judgement so you don't have to choose between them

dcx2

You can use Party Roller to have both Zelos and Kratos.

---

When I get a chance I will look at the instruction you're hooking and I'll make an example that shows you how to use it.  CTR and LR are registers, and they can be used for absolute branching.

All other branches are relative.  So, if you make the instruction [81239B48] = 48000008, it will say "b 0x81239B50" (i.e. +8 relative to the current instruction's address).  If you then try to put "48000008" in a C2 code, and your C2 code's instruction exists at e.g. 800028C8, then you will see "b 0x800028D0" (i.e. +8 relative to the current instruction's address)

All relative branches mean "add x to the current instruction's address to obtain the next instruction address".  That's why we need bctr or blr to take us to an absolute address, or "x becomes the next instruction address"

goemon_guy

#100
@Frezzere

Kratos All 26 Techs (Excluding Secret Tech) [Novice]
045B74A4 17FF9FFF
045B74AC 17FF9FFF
045B74B4 17FF9FFF

Zelos All 25+1 Techs (Excluding Secret Tech) [Novice]
045B715C 17FF9FFF
045B7164 17FF9FFF
045B716C 17FF9FFF

Not sure if excluding secret tech means whether they get Judgment or not, so give these a try.

@dcx2
I get the concept, but I just don't really know how I would go about writing the code for it.

I think an example would be helpful. :)

EDIT:

Max out Devil's Arms power [goemon_guy]
025B873E 00076000
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.

dcx2

81239B44:  2C000032   cmpwi   r0,50
81239B48:  41800070   blt-   0x81239bb8

You changed the blt to b 0x81239B8C.  Therefore, we have two options.

1) Hook the cmpwi with

li r0,50
cmpwi r0,50

Problem is you changed the displacement from 0x70 to 0x44.  So this approach doesn't work here.

2) Hook the blt with

lis r12,0x8123
ori r12,r12,0x9B8C
mtctr r12
bctr

Viciousgx

#102
Quote from: goemon_guy on September 06, 2011, 08:18:22 PM
I'm pretty sure F2 and F3 work on all Hooktypes, Deathwolf!

Instant spellcast (All players) [goemon_guy]
F3239770 10E2A101
38000000 00000000
Enemies can also spellcast instantly...


Um not sure if this link is within the rules but as for Instant Spell casting, it's been done without the Enemies also spellcasting in case u wanted that option.


it says untested but i use them and they work perfectly. Except for 2 mid or adv spells cant be executed at the same time. the other caster just hangs/waits until you stop insta-casting everything but thats probably a symphonia mechanic rather than code.

Frezzere

I just tried them and they both work thanks goemon_guy

@dcx2
I wanted them to have judgement because even if i use the party mod they would only have
the skills they had when they left my party

goemon_guy

#104
Yeah, I heard about those, and have seen them - This one's just more convenient, as it works for all players and its all one code.
I'm sure I could find a way to not allow enemies to instantly cast any spells.

Can use Falcon's Crest more than once per battle
F3286128 0A205701
38000000 00000000
-Currently hacking the following game(s):
...
Request a code via PM, if you wish.