Help with editing files

I am trying to mod a few things in the game, but I ran into a problem. I downloaded Silent's guide. I went to my game files and tried to open them up in a text file. I tried to open the file Capship_Techbattleship, as per the guide. The first time it opened correctly and displayed properly as per the guide. It looked something like this:

 

TXT
CAPITALSHIP_TECHBATTLESHIP
 BEGIN
 ability:0 "AbilityGaussBlast"
 ability:1 "AbilityFlakBurst"
 ability:2 "AbilityAdaptiveShield"
 ability:3 "AbilityLastStand"
 CanBomb TRUE
 HasBombingLevels FALSE
 BaseDamage 65.000000
 BasePopulationKilled 4.200000
 BombingFreqTime 10.000000
 BaseRange 3000.000000
 BombTransitTime 12.000000
 BombHitEffectName "Weapon_TechCapitalPlanetBombing_Hit"
 BombTravelEffectName "Weapon_TechCapitalPlanetBombing_Travel"
 BombMuzzleEffectName "Weapon_TechCapitalPlanetBombing_Muzzle"
 NumBombMuzzleSoundIDs 1
 SoundID "WEAPON_TECH_PLANETBOMB_MUZZLE"
 NumBombHitSoundIDs 3
 SoundID "EXPLOSION_SUB4"
 SoundID "EXPLOSION_SUB4_ALT1"
 SoundID "EXPLOSION_SUB4_ALT2"
 CapitalShipType "TECHBATTLESHIP"
 MainViewIcon "MAINVIEWICON_CAPITALSHIP_TECHBATTLESHIP"
 CreationType "FROMFACTORY"
 basePrice
  BEGIN
  credits 12000.000000
  metal 4000.000000
  crystal 2500.000000
  supply 40.000000
  END
 

etc.... 

 

However, and rightfully so, I clicked always open this type of file with "notepad" so I could edit other ones. I did not edit anything, just opened it, then closed it to open something else as I was reading the tutorial guide. When I went to open another file it opened but all coded and weird, not the nice neat text as before. It opens and looks like this:

 

BIN
   C a p i t a l S h i p    A b i l i t y G a u s s B l a s t    A b i l i t y F l a k B u r s t    A b i l i t y A d a p t i v e S h i e l d    A b i l i t y L a s t S t a n d    G r a v i t y W e l l    ,Bš™Ù?   A €;E  @A     pA
   P r o j e c t i l e        &   W e a p o n _ T e c h C a p i t a l P l a n e t B o m b i n g _ M u z z l e ÍÌÌ=      W E A P O N _ T E C H _ P L A N E T B O M B _ M U Z Z L E #   W e a p o n _ T e c h C a p i t a l P l a n e t B o m b i n g _ H i t       E X P L O S I O N _ S U B 4    E X P L O S I O N _ S U B 4 _ A L T 1    E X P L O S I O N _ S U B 4 _ A L T 2       E X P L O S I O N _ S U B 4    E X P L O S I O N _ S U B 4 _ A L T 1    E X P L O S I O N _ S U B 4 _ A L T 2 &   W e a p o n _ T e c h C a p i t a l P l a n e t B o m b i n g _ T r a v e l '   M A I N V I E W I C O N _ C A P I T A L S H I P _ T E C H B A T T L E S H I P  €;E  ÈC  zC  HB  –B €;E  ðB @œD  C  À?ÍÌÌ=  @@ÍÌL>   @ffæ>  aC   A  @?
