diff options
| author | winter Sparkles | 2026-08-16 02:58:55 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-08-16 02:58:55 +0100 |
| commit | a15b8a59fe57c4bea19d83590892d40ee1ca1555 (patch) | |
| tree | ef0508eeeed18570bb8f8446f02705899efe15a8 | |
| parent | 3ea614f6901ad5e890fa9a28f9f9aa17f950fd3b (diff) | |
add janky Blue Prince ebuild
| -rw-r--r-- | games-puzzle/blue-prince-bin/Manifest | 1 | ||||
| -rw-r--r-- | games-puzzle/blue-prince-bin/blue-prince-bin-9999.ebuild | 45 | ||||
| -rw-r--r-- | games-puzzle/blue-prince-bin/files/launcher.sh | 12 | ||||
| -rw-r--r-- | readme.org | 22 |
4 files changed, 79 insertions, 1 deletions
diff --git a/games-puzzle/blue-prince-bin/Manifest b/games-puzzle/blue-prince-bin/Manifest new file mode 100644 index 0000000..d5f0b36 --- /dev/null +++ b/games-puzzle/blue-prince-bin/Manifest @@ -0,0 +1 @@ +DIST blue-prince.tar.gz 3198443072 BLAKE2B 710408d45dd447b8d9f6f861a993393edea8a8053a40e9f449b842fa702eeacc5bfcc104ef6dfcbacd3c757e65a59684fbd8ccfe8ed508456bd4fdfc3365bec3 SHA512 8b48617f2ccdd748445e6885210d80c61df48c41068f20c4cb71ada5a3ea55a6bdcecc7b0edf2f3221901a0fa8385ee61708d6c53df3c161c82dbb45646f77f1 diff --git a/games-puzzle/blue-prince-bin/blue-prince-bin-9999.ebuild b/games-puzzle/blue-prince-bin/blue-prince-bin-9999.ebuild new file mode 100644 index 0000000..82679d9 --- /dev/null +++ b/games-puzzle/blue-prince-bin/blue-prince-bin-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="4G" +inherit check-reqs desktop xdg + +DESCRIPTION="Puzzle-adventure-roguelike with a cool ass mansion dude idfk" +HOMEPAGE="https://blueprincegame.com" +MY_PN=blue-prince +SRC_URI="${MY_PN}.tar.gz" +S="${WORKDIR}/${MY_PN}" +EXE_NAME="BLUE PRINCE.exe" + +LICENSE="all-rights-reserved" +SLOT="0" +RESTRICT="bindist fetch splitdebug" +PROPERTIES="live" + +DIR="/opt/${MY_PN}" + +RDEPEND=" + app-emulation/wine-vanilla + app-emulation/dxvk[d3d11] +" +BDEPEND=" + ${RDEPEND} +" +# TODO: add 7z and use it to extract the icon from the executable? + +pkg_nofetch() { + einfo "Please 'legally obtain' a Steam-DRM-free copy of the game, and put" + einfo "it in your distfiles directory with the name ${SRC_URI}. (it should" + einfo "contain a top-level directory named ${MY_PN}, which should in turn" + einfo "contain the game executable '${EXE_NAME}' and other files)" +} + +src_install() { + insinto "${DIR}" + doins -r . + exeinto /usr/bin + newexe "${FILESDIR}/launcher.sh" ${MY_PN} + make_desktop_entry --eapi9 "${MY_PN}" -n "Blue Prince" -c Game +} diff --git a/games-puzzle/blue-prince-bin/files/launcher.sh b/games-puzzle/blue-prince-bin/files/launcher.sh new file mode 100644 index 0000000..5063048 --- /dev/null +++ b/games-puzzle/blue-prince-bin/files/launcher.sh @@ -0,0 +1,12 @@ +#!/bin/sh +export WINEPREFIX="${XDG_STATE_HOME:-${HOME}/.local/state}/blue-prince/wineprefix" + +if ! [ -d "${WINEPREFIX}" ]; then + mkdir -p "${WINEPREFIX}" + wine-vanilla rundll32 # init the prefix + wineserver-vanilla -w + setup_dxvk.sh install --symlink +fi + +cd /opt/blue-prince && +exec wine-vanilla 'BLUE PRINCE.exe' "$@" @@ -29,11 +29,31 @@ that lets you annotate and upload your screenshots from niri (source [[https://codeberg.org/whenthesilly/niri-screenshot-tools][here]])! beware it's a live ebuild so you have to unmask it in your system portage config -* vintage story +* games + +** vintage story install =games-action/vintage-story= for the voxel sandbox survival game [[https://www.vintagestory.at/][Vintage Story]]. currently the package is not very well tested and also is amd64 only. if you find a bug tell me +** blue prince +install =games-puzzle/blue-prince= for the roguelike puzzle game +[[https://blueprincegame.com/][Blue Prince]]. needs unmasking and also needs +you to provide a cracked copy of the windows game files (ask me for a magnet +link ^_^). the advantage of my crappy ebuild is that it conveniently sets up +a wineprefix for you according to what i found is necessary for it to run well, +plus it creates a desktop entry to launch the game from your desktop +environment. + +if you're trying to install it and it's giving you checksum errors just pass +=--digest= to emerge, that will make it ignore the manifest file. the checksum +in the manifest file is for my copy but depending on where you got your copy +it may well be different. this is fine though you can probably just ignore it!! + +in the future i might try to make a fancy linux-native repack of this game, +since it just uses unity engine and a few fairly common-looking plugins. watch +this space :3 + * miscellaneous software - =app-crypt/keyroost= is a command line (and graphical, unless you disable =gui= use flag) management tool for a few usb security keys such as yubikeys |
