Difference between revisions of "SlashTHEM"

From NetHackWiki
Jump to navigation Jump to search
(Compiling in FreeBSD, and command lines are code.)
Line 27: Line 27:
 
*Install what you'll need:
 
*Install what you'll need:
  
"sudo apt-get install libncurses5-dev bison flex checkinstall make"
+
    $ sudo apt-get install libncurses5-dev bison flex checkinstall make
  
 
*Create the slashthem directory and move in it:
 
*Create the slashthem directory and move in it:
  
"mkdir slashthem ; cd slashthem"
+
    $ mkdir slashthem ; cd slashthem
  
 
*Download the source files from the server:
 
*Download the source files from the server:
  
"git clone 'https://github.com/Soviet5lo/SlashTHEM'"
+
    $ git clone https://github.com/Soviet5lo/SlashTHEM
  
 
*Run the setup script
 
*Run the setup script
  
"chmod +r+w+x ./sys/unix/setup.sh ; ./sys/unix/setup.sh"
+
    $ chmod +r+w+x ./sys/unix/setup.sh ; ./sys/unix/setup.sh
  
 
*A minor edit in the makefile
 
*A minor edit in the makefile
  
"gedit ./src/Makefile"
+
    $ gedit ./src/Makefile
  
 
Comment out line 340. This "WINTTYLIB = -ltermlib", should become this "#WINTTYLIB = -ltermlib".
 
Comment out line 340. This "WINTTYLIB = -ltermlib", should become this "#WINTTYLIB = -ltermlib".
Line 51: Line 51:
 
*Now compile and install. The command will also create a sloppy package( Warning, it will take a while!):
 
*Now compile and install. The command will also create a sloppy package( Warning, it will take a while!):
  
"make ; sudo checkinstall"
+
    $ make ; sudo checkinstall
  
 
*Easy uninstall with your regular package manager.
 
*Easy uninstall with your regular package manager.
Line 58: Line 58:
  
 
*First get the latest source:
 
*First get the latest source:
$ git clone https://github.com/Soviet5lo/SlashTHEM && cd SlashTHEM
+
    $ git clone https://github.com/Soviet5lo/SlashTHEM && cd SlashTHEM
  
 
*Run the setup script
 
*Run the setup script
$ sh sys/unix/setup.sh x
+
    $ sh sys/unix/setup.sh x
  
 
*Use kerio's GNUmakefile (this assumes that you have gmake installed).
 
*Use kerio's GNUmakefile (this assumes that you have gmake installed).
$ cp -f sys/unix/GNUmakefile Makefile
+
    $ cp -f sys/unix/GNUmakefile Makefile
  
 
*Get a list of all the places where you need "return 0;" instead of "return;"
 
*Get a list of all the places where you need "return 0;" instead of "return;"
$ gmake &> syntax_errors.txt
+
    $ gmake &> syntax_errors.txt
  
 
*Use your favourite text-editor to view syntax_errors.txt and find every place where it says something like:
 
*Use your favourite text-editor to view syntax_errors.txt and find every place where it says something like:
Line 81: Line 81:
  
 
*And <b>INSTALL!!!</b>
 
*And <b>INSTALL!!!</b>
$ gmake && gmake install
+
    $ gmake && gmake install
 
 
  
 
==Ancestors==
 
==Ancestors==

Revision as of 21:23, 23 April 2015

SLASHTHEM (github page) is a variant of Slash'EM Extended version 75 currently maintained and deved by Soviet5lo. It's name is short for “Super Lotsa Added Stuff Hack—The Heavily Extended Mod”. SLASHTHEM is much easier to play then Slash'EM Extended, and one of its goals, is to be as easy as Slash'EM.


Primary changes

Warning! The content of this section is a result of talking with the dev, and does not represent actual experience playing the game.


According to Soviet5lo, the primary changes are “At the moment more artifacts, toning down roles/races, and restoring the balance back to around Slash'EM levels.”


Availability

It is currently playable at the nethack.xd.cm server, simply type ssh nethack@nethack.xd.cm or use putty if on windows.

Apparently, it's not as hard to compile on *nix as Slash'EM Extended, so compiling at home is more feasible.

Here's an unofficial sloppy deb package for 64 bit debian variants. [1] You can attempt to convert it to other type of 64bit linux packages(like rpm) with the "alien" utility.

Compiling in Ubuntu variants

Here how to compile it on Ubuntu variants, and probably other UNIX systems. The final result is available above for download.

  • Install what you'll need:
   $ sudo apt-get install libncurses5-dev bison flex checkinstall make
  • Create the slashthem directory and move in it:
   $ mkdir slashthem ; cd slashthem
  • Download the source files from the server:
   $ git clone https://github.com/Soviet5lo/SlashTHEM
  • Run the setup script
   $ chmod +r+w+x ./sys/unix/setup.sh ; ./sys/unix/setup.sh
  • A minor edit in the makefile
   $ gedit ./src/Makefile

Comment out line 340. This "WINTTYLIB = -ltermlib", should become this "#WINTTYLIB = -ltermlib".

uncomment line 339. This"#WINTTYLIB = -lncurses", should become this "WINTTYLIB = -lncurses". And don't forget to save.

  • Now compile and install. The command will also create a sloppy package( Warning, it will take a while!):
   $ make ; sudo checkinstall
  • Easy uninstall with your regular package manager.

Compiling in FreeBSD

  • First get the latest source:
   $ git clone https://github.com/Soviet5lo/SlashTHEM && cd SlashTHEM
  • Run the setup script
   $ sh sys/unix/setup.sh x
  • Use kerio's GNUmakefile (this assumes that you have gmake installed).
   $ cp -f sys/unix/GNUmakefile Makefile
  • Get a list of all the places where you need "return 0;" instead of "return;"
   $ gmake &> syntax_errors.txt
  • Use your favourite text-editor to view syntax_errors.txt and find every place where it says something like:
   src/apply.c:4107:4: error: non-void function 'doapply' should return a value [-Wreturn-type]
                           return;
                           ^

And find those places in those files (so for example in this case, go to line 4107 in src/apply.c) and change them to "return 0;" instead of just "return;"

  • Finally, edit src/pager.c, and comment out line 1226 (add a // at the begginning of the line)
  • OPTIONAL: change $PREFIX in Makefile
  • And INSTALL!!!
   $ gmake && gmake install

Ancestors

NetHack 3.2 NetHack-- SLASH Slash'EM Slash'EM Extended
0.01–0.75 →
Slash'EM Extended
0.76–2.60
NetHack Plus
Wizard Patch SlashTHEM
NetHack 3.33.4 NetHack 3.63.6.4

External links

This page is a stub. Should you wish to do so, you can contribute by expanding this page.