• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 24, 2024, 01:16:45 am

News:

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


Event Decompiler & Event Compiler

Started by Xifanie, June 07, 2008, 08:45:42 pm

Xifanie

October 08, 2009, 07:19:10 pm #80 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
If you only change the script and not the event's code, that's not necessary. The primary use for the Text tag is to save directly to pSX quicksaves for testing.
  • 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

philsov

October 08, 2009, 07:33:27 pm #81 Last Edit: December 31, 1969, 07:00:00 pm by philsov
can't join chat atm >_<

QuoteIf you only change the script and not the event's code, that's not necessary. The primary use for the Text tag is to save directly to pSX quicksaves for testing.

Wonderful.  So...

change decompiled text
copy/paste whole event in event.txt
set the offset in config.ini
recompile
replace with CD mage.

and... voila!
Just another rebel plotting rebellion.

philsov

October 15, 2009, 08:56:01 pm #82 Last Edit: October 15, 2009, 09:24:21 pm by philsov
more script queries, half for personal edification, half for project funsies.  Below are excerpts from several events for comparative purposes.  Has anyone identified what all these commands are?

Event 004 - Orbonne Start:

Agrias:
DisplayMessage(x10,x11,x0001,x34,x00,x00,+00000,+00000,+00000,x01)
Just another rebel plotting rebellion.

Kokojo

October 15, 2009, 09:16:46 pm #83 Last Edit: December 31, 1969, 07:00:00 pm by Kokojo
I keep leaving, I keep coming back. Boomerang boy.

philsov

October 15, 2009, 09:23:57 pm #84 Last Edit: December 31, 1969, 07:00:00 pm by philsov
I'm going facepalm myself in the corner now.

thanks koko.
Just another rebel plotting rebellion.

Delano

October 22, 2009, 10:34:52 am #85 Last Edit: December 31, 1969, 07:00:00 pm by Delano
Can I change the
FFT initial text(zodiac brave story) and the Alazam's text ?
also change their musics themes.

Cheetah

October 22, 2009, 11:05:58 am #86 Last Edit: December 31, 1969, 07:00:00 pm by Cheetah
Alazam's text is actually a graphic. So ShiShi can replace it but then you also have to have some coding knowledge to be able to actually make it run correct. Takes some real coding knowledge. You can change the music in quite a few places. For battles change the music through the attack.out information and you can set two different songs. To trigger different songs is an event instruction. For the world map and stuff it is more complicated.
Current Projects:

MiKeMiTchi

October 22, 2009, 11:37:49 pm #87 Last Edit: December 31, 1969, 07:00:00 pm by MiKeMiTchi
Quoteyou also have to have some coding knowledge to be able to actually make it run correct
Well, not really. :)

I have tried changing Alazam's text and it works flawlessly.
You may have problems with the actual colors in-game, though.
Jot5 GFX Designer :: Spriter :: Mitchi

Delano

October 24, 2009, 08:41:12 am #88 Last Edit: December 31, 1969, 07:00:00 pm by Delano
Please somebody help me.
I want change the caracther's movements in senes and the caracthers what appears.

For example:Change garfigarion by Delita and change his movements in the scene.

I already see the instructions kokojo posts, but I can understand that numbers.

Kokojo

October 24, 2009, 12:31:32 pm #89 Last Edit: December 31, 1969, 07:00:00 pm by Kokojo
Delano, I should be finishing my event editing tutorial this night. Please be patient.
I keep leaving, I keep coming back. Boomerang boy.

Delano

October 24, 2009, 04:27:33 pm #90 Last Edit: December 31, 1969, 07:00:00 pm by Delano
Okay I will.
I tryed to read that instructions you post but it was a little
hard to understand, but I wait this tutorial.
Thanks.

MiKeMiTchi

October 25, 2009, 03:01:53 am #91 Last Edit: December 31, 1969, 07:00:00 pm by MiKeMiTchi
QuoteDelano, I should be finishing my event editing tutorial this night. Please be patient.

w00t! I can wait for it anytime!
Jot5 GFX Designer :: Spriter :: Mitchi

Kokojo

October 25, 2009, 03:05:27 am #92 Last Edit: December 31, 1969, 07:00:00 pm by Kokojo
I keep leaving, I keep coming back. Boomerang boy.

philsov

October 30, 2009, 08:03:10 pm #93 Last Edit: March 05, 2010, 09:44:44 pm by philsov
Hooooooo ok.

Attached is every single PSX event present, drawn from the test.evt, seperated by event, with all dummy text removed.  Feel free to use this for any event editing task as desired.  Enjoy :)

Just note that currently you will either need to renumber the event text (always start with 1 and go from there) or add in a series of {end} command at the start of the dialogues (if the first message is x005, add in four {ends} before the messages start).  Failure to do one of these will result in horribly compiled events.  Also, some of the headers are a bit messed up;  a series of underscores without a // in front of it is asking for trouble.
Just another rebel plotting rebellion.

Jumza

October 30, 2009, 08:20:58 pm #94 Last Edit: December 31, 1969, 07:00:00 pm by Jumza
Thank you.


Mod Edit: Don't stretch the pages!
  • Modding version: PSX
Nyzer: Alma teleports out of her own possessed body.
Raijinili: Remember that you're telling a modding community that the game they love could use some fixing.

Grillv20

December 19, 2009, 11:56:58 pm #95 Last Edit: December 31, 1969, 07:00:00 pm by Grillv20
can somebody tell me why I cant get my compiler to compile? I double click it and it acts like it wants to load forever and ever then it finally loads and I hit the compile button and it freezes lol

philsov

December 20, 2009, 12:35:06 am #96 Last Edit: December 31, 1969, 07:00:00 pm by philsov
can you c/p your event.txt file?  Spoiler it too, if you please.
Just another rebel plotting rebellion.

Grillv20

December 20, 2009, 05:42:04 am #97 Last Edit: December 31, 1969, 07:00:00 pm by Grillv20
nvm I figured it out

formerdeathcorps

Zodiac, a few comments.

1) To save time, can the next version please have a functioning multi-compiler?  (This means an event.txt file with two events with proper offset locations and EventEnd() tags will compile correctly.)
2) Certain in-battle events like the Zirekile Victory (Event 088) are missing.  These can be found whenever event numbers jump by 3.
3) The Decompiler has slight errors such as after choice scripts or when reading scripts where the last message is not said by any person.  Examples are included below.

//Message 04
Ramza:
Choice A
Choice B{}More words Ramza says{}

//Message 05 (technically, this is message 6)
Agrias:
Words...

OR

Igros Castle--Beoulve Residence:

Offset (xMN000)
Message 12
Message 1-11
EventEnd()

//Message 1
Golagros
...
//Message 2
Thief
...
...
//Message 11
Zalbag
...
//Message 12 (does not show up with Decompiler because it has no author)
[]text[]

Otherwise, your event compiler is truly helpful.  The FFH main site should be updated to properly display all that we now know about event instructions.
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

turtleowlman

Just discovered this site a few hours ago.  Best day ever!