Results 1 to 4 of 4
  1. #1
    DragonBorn3261's Avatar
    Join Date
    Jan 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0

    Terraria Decompilation issues

    Hey guys, I decompiled terraria.exe with ILSPY (latest version) and I open the csproject with vstudio and then I click Build Solution, then this happens:



    Any help would be very much appreciated

  2. #2
    DARTH WANKSTAIN's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    210
    You need to manually fix the errors because decompilation isn't perfect. This is why you should decompile a single method or class, edit it, and then recompile it, if you do this then you don't have to deal with every single error in the whole project, just the ones in the method or class you're editing.

  3. #3
    DragonBorn3261's Avatar
    Join Date
    Jan 2018
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by DARTH WANKSTAIN View Post
    You need to manually fix the errors because decompilation isn't perfect. This is why you should decompile a single method or class, edit it, and then recompile it, if you do this then you don't have to deal with every single error in the whole project, just the ones in the method or class you're editing.
    ah okay, so uh how would i actually go about fixing the error itself?

  4. #4
    deavis's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    59
    Quote Originally Posted by DragonBorn3261 View Post
    Hey guys, I decompiled terraria.exe with ILSPY (latest version) and I open the csproject with vstudio and then I click Build Solution, then this happens:



    Any help would be very much appreciated
    Just update your .net framework & c# version, here's my post in some other thred.

    I use iLspy to decompile the client, select C# 8.0, add dependencies from Terraria's resources (relogic.dll and stuff). When it's done decompiling (after 1-2mins) open csproj and update .net framework to 4.5 at least. Go to properties -> compilation -> advanced -> select language version to the second option. There's one issue in the whole project, but you can easly remove it.

Similar Threads

  1. [Help] Decompilation issues
    By deavis in forum Terraria Hacks
    Replies: 7
    Last Post: 05-25-2020, 04:23 PM
  2. [Help] Terraria Localization Issue
    By michael53239 in forum Terraria Hacks
    Replies: 6
    Last Post: 05-25-2020, 01:55 AM
  3. [Tutorial] Terraria Decompile / Recompile Tutorial
    By atom0s in forum Terraria Hacks
    Replies: 0
    Last Post: 05-20-2013, 05:26 AM
  4. Decompiling terraria.
    By NEoNoxD in forum Terraria Hacks
    Replies: 2
    Last Post: 06-24-2011, 05:31 PM
  5. Main.cs in decompiled Terraria
    By midwest in forum Terraria Hacks
    Replies: 0
    Last Post: 06-06-2011, 07:11 PM