×£=š™™>ÍÌL=#   I D S _ C A P I T A L S H I P _ T E C H B A T T L E S H I P _ N A M E *   I D S _ C A P I T A L S H I P _ T E C H B A T T L E S H I P _ D E S C R I P T I O N !   C A P I T A L S H I P P I C T U R E _ T E C H B A T T L E S H I P        I n v a l i d    C a p i t a l S h i p B a t t l e s h i p              C a p i t a l S h i p "   H U D I C O N _ C A P I T A L S H I P _ T E C H B A T T L E S H I P '   H U D I C O N S M A L L _ C A P I T A L S H I P _ T E C H B A T T L E S H I P '   I N F O C A R D I C O N _ C A P I T A L S H I P _ T E C H B A T T L E S H I P    ?      B e a m    C A P I T A L S H I P    A F F E C T S _ S H I E L D S _ A N D _ H U L L    O V E R T I M E    E N E R G Y    B E A M   üB             @œE  `A   €>      €@   B e a m        "   W e a p o n _ T e c h C a p i t a l B e a m H e a v y _ M u z z l e ÍÌÌ=          W e a p o n _ T e c h C a p i t a l B e a m H e a v y _ H i t                  "   W E A P O N _ T E C H C A P I T A L B E A M H E A V Y _ T R A V E L    T e c h C a p i t a l B e a m _ G l o w    T e c h C a p i t a l B e a m _ C o r e   B  €?  €?  €?  €?  €?  €?  €?  €?  @@
   P r o j e c t i l e    C A P I T A L S H I P    A F F E C T S _ S H I E L D S _ A N D _ H U L L
   B A C K L O A D E D    P H Y S I C A L
   A U T O C A N N O N   ØA  FB  FB  ØA @œE  @    €?  zE   
   P r o j e c t i l e    Âu=(   W e a p o n _ T e c h C a p i t a l A u t o C a n n o n H e a v y _ M u z z l e ¸E?   (   W E A P O N _ T E C H C A P I T A L A U T O C A N N O N H E A V Y _ M U Z Z L E -   W E A P O N _ T E C H C A P I T A L A U T O C A N N O N H E A V Y _ M U Z Z L E _ A L T 1 -   W E A P O N _ T E C H C A P I T A L A U T O C A N N O N H E A V Y _ M U Z Z L E _ A L T 2 %   W e a p o n _ T e c h C a p i t a l A u t o C a n n o n H e a v y _ H i t    "   W E A P O N I M P A C T _ P H Y S I C A L H E A V Y _ H I T H U L L    $   W E A P O N I M P A C T _ G E N E R I C H E A V Y _ H I T S H I E L D S (   W e a p o n _ T e c h C a p i t a l A u t o C a n n o n H e a v y _ T r a v e l
   P r o j e c t i l e    C A P I T A L S H I P    A F F E C T S _ S H I E L D S _ A N D _ H U L L
   B A C K L O A D E D    E N E R G Y     L A S E R T E C H  €5B             @œE  °@ fff?  úD   
   P r o j e c t i l e        #   W e a p o n _ T e c h C a p i t a l L a s e r H e a v y _ M u z z l e ÍÌÌ=   &   W E A P O N _ T E C H C A P I T A L F I R E B A L L H E A V Y _ M U Z Z L E +   W E A P O N _ T E C H C A P I T A L F I R E B A L L H E A V Y _ M U Z Z L E _ A L T 1     W e a p o n _ T e c h C a p i t a l L a s e r H e a v y _ H i t    "   W E A P O N I M P A C T _ P H Y S I C A L H E A V Y _ H I T H U L L    $   W E A P O N I M P A C T _ G E N E R I C H E A V Y _ H I T S H I E L D S #   W e a p o n _ T e c h C a p i t a l L a s e r H e a v y _ T r a v e l      @F   S h i e l d _ T e c h B a t t l e s h i p   ÈB   A  úCÿÿ?üÿA  úC   S q u a d T e c h C o m b a t        S q u a d T e c h B o m b e r        0   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N A T T A C K O R D E R I S S U E D _ 0 0   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N A T T A C K O R D E R I S S U E D _ 1 0   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N A T T A C K O R D E R I S S U E D _ 2 0   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N A T T A C K O R D E R I S S U E D _ 3    %   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N C R E A T I O N    1   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N G E N E R A L O R D E R I S S U E D _ 0 1   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N G E N E R A L O R D E R I S S U E D _ 1 1   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N G E N E R A L O R D E R I S S U E D _ 2    '   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N S E L E C T E D _ 0 '   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N S E L E C T E D _ 1 '   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N S E L E C T E D _ 2    -   C A P I T A L S H I P _ T E C H B A T T L E S H I P _ O N S T A R T P H A S E J U M P _ 0    C a p i t a l S h i p _ T e c h B a t t l e s h i p    E x h a u s t _ T e c h B a t t l e s h i p    C a p i t a l S h i p 0 š™?ÍÌL>    Âõ<    ÍÌÌ=   H Y P E R S P A C E _ C H A R G E U P    H Y P E R S P A C E _ T R A V E L    E N G I N E _ T E C H C A P I T A L S H I P           €?

 

I don't know why it won't open all nice and neat like before. Does anyone have any advice? Something is not working right, the file isn't opening correctly. I tried opening it with wordpad, the program doesn't understand it, and I can't figure out how to make it open correctly. I tried using the command: open with... and clicked on notepad, but it opens all excrypted or funny. And help would be appreciated!

3,886 views 4 replies
Reply #1 Top

its encrypted. companies do this with mod riendly games as an intelligance test. if you can figure out how to decrypt it, you probably won't break your game irreparibly. there is a tool called ConvertData that will fix this. i think...

to be honest, I failed the test too. you can get the tool at the downloads tab at the top of the screen.

EDIT:

if you download the mod tools, it comes with all the files decrypted. don't ask me how to re-crypt them though...

they are in the folder "refrence data".

 

good luck!

Reply #2 Top

From the research I've been doing, I think that the game files are encrypted in binary code or something to make the game more efficient. It seems that some of the files in other mods I've been downloading to dabble with are also encrypted.

I have the text versions of the "reference data" already. Where is the program or link to that decrypts the files? I think I already found it, bit if so I can't figure out how to use it and so want ot double check to make sure that I have the correct program to begin with.

Thanks for all the help!

Reply #3 Top

Download the Forge Tools from the downloads tab. That'll have the latest version of all you need. (Including ConvertData.)

 

:fox:

Reply #4 Top

The first is a text file.

The second is a binary file.

Hence TXT and BIN at the start of each.

The binary files execute quicker and thats how the game is shipped.

However, the game is modded using the text files not the binary files. If you download a mod, you will find it mixes binaries with texts, and the text files are the ones that have been changed, and the binaries are the unchanged originals.

As said, if you want to mod the game, then download the modding tools, and use the text version in the reference data directory.