Users browsing this thread: 1 Guest(s)
30,000 damage patch and 24 bit monsters HP patch conflict

#1
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
After the post of someone who couldn't get the game run properly with the 2 patches mentioned in the title, I discovery that there is a conflict between the two patches. They use the same free space in bank C0. To resolve this, I suggest doing the following steps. I won't release a super patch which makes both patches work together as I'm not the creator of any of the two...

First apply the 30,000 damage patch. It's the one that change the most code while the 24 bit monster HP change less code. The second step consist of writing manually the 24 bit HP patch .This patch consist of 2 jump to free space in bank C0 where you put the rest of the code. Originally the two routine you jump to where starting at C0/D613 and C0/D631. Here they are:

First routine (C0/D613):

Code:
99 F4 3B     STA $3BF4,Y
99 1C 3C     STA $3C1C,Y
DA           PHX
8A           TXA
4A           LSR A
4A           LSR A
4A           LSR A
4A           LSR A
4A           LSR A
AA           TAX
E2 20        SEP #$20
BF 50 CF CF  LDA $CFCF50,X
99 78 3C     STA $3C78,Y
99 79 3C     STA $3C79,Y
FA           PLX
C2 20        REP #$20
6B           RTL

Second routine(C0/D631):

Code:
B9 F4 3B    LDA $3BF4,Y
E5 EE       SBC $EE
99 F4 3B    STA $3BF4,Y
48          PHA
08          PHP
98          TYA
E9 08 00    SBC #$0008
30 2F       BMI (2F bytes down)
28          PLP
68          PLA
F0 03       BEQ (3 bytes down)
90 13       BCC (13 bytes down)
6B          RTL
48          PHA
E2 20       SEP #$20
B9 78 3C    LDA $3C78,Y
10 04       BPL (4 bytes down)
C2 20       REP #$20
68          PLA
6B          RTL
C2 20       REP #$20
68          PLA
C2 02       REP #$02
6B          RTL
48          PHA             
E2 20       SEP #$20
B9 78 3C    LDA $3C78,Y
D0 05       BNE (5 bytes down)
C2 20       REP #$20
68          PLA
18          CLC
6B          RTL
3A          DEC A
99 78 3C    STA $3C78,Y
C2 20       REP #$20
68          RTL
38          SEC
6B          RTL
28          PLP
68          PLA
6B          RTL

I suggest writing these two portions of code elsewhere. There is plenty of free space in C0 starting at C0/DC10 up to C0/EF9F. This is more than enough. The only thing left to do is to change the offset of the two JSL in the following portion of code. You will also need to put any NOP you see. This code is also taken from the 24 bit HP patch applied to a clean ROM:

First Jump

Code:
C2/1342: 22 31 D6 C0     JSL $C0D631
C2/1346: EA              NOP
C2/1347: EA              NOP
C2/1348: EA              NOP
C2/1349: EA              NOP

Second Jump

Code:
C2/2CCB: 22 13 D6 C0     JSL $C0D613
C2/2CCF: EA              NOP
C2/2CD0: EA              NOP

That's it! This should make both patches work together!
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • Gi Nattak (04-18-2012)

#2
Posts: 1,261
Threads: 250
Thanks Received: 11
Thanks Given: 7
Joined: Jun 2009
Status
Traitor
I love you
  Find
Quote  

#3
Posts: 2,769
Threads: 88
Thanks Received: 24
Thanks Given: 87
Joined: Jun 2009
Reputation: 25
Status
None
looks like madsiur is gonna be a new admin pretty soon lol


"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"

-HNIC
Quote  

#4
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(04-18-2012, 03:32 PM)Poco Loco Wrote: looks like madsiur is gonna be a new admin pretty soon lol

Hey! Hey! This is not a thread to spread rumors, although I find this one pretty interesting. It would be a honor but with responsibilities as well. I'm really dedicated to modifying and understanding FFVI and I only try to share the tiny bit I know about it.

