Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: Xifanie on December 13, 2013, 10:30:59 PM

Title: World/Battle Debug (new, stable codes!)
Post by: Xifanie on December 13, 2013, 10:30:59 PM

Gameshark Codes

(https://dl.dropboxusercontent.com/u/89448064/SCUS_942.21_27042014_211007_0627.png)
World Debug

D0067000 8A44
8016EA02 00A0
D0067000 8A44
8016EA0A 00A0
D0067000 8A44
8016EA12 00A0
D0067000 8A44
8016EA18 A00F
D0067000 8A44
8016EA1A 0008
(https://dl.dropboxusercontent.com/u/89448064/SCUS_942.21_27042014_210602_0815.png)     
Battle Debug

D0067000 8888
80166D6E 0050
D0067000 8888
80166D76 0050
D0067000 8888
80166D7E 0050
D0067000 8888
80166D84 502C
D0067000 8888
80166D86 0003

FFTOrgASM xml

Code: (xml) [Select]
<?xml version="1.0" encoding="utf-8" ?>
<Patches>
<Patch name="DEBUG World: Activate">
<Location file="WORLD_WORLD_BIN" offset="8EA02">A000</Location>
<Location file="WORLD_WORLD_BIN" offset="8EA0A">A000</Location>
<Location file="WORLD_WORLD_BIN" offset="8EA12">A000</Location>
<Location file="WORLD_WORLD_BIN" offset="8EA18">0FA0</Location>
<Location file="WORLD_WORLD_BIN" offset="8EA1A">0800</Location>
</Patch>
<Patch name="DEBUG Battle: Activate">
<Location file="BATTLE_BIN" offset="FFD6E">5000</Location>
<Location file="BATTLE_BIN" offset="FFD76">5000</Location>
<Location file="BATTLE_BIN" offset="FFD7E">5000</Location>
<Location file="BATTLE_BIN" offset="FFD84">2C50</Location>
<Location file="BATTLE_BIN" offset="FFD86">0300</Location>
</Patch>
</Patches>



World Debug Menu

1. Move
2. Formation
3. Brave Story
4. Tutorial
5. Data
6. Option

7. Battle
A menu will appear asking you to enter a number. This number will trigger a battle at the given map number.
Check here for a list of maps: http://ffhacktics.com/maps.php

8. Flag
You will be presented with 10 flags which you can edit from 0 to 9999, but you can also scroll up and down to edit flags 0 to 1023.
Flag 0 automatically reverts to 0000: this is perfectly normal.
To scroll up/down pages, press ⬜ + ↑ or ⬜ + ↓
Check here for a list of currently known flags: http://ffhacktics.com/wiki/Variables

It would be cool to be able to edit the values in hex, and from 0x00000000 to 0xFFFFFFFF. Of course, that would be trouble to hack considering that memory editing can do just as well (for emulators with that capability & Gameshark).

9. ENTD Team
Loads the specified ENTD slot as your team. Note that this is highly unstable on console.
Research is pending to find what causes the console and emulator to crash with some ENTDs.
To find a list of ENTDs, load your ISO using FFTPatcher and select the ENTD tab. ENTD IDs are listed in decimal, so you will have to convert them back to decimal.

Battle Debug Menu

1. AT
2. Unit List
3. Option

4. Debug
Allows you to edit the stats of characters. Originally only allows editing so many stats, even though more should technically be available as more are selectable. Press L1/R1 to switch between characters. Note that PA/MA aren't listed down there... and they might prove difficult to potentially implement with a hack.

0x00 = Level
0x01 = Experience
0x02 = Job (cannot be selected or edited)
0x03 = Brave
0x04 = Faith
0x05 = Zodiac Sign
0x06 = Move
0x07 = Jump
0x08 = Speed
0x09 = Right Hand (cannot be edited)
0x0A = Left Hand (cannot be edited)
0x0B = Head (cannot be edited)
0x0C = Body (cannot be edited)
0x0D = Accessory (cannot be edited)
0x0E = Primary (cannot be edited)
0x0F = Secondary (cannot be edited)
0x10 = Reaction (cannot be edited)
0x11 = Support (cannot be edited)
0x12 = Movement (cannot be edited)
0x13 = HP
0x14 = MP
0x15 = CT

NOTES:
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Elric on December 13, 2013, 10:36:02 PM
(https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSqRfbDEbGRE1S6USARmqYKrgpDh8YO3jf52YW8KdiYPGzoAN4F)

          Amazing work Xif!
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Dokurider on December 14, 2013, 03:49:38 AM

Help me I'm scared
This power will corrupt
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Xifanie on April 28, 2014, 01:18:02 AM
Updated
Now loads the appropriate text automatically~
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Angel on April 28, 2014, 02:52:28 AM
My xifi is so brilliant~ ♥
Title: Re: World/Battle Debug (new, stable codes!)
Post by: DARKANGELUXZ on January 06, 2017, 04:14:17 AM
In the World Debug, the second team it's always blue by default. How can i change this for every match?
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Xifanie on January 06, 2017, 04:52:05 AM
You're obviously using FFT: Arena... just use the Deep Dungeon menu.
Title: Re: World/Battle Debug (new, stable codes!)
Post by: DARKANGELUXZ on January 06, 2017, 05:18:44 AM
That's right for AI
But I use it manually
The first equipment if it maintains the color edited in the generator
But the second always takes the blue
I think that maybe FFTOrgASM could force this
At least for each battle
Thank you
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Xifanie on January 06, 2017, 06:02:10 AM
I think that maybe FFTOrgASM could force this
Unfortunately, ASM hacks don't make themselves by themselves.
Title: Re: World/Battle Debug (new, stable codes!)
Post by: DARKANGELUXZ on January 06, 2017, 06:36:32 AM
I understand
I just wanted an idea of where I could locate ...
<Location file = "?"
You might change the order of the palettes
I do not have all the knowledge
But I would not mind spending some time trying
Title: Re: World/Battle Debug (new, stable codes!)
Post by: White Knight Wiegraf on January 09, 2017, 08:23:16 AM
Hello DARKANGELUXZ,

You don't need the debug menu, it's only a matter of making them controlable through the FFTPatcher ENTD. But since the .fftpatch isn't in the download files, obviously it wasn't possible to do it yourself. Fortunately for you I've already done it before. The file I've attached will make them controlable. Make sure to patch the EIA.xml last, else there will be critical bugs.

Only compatible with Arena 1.40a.
Title: Re: World/Battle Debug (new, stable codes!)
Post by: DARKANGELUXZ on January 12, 2017, 06:08:22 PM
Hello DARKANGELUXZ,

You don't need the debug menu,
 T


Only compatible with Arena 1.40a.

Hello
I thought that no one would answer me any more
I'm going to try your files
thank you very much really
Title: Re: World/Battle Debug (new, stable codes!)
Post by: Pedro Henrike on December 16, 2018, 02:52:15 PM
Is FFTOrgASM necessary for this process? I do not quite understand how it works. So if it is, I will try to understand it. I found the topic very interesting.