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

{RELEASED} map updateing program v2.0.1

I have written a vb program to convert the pre 1.14 maps to 1.16

By on February 22, 2009 5:52:27 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums External Link

harpo99999

Join Date 02/2008
+405

I am thinking of codeing a quick & dirty vb program that will bruteforce convert all earlier maps to 1.14 & entrenchment beta 3.0.

if other mappers are interested I could make it available for general use

ie the program will search all directories for .galaxy files then read each one in, check if it need converting, if it does then add the new items into the file and write the results out if it does not then go to the next file in the list,

 NEW instructions

1 download this (link is to a complete set of the utilities in my dropbox in anchive) 

2 extract downloaded file to desktop (OR any other location in the computer)

3 open location you extracted the archive to

4 create shortcuts to all exe files other than convertdata*.exe

5 use shortcuts to start utility you want to use (btw rebellion versions will work with vanilla,enterenchment and diplomacy/trinity)

 OLD instructions

download the rar which is "solid" with recovery records and a comment

extract the files to any folder

run the exe (written in VB6 so no dotnet runtime load), can also run from a usb stick and has been tested on xp32bit xp64 bit vista 32bit vista 64bit win7 32bit win7 64bit

click on "find galaxies" the program looks in the "appdata\ironclad games\sins of a solar empire" and "program files\Stardock Games\Sins of a Solar Empire" directories & all subdirectories for galaxy files & creates a list in memory of them all

click on "fix galaxies" the program then goes through the list of files it checks if it s an ironclad map if it is it skips it, then it reads the map into memory, then checks the versionnumber if it is the current version it skips the map, then renames the map to *.galold so that the original map is still there & hidden from sins and the map updater, then reads through each line in the map looking for the lines that have changed from the previous version map, when it finds one it replaces the old text with the new text and continues searching and it writes each line out after checking & no change or change is written out to the galaxy file and continues with the next line until the end of file when it closes the galaxy file & checks the next etc.. etc..

there is three other buttons in the program

"exit" exits the program  (doooo!!!!)

"progfiles galaxies" shows you the program files sins directory and allows you browse (LOOK AT) the directories & show all GALAXY files

and the final button

"local apps galaxies"shows you the local applications\ironclad games\sins directory and allows you browse (LOOK AT) the directories & show all GALAXY files

now get out there and enjoy your older maps in the LATEST SIN

by the way it does also convert the map designer maps as well as galaxy forge maps

edit have extended the instructions txt files to convert version 1 maps to version 3 as well the structure txt files are the total change and available here http://www.mediafire.com/file/mrwd0fgmzom/sins map updater update txts.rar

edit I am starting on a new version that will CORRECTLY update version 0, version 1 & version 2 to version 3 maps, ie sins 1.00-1.03,1.04-1.05 and 1.10-1.14 to 1.15+ galaxies.

the latest version is in the mod updater archive which has all of my modding utilities

 and the rebel tolerant beta version adds ONE extra button labeled 'rebel' that will lock it into working on the rebellion map updating in the CURRENT rebellion galaxyforge folder under the documents folder and only updating all the galaxy maps found there to the current rebellion only mapversion 4, and if used without clicking on the rebel button it works the same as the version in the mod updater set

 

HARPO

Locked Post 170 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
February 22, 2009 7:28:18 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

This would be nice to have.

 

On the other hand there seems a lot of problems for modding (at least with entrenchment) with this new update.

So I decided to wait with my next release until final entrenchment is out.

 

And I hope the new forge tools will come soon, and have this feature also.

If not i will definetly use your tool!

 

I think the most work is to convert the maps (galaxy files) by hand.

Reason for Karma (Optional)
Successfully updated karma reason!
February 22, 2009 3:37:28 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

I agree that manual conversion would be hard as each planet needs the quickstart items  as well as the changing of names for the player start values from homePlanetUpgradeLevel: to normalStartHomePlanetUpgradeLevel: and quickStartHomePlanetUpgradeLevel:.

fortunetly it appears that there are no changes to templates, but that is only looking in Ancient Gifts and comparing beta 2.5 with 1.14 & beta3

hopefully it will be a quick project similar to the supreme commander map change that came with build 3251 that I had written a q&d converter for, but never released

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 25, 2009 3:57:36 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

I am about40% complete on this, th major part left is the read in maps then process & write out the changed maps code

all of the support itemshave already been debuged on xp32, xp64,vista32 & 64 & w7 32 & 64

harpo

 

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

I am downloading it at the moment in one of my testing machines, and I had to uninstall the entrenchment beta3 which killed the sins install again, so both the sins 1.15.047 and entrenchment 1.00.25 are downloading at the moment, and when they finish I will be analysing the map format to see what changes I need to make. hopefully it will be just a alteration in the input files rather than an alteration of code.

I will not know untill sins finishes downloading.

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 2:01:25 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

YES PLEASE DO THIS, I would kiss you but then that would be gay lol   

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 2:27:21 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Come on come on come on!

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 4:50:05 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

latest update the support code for th updater is complete, the only change from beta3 is the version number,the program will refuse to run unless the sins version is correct for the translation files and it will tell you that you have the wrong version if you do. the code to finish is the update the map file code which should be the last section, but the hardest section.

the more messages I have to answer the longer the project will take

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 2:59:51 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

just a note to outline my test procedures for the map updater

1. I have a copy of ancient gifts from 1.13 and the 1.15 version

