Skip to content

Docker build system for devilution using the original tools

License

Notifications You must be signed in to change notification settings

nomdenom/riivaaja

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Riivaaja

Docker build system for devilution using the original tools.

In order to verify the accuracy of the source code and to generate a binary that is as close as possible to the original one, it is necessary to compile it using the original toolchain. This tool generates a docker image that can be used to compile devilution on any platform with that toolchain.

This build system is used in the devilution CI system as well in order to make sure that all changes can be compiled with the original toolchain.

Running

In order to use it to compile the source simply run the following command from the devilution root folder:

docker run -v $(pwd):/root/devilution diasurgical/riivaaja

Building a new image

Place the files for Visual C++ 5 SP3 (DevStudio_5.10) and Visual C++ SP3 (VS6_SP3) in the Riivaaja root folder. Make sure the versions of VC actually support optimizations (Professional and higher).

Then run the following command:

docker build -t diasurgical/riivaaja:latest .
docker push diasurgical/riivaaja:latest

Make sure that all the files needed have the right casing (see the .dockerignore file).

In the future

We aim to expand this to support the following:

  • Artifact generation
  • Tracking of the "similarity" to the original binary.

About

Docker build system for devilution using the original tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%