A casual coffee-break roguelike
Go to file
Linus Probert f840b28839 Adds mediocre crack protection
- Added a simple checksum calculation lib
- Validates the hardcoded "lib file" checksum against the calculated
    checksum.

By looking at instructions for the cracked version of BreakHack on
various sites that show up on google it seems that the common theme is
to replace the steamlib dll/so with a modified version. Now the Steam
version of the game will validate a hardcoded checksum against a live
validated version to see if everything seems ok before boot.

It's not a major hinderance but it should eliminate the more basic
sites modus operandi.

Honestly I don't really care if people steal the game. IT'S OPEN SOURCE
FFS!

And the above exclamation confirms why I did this. Also, I wanted to se
if it was possible. Game on Crackers! :D
2019-03-11 00:06:06 +01:00
.github/ISSUE_TEMPLATE Update issue templates 2018-10-10 23:53:42 +02:00
assets Adds burst sound to eldritch blast 2018-10-27 13:47:44 +02:00
bh_random Shopkeeper now has bodyguards next time you meet after kiling him 2019-03-08 14:39:23 +01:00
bin Another attempt at appveyor packaging 2018-05-11 19:41:49 +02:00
build Patch version raised to 4 2019-02-26 17:52:24 +01:00
checksum Adds mediocre crack protection 2019-03-11 00:06:06 +01:00
data Adds monster bloodlust 2019-03-10 00:15:47 +01:00
lua-5.3.5 Remove a warning and some useless compilations 2018-09-08 23:25:10 +02:00
physfs-3.0 Updates PhysicsFS to latest stable-3.0 2018-12-04 14:09:18 +01:00
sqlite3 Moves sqlite3 files to separate dir 2018-08-21 16:32:26 +02:00
src Adds mediocre crack protection 2019-03-11 00:06:06 +01:00
steamworks_c_wrapper Removes cppcheck warning 2019-02-26 12:02:04 +01:00
test Fixes a bunch of msvc warnings 2018-08-05 15:01:25 +02:00
.appveyor.yml Adds weekly challenge seed play and leaderboard saving 2019-02-20 19:45:55 +01:00
.clang_complete Removed bad options in .clang_complete 2018-10-18 15:21:03 +02:00
.gitignore Ignore vscode_build dir 2019-02-28 19:41:07 +01:00
.travis.yml Fixing the build 2018-09-08 23:47:24 +02:00
.vimrc Adds mediocre crack protection 2019-03-11 00:06:06 +01:00
CMakeLists.txt Adds mediocre crack protection 2019-03-11 00:06:06 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-10-10 23:48:24 +02:00
CREDITS.md Re-aligned the credits file 2018-10-03 16:31:26 +02:00
LICENSE.txt New license. MIT -> GPLv3.0 2018-02-16 18:11:26 +01:00
Makefile Some tweaks to the rogue character 2018-10-24 22:18:56 +02:00
README.md Update README.md 2019-02-26 12:02:32 +01:00

README.md

Build Status Build status Codacy Badge CodeFactor

GitHub issues GitHub closed issues GitHub (pre-)release Github All Releases HitCount

Something in the ways of a roguelike

A simple roguelike written in C using SDL2.

Idea

Randomly generated maps/rooms. Leveling system, permadeath, multiple classes. Casual and fun for 10-20 minutes during a break from regular work/play.

I wanted to practice C and I'm comfortable using SDL2. The assets are graciously taken from the web. More info in the README in the assets folder.

Download

This game is available in the steam store (release Okt 2018). If you enjoy the game and want a properly installed, signed copy of the game with achievements and global highscores you are most welcome to purchase it there. If you feel like getting a free copy you can download and compile from here.

Issues

I'd prefer if issues could be handled here on github. Either check the list if your particular problem is reported otherwise create a new issue. Support questions can be submitted as issues as well, I haven't figured out how I want to work with support yet since I haven't received any questions.

License

BreakHack is released under two different licenses.

Compile

Apart from basic compile tools (GCC/Clang, Make) you'll also need to install sdl2, sdl2-image, sdl2-ttf, sdl2-mixer (If on a debian based dist you need to install the dev packages). Optionally you can also install cppcheck and physfs

Once that is done run the following:

mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=Debug .. # Build type flag is optional
make

Contribute

Have an idea and able to implement it? Fork and send me a pull request and I'll check it out. If I like it I will add it. If it's a big thing I'll add your name to the credits list (once I add it in game).

If you do contribute something you should be aware that if your PR is merged into the master code-base your code will eventually make it out with the Steam version of the game. I don't make any revenue from those sales so don't expect any other compensation than a "I have code on Steam" feeling. Which is quite nice and also why I decided to release on Steam.