• Stars
    star
    311
  • Rank 134,521 (Top 3 %)
  • Language
    C
  • Created about 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 readme files 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 native 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).
  • SR64-loader
    • Loader for 64-bit versions.

Some notes:

  • The project supports creating 32-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.
  • Creating 64-bit versions is experimental.
    • Only Linux (x64, arm64) versions of Albion, Septerra Core, X-COM 1,2 and Warcraft are working at the moment.
    • 64-bit versions require a loader.

More Repositories

1

casio_sw-10

Casio SW-10 software synthesizer
C
16
star
2

neon_scalers

Scalers using ARMV7, NEON instructions with instruction scheduling for Cortex-A8 processors
Assembly
7
star
3

hota

Heart of The Alien engine rewrite, forked from http://hota.sourceforge.net/
C
6
star
4

z-lock

Z-LOCK game, forked from http://isk8086.my.coocan.jp/prog_win_d.html (site down)
D
5
star
5

fulcrum

The Fulcrum demo source - port to C++/SDL
C++
4
star
6

parsec47

PARSEC47 game, forked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/p47_e.html
D
4
star
7

tumiki_fighters

TUMIKI Fighters game, forked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf_e.html
D
4
star
8

asylum

SDL Asylum game, forked from http://sdl-asylum.sourceforge.net/
C
3
star
9

griels-quest

Griel's Quest for Sangraal game, forked from https://code.google.com/p/griel-sangraal-linux/ and https://github.com/dmitrysmagin/griels-quest
C
2
star
10

roswyn

Roswyn & The Dragons game, forked from http://www.meruvia.fr/roswyn4.php (site down)
C
2
star
11

gunroar

Gunroar game, forked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html
D
2
star
12

fulcrum.asmconv

The utility used to help convert asm files in original Fulcrum source to c++
D
1
star
13

a7xpg

A7Xpg game, forked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/a7xpg_e.html
D
1
star
14

noiz2sa

Noiz2sa game, forked from https://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html
C
1
star
15

sonivox_eas_alsa

Sonivox EAS software synthesizer for Linux/ALSA
C
1
star
16

MagicalBroomExtreme

Magical Broom Extreme game, forked from http://www.twin-tail.jp:80/contents/game/mbx/index.htm (site down)
C++
1
star
17

titanion

Titanion game, forked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html
D
1
star
18

USBMidiWaveblaster

USB MIDI interface for Waveblaster boards (or USB MIDI to serial MIDI adapter) using STM32 Blue Pill board
C
1
star
19

waterplasma2x

A 1kb demo for GP2X
Assembly
1
star
20

area2048

AREA2048 game, forked from http://isk8086.my.coocan.jp/prog_win_d.html (site down)
D
1
star
21

rrootage

rRootage game, forked from https://www.asahi-net.or.jp/~cs8k-cyu/windows/rr_e.html
C
1
star