Please login or register.

Login with username, password and session length
Advanced search  

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen/RetroArch is recommended for playing/testing, pSX is recommended for debugging.

Pages: [1]
French Maid
Xifanie (Webmistress) [Posts: 4259]
  • View Profile
  • Final Fantasy Hacktics
  • http://steamcommunity.com/id/Xifanie
  • share
  • [December 13, 2013, 10:30:59 PM]
World/Battle Debug (new, stable codes!)
« on: December 13, 2013, 10:30:59 PM »

Gameshark Codes


World Debug

D0067000 8A44
8016EA02 00A0
D0067000 8A44
8016EA0A 00A0
D0067000 8A44
8016EA12 00A0
D0067000 8A44
8016EA18 A00F
D0067000 8A44
8016EA1A 0008
     
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:
  • I've been developing a hack to allow new stats/equipment/abilities to be edited, but it needs to be refined. As it stands, editing and saving items/skillsets/R/S/M is no issue.
  • I want to figure out how to recalculate HP/MP when changing equipment (it already updates when altering your level).
  • I want to figure out how to force the equip change routine to recalculate AI skills, sword requirement and other things.
  • I want to figure out how to give the player the ability to edit PA and MA, which is currently totally impossible, because there is no existing cursor for those two stats. The cursor data can be found in battle at: 0x801c6044 (the first word is the location of the stat).
  • Speed is reset after leveling up... rather annoying.
« Last Edit: August 29, 2015, 04:25:49 PM by Xifanie »
    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    The Puppet ---Master---
    Elric (Overseer) [Posts: 3826]
    • View Profile
    • Youtube Channel
    • http://steamcommunity.com/id/Bones42
    • share
    • [December 13, 2013, 10:36:02 PM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #1 on: December 13, 2013, 10:36:02 PM »


              Amazing work Xif!

    • Modding version: PSX
  • <@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.
    Journey of the Five Youtube ChannelThe Lion War Current Status
       
    Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other
    Internet Cool
    Dokurider [Posts: 2806]
    • View Profile
    • http://steamcommunity.com/profiles/76561198023738783/
    • share
    • [December 14, 2013, 03:49:38 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #2 on: December 14, 2013, 03:49:38 AM »

    Help me I'm scared
    This power will corrupt
    French Maid
    Xifanie (Webmistress) [Posts: 4259]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [April 28, 2014, 01:18:02 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #3 on: April 28, 2014, 01:18:02 AM »
    Updated
    Now loads the appropriate text automatically~

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Toshiko
    Angel (Empress) [Posts: 1231]
    • View Profile
    • にゃにゃめにゃにゃじゅうにゃにゃどのにゃらびでにゃくにゃくいにゃにゃくにゃにゃはんにゃにゃだいにゃんにゃくにゃらべてにゃがにゃがめ
    • share
    • [April 28, 2014, 02:52:28 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #4 on: April 28, 2014, 02:52:28 AM »
    My xifi is so brilliant~ ♥

    • Modding version: PSX
  • * Angel should quit being a lazy bitch
    <@Elric> I agree to that as well
    At the end of the day, are we not all trapped inside lemons?
    DARKANGELUZX-FFT GAMER LATINO
    DARKANGELUXZ [Posts: 52]
    • View Profile
    • FFT-LATINOS -FACEBOOK
    • share
    • [January 06, 2017, 04:14:17 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #5 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?
    French Maid
    Xifanie (Webmistress) [Posts: 4259]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [January 06, 2017, 04:52:05 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #6 on: January 06, 2017, 04:52:05 AM »
    You're obviously using FFT: Arena... just use the Deep Dungeon menu.

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    DARKANGELUZX-FFT GAMER LATINO
    DARKANGELUXZ [Posts: 52]
    • View Profile
    • FFT-LATINOS -FACEBOOK
    • share
    • [January 06, 2017, 05:18:44 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #7 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
    French Maid
    Xifanie (Webmistress) [Posts: 4259]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [January 06, 2017, 06:02:10 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #8 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.

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    DARKANGELUZX-FFT GAMER LATINO
    DARKANGELUXZ [Posts: 52]
    • View Profile
    • FFT-LATINOS -FACEBOOK
    • share
    • [January 06, 2017, 06:36:32 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #9 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
    White Knight Wiegraf [Posts: 257]
    • View Profile
    • http://steamcommunity.com/id/kurosabes/
    • share
    • [January 09, 2017, 08:23:16 AM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #10 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.

    • Modding version: PSX
  • DARKANGELUZX-FFT GAMER LATINO
    DARKANGELUXZ [Posts: 52]
    • View Profile
    • FFT-LATINOS -FACEBOOK
    • share
    • [January 12, 2017, 06:08:22 PM]
    Re: World/Battle Debug (new, stable codes!)
    « Reply #11 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
    Pages: [1]