Final Fantasy Hacktics

Modding => Hacking/Patching Tools => Topic started by: RavenOfRazgriz on April 11, 2017, 10:52:53 pm

Title: Random Battle Editor - UPDATE: 4/12/2017
Post by: RavenOfRazgriz on April 11, 2017, 10:52:53 pm
MediaFire FULL Download (http://www.mediafire.com/file/wb8bbfzrs111bsw/Random+Battle+Editor.rar)

Random Battles, how do they work, right?

Well, thanks to Xifanie providing me with some documentation and a trip to McDonald's for some delicious coffee, even you, dear user, can now know exactly how Random Battles actually work, and edit them to your liking!  This tool even allows editing of Deep Dungeon Random Battles!  Saving and Loading uses the same logic as my ATTACK.OUT Editor Special Awesome (http://ffhacktics.com/smf/index.php?topic=9749.0), allowing .XML files to be saved and loaded from the included .XML Directory and custom-named WLDCORE.BINs loaded from the included .BIN Directory.

(http://i.imgur.com/WC6j83j.png)
(http://i.imgur.com/z7gPEeZ.png)

How it works:



F4 / CTRL+L - Close Active Window
CTRL+S - Save .XML
CTRL+L - Open .XML
CTRL+I - Import WLDCORE.BIN
CTRL+E - Export WLDCORE.BIN
CTRL+G - Set Global Variables

Pressing ALT reveals all keyboard shortcuts via underlining the character on the related button on the interface.
Title: Re: Random Battle Editor RELEASE: 4/11/2017
Post by: CONMAN on April 11, 2017, 11:29:28 pm
Damn! Back with a vengeance Raven! I'll have to check back on this when I sober up! It looks awesome!
Title: Re: Random Battle Editor RELEASE: 4/11/2017
Post by: kyozo22 on April 12, 2017, 04:33:51 am
Raven, I love you!

Plus, y'know, it's good to know you're alive. :P
Title: Re: Random Battle Editor - UPDATE: 4/12/2017
Post by: RavenOfRazgriz on April 12, 2017, 12:51:26 pm
EDIT: Secondary update released to fix an issue with the ENTD checkboxes.  Download is updated.

UPDATE!

The "Set Global Values" button has been updated.  It now not only allows you to perform a global modification of which variable unlocks Random Battles and their Encounter %, but also globally modify which ENTDs are introduced into the randomization in which Battle Set and when each Battle Set's Max Value Check is.  This means it would be easy to, say, make it so every random battle location unlocks a new battle at the start of each Chapter, as some people used to believe they functioned ages ago.  (The defaults for Set Global Value are actually configured implement this immediately to a vanilla game!)

See the new version below:

(http://i.imgur.com/z7gPEeZ.png)

Quote from: CONMAN on April 11, 2017, 11:29:28 pm
Damn! Back with a vengeance Raven! I'll have to check back on this when I sober up! It looks awesome!

It's pretty sweet, and I just made it better.  I'm not so much 'back wit a vengeance' as much as I'm just better than I used to be at these things.  I can make nicer-looking and more functional programs in a day than I used to be able to in weeks when I was active before.
Quote from: kyozo22 on April 12, 2017, 04:33:51 am
Raven, I love you!

Plus, y'know, it's good to know you're alive. :P

I'm not alive.  I'm a spoopy ghost making shitty programs from the afterlife to remind you all that you're here forever.
Title: Re: Random Battle Editor - UPDATE: 4/12/2017
Post by: Squaresoft on March 10, 2020, 12:59:44 pm
Hey Raven!,
I'd like to finish understanding the "Variable Max" field for each Battle Set.
That value is the shop (and thus story) progression before enabling that Battle Set?.

So, if I raise/lower that value,
that stage variant will become available later/sooner respectively in the game?.

Thank you.
Title: Re: Random Battle Editor - UPDATE: 4/12/2017
Post by: Xifanie on March 10, 2020, 02:30:38 pm
@Squaresoft
IIRC it identifies which set will be used. So, in the screenshot above, 0-5 would use the 1st set, 6-9 the 2nd, A-D the 3rd, and otherwise the 4th. Yes, there are used to determine when random battles can take place, with 0x006F Shop Progression as the default.

I'm the one who discovered and analyzed this data, but it's been a few years since I last played with it.
Title: Re: Random Battle Editor - UPDATE: 4/12/2017
Post by: Squaresoft on March 10, 2020, 03:00:53 pm
Thanks Xifanie ♥
It's really helpful to me, since I always wanted to know WHEN certain battles became available through the game,

Now I have to discover the variable's values across the game,

Now thanks again!,