Oops Entity Corruption how to fix?

          ~~~~SORRY DIDN'T SEE QUESTION AND ANSWERS THREAD WILL USE NEXT TIME SORRY~~~~

Hi all!

First time posting here, I tried searching for this answer via forum but could not find it. 

I am currently play the Sins of New Eden Mod for Entrenchment and I am having a blast.  I am having such a blast that I delved into the entity files in the mod folder to increase Capital ship strength and damage (will probably ask more questions on this in the future). 

To make my workspace flow easier in both the Gameinfo folder and Galaxy Forge, I decided to rename all of the entity files to make modding a little easier.  I changed things like the following:

TECH_CAPITALSHIP_COLONY  to along the lines of   ------>  Amarr_Capital_AEON. 

(all changed in the EVE mod folder beneath user/Ironclad/sins/entrenchment, as proper)

I spent about 1-2 hours renaming all files, then put the GalaxyScenarioDef.galaxy file in the Galaxy Forge Folder to test, See Problem (1).  

Problems/Questions

1) My entity file names like Amarr_Capital_AEON were not in galaxy forge editor but the 4th Race in the mod appear fine as RACE1.  why is this?

2) I crashed my game trying to start entrenchment.  I opened the entrenchmentdev.exe and discovered it could not locate the entity files that I made, thus a crash occured.  How can I fix this/tell entrenchment that I switched the entity file names? and how can I get my custom entity file names into galaxy forge.

Thank you!

9,040 views 10 replies
Reply #1 Top

due to your re-naming of the entity files,  the entity manifest, player race.entities and galaxyscenariodef ALL NEED to be re-created FROM SCRATCH. quickest fix would be to re-extract the mod from the downloaded archive after deleting the mod.

question 1 the answer is to re-build the galaxyscenariodef for the mod, and copy the new galaxyscenariodef to your galaxyforge folder

question 2 the answer is to re-build the entity.manifest for the mod.

harpo

 

Reply #2 Top

ok, so if I read this the right way there is really no way to tell the Game/editor that the files have changed but only under a new name?  or are you saying that I can change this below, but it will be really time consuming? 

(change entityDefNames of all categories)? 

This:

TXT
entityType "Player"
raceNameStringID "IDS_PLAYERRACENAME_PHASE"
canColonize TRUE
isPsi FALSE
isSelectable TRUE
selectablePriorty 0
randomCapitalShipNamePrefix "IDS_CAPITALSHIPNAME_PHASE"
randomStarBaseNamePrefix "IDS_STARBASENAME_PHASE"
entities
 planetModuleInfo
  Page:0
   count 9
   entityDefName "PLANETMODULE_PHASEORBITALMETALEXTRACTOR"
   entityDefName "PLANETMODULE_PHASEORBITALFRIGATEFACTORY"
   entityDefName "PLANETMODULE_PHASEORBITALCOMBATLABORATORY"
   entityDefName "PLANETMODULE_PHASEORBITALTRADEPORT"
   entityDefName "PLANETMODULE_PHASEORBITALCULTURECENTER"
   entityDefName "PLANETMODULE_PHASEORBITALCRYSTALEXTRACTOR"
   entityDefName "PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY"
   entityDefName "PLANETMODULE_PHASEORBITALNONCOMBATLABORATORY"
   entityDefName "PLANETMODULE_PHASEORBITALREFINERY"

Thanks, I really want to learn this stuff to help with basic modding!

 

Reply #3 Top

To make my workspace flow easier in both the Gameinfo folder and Galaxy Forge, I decided to rename all of the entity files to make modding a little easier. I changed things like the following:
End of quote

Problem with this is the game is still looking for the TECH_CAPITALSHIP_COLONY in all of the files. It has no idea what the Amarr_Capital_AEON is, because none of the other files know what it is or interact with it in any way, and unless you change the entity.manifest file the game won't even load the file with the mod.  As Harpo mentioned that is a very time consuming task with quite a few very different files that need to be changed, and is something even the veterans avoid when they can.

