Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Patch and mod
Author: Epervier (193.51.243.---)
Date:   06-26-12 13:01

Hi,
First of all, I'm french, so excuse my english.
Well, to the point now...
I just finish translating the black gate anf forges of virtue in french using a tool that some italian guys wrote a long time ago (I think he was italian, but i can be mistaken). The tool in question is named U7Ed.
It's a cool tool, it edits the usecode and lets you translate text, then recompile a new usecode.
It works well
So...
Here are my questions :
I have the possibility to copye the new usecode in the patch directory of exult/U7, and yes, it works !
but... If I want to use the keyring mod from marzo, it seems that the patch directory is no longer used. I --can-- replace the original usecode, but... that's not very clean :)

Question 1 : I am missing something ? is it normal ?

Question 2 :Any idea how I can translate a mod ? the tool doesn't work on the usecode generated by the mod... I don't know why.

Thanks for your help !
(and thanks for Exult !!!!!!!)

Reply To This Message
 
 Re: Patch and mod
Author: Epervier (193.51.243.---)
Date:   06-26-12 13:54

I don't know how to edit my essage, so here is a complement
I was finally able to put my hand on the italian tool version 0.98. Is used to use the version 0.94.
And wow !! I can finally edit the usecode from the mod (haven't tested it yet, so I don't know if it will work but hey !)

My first question stands however. The one with the patch/mod folders :)

Thx !

Reply To This Message
 
 Re: Patch and mod
Author: DominusMobile2 
Date:   06-26-12 15:40

You can edit the usecode of a mod much easier. The uncompiled usecode of marzos mod is in our source code. Just simple text files that get 'compiled' into usecode.

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Patch and mod
Author: The Ancient One (---.cust.dsl.vodafone.it)
Date:   06-27-12 08:33


Hi Epervier!

I'm one of the Italian translators.

If you need help with our tool, you can write on our forum: http://www.oldgamesitalia.net/forum/index.php?showforum=60
The guy who coded it (DK) is still around.

The last version of the tool has a very useful feature: it automatically suggests the translation used in the original usecode for the similar lines of the mods (almost 99% of the mods' text). With this feature it's much faster to translate a mod or update it.


Bye,
Diego

Reply To This Message
 
 Re: Patch and mod
Author: Marzo Sette Torres Junior 
Date:   06-27-12 13:43

Sometime ago, I started writing some text extractors to pull all the strings from within the code files and refer to them as string constants. That would allow for easier translation and recompilation of mods.

I will see if I get around to finishing that and converting my mods to use it.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Patch and mod
Author: Epervier (---.fbx.proxad.net)
Date:   06-27-12 14:37

Thx for your answers
Like I said, I can finally use the italian tools, and it seems to work so far...
I will confirm when I have finished and played the game.
Any idea for my first question ? Is it possible to use the patch folder AND the mod folder, or do I have to replace the original usecode with the patch file (it works as far I can see, but I find it 'unclean'...

Reply To This Message
 
 Re: Patch and mod
Author: Marzo Sette Torres Junior 
Date:   06-27-12 17:14

Patch and mod are mutually exclusive; you can only use one at a time.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Patch and mod
Author: Epervier (---.fbx.proxad.net)
Date:   06-27-12 21:31

Thanks ! I have my answer...
too bad, but at least, I know !

Reply To This Message
 
 Re: Patch and mod
Author: kallewirsch 
Date:   06-28-12 22:15

So, as mods ignore patches, I was wondering how to put the "Rune of Honor-Quest" from the patch into the TFL-mod. First I checked in what Usecode-Files from the patch are missing in the mod. I found six of them:

"headers/new_gflags.uc"; //Newly added global flags
"items/miningmachine.uc"; //Reimplemented for Rune of Honour quest
"npcs/finnigan.uc"; //Finnegan the mayor of Trinsic (adds Rune of Honour quest)
"npcs/candice.uc"; //Candice's the curator in Britain (adds Rune of Honour quest)
"npcs/gladstone.uc"; //Gladstone the sculptor in Minoc (adds Rune of Honour quest)
"quests/honor.uc"; //Rune of Honor quest

A seventh is also missing, but doesnīt have anything to do with the quest:

#include "monsters/cow.uc"; //Cows!

Besides this, two sequences in npcs/lordbritish.uc have to be added:

//Candice asked for LB's permission (added for Rune of Honor quest)
if (gflags[NEED_PERMISSION_FOR_RUNE] && !gflags[GOT_PERMISSION_FOR_RUNE]) add("Rune of Honor");

and

//added for Rune of Honor quest
case "Rune of Honor" (remove):
say("You explain to the sovereign about your desire to return the Rune of Honor to Trinsic, and that the Museum needs his permission.");
say("He nods. \"A noble goal indeed that thou hast set yourself, and I dare say the relics could do with some fresh air.~\"But tell me, how did the Rune come to be left here in the first place? Surely thou didst return it after thy quest to the place the Codex into the void?\"");

converse(["'Twas an impostor who took it.", "Err...I sort of forgot."])
{
case "'Twas an impostor who took it.":
say("\"Aye, lately I have been hearing the odd report of counterfeit Avatars defrauding the populace. 'Twould seem thine identity has great currency, my friend!");
break;

case "Err...I sort of forgot.":
say("Lord British gets a gleam in his eye. \"Why, a hero cannot be expected to remember -everything-, now can they?~Ah well, 'tis better late than never as they say.\" He smiles knowingly.");
break;
}

say("\"Very well, I agree to let thee bring the Rune back to Trinsic, and I shall let the Museum know in writing.~Thank thee for thine attention to this matter, 'tis good to have thee cultivating the Virtues once more!\"");
gflags[GOT_PERMISSION_FOR_RUNE] = true; //Can now ask Candice about it again
gflags[NEED_PERMISSION_FOR_RUNE] = false; //just to be tidy
}

I added these and also copied missing uc-Files into the proper TFL-Subdirectory. The question to me is: How to hook these files into the mod to make them run properly. I added the list into usecode.uc within the SRC-subdirectory, but it didnīt work.

BTW: I restarted a little into the game. I stumbled at least over two topics in conversations with npcs, that do not work in TFL anymore: Iolo cannot be asked about "Trinsic", Shamino not about "pocketwatch". In the mere Keyring-mod both still work.

Regards

Reply To This Message
 
 Re: Patch and mod
Author: Marzo Sette Torres Junior 
Date:   06-29-12 09:31

I seem to remember having talked about having support for translations, but I can't remember what was decided; I will see if I dig into the archives.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Patch and mod
Author: Malignant Manor 
Date:   06-29-12 20:17

I found the thread you are looking for.

Call for help with usecode

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Subject:
   
 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)