Is there a Skies of Arcadia encounter rate mod?

General Dreamcast discussion applies here. Before posting here please check the other forums in the Dreamcast section to see if your topic would fit better in those categories.

Moderators: pcwzrd13, mazonemayu

Forum rules
Please check the other forums in the Dreamcast section before posting here to see if your topic would fit better in those categories. Example: A new game/homebrew release would go in the New Releases/Homebrew/Emulation section: http://dreamcast-talk.com/forum/viewforum.php?f=5 or if you're having an issue with getting your Dreamcast to work or a game to boot it would go in the Support section: http://dreamcast-talk.com/forum/viewforum.php?f=42
User avatar
fafadou
Gold Lion
Posts: 1665

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

Post 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 ?

User avatar
pomegd
rebel
Posts: 16
Contact:

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

Post 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.

User avatar
Dakangel
letterbomb
Posts: 151

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

Post 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)

User avatar
fafadou
Gold Lion
Posts: 1665

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

Post by fafadou »

@pomegd : is it possible to play directly with the encounter value please ?

User avatar
pomegd
rebel
Posts: 16
Contact:

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

Post 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.

User avatar
fafadou
Gold Lion
Posts: 1665

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

Post 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 :)

User avatar
fafadou
Gold Lion
Posts: 1665

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

Post 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 :)

User avatar
pomegd
rebel
Posts: 16
Contact:

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

Post 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.

amcpartymix
undertow
Posts: 27

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

Post 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.

User avatar
fafadou
Gold Lion
Posts: 1665

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

Post by fafadou »

Please try m'y release and tell me.
It's what i tried to do.