Register - Login
Views: 95437630
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
10-18-18 06:05:14 PM

Jul - General Game/ROM Hacking - Looking for advice on finding address(es) for character running speed New poll - New thread - New reply
Next newer thread | Next older thread
Shademp
Random nobody
Level: 7


Posts: 7/7
EXP: 993
For next: 455

Since: 11-30-10


Since last post: 36 days
Last activity: 1 day

Posted on 09-12-18 09:31:39 AM Link | Quote
In the PlayStation 2 version of Castlevania: Curse of Darkness I wish to find addresses for changing Hector's & Trevor's running speed. Using Cheat Engine I have only been able to increase their speed while they are in free fall and/or knocked back by an enemy.

Example:


If I could adjust the running speed for while the playable character is grounded then I could create MUCH better videos showing off the game's test maps.


The 4-byte address I use for increasing the free fall speed [20B0412C, North American version] actually tracks Hector's speed at all times. Expressed as floats:

Walking speed: 3.703703642
Running speed: 18.51851654


I have spent dozens of hours looking for potential values, be they changing or static, and potential memory regions that might determine how much distance is traversed per directional input. I have come up empty and am now looking for advice on how to proceed. Any help or even just brainstorming is appreciated!


dhasenan
Random nobody
Level: 1


Posts: 1/1
EXP: 7
For next: 4

Since: 08-22-18

Pronouns: she/her

Since last post: 33 days
Last activity: 32 days

Posted on 09-15-18 06:01:38 PM Link | Quote
Unfortunately, this is a bit complex.

With CheatEngine and friends, you can easily see what memory locations change. Running speed is probably a constant. But you have a value that modifies the character's movement characteristics. So if you're good with assembly and debuggers, you can look for where the knockback speed is used. Then you look for other variables that are accessed around the same time.

If you're not comfortable with debuggers or assembly, you're probably out of luck :/
Next newer thread | Next older thread
Jul - General Game/ROM Hacking - Looking for advice on finding address(es) for character running speed New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 5d36857 [2018-03-03]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

29 database queries.
Query execution time: 0.150543 seconds
Script execution time: 0.005543 seconds
Total render time: 0.156087 seconds
Memory used: 524288