2. i run the updater on a test directory containing the two maps

3 after the run I will visually compare each line in both files, if any differences I will continue to debug the program & re-test untill there is no differences.

4 I will then test on several of my own maps and try loading them into sins 1.15 & entrenchment 1.00. if problems continue to debug & re-test until they all work including the dome mod from the 15th jan 2009

5. I will then upload the BETA release to wincustomise and post a link

justa quick note on the status I an starting writing the parser for map files which is the most complex part of the program, so NO ETA and I want to complete it as much as you want me to for the same reason ie to update my own maps and get back to playing SINS

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 8:06:22 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

latest info

the basic code is compleated, now starting testing at test stage 1.

I will update as things alter.

also can people tell me which mods have maps in them for test stage 4, please

the more testing that I do the sooner the BUGFREE beta can be released.

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 26, 2009 10:59:12 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

new latest info

the map updater is in alpha stage 4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I might be able to release SOON!!!!!

harpo

Reason for Karma (Optional)
Successfully updated karma reason!
February 27, 2009 12:16:57 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

if debug & show errors are false and the maps that do not have templates then the maps work.

just want to give further debugging

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 27, 2009 3:37:55 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

I think that ironclad might have a tool similar to mine with the next official mod kit.

harpo

Reason for Karma (Optional)
Successfully updated karma reason!
February 27, 2009 3:48:56 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

I have just confermed a bug in the map updater, and will attack when I can asap

harpo

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 1:54:53 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

the map updater is here!

http://www.sinsofasolarempire.com/downloads.aspx

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 5:50:41 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

good work and thx!!!

 

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 4:52:51 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Where do you "install" this program into?  Root SoSE folder?  Galaxy folder?  Any folder?

When I run it, it says it has found version :: even though I have updated my SoSE to 1.15.

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 5:18:17 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

you unrar it to anywhere, then run the exe, which will only look in the default sins areas ie program files\stardock games\sins and appdata\ironclad games\sins, click on the find galaxies button & it searches the two areas and returns a list of ALL GALAXY files, when you click on 'fix galaxies' it then goes through the list of galaxies checks if it is a ironclad official galaxy if not it thenreads the galaxy into memory & checks the versionnumber in the galaxy, if the version is NOT the current version it RENAMES the existing galaxy to galold,(so if there is a problem the original file is still available), then reads through the galaxy looking for the lines that have been changed in old maps and are different in new maps, when it locates such a change it replaces the old lines with the new & continues on through the galaxy. when it gets to the end it goes to the next galaxy. rinse & repeat

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 5:30:10 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

the program looks for the default install location of sins (C:\Program Files\Stardock Games\Sins of a Solar Empire) for 32 bit or (C:\Program Files (x86)\Stardock Games\Sins of a Solar Empire) for 64bit and checks the sins version. the reason for the version check is to prevent updateing maps to a version that is incompatible with the verion of sins installed.

which version of sins is reported?

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 5:35:10 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

My game isn't installed in the "normal" directory... I'm too picky about what goes on which HDD.  Am I screwed?

It says...

found sins version ::
need sins version:1.15.0:

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 5:58:48 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

sorry but the program was written for the default locations, but the workaround would be to create a directory in the windows drive \program files\Stardock Games\Sins of a Solar Empire\, and copy Sins of a Solar Empire.exe into it then copy your galaxy folder into the sins directory then run the map updater. then copy the sins directory back to where you want it.

the reason for the sins version check is so that people will not bugger maps when they have an older version of sins as the NEW map format is radically different from the version 2 and earlier maps.

I might release a version that does not have the sins version check if BLAIR asks me as I want to help protect their intelectual property as well

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 7:25:16 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

 Cool, that works, even though it's slightly ass-backward!  

Just as FYI, it's "Program Files (x86)" for Vista users... I didn't specify on my original post that I was a Vista operator.  I'm sure you knew that though.

Reason for Karma (Optional)
Successfully updated karma reason!
February 28, 2009 7:51:10 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

the (x86) is for 64 bit windows for 32bit it is the plain program files & I have xp,xp64,vista,vista64,w7, & w7 64bit, & tested on all oses with default installation. one of the reasons is the old method of multiple versions installed on one computer ie copy the sins filder to a new name then update the default location, and the program is currently set up for the latest version, so should only look in the current directories & not old versions. for those that installed in a differnt location then yes they have to cludge around it but it is setup for the majority of sins players

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
March 1, 2009 4:22:23 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Hi I have problem with this program when I click local apps galaxies or find galaxies i get error Run-time error 76 Path  not found. I have sins in different location installed but i create folder that you write early copy all files to it and i get this error.

Reason for Karma (Optional)
Successfully updated karma reason!
March 1, 2009 4:47:48 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

ok that suggests that the
C:\Documents and Settings\"user name"\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Galaxy (xp) or
C:\users\"user name"\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Galaxy(vista/windows7)).

 directories are missing, which could happen if you have different user names in the computer and sins was installed in user"a" and you run the map updater in user "b" for example. th simples fix is to run the map updater in the same user that sins is installed in.

or that sins has not been run yet to create the directories

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
March 1, 2009 9:49:12 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Hmy i have polish version of Windows Xp and in my user name is the folder with sins but i don't have folder Local Settings but in polish that mean "Ustawienia Lokalne" and futher is no Applictation Data but "Dane Aplikacji" mayba that is the problem. Program don't recognized my polish name version of this same folder as in english.

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