First, sorry for hijacking this thread a little but just picked up the game this wasn't working for me.
Then I realized this is unity so I can use my tools so just posting this for any sophisticated users you can use an alternate approach. This should work for basically any version but does require editing the game exe (which steam might want to overwrite occassionally).
Download my Unity Console
[1] hack from github
[Link]. I used the Unity5Console_with_IPA download but you might want to get a newer version of ipa.
Instrument the game by dragging EndlessSpace2.exe over IPA.exe. (Probably backup the old one just in case)
Once the game is loaded you can use Ctrl-Backtick to open the console. Then type type the following:
Code: Select all
>>> import Amplitude
>>> Amplitude.Unity.Framework.Application.Preferences.EnableModdingTools = True
That code can probably be added the Plugins/Console/Console.ini and then set to StartHidden to avoid the console.
For any one that knows how to use Reflector, dotPeek or dnSpy you can do whatever you like. I'm still trying to get the top level player hook but presumably one can setup some scripts to perform any cheats. If I make something useful I'll create another thread somewhere (probably trainers).
Edit: Added a script to the Trainer forum
here
[1]
viewtopic.php?p=5685#p5685
[2]
[Link]