Wednesday, 29 November 2017

Decompiler rewrite progress

A move of PCs meant that I stupidly lost a chunk of the work I did on the decompiler a couple of years back so I'm having to rewrite it.

Progress is going well and I've covered most of the 'easier' decompilation now which means that 2/3 of the binary scripts decompile to source and then recompile to the same binary as extracted from the game.

Here's an example of how the decompiled source looks atm.

Compared to the debug source files extracted from the xbox version this obviously doesn't have any of the comments or helpfully named variables.
I'm using the c# Roslyn compiler functionality as the source syntax is near enough c# which should mean I can work out some better variable names once everything decompiles correctly.

I am finding bugs in the binary code which atm I'm working around and recreating in the new source
so that I can get a baseline match. Also there are some scripts only on the PC version and differences  from the xbox code which makes things harder but I can deal with those later.

I've switch from Eclipse as a script platform to visual studio code which I'll put details up about later.

14 comments:

  1. Hello my friend! I wish to say that this article is awesome, nice written and include almost all important infos. I would like to see more posts like this.
    UX design is meeting your expectations

    ReplyDelete
  2. If you were to engage your target audience, you should look for Media One. The agency would offer you the best website design to help you rank higher on popular search engine results. They would also help you make a stronger online presence.

    ReplyDelete
  3. An attention-grabbing dialogue is value comment. I feel that you must write extra on this matter, it might not be a taboo subject but generally persons are not sufficient to speak on such topics. To the next. certified trainer

    ReplyDelete
  4. I'm interested to discover what blog framework you are utilizing? I'm having some minor security issues with my most recent site and I might want to discover something more defended. Do you have any recommendations? Nickel Sheet

    ReplyDelete
  5. I appreciate, cause I found exactly what I was looking for. You have ended my 4 day long hunt! God Bless you man. Have a great day. 5 room hdb interior design ideas

    ReplyDelete
  6. hi!,I like your writing very much! share we communicate more about your post on AOL? I require a specialist on this area to solve my problem. May be that's you! Looking forward to see you. on site event management

    ReplyDelete
  7. I'm very enjoyed for this blog. Its an educational topic. It help me quite definitely to solve some problems. Its opportunity are very fantastic and working style so speedy. pre-planning funeral

    ReplyDelete
  8. When I initially commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Thanks! mri scan singapore

    ReplyDelete
  9. Very well written article. It will be useful to anybody who utilizes it, including myself. Keep doing what you are doing - for sure i will check out more posts. divorce Singapore cost

    ReplyDelete
  10. Best Corporate Video Production Company in Bangalore and top Explainer Video Company, 3d, 2d Animation Video Makers in Chennai
    Great tips! But one more thing we would like to add here i.e Browser compatibility is also a must.

    ReplyDelete
  11. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?outsourced accounting services singapore

    ReplyDelete
  12. Hello! This is my first visit to your blog! We are a group of volunteers and starting a new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a extraordinary job!g shock watches

    ReplyDelete
  13. Aw, this was a very nice post. In thought I want to put in writing like this moreover – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and on no account seem to get one thing done.ballet injuries

    ReplyDelete