Diplomacy convertData

Hi, I wish to make a mod for Diplomacy, but I do not know how use ConvertData.exe. Can anybody tell me the complete proceed? Thanks

Sandro

11,866 views 19 replies
Reply #1 Top

the easiest way is to copy the gameInfo folder to the modfolder of the version you wish to convert and then use harpoes utility: https://forums.sinsofasolarempire.com/353296 download the one with diplomacy. It might not contain the newest convert data of dilpomacy v1.01 so after unpacking, copy the ConvertData_Diplomacy.exe from the install folder to where you unpacked herpoes tools and rename it to ConvertData_Diplomacy1.01 and run the sinstextbinner.

Reply #2 Top

I didn't need to do any renaming to get it to work, and I just downloaded it today, so in theory it should work for you.

Reply #3 Top

Then he probably already included the newest convertdata.

Reply #4 Top

Thanks for the replay, but I try the suggested utility and it demand me some files I do not have. I have sins trinity whith only Entrenchment 1.05 and Diplomacy 1.00.

The best for me will be a Game info folder with files in text, in that manner I can modify the necessary files for my test mod.

Thanks

Sandro

Reply #5 Top

sandro, which files did it ask for?

also if you want just the txted entitys then look in this thread in particular reply 1.

harpo

Reply #6 Top

The way I convert files is the hard way, but it always works... If you can find CMD.exe on your computer... If you have XP, you can click Run, and then just type in cmd.exe... Otherwise, you'll have to sift through your windows folder to find it... Once you have it open, you'll have a simple text line... Mine says C:\Documents and Settings\Five Floor Fixer\> _

From here you can type in certain DOS commands into the program, but you wont need to know any.. For the next step, you need a folder that has BOTH the convertdata.exe and the files to be converted in it... I went ahead and threw all my convertdata's into the Mods folder, for easy access.

Now, if this folder isn't the folder read by CMD.exe, you have to change directory to your folder, which is easy. You type in the letters cd followed by the folder path. For instance, to get to my Mods folder, I have to type in cd local settings\application data\sins of a solar empire\mods. You don't need to capitalize anything, but include all spaces, and make sure you spell it right... If done correctly, cmd.exe will read like this: C:\Documents and Settings\Five Floor Fixer\Local Settings\Application Data\Sins of a Solar Empire\Mods\> _

As long as you have the files to be converted in that same folder, you're ready to convert. You just type in which ever convertdata.exe that relates to the version of Sins the file came from (I labled my .exes 'O' for original, 'E' for entrenchment and 'D' for diplomacy), the type of file you're converting (entity, brushes, or mesh), the file name, the file's NEW name, and the output type.. (usually TXT)

For instance. Lets say I was adjusting the TEC race. To read the playertech.entity file, I would type in convertdata_d.exe entity PlayerTech.entity PlayerTech.entity txt The PlayerTech.entity file (as long as I used Diplomacy's file) should now be in text form, ready for editting.

But, as you can see, this is a long and arduous process...

Reply #7 Top

It works though!!! Which is more than I can say for anything else I've tried...

Reply #8 Top

And if you do it enough, it'll become a smooth and well-known process, if slow.

Reply #9 Top

Thanks very much jozanman222, I do not have problem with dos command,  all I needed wuas the process to convert (in the hard manner) the entity files. I will try it. Thank you.

sandro

---------------------------------

For harpo99999: the file it demand me is, I think, a file related to patch or mod 1.19 and I do not have it, because I made a new install whith Trinity. Thank you.

sandro

Reply #10 Top

sandro, the demand is looking for the sins exe and it wants the latest to prevent problems,

but as far as I know the trinity is sins of a solar empire v 1.19(uses Mods-v1.19), entrenchment 1.05(uses Mods-Entrenchment v1.05) AND diplomacy 1.00(uses Mods-Diplomacy v1.00),

the only utility of mine that NEEDS the 'targetsinsver.txt' file IS the mod updater,

the manifest maker,text binner and galaxy manifest manager look for the file and if not found continue to work,

but if found then check the version number of the sins of a solar empire.exe and if NOT the same give the user an error message.

harpo

,

Reply #11 Top

sandro, the demand is looking for the sins exe and it wants the latest to prevent problems,

but as far as I know the trinity is sins of a solar empire v 1.19(uses Mods-v1.19), entrenchment 1.05(uses Mods-Entrenchment v1.05) AND diplomacy 1.00(uses Mods-Diplomacy v1.00),

the only utility of mine that NEEDS the 'targetsinsver.txt' file IS the mod updater,

the manifest maker,text binner and galaxy manifest manager look for the file and if not found continue to work,

but if found then check the version number of the sins of a solar empire.exe and if NOT the same give the user an error message.

harpo

,

Reply #12 Top

Hi jonazman222, your procedure worked!

Now, do you knou how to add a new ability? Each time I try to add one the mod crash the game. I just copied an existing ability and rename it and change in the capitalship entity file the old ability name for the new name and the mod crashed.

Thanks

sandro

Reply #13 Top

Ok, one, make sure you have the new ability in question. For instance, if you're making a new ability that works like Domination, but named Hostile Takeover, you'll have to copy Domination's ability.entity, and rename that entity to HostileTakeover.entity.

After that's done, you have to do a little cleanup... In the entity.manifest, you have to add your entity to the list, down at the bottom, and make sure you up the number at the very top by how many entities you added... If you're just adding HostileTakeover.entity, just increase that number by one.

After that, you'll might want to update the String. The string is what tells the game to show the text in game. Your ability.entity might be HostileTakeover.entity, but if you don't change the String, then in game, it'll still be called Domination.

If you want more detail on which lines to edit, go ahead and PM me.

Reply #14 Top

Thanks for your help jozanman222. Now, how to introduce a new research item in the research tree of one race (Tech) (example: I wish to research a tech device wich do the same of Psi Domination) and give me a new ability (example: Domination Device) for one of my capitalship?

It is possible?

Thanks

sandro

Reply #15 Top

It sure is... Continuing my example, say you've already set up the Hostile Takeover ability on your capital ship. In the ability's entity file, scroll down to fine these lines:

researchPrerequisites
 NumResearchPrerequisites 0

All you need to do is alter this to make sure you need a tech to use that ability... For example:

researchPrerequisites
 NumResearchPrerequisites 1
 ResearchPrerequisite
  Subject "RESEARCHSUBJECT_ABILITYACCESS_HOSTILETAKEOVER"
  Level 1
 

Now you need to make the research subject for your ability, add it to the entity manifest, and you should be ready to research your new ability. Again, string updates, and icon adjustments may be wanted to completely customize your new ability.

Reply #16 Top

you will also NEED to add the research entity to the playerRACE.entity otherwise you will not be able to research it.

harpo

Reply #17 Top

Jozanman222 and Harpo999: Thanks very much for yours explications. I will try it.

There is a manual for modding Sins? Where can I find it?

Thanks again

sandro

Reply #18 Top

Hi! I downloaded forge tools 3 and I see there is a manual for modding. But it do not say all. If you know other souces for modding sins, please tell me.

Thanks

sandro

Reply #19 Top

SANDRO, do NOT use the reference data in the forge tools as they are ancient and WILL CAUSE miniumps if used in a mod.

harpo