How to fix this error?

alienblox

Terrarian
What is this error because I tried to fix it but nothing worked.
[13:11:29.377] [.NET ThreadPool Worker/INFO] [tML]: Marked tModLoader installation files as corrupt in Steam. On Next Launch, User will have 'Verify Local Files' ran [13:11:29.377] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading AlienbloxMod v0.1 The mod(s) have been automatically disabled. System.Exception: The localization file "Localization/en-US_Mods.AlienbloxMod.hjson" is malformed and failed to load: ---> System.ArgumentException: Found '}' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace). At line 12, column 5 at Hjson.HjsonReader.readKeyName() at Hjson.HjsonReader.ReadCore(Boolean objectWithoutBraces) at Hjson.HjsonReader.Read() at Terraria.ModLoader.LocalizationLoader.LoadTranslations(Mod mod, GameCulture culture) in tModLoader\Terraria\ModLoader\LocalizationLoader.cs:line 167 --- End of inner exception stack trace --- at Terraria.ModLoader.LocalizationLoader.LoadTranslations(Mod mod, GameCulture culture) in tModLoader\Terraria\ModLoader\LocalizationLoader.cs:line 202 at Terraria.ModLoader.LocalizationLoader.Autoload(Mod mod) in tModLoader\Terraria\ModLoader\LocalizationLoader.cs:line 19 at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 51 at Terraria.ModLoader.ModContent.<>c.<Load>b__43_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 292 at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 377 at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 282 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127 [13:11:29.378] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: AlienbloxMod [13:12:57.237] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
 
Are you making a mod? From the looks of it, either the AlienBox mod made the error, or your tMod installation files are corrupted.
 
Yeah, let me try to reinstall tModloader
 
Your localization file is malformed, just like the error says. You have a } in the wrong spot.
 
This is the translation file code, what is wrong with it?
Code:
# This file will automatically update with entries for new content after a build and reload

Items: {
    PinkMouseStaff: {
        DisplayName: Pink Slime Staff
        Tooltip: "Summons a Pink Slime to fight for you"
    };

    NightsEdgeJoke: {
        DisplayName: Poopy Night's Edge
        Tooltip: "..."       
    };
};

Buffs: {
    PinkMouseBuff: {
        DisplayName: Pink Slime
        Tooltip: "The Pink Slime will protect you"
    };
};

Projectiles: {
    PinkMouseProjectile.DisplayName: Pink Slime
}
 
Did you let TML generate this for you? It's easier at this point to delete the file, then rebuild your mod in TML and let it generate a new one with the correct structure and syntax.
 
Then do that?
 
Ok, I tried and it didn't add a fixed file for some reason
 
Back
Top Bottom