Results 1 to 8 of 8
  1. #1
    deavis's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    59

    Decompilation issues

    Hello,

    Recently I tried to decompile terraria using latest version of iLspy but there are some missing dependencies, I managed to find all the others but Relogic.dll. What should i do with this? I can't find it anywhere, tried googling the issue but no results come up. There are also some issues with 'ref' in c# after opening the project. Can anyone help me?

    Thanks in advance

  2. #2
    michael53239's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    1
    They are bundled inside terraria.exe you aren't missing anything. I have had some locale issues I couldn't fix.

  3. #3
    DARTH WANKSTAIN's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    210
    I'm not sure if you can do this with ILSpy because I use dnSpy, but if you can view the embedded resources find: 'Terraria.Libraries.ReLogic.ReLogic.dll', extract it and put it in the same folder as Terraria. Then reference it and it should fix your issue.

  4. The Following User Says Thank You to DARTH WANKSTAIN For This Useful Post:

    deavis (05-24-2020)

  5. #4
    michael53239's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    1
    Darth have you found a way to fix localization issues? I haven't been able to fix those for some reason?
    Last edited by michael53239; 05-23-2020 at 10:39 PM. Reason: ?

  6. #5
    deavis's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    59
    Quote Originally Posted by michael53239 View Post
    Darth have you found a way to fix localization issues? I haven't been able to fix those for some reason?
    I dont know if you mean this, but when you open the project, you should go into properties -> compilation and in Advanced settings select the second option, or sometimes 7.3 C# version works as well.

    Quote Originally Posted by DARTH WANKSTAIN View Post
    I'm not sure if you can do this with ILSpy because I use dnSpy, but if you can view the embedded resources find: 'Terraria.Libraries.ReLogic.ReLogic.dll', extract it and put it in the same folder as Terraria. Then reference it and it should fix your issue.
    Thanks! It was exactly it what I was looking for. Gotta figure out these errors with 'ref' keyword now. Thanks again
    Last edited by deavis; 05-24-2020 at 01:01 AM.

  7. #6
    michael53239's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    1
    Basically deavis the locale refuses to load for some reason, the first issue was that it refuses to become embedded resources due to culture so I renamed it though it still refused to load, is your decompiled version working fully for you with no issues?


    EDIT:

    Actually that seems to have fixed it deavis thanks! Got it compiled and running fine now and this is more characters because of a type limit.
    Last edited by michael53239; 05-24-2020 at 04:59 AM. Reason: edit

  8. #7
    DARTH WANKSTAIN's Avatar
    Join Date
    May 2019
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    210
    Quote Originally Posted by michael53239 View Post
    Darth have you found a way to fix localization issues? I haven't been able to fix those for some reason?
    I'm not sure what you mean by localisation issues, can you elaborate a bit?

  9. #8
    michael53239's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    1
    Issues has been fixed all of my previous conversation is irrelevant.

  10. The Following User Says Thank You to michael53239 For This Useful Post:

    Dan2006 (05-25-2020)

Similar Threads

  1. [Help Request] Issue with rabcdasm decompiling.. looking for fabiano client
    By chepsy12 in forum Realm of the Mad God Private Servers Help
    Replies: 0
    Last Post: 07-15-2017, 01:07 AM
  2. Website network issues
    By Dave84311 in forum News & Announcements
    Replies: 2
    Last Post: 11-30-2007, 11:28 PM
  3. Oengine issue
    By kuriz3n in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-22-2007, 11:42 AM
  4. Server Issues
    By Dave84311 in forum News & Announcements
    Replies: 1
    Last Post: 03-19-2007, 09:25 AM
  5. CURSE Issue......
    By Beer_Hunter in forum General
    Replies: 8
    Last Post: 09-03-2006, 07:15 PM