1. MintyDragon
    OP

    MintyDragon Member

    Newcomer
    31
    9
    Jul 28, 2014
    Why in emulateion do you only have interpert and dyn recompiler. would it not be possable to read the whole game and convert it to the binary format needed or at least a intermate langauge for the emulator to use.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,863
    9,770
    Nov 21, 2005
    United Kingdom
    Theoretically you probably could do something like that, especially if you were willing to help it along on a game by game basis. Practically you want to look up something called the halting problem. There are some great advancements happening (decompilation of C is surprisingly useful these days) but you are still going to run into the halting problem.
     
    Margen67 likes this.
  3. CTurt

    CTurt Advanced Member

    Member
    73
    102
    May 3, 2015
    This process is called static recompilation and is possible in some cases. There is a good article about doing it with NES games here. There are many problems with this approach though, if code modifies itself for example (it is not uncommon for binaries to be decompressed at runtime).

    From the conclusion of the article:
     
  4. MintyDragon
    OP

    MintyDragon Member

    Newcomer
    31
    9
    Jul 28, 2014
    So what about intermate langague then. this would still be modifyable but still easyer to read than mips assembly but faster than recompileion