• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 30, 2024, 08:48:17 am

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


Ramza's initial equipment swap

Started by Jon, October 04, 2012, 12:07:44 pm

Jon

Hi, I'm making the Red Wings mod and I need to replace Ramza's initial equipment, but only the Broad Sword and add a shield. Since in my patch Kain is replacing Ramza, I need him to be left handed and holding in his right hand an Escutcheon (1) and a Javelin in his left hand. Can anyone tell me how to do this really easy or set this up for me if it requires hex editing? I don't exactly know how to hex edit, this is the only thing I will be needing for my mod that I actually really have no clue on how to do by myself. Thanks in advance for reading this and the help! :mrgreen:
There ain't no gettin' offa this train we on!

Xifanie

Quote from: Razele's asm hacks topic[Pre-Raw Stat]
Ramza
SCUS_942.21
Gender             : 0x4A8A4 value 0x80 Male (0x80 = Male, 0x40 = Female, 0x20 = Monster)
Brave & Faith      : 0x4A914 value 0x46
Level              : 0x4A98C value 0x01 [Affect new recruit level at Soldier Office]
Min Pre-RawHP      : 0x4F124 value 0x1E
Min Pre-RawMP      : 0x4F125 value 0x0F
Min Pre-RawSp      : 0x4F126 value 0x06
Min Pre-RawPA      : 0x4F127 value 0x05
Min Pre-RawMA      : 0x4F128 value 0x05
Head               : 0x4F129 value 0x9D Leather Hat
Armor              : 0x4F12A value 0xBA Clothes
Accessory          : 0x4F12B value 0xD0 Battle Boots
Weapon             : 0x4F12C value 0x13 Broad Sword
Shield             : 0x4F12E value 0xFF <Nothing>
Pre-RawHP Variance : 0x4F146 value 0x02
Pre-RawMP Variance : 0x4F147 value 0x01
Pre-RawSp Variance : 0x4F148 value 0x00
Pre-RawPA Variance : 0x4F149 value 0x00
Pre-RawMA Variance : 0x4F14A value 0x00

Male
SCUS_942.21
Min Pre-RawHP      : 0x4F10C value 0x1E
Min Pre-RawMP      : 0x4F10D value 0x0E
Min Pre-RawSp      : 0x4F10E value 0x06
Min Pre-RawPA      : 0x4F10F value 0x05
Min Pre-RawMA      : 0x4F110 value 0x04
Pre-RawHP Variance : 0x4F13C value 0x02
Pre-RawMP Variance : 0x4F13D value 0x01
Pre-RawSp Variance : 0x4F13E value 0x00
Pre-RawPA Variance : 0x4F13F value 0x00
Pre-RawMA Variance : 0x4F140 value 0x00

Female
SCUS_942.21
Min Pre-RawHP      : 0x4F118 value 0x1C
Min Pre-RawMP      : 0x4F119 value 0x0F
Min Pre-RawSp      : 0x4F11A value 0x06
Min Pre-RawPA      : 0x4F11B value 0x04
Min Pre-RawMA      : 0x4F11C value 0x05
Pre-RawHP Variance : 0x4F141 value 0x02
Pre-RawMP Variance : 0x4F142 value 0x01
Pre-RawSp Variance : 0x4F143 value 0x00
Pre-RawPA Variance : 0x4F144 value 0x00
Pre-RawMA Variance : 0x4F145 value 0x00

Monster
SCUS_942.21
Min Pre-RawHP      : 0x4F130 value 0x23
Min Pre-RawMP      : 0x4F131 value 0x08
Min Pre-RawSp      : 0x4F132 value 0x05
Min Pre-RawPA      : 0x4F133 value 0x05
Min Pre-RawMA      : 0x4F134 value 0x05
Pre-RawHP Variance : 0x4F14B value 0x03
Pre-RawMP Variance : 0x4F14C value 0x01
Pre-RawSp Variance : 0x4F14D value 0x00
Pre-RawPA Variance : 0x4F14E value 0x01
Pre-RawMA Variance : 0x4F14F value 0x01
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Jon

Umm thanks Xif but like for example if I wanted an Escutcheon it would go in the Weapon slot and the Javelin in the Shield slot, right?

Also thanks but like what do I do with this? Do I need a certain program to insert this code? Is there maybe a tutorial on this stuff somewhere? Thanks again! :mrgreen:
There ain't no gettin' offa this train we on!

Pride

1. Extract SCUS_942.21 from your iso and open it in a hex editor, I use HxD Hex Editor personally.

2. Open the item list page to figure out what item number you need to make the appropriate changes.

3. Go to the offset listed from Xifanie, for the Weapon it is at 0x4F12C in SCUS. If you want to change it to spear, you wold change 0x13 to 0x63. If you want to give a shield, go to 0x4F12E in SCUS and change 0xFF to 0x80 for Escutcheon.

4. Reinsert SCUS into your iso and you're done. Alternatively, you can create a .xml that can be applied with fftorgASM. I believe there is a tutorial on this on the forums (shouldn't be difficult to figure out).
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Jon

Thanks Pride, I downloaded HxD Hex Editor and opened up the SCUS_942.21. So like Xif named it "Weapon" and "Shield", is it really "Right Hand" and "Left Hand"? Also, I don't want to make any mistakes so is it this (the highlighted in blue) offset I change to whatever item I want? I just want to do this correctly.
There ain't no gettin' offa this train we on!


Jon

Yeah but now I got this and I just want to change 2 things, the Broad Sword into an Escutcheon in the right hand of Ramza and the empty left hand holding a Javelin (1).

Please tell me if that is the right one to change in the screen shot...
There ain't no gettin' offa this train we on!

Jon

October 05, 2012, 12:22:41 pm #7 Last Edit: October 17, 2012, 02:34:03 pm by Jon
Figured it out, thanks. Weapon and Shield are really Right and Left hands, respectively.
There ain't no gettin' offa this train we on!

Jon

While on the subject of hex editing, is there a way to change Ramza so he is more like a generic unit, what I mean is is that Ramza always only has Wish learned and nothing else, where as Delita and the generic Squires have like Throw Stone and Potion and stuff learned. How can I change it so Ramza is treated like a regular generic unit?
There ain't no gettin' offa this train we on!

Celdia

If you don't want him learning Wish, move it out of the 6th slot in his skillset. I don't know if he ever has other skills learned with JP but I don't think he does. Showing up with nothing learned at Gariland is possible for a normal generic so just go with that.
  • Modding version: PSX
  • Discord username: Celdia#0

Jon

I know about swapping Wish with whatever, you could probably put Zodiac there and it'll be learned, well at least every normal ability. What I meant was just to have him actually spend some JP and come in with Throw Stone or Dash or Heal or Yell or whatever else, plus like most likely Potion and Equip Change and something like Antidote or whatever...just random but stuff learned.
There ain't no gettin' offa this train we on!