rocksndiamonds linux apps
Posted: Tue Feb 13, 2024 8:34 pm
how to run rocksndiamonds applications in the linux commands?
Talk and discussions around the game "Rocks'n'Diamonds".
https://www.artsoft.org/forum/
Code: Select all
./rocksndiamonds
i think exec format error.Holger wrote: āWed Feb 14, 2024 8:11 am Just run it using the following command:Code: Select all
./rocksndiamonds
In this case, I would be interested in which Linux distribution you are using (name and version).I really would like to repeat here what is needed to work on a problem or bug, that is, what's required for a good bug report:
which version of R'n'D are you using?
which operating system are you using?
the necessary steps to reproduce the issue
the expected outcome
a description of the behavior
a small, self-contained example exhibiting the behavior
Code: Select all
$ make
how do i run and installing with rocks'n'diamonds 0.9 on linux commands?Holger wrote: āSat Feb 17, 2024 9:30 am Regarding version numbers, I assume you mean R'n'D version 0.9 / 0.9b (which were the first publicly available versions of the game)? In this case you have to recompile anyway, as the included binaries from those historic packages do not run on current Linux systems.
However, for those interesed in how R'n'D lokked like back in 1995, I have adjusted the first version of the game so that it can be compiled and run on modern systems -- you can find it in the Git repository in branch "0.9-compilable". Just check it out, compile it and run it!![]()
It's relatively easy if you know how to execute Linux commands on the command line. First, install git, gcc, make and the Xpm library (you will need both the runtime and development package). This can be done with the following commands (but may depend on your specific Linux distribution):how do i run and installing with rocks'n'diamonds 0.9 on linux commands?
Code: Select all
$ apt install git gcc make libxpm libxpm-dev
Code: Select all
$ wget https://www.artsoft.org/RELEASES/linux/rocksndiamonds/rocks_n_diamonds-0.9.tgz
$ tar xvzf rocks_n_diamonds-0.9.tgz
$ cd rocksndiamonds
$ git checkout 0.9-compilable
$ cd src
$ make
$ cp -a rocksndiamonds ../../rocks_n_diamonds-0.9/
$ cd ../../rocks_n_diamonds-0.9/
$ ./rocksndiamonds