Coder Social home page Coder Social logo

lordgarfio / sr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from m-ht/sr

0.0 0.0 0.0 2.42 MB

A project to statically recompile following games to create Windows or Linux (x86 or arm) versions of the games - Albion, X-Com: UFO Defense (UFO: Enemy Unknown), X-Com: Terror from the Deep, Warcraft: Orcs & Humans, Septerra Core: Legacy of the Creator, Battle Isle 3: Shadow of the Emperor

Shell 0.19% Python 2.62% C++ 0.84% Assembly 14.49% C 80.56% Batchfile 0.03% D 1.27%

sr's Introduction

SR

A project to statically recompile DOS and Windows game executables to create Windows or Linux (x86 or arm) versions of the games.

Following DOS games are supported:

Following Windows games are supported:

The source code is released with MIT license (except libraries, etc. by other people, which have their own license). For the purpose of using the code in GPL projects, the source code is also released with GPLv2 or later and LGPLv2.1 or later.


The projects consists of following subprojects (read the readmes in subproject directories for more information):

  • SR
    • The static recompiler (for DOS executables) itself.
    • It takes the original executable as an input together with information about the original executable and produces x86 / arm / llasm assembler version of the executable.
    • The generated x86/arm/llasm assembler version of the executable is not part of the project.
  • SRW
    • The static recompiler (for Windows executables) itself.
    • It takes the original executable as an input together with information about the original executable and produces x86 / llasm assembler version of the executable.
    • The generated x86/llasm assembler version of the executable is not part of the project.
  • llasm
    • Program which converts .llasm file to LLVM language-independent intermediate representation, which can be compiled to x86 / arm code.
  • SR-games
    • The information about the original DOS executables.
  • SRW-games
    • The information about the original Windows executables.
  • games
    • Game specific source code.
    • Together with the generated assembler versions of the executables, these files can be used to build Windows or Linux (x86 or arm) versions of the games.
    • Uses plugins to play (or play better) music.
  • midi-libs
    • Libraries that are used by plugins in midi-plugins subproject to play MIDI music.
  • midi-plugins
    • Plugins used by the games to play MIDI (and other types) music.
  • scaler-plugins
    • Plugins used by the DOS games to enlarge/enhance the displayed image.
  • pycfg
    • A configuration utility that can be used on Linux (sorry Windows users) to change settings in the configuration files (without editing the files).

Some notes:

  • The project supports creating 32-bit, not 64-bit, Windows or Linux versions of the games.
  • The generated arm version is little-endian, not big-endian.
  • The generated arm version supports softfp and hardfp calling conventions.

sr's People

Contributors

m-ht avatar xcom169 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.