Coder Social home page Coder Social logo

justagameloader's Introduction

justagameloader

That's a heap of hacks I made to have chocolate-doom, aarch64 build, run under Dynarmic by thunking SDL2 and standard C functions.

I got the game to run early this morning, January the 3rd, there are still things that ain't working, sound's one of them.

Overall this project works because the chocolate-doom executable expects to be fed with imported functions ( sdl2, glibc ones ) and its code to just run, and that's the bare minimum I supplied and it's enough kinda of, so we just:

  • Load the ELF file
  • Resolve all the damn symbols
  • Create the custom A64/Dynarmic JIT
  • Have the JIT call the main function.

There's a bit more than that, most of the symbols are functions, so they must be thunked somewhat, mainline Dynarmic doesn't support that, I made a fork just for that.

Though my goal is not confined to run chocolate-doom, these're small steps, I want to learn more on HLE and help port games from Android.

Loads of thanks to all dynarmic contributors for their work!

justagameloader's People

Contributors

marcospampi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.