darkf / darkfo

DarkFO, a post-nuclear RPG remake (of Fallout 2)
Apache License 2.0
135 stars 12 forks source link

feat: add a docker image for reproducible game extraction #127

Closed Allsimon closed 6 years ago

Allsimon commented 6 years ago

I tried the setup.py but had some errors and wasn't sure if they were just warning.

This is a docker image for replicable extraction of game data.

In order to use it (replace variables if needed):

GAME_FOLDER="$HOME/PlayOnLinux\'s\ virtual\ drives/Fallout2_gog/drive_c/GOG\ Games/Fallout\ 2/"
OUTPUT="/tmp/"

docker build . -t darkfo:extractor
docker run -v $GAME_FOLDER:/game/ -v $OUTPUT:/output/ -ti darkfo:extractor

For reference, this is the output on my machine https://gist.github.com/Allsimon/bcd31c5bbce9589ab993c134671c3ab3

darkf commented 6 years ago

Were the errors you got locally different from the ones in the gist? What were they?

The python scripts should run on any machine with a standard Python/pillow+numpy installation, if it doesn't then that would be a bug.

Some errors are going to be present (I guess this should be noted in the README) because not everything is 100% supported (though most is, hence only a few fail.)

darkf commented 6 years ago

Haven't heard back on this so closing for now. The standard python script should work out of the box on any platform, if not those are new bugs.