Converting .entity files from binary

I started modding, um, yesterday.  I was doing fine until I used a modified starbase in a mod and when I turned the mod on, the starbase was invisible, gave me a minidump etc. etc.  Is there a program that will let me convert the newest starbase file from my program files into a text document?

13,778 views 5 replies
Reply #1 Top

did you use the convertdata_entrenchment in your program folder? or use harpoo's converter...link is here

Reply #2 Top

Thanks.  I downloaded it but when I used it it said "convertdata not found for the expansion chosen. looked for convertdata?originalsins0.exe here, and did not find it. please copy it into this location".  I guess the problem is, I have no idea how to use this stuff.  How DO I use it.  I'm not interested in converting from text to binary just binary to text.  How do I use it? 

Reply #3 Top

Assuming the entrenchment works the same way as the regular one:

1. Drag the starbase file in question into a folder with the convertdata_entrenchment.exe. We'll assume this is called NewStarbase.entity but it doesn't really matter.

2. Open a command prompt (Start -> run -> "cmd" on XP, just type cmd in the start bar on Vista)

3. Navigate to the folder in question (cd *folder path here*)

4. Type in the following:

convertdata_entrenchment entity NewStarbase.entity NewStarbase_textversion.entity txt

5. NewStarbase_textversion.entity will now be the plaintext version of NewStarbase.entity: you can delete the old NewStarbase.entity and rename the new plaintext version to it if you want.

 

+1 Loading…
Reply #4 Top

Quoting shadowraptor02, reply 2
Thanks.  I downloaded it but when I used it it said "convertdata not found for the expansion chosen. looked for convertdata?originalsins0.exe here, and did not find it. please copy it into this location".  I guess the problem is, I have no idea how to use this stuff.  How DO I use it.  I'm not interested in converting from text to binary just binary to text.  How do I use it? 

I had designed the text bin gui to use the folder name with version number to determine which version of the convertdata to use.

my reference folder layout is

f:\sins\reference\sins of a solar empire 1.17
f:\sins\reference\sins 1.18
f:\sins\reference\ sins 1.181
f:\sins\reference\entrenchment 1.02
f:\sins\reference\entrenchment 1.03
f:\sins\reference\entrenchment 1.04
f:\sins\reference\entrenchment 1.041

if you use a similar layout ie the version number at the end of the sins/expansion IT WILL work for you,
OR you could locate the original 1.0 text bin gui which only uses the convertdata's in the sins folder, but can fail to convert files that had been binned with older versions of the convertdata's.

also it is a good idea to post questions in the thread for the mod/utility as the modders/porgrammers often check their threads first

harpo

+1 Loading…
Reply #5 Top

my reference folder layout is

f:\sins\reference\sins of a solar empire 1.17
f:\sins\reference\sins 1.18
f:\sins\reference\ sins 1.181
f:\sins\reference\entrenchment 1.02
f:\sins\reference\entrenchment 1.03
f:\sins\reference\entrenchment 1.04
f:\sins\reference\entrenchment 1.041

Thanks I didn't know that.  it works like a charm now