solved - trouble converting stuff

Terve!
After a few very small things I'd like to do my first "bigger" mod.

 

The first problem I ran into was the converting of the files. Even though I could bypass the conversion from binary to txt, I am unable to convert them from txt to binary (ship information files). If I launcht the game with the txt files it crashes in some cases.

When I use the converter I was able to download online (contains the text: for %%a in (*.entity) do ConvertData_Rebellion entity %%a %%a txt)

I am unsure if I have to do something with this file to make it work or if the new file is created in a different folder.

Thank you already for your kind help.

Sayonara!

 

 

31,659 views 3 replies
Reply #1 Top

Quoting Darksxx, reply 6

Here, this will make your life so much easier. I made these a long time ago to use a batch file to convert the files. just name this one BIN2TXT and make this a .bat file.  make sure you dump the files in a folder wit his batch file to convert the files. along with the files you want to convert and the .exe convertdata file. Use the entire string below.

This is for the TXT2BIN

for %%a in (*.entity) do ConvertData_Rebellion entity %%a %%a txt

 

This is for BIN2TXT

for %%a in (*.entity) do ConvertData_Rebellion entity %%a %%a

Name each of these stings in the batch file a .bat file named something like this 

Entity TXT2BIN

and

Entiry BIN2TXT

Once all of the files are in the folder just run the batch file and it will convert all of the files for you.
  

 This are the steps that I had taken and it worked fine by me. You'll need to try it if it works with you.

Good Luck

+1 Loading…
Reply #2 Top

Terve!
It's interesting. I've got the converter from that very place.

But because you reposted it to me, I read what was there and realized that I needed the "convertdata_rebellion" file in the folder as well.

So thank you for telling me.

Sayonara!

Reply #3 Top

 No problem Sayonara. I had problems myself with converting those files, but thanks to @Darksxx, I finaly made it to convert those files :)