LEGO® Universe Newly Imagined
Menu
  • Home
  • Download
    • Music
    • Server Progress
  • Forums
  • Info
    • People
    • World
    • FAQ
    • Objects
  • Tutorial
    • Compile in Visual Studio
    • Server 0.3
    • Server 0.4 (Pre-2)
    • Server 0.5.1
  • Home
  • Download
    • Music
    • Server Progress
  • Forums
  • Info
    • People
    • World
    • FAQ
    • Objects
  • Tutorial
    • Compile in Visual Studio
    • Server 0.3
    • Server 0.4 (Pre-2)
    • Server 0.5.1

LU Client and IDA


Home › Forums › General Discussion › Tinkerer’s Corner › LU Client and IDA

  • This topic has 15 replies, 4 voices, and was last updated 8 years, 5 months ago by Anonymous.
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • Author
    Posts
  • November 3, 2016 at 8:58 pm #6971
    Anonymous
    Participant

    Hello,
    Does anyone have IDA and it’s Hex Ray plugin? I was wondering if someone could decompile the Nexus2 client’s luniserver.exe file for me.
    Thanks in advance.

    • This topic was modified 8 years, 6 months ago by Timtech.
    November 3, 2016 at 9:05 pm #6972
    HappyAngryCatfish
    Community Helper

    Nexus2 is a client, luniserver is the server. They are separate things.

    November 3, 2016 at 9:56 pm #6973
    Anonymous
    Participant

    (Slaps forehead)
    Sorry, I’ll change that. I meant legouniverse.exe.

    November 6, 2016 at 8:25 am #6979
    Timtech
    Keymaster

    Yes, I have done it. But I didn’t find anything interesting. I can send you the machine code if you’d like.

    November 6, 2016 at 10:55 am #6980
    Anonymous
    Participant

    @Timtech Have you used the Hex-Rays plugin to translate the machine code? I’m looking for the translation.

    November 9, 2016 at 7:30 pm #6999
    Anonymous
    Participant

    Timtech, it seems that no one has the hex rays plugin. If I could get the machine code, that would be great!
    Thanks a lot.

    November 12, 2016 at 3:42 pm #7017
    Timtech
    Keymaster

    I tried Hex Rays once but I think it was a trial or something because it doesn’t seem to be in my menus anymore. I’ll see about what I can decompile tomorrow for you.

    November 12, 2016 at 7:14 pm #7020
    Anonymous
    Participant

    Thanks, Timtech!

    November 13, 2016 at 6:14 am #7023
    COOLGAMETUBE | LUR-Dev
    Participant

    Opening legouniverse.exe with Notepad++ also helps.
    There are all gms listed.

    November 13, 2016 at 4:55 pm #7032
    Timtech
    Keymaster

    Alright @anonymous, good news. After some searching I found a seat for the Hex-Rays decompiler as well. I haven’t used IDA at all in at least a year, but now I’m starting to remember how to do some stuff. At any rate, the C pseudocode as well as hopefully some machine code will be posted soon in Tinkerer’s Corner in a new thread.

    November 13, 2016 at 5:54 pm #7033
    Timtech
    Keymaster

    Scrap that, I ran into some problems with exporting the machine code. Oh well, the Hex-Rays was the important thing, right? I was able to decompile legouniverse.exe to a C-like pseudocode (I had to override some type of autoanalysis, so I’m not exactly sure if it completed all the way). If it looks like something is missing I can try again tomorrow.

    Anyways, here it is:

    http://timtechsoftware.com/uploads/legouniverse.c.7z

    The full legouniverse.c is 102,267,075 bytes, but with PPMD:o32 it compressed to 7,714,529 bytes.

    November 14, 2016 at 8:08 pm #7045
    Anonymous
    Participant

    That’s amazing! Thanks Timtech!
    I’m not sure, but I think that all of the functions’ and variables’ types have been replaced with a type _UNKNOWN, so that may be the problem.
    Also, you might want to put a finished version of this in the Downloads section. I’ve seen a couple people looking for this file.
    Don’t bother about exporting the machine code, I can’t read it as well as C.

    November 15, 2016 at 8:07 pm #7051
    Timtech
    Keymaster

    Alright, I will see about trying to get the auto-analysis to work and then exporting again to see if that changes things. Either way, I’ll add the final .c file to the Downloads page as you suggested.

    November 16, 2016 at 7:22 am #7053
    Timtech
    Keymaster

    Okay, the auto-analysis didn’t really seem to change anything with those _UNKNOWN types, but there is a slight file size difference (the new file is 102,075,262 bytes). Check out http://timtechsoftware.com/uploads/legouniverse.c-analyzed.7z for the new file.

    P.S. Moved this topic to Tinkerer’s Corner.

    November 16, 2016 at 4:32 pm #7054
    Timtech
    Keymaster

    Here is the machine code as well, just in case (8,872,647-byte .7z archive containing a 159,745,592-byte .asm file): http://timtechsoftware.com/uploads/legouniverse.asm-analyzed.7z

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 16 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Comments are currently closed.

Preferred Language


  • English (en) English (en)
  • Deutsch (de) Deutsch (de)
  • Español (es) Español (es)

Search the Forums


Recent Topics


  • Happy New Year
  • FORUMS CLOSED

Forums

  • General Discussion

Important Sites

  • LU Server Projects Github online
  • Community Discord online
  • Search the LUNIverse

    Please Note

    The LEGO Group has not endorsed or authorized the operation of this game and is not liable for any safety issues in relation to the operation of this game.

    Copyright © 2015-2021 LUNI™ Server Project

    Hosted by TimTech Software