Skip to content
Recode Binary code of game Magic Carpet2 to C/C++ language(remake MC2 for any platform)
C C++ HTML Shell Objective-C Assembly Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Debug
Release
SDL-Mixer-X-master
SDL2_image-2.0.5
SDL2_ttf-2.0.15
biggraphics
cursors
eclipse
fluidsynth
graphics
inih
kiss_sdl-master
libADLMIDI-master
libOPNMIDI-master
libogg
libpng2/libpng-master
libpng3
libvorbis
mingw/sdl/SDL2-2.0.10
outimg
remc2
savezal
sdl
sdl1
sdl1_mixer
sdl2-2.0.8
sdl2
sdl2_mixer
sdl_mixer
src
temp
test_cfs/ConsoleApplication3
tools
x64/Debug
zlib-64
zlib
.gitignore
.~lock.comps.xls#
LICENSE
Návod - Magic Carpet 2_ The Netherworlds _ ABCgames.cz.html
README.md
comps.xls
intro-error-compare.png
intro-error-compare.xcf
level1.pal
level2.pal
level25.pal
level4.pal
libcdio-master.zip
magic carpet file format.txt
outstr.txt
remc2.sln
testpal.pal
testscreen.dat

README.md

remc2

Reverse engineering of game Magic Carpet 2 from assembler to c/c++ language

STATUS: full playable, in testing


To start the game, it needs data from the original distribution, which you can download at the minimum fee here:
https://www.gog.com/game/magic_carpet_2_the_netherworlds
(or from any abbadone archive, if it is legal in your country)

Now you can only compile only 32-bit binary version (64bit will be available after rewriting all arrays to structures).

simple dev blog:https://github.com/turican0/remc2/wiki

ROADMAP:


MILLSTONE 6


-can build x64 binary
-can build in Linux

MILLSTONE 5


-add next resolutions

MILLSTONE 4


-fix music (can switch between Original MIDI, Music in wave format and Alternative music)
-fix multiplayer

MILLSTONE 3


-Fix resolution 640x480
-can play All game same as in original in 320x200

MILLSTONE 2


-Change basic arrays to structures
-Fix Load and Save game

MILLSTONE 1 - PASSED


-Can Play whole First level same as in original in 320x200

## 0.91(included binary version):
-added missing DLL
-added setting for game and video speed
-added script for GOG version game data extract
(bug - in first run game crash somebody)
## 0.9(included binary version):
Beta version 0.9 Published!
-game is full playable without big bugs(maybe :)
-added WIN32 Binary for testing
## 0.50(included binary version):
-fixed levels 6 and 7
-fixed select spell type
-fixed any problems with loading level
-many next fixes
## 0.49:
-fixed levels 4 and 5
-fixed any problems with castle destroying
-many other fixes
## 0.48:
-fixed level 3
-fixed any problems with mouse positions(when spell select)
-rewrite any terrain generate functions
## 0.47(included binary version):
-first two levels fixed, and playable as in original game
-128x128 textures, 640x480 and best graphics in default
-fixed many errors
-many fix of 64bit version - now can run game, game menu work, level select map work, but game not playable
regression: you must restart game after set language
## 0.46:
-second level mosty playable(can not finish, and next minor bugs)
-added 128x128 textures(any water tiles not cleaned now)

## 0.45:
-fix many differents in dword_0xA4_164 structure
-fix many loading problem
-level two particly playable(with black enemy sorceler name and drop game after meet with him)

## 0.44:
-first level can play same as original(again)

## 0.43:
-again can play level 1 now(without ending)

## 0.42:
-state similar as revision 0.30

## 0.41:
-again fixed first 7 frames
-similar bugs to revision 0.27

## 0.40:
-tons code after arrays to structs rewriting fixed
-count bugs is similar as Release 0.25

## 0.39:
-HI-res fixed
-fixed carpet position in level menu

## 0.38:
-First test HI-res
-finded problems with texts, menus and terrain

## 0.37:
-Can play level 1 as original
-in game music
-can load and save game

## 0.36:
-fixed second level of castle
-!!!can finalize level I!!!(without fireflys now)

## 0.35:
-fixed bad rendering(blurr effect)
-fix many errors
-fix spell menu
-add fullscreen switch by ALT+ENTER
-fix some crashs

## 0.34:
-fix billboard draw bug

## 0.33:
-fixed many problems with castle creating

## 0.32:
-fixed and rewriting many some structures
-begin of fixing castle creating

## 0.31:
-fixed all key(maybe :)
-fixed spells fire and posses

## 0.30:
-fix in game menu(mostly)
-can fly over one level
(can not use spells, change reflections, resolutions, brigtness not and etc. not work)

## 0.29:
-fixed begin of game
-fixed help system

## 0.28:
-fixed first 110 frames!

## 0.27:
-many fixes hidden in code
-fixed first 7 frames!

## 0.26:
-many fixes hidden in code
-fixed first 3 frames!

## 0.25:
-many fixes hidden in code
-first frame is same as original!

## 0.24:
-fixed menu texture
-fixed minimap

## 0.23:
-fixed textures

## 0.22:
-fixed some rendering errors

## 0.21:
-fixed cleaning game screen
-first successfull texture drawing

## 0.20:
-fixed pallette
-fixed spell
-some minimap problems fixed

## 0.19:
-fixing many structures
-first in game graphics

## 0.18:
-loading level product same data as original
-retyping and fixing hundreds functions
-fixed first bug from original

## 0.17:
-fixed Load, Save, Restart and Exit button in Map Menu
-add czech translation
-fix load level initialize
-begin of fixing game draw pipeline

## 0.16:
-map menu graphics full fixed!
-added config
-added alternative music

## 0.15:
-BIG work on SOUND and MUSIC
--rewrite mss and connect it to SDL
(full function WAV or MIDI music - at now native MIDI, I test timiditi or fluidsynth, I maybe add OPL syntesis later)
-add SDL2 support

## 0.14:
-can open load menu
-can open save menu
-fixed setting keys
-fixed setting keys menu
-can open game progress menu

## 0.13:
-fixed language menu
-fixed change name menu
-added basic get key routine
-can exit from game!

## 0.12:
-main menu is fixed

## 0.11:
-fixed text rendering
-can play all intro

## 0.10:
-fixed load and save language config
-can play part of intro

## 0.09:
-fix cursor draw subroutine
-can select language

## 0.08:
-added mouse cursor!

## 0.07:
-render of language select screen is same as original!

## 0.06:
-some sprites works

## 0.05:
-add primitive console mode
-repairing fade pallete

## 0.04:
-fixed pallette

## 0.03:
-fixed resolution

## 0.02 - first graphics:
-show first graphics

## 0.01 - first release:
-can compile under Windows/Visual Studio
-repair some structures
-replace rnc utilites

For develop I use modified version of Dosbox-x: https://github.com/turican0/dosbox-x-remc2

You can’t perform that action at this time.