Page 2 of 9

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Wed Feb 22, 2023 10:52 am
by fafadou
I disassemble the code in order to see if I can do something :

Code: Select all

us ver.
track03.bin
find:
8d f3 06 d3 38 f2 34 f2 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 0c 0c 57 8c

Just the original code before @pomgd patch, I used IDA :

Code: Select all

RAM:8C0D8A54                 fldi0   fr3
RAM:8C0D8A56                 mov.l   #unk_8C570C0C, r3
RAM:8C0D8A58                 fmov.s  @r3, fr2
RAM:8C0D8A5A                 fcmp/eq fr3, fr2
RAM:8C0D8A5C                 bt      loc_8C0D8A6A
RAM:8C0D8A5E                 mov.l   #unk_8C583938, r1
RAM:8C0D8A60                 mov.l   @r1, r2
RAM:8C0D8A62                 add     #1, r2
RAM:8C0D8A64                 mov.l   r2, @r1
RAM:8C0D8A66                 bra     loc_8C0D8A78
RAM:8C0D8A68                 nop
RAM:8C0D8A6A ; ---------------------------------------------------------------------------
RAM:8C0D8A6A
RAM:8C0D8A6A loc_8C0D8A6A:                           ; CODE XREF: RAM:8C0D8A5C↑j
There is something strange for me the pointer 8c570c0c is beyond the 1ST_READ.BIN, how can I locate it please ?

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Sat Feb 25, 2023 9:23 am
by pomegd

Code: Select all

pal ver.
track03.bin
find:
8d f3 06 d3 38 f2 34 f2 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 b0 d2 4d 8c
replace:
06 d3 30 60 02 c8 09 00 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 e4 08 4d 8c
If you do not press anything, you will not be encounted.
Pressing the B button for a while will cause an encounter.

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Sat Feb 25, 2023 3:48 pm
by Dakangel
pomegd wrote:While pressing the B button, you will not be encumbered.
Therefore, there may be imperfections.

Code: Select all

us ver.
track03.bin
find:
8d f3 06 d3 38 f2 34 f2 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 0c 0c 57 8c
replace:
06 d3 30 60 02 c8 09 00 05 8b 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 4c 42 56 8c
pomegd wrote:I analyzed it myself.
"05 8b" part might be better as "05 89".
In this case, it does not encounter during normal operation, but only while the B button is pressed.
pomegd wrote:

Code: Select all

pal ver.
track03.bin
find:
8d f3 06 d3 38 f2 34 f2 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 b0 d2 4d 8c
replace:
06 d3 30 60 02 c8 09 00 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 e4 08 4d 8c
If you do not press anything, you will not be encounted.
Pressing the B button for a while will cause an encounter.
So ,to patch a gdi image is just to replace the code with an hex editor and thats it?

Normal game behavior and only force to stop the heavy rate encounter entirely when the player press and maintain the (B) button (05 8b) if desired as an option (for a hacked game) is better.

But there isnt need to be the (B) button like the gamecube version, in fact that button is on the oposite side in the dreamcast controller (Must be (X) in the Dreamcast one)

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Sun Feb 26, 2023 2:02 pm
by fafadou
@pomegd : is it possible to play directly with the encounter value please ?

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Wed Jun 14, 2023 5:03 am
by pomegd

Code: Select all

encounter value(increased by walking)
8C4ECCE4 xxxx

default threshold
8C0DAA5A 01E0
If the value of the encounters exceeds the threshold value, the fight is randomly shifted to a battle.
You can change the encounter rate by changing the threshold value.

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Wed Jun 14, 2023 10:24 am
by fafadou
Thanks you very much @pitito tried to help me but i'm not focus yet due to personnal reasons.

I look at this, this evening :)

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Thu Jun 15, 2023 1:45 pm
by fafadou
Ok I find here a patch version if someone want to try :
https://mega.nz/file/9vJnXaQb#P9AJSARDS ... vJ97jaw89k

The encounter is around *2 : E0 01 -> E0 02

I had no fight even in boat with your patch dear @pomegd :
pomegd wrote:While pressing the B button, you will not be encumbered.
Therefore, there may be imperfections.

Code: Select all

us ver.
track03.bin
find:
8d f3 06 d3 38 f2 34 f2 05 89 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 0c 0c 57 8c
replace:
06 d3 30 60 02 c8 09 00 05 8b 05 d1 12 62 01 72 22 21 07 a0 09 00 e8 a1 09 00 00 00 4c 42 56 8c
About your last post :
There is only one encounter threshold ?
Could you tell me how you have find it please ?

Else thank you very much :)

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Fri Jun 16, 2023 8:32 am
by pomegd
skies.png
If you check the part that refers to 8C4ECCE4, you will find several references to it.
Among them, find the part where the value of 8C4ECCE4 is used as a condition for branching.
Then you will find that the value to be compared in the branch is the value of 8C0DAA5A.

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Fri Jul 07, 2023 1:01 pm
by amcpartymix
Is there a way we can get the encounter rate to be permanently cut in half? A patch like this would be super handy.

Re: Is there a Skies of Arcadia encounter rate mod?

Posted: Sat Jul 08, 2023 3:23 am
by fafadou
Please try m'y release and tell me.
It's what i tried to do.