It is quite unfortunate Sins of New Eden apparently did not make unique entity file names and instead took the easy way and just retooled the existing files.

Reply #4 Top

yup a lot of work to rename a file.

It needs to be listed in the GalaxyScenerioDef to be loaded with a template like the AutoStart and QuickStart templates also in the GSD file at or near the bottom. The player entity ships list and for Ent and Dip every entity loaded is in the entity manifest.

If you have Notepad+ keep all three open and change the values as you rename an entity. Can also use notepad+ find in files feature to make sure you did not miss nothing.

http://soase.weebly.com/ has loads of tutorials.

Reply #5 Top

hmmmm ok, what I might do is redownload Sins of New Eden and try to change 1 of the classes/ship files to see how that goes and how long it takes to do.  Thanks for all of the help!

AND THANKS FOR THE TUTORIALS MYFIST0!

Reply #6 Top

Quoting Hartwich, reply 5
hmmmm ok, what I might do is redownload Sins of New Eden and try to change 1 of the classes/ship files to see how that goes and how long it takes to do. Thanks for all of the help!
End of Hartwich's quote

Basically its about the same steps to rename a ship as it is to create a new ship and get it in game. Try doing that first and then you should be able to rename things to a more logical system.

 

Reply #7 Top

Thanks for all the help Geofan! will look into the steps

*Update, Made some progress today as I figured out that I can change the designName in the GalaxyScenarioDef File so that it will appear differently in the Galaxy Forge editor but not corrupt the data:

planetItemType
 designName "Phase:Frigate:Utility0"
 entityDefName "FrigatePhaseUtility0" 

First small step forward!

Reply #8 Top

Quoting Hartwich, reply 7
Thanks for all the help Geofan! will look into the steps

*Update, Made some progress today as I figured out that I can change the designName in the GalaxyScenarioDef File so that it will appear differently in the Galaxy Forge editor but not corrupt the data:

planetItemType
 designName "Phase:Frigate:Utility0"
 entityDefName "FrigatePhaseUtility0" 

First small step forward!
End of Hartwich's quote

Ok, Now I am having trouble again.  I did something like this:

planetItemType
 designName "Amarr_Frigate_Executioner"
 entityDefName "FrigatePsiSiege"

The tag "Amarr_Frigate_Executioner" shows in GalaxyForge, put it to a group and it does not show up in game now.  I thought that I was not corrupting the entity file by not changing the entitydefname, I guess I am wrong.  Anyone know why?

Reply #9 Top

Hmmm it shouldn't really.

try replacing 
designName "Amarr_Frigate_Executioner" 

with
designName "Amarr:Frigate:Executioner" 

What group? people mess those up all the time. The other stuff in the group showing?

Try adding  Amarr:Frigate:Executioner to the start or quickstart template to see if you get it at the games start. Just a test to see if it will accept the new design name. I always used the 1st part with an existing in-game race

Edit: Dont forget that the Galaxy Forge GSD file must match the mods GSD file. I always edit the mods GSD then copy to the Galaxy Forge folder.

Reply #10 Top

Quoting myfist0, reply 9
Hmmm it shouldn't really.

try replacing 
designName "Amarr_Frigate_Executioner" 

with
designName "Amarr:Frigate:Executioner" 

What group? people mess those up all the time. The other stuff in the group showing?

Try adding  Amarr:Frigate:Executioner to the start or quickstart template to see if you get it at the games start. Just a test to see if it will accept the new design name. I always used the 1st part with an existing in-game race

Edit: Dont forget that the Galaxy Forge GSD file must match the mods GSD file. I always edit the mods GSD then copy to the Galaxy Forge folder.
End of myfist0's quote

I'll have to check I thought that I did do this maybe I didn't will try again today.

YOU'RE THE MAN MYFIST0 IT WORKED! I DIDN'T DO BOTH!