Ys Seven Cheat Codes

This is a place to post tech details and informative documents about romhacking PSP games.
Post Reply
flamethrower
Programmer
Posts: 995
Joined: Mon Mar 09, 2015 3:03 pm

Ys Seven Cheat Codes

Post by flamethrower » Fri Aug 12, 2016 3:21 am

I want to make cheats for Ys Seven that change the behavior of the charge attack to be the same as in Celceta and Ys 8.

So far I got to the routine that reads control input at 0x08805DD0. It gets passed the control status word as a1 and the "previous read" control status word gets "passed" as a2. The routine is setting t1...t9 to 0 or 1 (1: pressed) based on the control status word and they only get set if the button is held.

I want to make a 60fps cheat for Ys Seven.
I found 0x8BCF5A8 for the sceDisplayWaitVblankStartMulti parameter (2: 30 fps, 1: 60 fps)
I found 0x08A6A770 for the 0.99 float parameter. Affects game speed. Change to 0.495 for "half speed" (i.e., normal speed at 60FPS). I guess I just gotta make the cheats then.

_S ULUS-10551
_G Ys SEVEN
_C0 60 FPS Toggle (X+O: On, X+Square, Off)
_L 0xD0000001 0x1000C000
_L 0x203CF5A8 0x00000002
_L 0x2026A770 0x3F7D70A4
_L 0xD0000001 0x10006000
_L 0x203CF5A8 0x00000001
_L 0x2026A770 0x3EFD70A4

Tested and working :)

For JA Ys Seven:
Addresses:
0x08BD55A8 sceDisplayWaitVblankStartMulti parameter
0x08A707C8 Game speed parameter

_S ULJM-05475
_G Ys SEVEN
_C0 60 FPS Toggle (X+O: On, X+Square, Off)
_L 0xD0000001 0x1000C000
_L 0x203D55A8 0x00000002
_L 0x202707C8 0x3F7D70A4
_L 0xD0000001 0x10006000
_L 0x203D55A8 0x00000001
_L 0x202707C8 0x3EFD70A4

Tested and working :)

Usage notes:
Turning off the cheat does not disable it. You must use the "Off" button combination to disable it.

Bugs:
Story / script scenes execute at double speed
Bosses double speed (disable for bosses)

Investigating Felghana cheats:
0x8B49218 sceDisplayWaitVblankStartMulti parameter

flamethrower
Programmer
Posts: 995
Joined: Mon Mar 09, 2015 3:03 pm

Re: Ys Seven Cheat Codes

Post by flamethrower » Sun Aug 14, 2016 11:37 pm

I added cheat codes for:
Charge attack auto-charge
Charge attack charge time

_G Ys SEVEN
_C0 60 FPS Toggle (X+O: On, X+Square, Off)
_L 0xD0000001 0x1000C000
_L 0x203CF5A8 0x00000002
_L 0x2026A770 0x3F7D70A4
_L 0xD0000001 0x10006000
_L 0x203CF5A8 0x00000001
_L 0x2026A770 0x3EFD70A4
_C0 Charge Atk Auto-Charge
_L 0x20005F9C 0xA0800019
_L 0x20006054 0xA0820019
_C0 Auto-Charge Atk (Turn Off)
_L 0x20005F9C 0xA0820019
_L 0x20006054 0xA0800019
_C0 Instant Charge Atk
_L 0x20054E78 0x24050004
_L 0x20054E7C 0x24110003
_C0 Atk Charge Time 1/2
_L 0x20054E78 0x24050011
_L 0x20054E7C 0x24110010
_C0 Atk Charge Time (Turn Off)
_L 0x20054E78 0x24050023
_L 0x20054E7C 0x24110022

josejl
Programmer
Posts: 200
Joined: Mon Apr 13, 2015 6:49 pm
Location: Spain
Contact:

Re: Ys Seven Cheat Codes

Post by josejl » Tue Oct 18, 2016 4:38 pm

I have worked a bit on the 60 fps patch,character animations on cutscenes and bosses should work at a normal speed now. Camera animation still seems to go at double speed though. I have made them two separate cheats because I don't like really get how you enable/disable them with the buttons.


_S ULUS-10551
_G Ys SEVEN
_C0 30 FPS
_L 0x2004FCC0 0xC48098D8
_L 0x203CF5A8 0x00000002
_L 0x2026A770 0x3F7D70A4
_L 0x20088BE0 0x50400002
_C1 60 FPS
_L 0x2004FCC0 0xC48098D0
_L 0x203CF5A8 0x00000001
_L 0x2026A770 0x3EFD70A4
_L 0x20088BE0 0x00000000



flamethrower
Programmer
Posts: 995
Joined: Mon Mar 09, 2015 3:03 pm

Re: Ys Seven Cheat Codes

Post by flamethrower » Tue Oct 18, 2016 4:57 pm

Good work figuring this out. My 60FPS toggle cheat below should be considered obsolete.
I don't like really get how you enable/disable them with the buttons.
Is it "do not like" or "do not understand"?
More like do not understand, will I ever learn to speak English properly...

Look here under Miscellaneous Code Types: Joker Code: http://raing3.gshi.org/psp-utilities/page/PSP/CodeTypes
Also look under Button Activators
Great find, I never managed to find proper documentation on CwCheat, I had no idea you could do that stuff. I had no clue what that 2 at the start of the cheat code did, since yours did it I went along with it.

This was similar to Celceta's ,but not exactly the same. Hopefully getting something like this on Nayuta,Ys vs Sora and Brandish shouldn't be too hard once we get this fully working.

josejl
Programmer
Posts: 200
Joined: Mon Apr 13, 2015 6:49 pm
Location: Spain
Contact:

Re: Ys Seven Cheat Codes

Post by josejl » Tue Oct 18, 2016 5:44 pm

Awesome, I broke phpBB again.

flamethrower
Programmer
Posts: 995
Joined: Mon Mar 09, 2015 3:03 pm

Re: Ys Seven Cheat Codes

Post by flamethrower » Tue Oct 18, 2016 6:10 pm

Those are the generic "cw" codes for constant write.
0 says write byte
1 says write halfword
2 says write word
This one:
_L 0x203CF5A8 0x00000002
Well, we only need to write a byte, but the rest of this word is unused by the game so it's just easier if we write a word.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest