Modding => Help! => Topic started by: Jon on December 10, 2009, 01:07:38 pm
Title: Please help with Event Compiler!
Post by: Jon on December 10, 2009, 01:07:38 pm
Hmmm, I am sure people have already had this same problem, but I cant find an answer on here anywhere....
Situation: I extracted TEST.EVT no problem, decompiled it with no hassle, changed some text around in the PSXevent.txt and renamed that very same document to only event.txt. Then when I tried to compile it with the Event Compiler, first I got some weird error message, but the program opened up nevertheless. Then I clicked compile and it seemed to be working its magic. Then after like 5 minutes or something a box poped up saying another message of error. What am I doing wrong here? Also, it says in the instructions that copy and pasting is involved in the process...but I never copy or pasted anything...someone please help! Much appreciation!
Title:
Post by: philsov on December 10, 2009, 01:13:55 pm
*blink*
You extract psxevent.txt
You copy/paste ONE EVENT from the psxevent file over to the event.txt file also found in the same folder (or if one doesn't exist, you can just make it.)
In the compiler config text file, you input the event offset for the single event you are actively changing
When you compile, the text from event.txt overwrites the text block in test.evt.
~
You... just tried putting every single event in the game into a block meant for a single event. Also, take a screenshot or actually write down the error.
Title:
Post by: Jon on December 10, 2009, 01:57:32 pm
Thanks Philsov but what is the event offset that you mentioned? In the Config where do I put this event offset? I am so new to all this, but thank you for your help
Title:
Post by: philsov on December 10, 2009, 03:43:07 pm
edit: just listen to Zodiac below me.
Title:
Post by: Xifanie on December 10, 2009, 08:19:35 pm
For the sake of avoiding confusion, I won't try to correct philsov's post but instead word it from what I know is true.
//This is a comment. Anything on this line will be completely ignored. Thus editing it is meaningless.
In CONFIG.INI:
QuoteOffset='00004000'
This was meant to be used for quicksave editing and quicksaves ONLY! I don't know if it works for anything else than pSX quicksaves because from what I heard epsxe and other emulators uses gzip compression for their quicksaves.
And for the actual event file:
QuoteOffset(x00004000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. Text(x00001800) //Remove the previous line if you wish text to compile directly after instructions.
Unless you know what you're doing, you should never have to change the Offset. Remove it if you want to quicksave edit like I mentioned earlier. You should ALWAYS remove the Text line unless you're quicksave editing or doing very minor edits that shoudn't increase the amount of instructions.
Title:
Post by: Jon on December 11, 2009, 03:58:41 am
Thank you Philsov and Zodiac. Just one quick question though: can I also do this not only for quicksave edits but for the actual game text? What I mean is is it possible to change the text in the game permanently? Many thanks again
Title:
Post by: Xifanie on December 11, 2009, 04:20:51 am
What do you think the text/messages section of the event is for? That Text(x00001800) line only controls the offset which is stored somewhere else in memory upon loading the event. (I never bothered to check where it stores the text offset in memory) And so it allows compiling the text always at the same location to avoid graphical glitches. Removing that line will still compile the text.
Title:
Post by: Jon on December 11, 2009, 05:11:16 am
Okay, thank you, I am testing the compiler now. Learn by doing, ect. And a big thanks out to you Zodiac for making these!
Title:
Post by: Jon on December 11, 2009, 05:22:54 am
I keep getting the error: Wrong parameter type. "x" expected but "r" found on line 9 What am I doing wrong? I followed your instructions exactly...
Title:
Post by: Xifanie on December 11, 2009, 05:31:05 am
did you copy/paste ONE event in event.txt?
Title:
Post by: Jon on December 11, 2009, 06:33:05 am
Yes. The Orbonne opening scene. Actually, I only changed the text because the event.txt that comes with the Event Compiler and Decompiler contains already the Orbonne sequence. So strange, the Decompiler works like a charm, and I know that the Compiler works because of all the patches on here, but it doesn't seem to work for me...what does this line 9 mean btw? I only changed one sentence, where Agrias talks for the very first time, and the sentence isn't longer than the original.
Title:
Post by: Xifanie on December 11, 2009, 07:22:39 am
copy/paste the decompiled event. I thought I fixed that the last time I uploaded the compiler/decompiler but it doesn't seem to be that way. The event in event.txt is for an older version of CONFIG.INI.
Title:
Post by: Jon on December 11, 2009, 08:42:31 am
Alright! Thank you Zodiac for not only making an awesome program but actually taking the time to explain it to me It works! Now to make my own version...oh and for some reason ' - ' does not appear, I wrote something like 1-2-3 and in game it appeared as 123. Not that I am complaining, on the contrary, this program rocks! But how come - does not appear? Dont matter that much but...also, why are the events sort of mixed up? I mean you get the Orbonne scene and then Princess Ovelia locked up in the basement with Vormav? Is that normal? And if I edit those dialogues, does that change the text for that part in the game? Thanks again!
Title:
Post by: Xifanie on December 11, 2009, 08:56:24 am
If you would have read the readme you would have known there is dummy text in those files.
You should ALWAYS remove the dummy text before compiling. Else if you increase the amount of text/instructions it can fuck up the next event.
Title:
Post by: Jon on December 11, 2009, 09:04:35 am
I hear ya, but how do you tell what is dummy text and what isnt? I will re-decompile from a fresh .iso in cdmage just in case I did something wrong.
Title:
Post by: philsov on December 11, 2009, 09:18:39 am
You can usually go by where the "display message xZZ" in the event stops, or in most cases just looking at the text itself and when it goes from something formal to out of place text gibberish.
each event has already been seperated and the dummy text removed. The above is great for tweaking events.
Title:
Post by: Jon on December 11, 2009, 09:33:21 am
Thanks so much Philsov! This is so great!
Title:
Post by: Jon on December 11, 2009, 11:34:54 am
Now I got another problem...when I try to change this text, in game the game sorta just stops. Agrias speaks some jibberish consisting of O's and 8's and then Gaffy doesn't say anything. Any ideas?
This is the text btw: //INSTRUCTION SECTION END - TEXT START //Message x06 {font:08}Gafgarion{br} {font:00}Kill them all!{br} Don't leave any suvivors!{end}
//Message x07 {font:08}Agrias{br} {font:00}Nonsense! There's no need{br} to kill them!{br} That's just what Goltana{br} wants us to do!{br} Just let them go!{end}
Offset(x0000A000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. Text(x00000181) //Remove the previous line if you wish text to compile directly after instructions.
//INSTRUCTION SECTION END - TEXT START //Message x06 {font:08}Gafgarion{br} {font:00}Kill them all!{br} Don't leave any suvivors!{end}
//Message x07 {font:08}Agrias{br} {font:00}Nonsense! There's no need{br} to kill them!{br} That's just what Goltana{br} wants us to do!{br} Just let them go!{end}
Offset(x0000A000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. Text(x00000181) //Remove the previous line if you wish text to compile directly after instructions.
//INSTRUCTION SECTION END - TEXT START //Message x01 {font:08}Agrias{br} {font:00}The crest of the Black Lion!?{br} {br} What's wrong with Prince{br} Goltana!?{br} He's such an idiot!{br} Does he want to start a war!?{end}
//Message x02 {font:08}Goltana Knight{br} {font:00}Knave! There's no point{br} in resisting!{br} Just give us the Princess,{br} or that beautiful face of{br} yours will be scarred forever!{end}
//Message x03 {font:08}Gafgarion{br} {font:00}Fool!{br} Only idiots attack head on!{end}
//Message x04 {font:08}Agrias{br} {font:00}Leave this to us!{end}
//Message x05 {font:08}Gafgarion{br} {font:00}We can't make money that way!{br} {br} Rad, {Ramza}!{br} Follow me!!{end}
//Message x06 {font:08}Gafgarion{br} {font:00}Kill them all!{br} Don't leave any suvivors!{end}
//Message x07 {font:08}Agrias{br} {font:00}Nonsense! There's no need{br} to kill them!{br} That's just what Goltana{br} wants us to do!{br} Just let them go!{end}
Title:
Post by: Kokojo on December 11, 2009, 12:19:41 pm
Remove that line.
text(x00000181)
Also, you need to have this changed : DisplayMessage(x10,x70,x0006,x17,x00,x00,+00001,+00000,+00000,x01) to DisplayMessage(x10,x70,x0001,x17,x00,x00,+00001,+00000,+00000,x01)
Since the first message will always be x01 at the eyes of the compiler
Title:
Post by: Xifanie on December 11, 2009, 12:26:26 pm
My, my, this is indeed bad.
As I mentionned, // lines are comments only
Typing //Message x06 doesn't change a thing. With that first even you have Kill them all as message 0x0001, nonsense as message 0x0002 and impossible as 0x0003. In order to fix that you can either paste {end}{end}{end}{end}{end} (message 1 to 5) before the first message or change the displaydialog instructions like Kokojo mentioned.
Title:
Post by: philsov on December 11, 2009, 12:35:11 pm
oh gdi.
looks like I need to fix a thing or two with my bundle.
Title:
Post by: Jon on December 11, 2009, 12:35:14 pm
Thank you, will do. I hope I wont have to annoy you guys anymore...
Title:
Post by: Jon on December 12, 2009, 04:14:54 am
Okay, most of the event.txt files from Philsov are really helpful, but almost all of them have the wrong DisplayMessage #'s. It is totally fine though, I can change them one by one manually, so no worries. I got everything to work so far just fine, hopefully I can make some new dialogue or something for the entire game...probably gonna take a week or something though...
Title:
Post by: Jon on December 12, 2009, 05:21:45 am
This time, I don't get an error message, I get instead absolutely nothing! I double clicked the Compiler and it seemed to be doing something (my arrow turned into an hourglass) but it never completes. I never get any kind of message, not even after half an hour. This is probably either the Compiler itself (which I doubt because it was working so nicely yesterday) or the Event Script again. Also, is that normal in the code? What I mean is that it sorta skips from DisplayMessage 05 to 0D? What happened to 6, 7, 8, 9, A, B, and C? Can you take a look and tell me what you think please?
Offset(x00010000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. Text(x000005C0) //Remove the previous line if you wish text to compile directly after instructions.
//INSTRUCTION SECTION END - TEXT START //Message x01 {br} {delay:05}Delita's name appears for{br} the first time a year before{br} the Lion War broke out{delay:3C}.{delay:01}{br} {br} {br} {delay:05}Many soldiers who returned from the war{delay:19},{br} {delay:05}had no jobs{delay:19}, little money,{br} {delay:05}and even less loyalty to the crown{delay:19}.{br} {delay:05}Many became thieves and{br} rebels plotting rebellion{br} against the royal family{delay:3C}.{br} {delay:05}At that time robbery and{br} murder were commonplace in Ivalice{delay:19}.{br} {delay:05}Many heroes and{br} {delay:05}wizards came out of there{delay:19}.{br} {delay:05}And Gariland was no exception either{delay:3C}.{end}
//Message x02 {font:08}Cadet{br} {font:00}I heard another wagon bound{br} for Igros was attacked.{end}
//Message x03 {font:08}Cadet{br} {font:00}Must have been the Death Corps...{end}
//Message x09 {font:08}Delita{br} {font:00}Not only Larg, but Marquis{br} Elmdor of Limberry, too.{end}
//Message x0A {font:08}{Ramza}{br} {font:00}That's news! It's not an{br} official visit, is it?{end}
//Message x0B {font:08}Delita{br} {font:00}There are danger zones{br} everywhere in Ivalice.{br} The Hokuten Knights are in{br} full operation, but suffering{br} from a shortage of men.{end}
//Message x0C {font:08}{Ramza}{br} {font:00}So, they need us cadets.{end}
//Message x0D Everyone, fall in!{end}
//Message x0E {font:08}Hokuten Knight{br} {font:00}You have a mission!{br} {br} As you know, barbarians are{br} rapidly increasing here in{br} Gallionne.{br} The traitorous Death Corps{br} detest the royal family.{br} We cannot overlook them. {br} We will begin exteminating{br} these traitors.{br} By order of our Master.{br} Larg's Knights stationed at{br} Igros Castle and many other{br} groups will participate.{br} Your duty is to support the{br} flank. Specifically, you'll go{br} to Igros and help guard it.{end}
//Message x0F {font:08}Hokuten Knight{br} {font:00}Cadets, ready your swords!{br} {br} A gang of tortured theives{br} is trying to sneak into{br} this town.{br} We'll begin preparations{br} now to keep them out of{br} town! Come with me!{br} This is the frontline of{br} operations! That's all!{br} Prepare immediately!{end}
Title:
Post by: Xifanie on December 12, 2009, 07:56:48 am
Look at your first line, it's missing the comment tag.
And don't just copy/paste that much, at least put them in spoilers, it's annoyingly long to scroll down for nothing.
Title:
Post by: Jon on December 12, 2009, 11:43:13 am
Okay, I made them into spoilers
But do you mean that I should add // before the long ------------? Is that what you mean? Thanks for the info Zodiac!
Title:
Post by: Kokojo on December 12, 2009, 11:46:06 am
Yes, he said that.
It's a common error.
Also, be sure to press ctrl+alt+delte, go to process, stop ALL the little event_compiler_2 that are stuck, then try again. (otherwise you should get an error, or it will not work, something like that.
Title:
Post by: Jon on December 12, 2009, 07:09:54 pm
Okay okay thanks, I didn't know what a comment tag is, but now I assume it's //. I got everything working smoothly. And by the way, I did do the ctrl+alt+del, but it wouldn't show up. In the end I just restarted my computer which settled everything. Seems a good solution if your comiler dont appear. As long as I aint got no more problems, I will try to bother yall less if I can, hahaha. Thanks for the patience
Also, this goes way off topic here, but can someone please tell me what program changes patches into .ppf files? Like 1.3 and WotL patch come as?
Title:
Post by: Jon on December 14, 2009, 02:17:48 pm
I need help please with this one, the "Sand Rat Cellar" ending sequence:
Offset(x00056000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. Text(x00000A94) //Remove the previous line if you wish text to compile directly after instructions.
//INSTRUCTION SECTION END - TEXT START //Message x01 {font:08}Wiegraf{br} {font:00}Gustav, why don't you{br} give up?{end}
//Message x02 {font:08}Gustav{br} {font:00}Your revolution can never succeed!!{br} {br} What we need is food and a{br} place to sleep, not ideas!{br} And we need it now!!{end}
//Message x03 {font:08}Wiegraf{br} {font:00}You only see the present.{br} You have to fix the basics!{end}
//Message x04 {font:08}Gustav{br} {font:00}And you think you'll do that?{br} {br} I don't think so, Wiegraf.{br} Never!{end}
//Message x05 {font:08}Wiegraf{br} {font:00}Is that all you want to say?{br} {br} Gustav, good{D11D}bye.{end}
//Message x0E {font:08}Wiegraf{br} {font:00}Kidnapping wasn't our goal.{br} We never stoop to such acts. {br} You can have the Marquis,{br} if you just let me go...well?{end}
//Message x0F {font:08}Algus{br} {font:00}Don't trifle with us!{br} You can't beat us!{end}
//Message x17 {font:08}{Ramza}{br} {font:00}He's all right. Weakened, {br} but no serious wounds.{end}
//Message x18 {font:08}Delita{br} {font:00}Let's go back to Igros...{end}
Up until now, I have been able to correct any mistakes myself with the other events, but this one is beyond my saving. I think it is totally messed up, unfortunetly. Much obliged for any help.
Title:
Post by: Xifanie on December 14, 2009, 03:14:29 pm
Remove this line: Text(x00000A94)
Title:
Post by: Jon on December 15, 2009, 04:56:58 am
@Zodiac- Thanks but it did the same exact thing...the way the characters speak are all wrong still, like exmple Wiegraf says Algus's bit, ect. However, good news! I figured out a sure fire way of doing the text, just patch on the FFT Psx version the WotL patch and then change those dialogues. Those seem to be all in the right order