ConvertData_Rebellion.exe Usage

I never actually bothered using ConvertData before but am trying to run now for Rebellion seeing as how harpo's utility/reference files aren't up to date.  I'm trying to go from the game's GameInfo to a folder I created called GameInfoTXT which is intended to house the newly created .txt files.  As such, the command I'm using is...

ConvertData_Rebellion entity gameInfo\*.entity GameInfoTXT\*.entity txt

It keeps crashing though.  Why?

Btw, I did search around, but I couldn't figure out what exactly I needed to be doing because following the example given by others, I just end up with crashes.  Ideas?

31,546 views 9 replies
Reply #1 Top

Try putting quotes around everything like "ConvertData_Rebellion" "entity" "gameInfo\*.entity" "GameInfoTXT\*.entity" "txt".

Reply #2 Top

No path or full path

Do not put converted file path to Program Files as this probably needs permissions 

The link shows how to make a .bat file if you want to convert entire folder

Convert Data

Reply #3 Top

Quoting myfist0, reply 2
No path or full path

Do not put converted file path to Program Files as this probably needs permissions 

The link shows how to make a .bat file if you want to convert entire folder

Convert Data

I was trying to do it in program files, so I bet that would be a problem.  Also, the link you posted for whatever reason won't load.

Reply #4 Top

Starting to mod SoaSE first requires converting files from .BIN format to .TXT format. Once converted, the files can be edited with any text editor like notepad. I recommend Notepad++ (free). BIN file are used to help the game load faster.

Note: The ConvertData files are version specific. The old ConvertData files included with Forge Tools 3 will not work with current files or the current ConvertData files will not convert older mod files.

Converting files will keep the same extension (e.g. *.entity). To open the converted files you will need to first specify a program to do so (e.g. notepad). The very first line upon opening the file will either read TXT or BIN.

To keep all my modding files together, I created a Developer folder in my C drive (C:\Developer). Inside the Developer folder, I created a folder called ConvertData

Navigate to where SoaSE is installed (e.g. C:\Program Files\Stardock\Sins of a Solar Empire) and COPY [Ctrl + C]

  • ConvertData_OriginalSins.exe
  • ConvertData_Entrenchment.exe
  • ConvertData_Diplomacy.exe
  • msvcp80.dll
  • msvcr80.dll
  • Microsoft.VC80.CRT.manifest

Paste [Ctrl + V] the files in the ConvertData folder (e.g. C:\Developer\ConvertData). Note the short address location. This address will need to be typed at the DOS prompt so keep it short to avoid spelling errors. You can also use paste at the DOS prompt.

 

BIN to TXT

Navigate to the folder containing the BIN files, where SoaSE is installed or the mod folder e.g.

C:\Program Files (x86)\Stardock Games\Sins of a Solar Empire - Trinity\GameInfo

and COPY [Ctrl + C] the files which you choose to mod and paste them to the ConvertData folder.

The 3 ConvertData exes are DOS programs and will need the Command Prompt window to use them.

XP

Navigate to Start --> Programs --> Accessories --> Command Prompt

or type cmd [Enter] in the Start --> Run box.

Vista and Win 7

Navigate to Start --> All Programs --> Accessories --> Command Prompt

or type cmd [Enter] in the Start --> Start Search box.

 

 

Navigate to the ConvertData folder in DOS using the cd "Change Directory" command and address, this is not case sensitive.  e.g.

CD C:\Developer\ConvertData

 

There are 4 different types of files to convert.

  • brushes
  • entity
  • mesh
  • particle

To do each file separately from the selected expansion, use...

ConvertData_OriginalSins type FileName.type FileName.type txt [Enter]
ConvertData_Entrenchment type FileName.type FileName.type txt [Enter]
ConvertData_Diplomacy type FileName.type FileName.type txt [Enter]

 

Here is an example using AbilityEMPBlast.entity from OrgSins GameInfo directory.

ConvertData_OriginalSins entity AbilityEMPBlast.entity AbilityEMPBlast.entity txt

 

 

If there was no error the file will be converted to TXT and the DOS prompt will return to the convert directory.

 

TXT to BIN

Once the mod is tested and everything is good you may want to help the game load quicker by converting the TXT files back to BIN format. This is the same as the process above accept for the TXT switch at the end of the command line.

By default, the ConvertData exes will convert to BIN so the bin switch at the end is not required. The next 2 examples are identical.

ConvertData_OriginalSins type FileName.type FileName.type bin [Enter]

ConvertData_OriginalSins type FileName.type FileName.type [Enter]

 

To do multiple file at once, create a batch file (.BAT)

This .BAT example will convert the original Sins .entity files from the GameInfo directory to TXT format. The .BATs still require the ConvertData files in the same directory to work.

Inside the convert folder (e.g. C:\Developer\ConvertData) , create a new text document. Open the new text document and add the line...

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

Press "Save As" and name it something to distinguish it from the others e.g.

EntityBIN2TXT_OriginalSins.bat

Copy the original Sins .entities to be converted to the convert folder. Double clicking on the .BAT file will allow the file to open the command prompt and execute the command line.

+1 Loading…
Reply #5 Top

:D MyFist0 Returns :D

Reply #6 Top

Thanks  :)

Reply #7 Top

volt, the reason my text bin gui DOES NOT attempt to convert files in the program files tree IS to protect your game from being WRECKED in case the convertdata's screw up, which is WHY the first instruction for  creating your OWN reference file set is to COPY the ENTIRE game folder to ANOTHER path outside of the program files tree, with the second being to run the textbin gui on the COPY folder, and even the old 1.1912 version of the textbin gui DOES even convert rebellion if the rebellion convertdata is copied into the folder that the textbin gui is in.

and just to rub a BIT more salt into the wound of ignorance there is even a beta version of the rebellion compatable textbin gui posted in reply 205 in the textbin gui thread.

harpo

 

Reply #8 Top

Quoting harpo99999, reply 7
volt, the reason my text bin gui DOES NOT attempt to convert files in the program files tree IS to protect your game from being WRECKED in case the convertdata's screw up, which is WHY the first instruction for  creating your OWN reference file set is to COPY the ENTIRE game folder to ANOTHER path outside of the program files tree, with the second being to run the textbin gui on the COPY folder, and even the old 1.1912 version of the textbin gui DOES even convert rebellion if the rebellion convertdata is copied into the folder that the textbin gui is in.

and just to rub a BIT more salt into the wound of ignorance there is even a beta version of the rebellion compatable textbin gui posted in reply 205 in the textbin gui thread.

harpo

 

I figured that the utility would have to be updated for each patch and was unaware that you could use it anyways which is why I didn't bother.  Beyond that, I did want to know how to do it without your utilities which is why I posted the thread and didn't PM you.  Before it was a convenience thing, but because it appeared that your tools would not work, I figured I really ought to learn how to do it without them.

Reply #9 Top

Personally I just use the thing with harpo's converter, works well.