Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
In the meantime I'll keep on probing the internet to see if someone else got this problem and managed to fix it.
I can't help but notice the "[Manager] [Error] Method 'EntryPoint' not found.
[Manager] Injection canceled.".
I followed your post in the main discussion to install the mod, is it outdated or am I missing something?
I've tried both Assembly and DoorstopProxy installs by the way for UMM.
I launched the game, disabled the mod, relaunched. Here is the new log:
I don't know what the problem is given that you have tried both Assembly and DoorstopProxy. But hopefully that will help you find the answer.
The only recommendation I could offer would be to completely remove UMM, then verify your game files to make sure nothing is amiss there, and then redownload the newest version of UMM and completely reinstall it.
- Uninstalled from the UMM menu
- Restored original files, from the same menu
- Deleted the entire folder it was in
- Verified file integrity for Terra Invicta (1 was missing)
- Downloaded UMM again
- Installed it as suggested
- Tried an Assembly install, same issue as before (Injection cancelled, entry point method not found)
- Uninstalled, restored files, verified integrity of TI: all good
- Reinstalled with DoorstopProxy, still the same issue
One thing I noticed is that UMM tells me I need game version 0.3.126 at minimum but the latest official build is 0.3.125? https://imgur.com/a/HiItyer
Instead, download the one published on 13 Sep 2023, 12:25AM (version 0.27.7).
I have then followed your instructions on the 2nd comments page on the workshop page, and it works!!
It would be fantastic if you could update the description or post a message containing the "fix", I'm probably not the only one getting those errors.
Thank you for everything.
And with a quick glance at the code on Github it seems that the Settings class being "internal" seems to cause this hiccup.
[EnableAchievements] [Error] Can't save C:\Program Files (x86)\Steam\steamapps\common\Terra Invicta\Mods/Enabled\Enable Achievements\Settings.xml.
[EnableAchievements] [Exception] InvalidOperationException - EnableAchievements.Main+Settings is inaccessible due to its protection level. Only public types can be processed.
My guess is that this is due to being in Program Files. There are special protections and permissions on Program File which can cause issues.
Either that or maybe the conflicting / between Mods and Enabled, but that's not something controlled by the mod.
But all other mods are working fine, able to save their setting.
I'm not a programmer but thats the only setting I found in the source code:
internal class Settings : UnityModManager.ModSettings, IDrawable
{
public override void Save(UnityModManager.ModEntry modEntry)
{
Save(this, modEntry);
}
public void OnChange()
{
}
[Draw("Enable Achievements when console is enabled")]
public bool allowConsole = false;
[Draw("Enable Achievements when in Skirmish")]
public bool allowSkirmish = false;
internal class Settings : UnityModManager.ModSettings, IDrawable
{
public override void Save(UnityModManager.ModEntry modEntry)
{
Save(this, modEntry);
}
public void OnChange()
{
}
[Draw("Enable Achievements when console is enabled")]
public bool allowConsole = false;
[Draw("Enable Achievements when in Skirmish")]
public bool allowSkirmish = false;
should it be public class settings maybe?
I'm sure I copied and pasted that from somewhere but the example on the wiki does use:
I don't think that would cause any issues, but it can't hurt to try the change.
It's open source, Visual Studio Community edition is free.
I'm not sure it's worth an update it's not fixing a specific issue.
But if it fixes something let me know and I'll make an update.
Edit: Saw the other post. Merged it into this one.
Edit2: Not sure if I should laugh or cry. I did this 4 months ago, it's version 1.3.1.
I just didn't upload it anywhere.
Edit3: Version 1.3.1 updated, here on Nexus and on Gihub... only 4 months late.