Sins of a Solar Empire : Real-Time Strategy. Unrivalled Scale.
© 2003-2013 Ironclad Games Corporation Vancouver, BC. All rights reserved.
© 2006-2013 Stardock Entertainment

Converting .entity files from binary

By on October 20, 2009 5:15:01 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

shadowraptor02

Join Date 12/2008
0

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?

5 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
October 20, 2009 5:25:45 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
October 20, 2009 11:17:40 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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? 

Reason for Karma (Optional)
Successfully updated karma reason!
October 20, 2009 11:27:43 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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.

 

Reason for Karma (Optional)
Successfully updated karma reason!
October 21, 2009 5:57:04 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting shadowraptor02,
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

Reason for Karma (Optional)
Successfully updated karma reason!
October 21, 2009 6:45:40 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

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

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108436  walnut3   Server Load Time: 00:00:00.0000188   Page Render Time: