nukeykt / NRedneck

Redneck Rampage & Duke Nukem 3D port based on EDuke32
https://github.com/nukeykt/NBlood
44 stars 6 forks source link

Add some readme #11

Open axredneck opened 5 years ago

axredneck commented 5 years ago
andrew-mcmahon commented 5 years ago

I wrote a bash script to partly solve this problem: https://gist.github.com/andrew-mcmahon/4fe4b1c1892fd6a372b11dc7d1eec1d0

You'll need flac, innoextract and bchunk installed plus the current GOG Windows installer i.e: setup_redneck_rampage_2.0.0.11.exe I'm using Debian Testing but it should work on other distros. The latest innoextract is recommended. It handles mostly everything including the music from the BIN/CUE image which GOG have included.

Your game directories end up like this Redneck Rampage -> https://pastebin.com/ci4icdUC Rides Again -> https://pastebin.com/1ygGtQAw

You'll still have to install the usual eDuke32 dependencies and compile the code manually - I prefer to do that inside a chroot: https://wiki.eduke32.com/wiki/Building_EDuke32_on_Linux

Copy the executable into each folder and run the games using the commands I listed at the end of the script i.e:

./rednukem
./rednukem ROUTE66.CON

If GOG change the structure of the installer in the future the script might require some modification. A script for Blood might be a bit trickier as GOG have stupidly chopped the Redbook audio off the CD image but have included vorbis rips. Had to get an image from archive.org to get lossless music back.

axredneck commented 5 years ago

@andrew-mcmahon thank you! Can you put this manual into git as readme? Also linux people usually prefer readmes over such "kind of setup.exe.sh" scripts.

andrew-mcmahon commented 5 years ago

I could probably adapt what the script does into a readme or perhaps add some wiki pages; if Alexey accepts it of course. I thought it'd be quite tedious to type out all those commands each time to install the game hence why I automated it. I agree that game data md5sums, install info, etc - would be quite useful for those who aren't familiar with eDuke32. Anyone can do what they like with the script - use/don't use it - rewrite it - whatever.

axredneck commented 5 years ago

type out all those commands

You don't need to type these commands, you need to perform these operations, with command line, with file manager or any other way. Also script may work and may not, depending on user's configuration, paths, distro etc. But readme will always work.

axredneck commented 5 years ago

Readme should contain:

Nblood has such readme, Nredneck doesn't.