By the way, the 32k damage patch does interfere with other patches that use some free space in C0 such as these ones:

Code:
+-----------------------------------------------------------+
| Offsets       bytes     Name                Author        |
|-----------------------------------------------------------|
|C0D674-C0D688   21    Not Scary Enough     Imzogelmo       |
|C0D674-C0D68C   25    FF3dashB             Master ZED      |
|C0D674-C0D68C   25    FF3dashC             Master ZED      |
|C0D660-C0D685   38    To Joker Doom (1.0)  Lenophis        |
+-----------------------------------------------------------+

Source: Imzogelmo's Patch Allocation document
  Find
Quote  

#5
Posts: 2,769
Threads: 88
Thanks Received: 24
Thanks Given: 87
Joined: Jun 2009
Reputation: 25
Status
None
well whenever u are ready man

u got my vote


"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"

-HNIC
Quote  

#6
Posts: 69
Threads: 0
Thanks Received: 0
Thanks Given: 0
Joined: Apr 2010
Reputation: 0
Status
None
i was wondering if it isn't too much to ask if someone could email me a copy of ff6 with the 24 bit hp patch in it. since i don't know the hex editing stuff nor have time to learn it this way i could have a rom with the patch installed on it to make my dream ff6 rom.
  Find
Quote  

#7
Posts: 2,769
Threads: 88
Thanks Received: 24
Thanks Given: 87
Joined: Jun 2009
Reputation: 25
Status
None
just so u know, u wont be able to use ff3usme after a patch is applied


"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"

-HNIC
Quote  

#8
Posts: 831
Threads: 41
Thanks Received: 16
Thanks Given: 12
Joined: Nov 2009
Reputation: 18
Status
None
(02-27-2013, 05:34 PM)kefkaroth Wrote: i was wondering if it isn't too much to ask if someone could email me a copy of ff6 with the 24 bit hp patch in it. since i don't know the hex editing stuff nor have time to learn it this way i could have a rom with the patch installed on it to make my dream ff6 rom.

According to the Forum Rules...
Lord Sutebenu Wrote:Don't ask for anything illegal. No warez, appz, hacks, porn, or anything considered sick. You ask once, you will be told the rules. You ask twice, you are banned.

Read the forum rules before posting.
Quote  

#9
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(02-27-2013, 05:34 PM)kefkaroth Wrote: i was wondering if it isn't too much to ask if someone could email me a copy of ff6 with the 24 bit hp patch in it. since i don't know the hex editing stuff nor have time to learn it this way i could have a rom with the patch installed on it to make my dream ff6 rom.

If you have the time to make a dream version of FF6 you have time to learn hex editing, the most basic thing outside using an editor. Such a statement is a mark of laziness or motivation lacking.

Poco Loco Wrote:just so u know, u wont be able to use ff3usme after a patch is applied

In fact, he could still edit the last 65536 HP of the monster. Only the first of the 3 bytes has to be edited with a hex editor.
  Find
Quote  

#10
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
(02-27-2013, 10:04 PM)Angelo Wrote:
(02-27-2013, 05:34 PM)kefkaroth Wrote: i was wondering if it isn't too much to ask if someone could email me a copy of ff6 with the 24 bit hp patch in it. since i don't know the hex editing stuff nor have time to learn it this way i could have a rom with the patch installed on it to make my dream ff6 rom.

According to the Forum Rules...
Lord Sutebenu Wrote:Don't ask for anything illegal. No warez, appz, hacks, porn, or anything considered sick. You ask once, you will be told the rules. You ask twice, you are banned.

Read the forum rules before posting.

Ah well, no, asking for or requesting a patch is okay, this is a hacking site after all.
What Sute there seems to be saying, is anything outside of ROM hacking that is illegal or of bad taste is not permitted. 'Hacks' meaning computer hacks of some kind, like viruses and such. Someone please correct me if I'm wrong about this.


We are born, live, die and then do the same thing over again.
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite