Skip to content

An reupload of the source code of Herp Fortress with improvements.

License

Notifications You must be signed in to change notification settings

TeutonicCode/HFRewritten

Repository files navigation

Herp Fortress Rewritten

Herp Fortress running on Arch Linux using KDE Plasma

Herp Fortress Rewritten is an rewrite of the original source code of Herp Fortress written by Minecraft's original developer, Markus "Notch" Persson which can be found here.

Since the original source doesn't have an license, Rewritten is dedicated to the public domain using The Unlicense.

Differences from the original

  • Added an window icon that's based on Gang Garrison 2 with some minor changes.
  • Added an debug screen which replaces printing FPS counter with graphical one.
    • Can be shown by pressing F3 key.
  • Minor code refactors.
  • and more...

Getting the game

Binary downloads

This section assumes that you need Java 8 or higher installed, which can be downloaded from the official Java website if you're using Windows, or the distro's package manager.

Linux

  • Arch-based (Manjaro, Endeavour, etc.): pacman -S jre8-openjdk
  • Debian-based (Ubuntu, Mint, etc.): apt -S openjdk-8-jre
  • Fedora-based (Nobara, etc.): yum install java-1.8.0-openjdk

Generic

  1. Go to Releases.
  2. Select HerpFortress.jar.
  • Some browsers like Chrome may flag the jar file as soon as it's downloaded, this isn't a virus so it's safe to allow them.
  1. Run the downloaded file by (double-)clicking the jar file.
  2. "Stay frosty." - Soldier.

Compiling from source

This section assumes that you need at least OpenJDK 8 installed, which can be downloaded from Adoptium website if you're using Windows or the Linux distribution that doesn't have an specific package, or the distro's package manager.

Linux

  • Arch-based (Manjaro, Endeavour, etc.): pacman -S jdk8-openjdk
  • Debian-based (Ubuntu, Mint, etc.): apt -S openjdk-8-jdk
  • Fedora-based (Nobara, etc.): yum install java-1.8.0-openjdk-devel

This repository has pre-made build scripts you can run on.

Run Compile.bat for Windows, or compile.sh for Linux, and wait until the prompt has appeared.

You will find an folder named bin where the compiled jar file can be found.

There's another bat/shell script (Compile.bat/compile.sh) which only compiles the code and not packs them up in jar.

Contribute

There are plenty of ways to contribute this project.

If you found an bug and want to report them, just head to issues and report there, just to make sure it's not duplicated.

You made some code improvements in your fork, but you want to share them for the original project? Create an pull request by going to the PRs (assuming it doesn't contain malicious code, lol).

This repository is not approved by or associated with Notch or Mojang.

About

An reupload of the source code of Herp Fortress with improvements.

Topics

Resources

License

Stars

Watchers

Forks

Languages