Hic inserere motto

Building the Eulora client with Gentoo

January 11, 2019 — shinohai

Having gotten trinque's excellent Cuntoo bootstrap working on a few different machines, I decided I'd try building a Eulora client with it. This post is to document the steps I followed to get to a working state, as the instructions on the minigame website are outdated and contain dead links.

In this guide, I am using gcc 4.9.4 - I'm pretty sure this is a hard requirement. Crystalspace for whatever reason requires you have the nvidia-cg-toolkit installed even if you use an ATI card, so go ahead and get that via portage:

emerge -av nvidia-cg-toolkit

I have a ~/devel directory already from building trb, so I'll start there and make a eulora directory beside it:

mkdir -p eulora/ && cd $_

Grab cal3d, crystalspace, and the Eulora client files from the minigame site:

curl > eulora-v0.1.2b.tar.gz

Untar that shit.

tar -zxvf cal3d.tar.gz
tar -zxvf cs_July24.tar.gz
tar -zxvf eulora-v0.1.2b.tar.gz

Navigate to cal3d/ and run the following commands to build:

autoreconf --install --force
./configure --prefix=$HOME/devel/eulora/cal3d
make install

Tell other programs where to find the cal3d things we just built:

export LD_LIBRARY_PATH=$HOME/devel/eulora/cal3d/src/cal3d/.libs/:$LD_LIBRARY_PATH

Go back to ~/devel/eulora/ and enter the cs-forupload folder:

cd ../cs-forupload/

To build crystalspace I had to adjust the configure step to avoid anything bullet related, or the jam build step will barf. Use the following commands:

./configure \
--without-java \
--without-perl \
--without-python \
--without-3ds \
--without-bullet \

jam -aq libs plugins cs-config walktest

Export the crystalspace environment variable:

export CRYSTAL=$HOME/devel/eulora/cs-forupload

Finally, go back to ~/devel/eulora/ and enter the EuloraV0.1.2 folder ...

cd ../EuloraV0.1.2/

...and build the client:

./configure \
--with-cal3d=$HOME/devel/eulora/cal3d \
--with-cs-prefix=$CRYSTAL \
--without-mysqlclient \
--without-sqlite3 \
--without-pq \

jam -aq client

Eulora servers got a new home in 2018, so we must edit the server ip in data/servers.xml:

sed -i 's/' data/servers.xml

Now, to avoid having to manually enter the environment variables each time we want to play, we will create a shell script containing those and make it executable:

cat ><<EOF
export LD_LIBRARY_PATH="$HOME/devel/eulora/cal3d/src/cal3d/ \
export CRYSTAL=$HOME/devel/eulora/cs-forupload

chmod +


It was night in Eulora when I finished, so I only took a single screenshot of client startup. More to come as I test further.

May your journey be prosperous ....

Tags: News, Games, UNIX

Handheld game roms

December 25, 2018 — shinohai

While searching for the Basic games collection the other day, I stumbled upon a forgotten archive containing roms for a bunch of old handheld electronic games from the 70's and 80's. If you had any of the games on the list below, your childhood was likely pretty awesum. I have used MESS to run these, but feel free to try on other platforms (as I did not include any MESS-specific xml files with this archive).

List of games contained in archive:

ROM NAME:         GAME:
advision          "Adventure Vision"
alnattck          "Alien Attack"
alnchase          "Alien Chase"
amaztron          "Amaze-A-Tron"
astro             "Astro"
astrocmd          "Astro Command"
bambball          "Dribble Away Basketball"
bankshot          "Bank Shot - Electronic Pool"
bcclimbr          "Crazy Climber (Bandai)"
bdoramon          "Dokodemo Dorayaki Doraemon"
bfriskyt          "Frisky Tom (Bandai)"
bmboxing          "Knock-Em Out Boxing"
bmsafari          "Safari (Bambino)"
bmsoccer          "Kick The Goal Soccer"
cdkong            "Donkey Kong (Coleco)"
cgalaxn           "Galaxian (Coleco)"
cmspacmn          "Ms. Pac-Man (Coleco)"
comp4             "Comp IV"
cpacman           "Pac-Man (Coleco, Rev. 29)"
cpacmanr1         "Pac-Man (Coleco, Rev. 28)"
ebball            "Electronic Baseball (Entex)"
ebball2           "Electronic Baseball 2 (Entex)"
ebball3           "Electronic Baseball 3 (Entex)"
edracula          "Dracula (Epoch)"
efball            "Electronic Football (Epoch)"
egalaxn2          "Galaxian 2 (Entex)"
einvader          "Space Invader (Entex, TMS1100)"
epacman2          "Pac Man 2 (Entex)"
galaxy2           "Galaxy II"
gckong            "Crazy Kong (Gakken)"
gdigdug           "Dig Dug (Gakken)"
ghalien           "Heiankyo Alien (Gakken)"
gjackpot          "Jackpot: Gin Rummy & Black Jack"
gpoker            "Poker (Gakken, 1979 version)"
h2hbaseb          "Head to Head Baseball"
h2hfootb          "Head to Head Football"
invspace          "Invader From Space"
kingman           "Kingman"
machiman          "Machine Man"
maniac            "Maniac"
mathmagi          "Mathemagician"
merlin            "Merlin - The Electronic Wizard"
microvsn          "MicroVision"
mmerlin           "Master Merlin"
msthawk           "Star Hawk (Mattel)"
mvbfree           "Mini-Vid Break Free"
mwcbaseb          "World Championship Baseball"
packmon           "Packri Monster"
pbqbert           "Q*Bert (Parker Brothers)"
raisedvl          "Raise The Devil"
simon             "Simon (Rev. A)"
splasfgt          "Space Laser Fight"
splitsec          "Split Second"
ssfball           "Superstar Football"
ssimon            "Super Simon"
starwbc           "Star Wars - Electronic Battle Command"
starwbcp          "Star Wars - Electronic Battle Command (prototype)"
tandy12           "Tandy-12: Computerized Arcade"
tc4               "Total Control 4"
tcaveman          "Caveman (Tomy)"
tccombat          "Cosmic Combat"
tmpacman          "Pac Man (Tomy)"
tmscramb          "Scramble (Tomy)"
tmtennis          "Tennis (Tomy)"
tmtron            "Tron (Tomy)"
ufombs            "UFO Master-Blaster Station"
vinvader          "Invaders (VTech)"
wildfire          "Wildfire (prototype)"
zackman           "Zackman"

The archive can be downloaded from the \warez\ section of the library here.

Merry Christmas everyone!

Tags: News, Games, UNIX

Basic Computer Games

December 23, 2018 — shinohai

Old computer nostalgia often hits some of us hard on Telegram, and hours will be spent in conversation or reliving the glory days of TRS-80 and Commodore64 machines. In one such conversation, I mentioned I had a tarball somewhere of all the programs in the old 1978 book "Basic Computer Games" published by Creative Computing. After a brief search, the package was located and I decided to uploaded it to the /warez/ section of the library for others to enjoy - whether you are painfully typing these in line by line in original hardware or loading them with an emulator, I hope the collection brings back lots of pleasant memories for those of us that still enjoy tinkering with these things. Most of these I can verify still indeed work well on original hardware: I loaded many of these into my old TRS80 using a HxC2001 SD floppy emulator (because I'm lazy and didn't want to hand type them all) and ran with 0 syntax errors.

Table of games included in the archive:

Game Name:         Filename:            Description:

Acey Ducey 	   aceyducey.bas        Play acey-ducey with the computer
Amazing 	   amazing.bas 	        Computer constructs a maze
Animal 	           animal.bas 	        Computer guesses animals and learns new ones from you
Awari 	           awari.bas 	        Ancient game of rotating beans in pits
Bagels 		   bagels.bas 	        Guess a mystery 3-digit number by logic
Banner 		   banner.bas 	        Prints any message on a large banner
Basketball 	   basketball.bas       Basketball game
Batnum 		   batnum.bas 	        Match wits in a battle of numbers vs. the computer
Battle 		   battle.bas 	        Decode a matrix to locate enemy battleship
Blackjack 	   blackjack.bas        Blackjack (very comprehensive), Las Vegas rules
Bombardment 	   bombardment.bas      Destroy the computer's platoons with missles before it finds yours
Bombs Away 	   bombsaway.bas        Fly World War II bombing missions
Bounce 		   bounce.bas 	        Plot a bouncing ball
Bowling 	   bowling.bas 	        Bowling at the neighborhood lanes
Boxing 		   boxing.bas 	        3-round Olympic boxing match
Bug 		   bug.bas 	        Roll dice vs. the computer to draw a bug
Bullfight 	   bullfight.bas        You're the matador in a championship bullfight
Bullseye 	   bullseye.bas         Throw darts
Bunny 		   bunny.bas 	        Computer drawing of the Playboy bunny
Buzzword 	   buzzword.bas         Compose your speeches with the latest buzzwords
Calendar 	   calendar.bas         Calendar for any year
Change 		   change.bas 	        Computer imitates a cashier
Checkers 	   checkers.bas         Game of checkers
Chemist 	   chemist.bas 	        Dilute kryptocyanic acid to make it harmless
Chief 		   chief.bas 	        Silly arithmetic drill
Chomp 		   chomp.bas 	        Eat a cookie avoiding the poison piece (2 or more players)
Civil War 	   civilwar.bas         Fight the Civil War
Combat 		   combat.bas 	        Fight a small-scale war with the computer
Craps 		   craps.bas 	        Play craps (dice), Las Vegas style
Cube 		   cube.bas 	        Negotiate a 3-D cube avoiding hidden landmines
Depth Charge 	   depthcharge.bas      Launch depth charges to destroy a submarine
Diamond 	   diamond.bas 	        Prints 1-page diamond patterns
Dice 		   dice.bas 	        Summarizes dice rolls
Digits 		   digits.bas 	        Computer tries to guess digits you select at random
Even Wins 	   evenwins.bas         Take objects from a pile?try to end with an even number
Game of Even Wins  gameofevenwins.bas   Same as Even Wins?computer improves its play
Flip Flop 	   flipflop.bas         Solitaire logic game?change a row of Xs to Os
Ftball 		   ftball.bas 	        American football?you vs. the computer
Football 	   football.bas         American football for two players
Fur Trader 	   furtrader.bas        Trade furs with the white man
Golf 		   golf.bas 	        Golf game?choose your clubs and swing
Gomoko 		   gomoko.bas 	        Ancient board game of logic and strategy
Guess 		   guess.bas 	        Guess a mystery number?computer gives you clues
Gunner 		   gunner.bas 	        Fire a cannon at a stationary target
Hammurabi 	   hammurabi.bas        Govern the ancient city-state of Sumeria
Hangman 	   hangman.bas 	        Hangman word guessing game
Hello 		   hello.bas 	        Computer becomes your friendly psychiatrist
Hexapawn 	   hexapawn.bas         Hexapawn game
Hi-Lo 		   hi-lo.bas 	        Try to hit the mystery jackpot
High I-Q 	   highiq.bas 	        Try to remove all the pegs from a board
Hockey 		   hockey.bas 	        Ice hockey, two players
Horserace 	   horserace.bas        Off-track betting on a horse race
Hurkle 		   hurkle.bas 	        Find the Hurkle hiding on a 10x10 grid
Kinema 		   kinema.bas 	        Drill in simple kinematics
King 		   king.bas 	        Govern a modern island kingdom wisely
Letter 		   letter.bas 	        Guess a mystery letter?computer gives you clues
Life 		   life.bas 	        John Conway's Game of Life
Life For Two 	   lifefortwo.bas       Competitive game of Life (two or more players)
Lite Quiz 	   litquiz.bas 	        Children's literature quiz
Love 		   love.bas 	        Robert Indiana's artwork, your message
Lunar 		   lunar.bas 	        Land an Apollo capsule on the moon
LEM 		   lem.bas 	        Very comprehensive lunar landing
Rocket 		   rocket.bas 	        Lunar landing from 500 feet (with plot)
Master Mind 	   mastermind.bas       Guess the colors of pegs?then the computer guesses yours
Math Dice 	   mathdice.bas         Children's arithmetic drill using pictures of dice
Mugwump 	   mugwump.bas 	        Locate 4 mugwumps hiding on a 10x10 grid
Name 		   name.bas 	        An ice-breaker with the computer
Nicomachus 	   nicomachus.bas       Computer guesses number you think of
Nim 		   nim.bas 	        Chinese game of Nim
Number 		   number.bas 	        Silly number matching game
One Check 	   onecheck.bas         Challenging game to remove checkers from a board
Orbit 		   orbit.bas 	        Destroy an orbiting germ-laden enemy spaceship
Pizza 		   pizza.bas 	        Deliver pizzas successfully
Poetry 		   poetry.bas 	        Computer composes random poetry
Poker 		   poker.bas 	        Poker game
Queen 		   queen.bas 	        Move a single chess queen vs. the computer
Reverse 	   reverse.bas 	        Order a series of numbers by reversing
R,P,S	      	   rockscissors.bas     Game of rock, scissors, paper
Roulette 	   roulette.bas         European roulette table
Russian Roulette   russianroulette.bas  Russian roulette
Salvo 		   salvo.bas 	        Destroy an enemy fleet of ships
Sine Wave 	   sinewave.bas         Draw a sine wave on screen
Slalom 	    	   slalom.bas 	        Simulates a slalom run
Slots 		   slots.bas 	        Slot machine (one-armed bandit)
Splat 		   splat.bas 	        Open a parachute at the last possible moment
Stars 		   stars.bas 	        Guess a mystery number?stars give you clues
Stock Market 	   stockmarket.bas      Stock market simulation
Super Star Trek    superstartrek.bas    Comprehensive game of Star Trek
STK: Instructions  superstartrekins.bas Instructions for Super Star Trek
Synonym 	   synonym.bas 	        Word synonym drill
Target 		   target.bas 	        Destroy a target in 3-D space?very tricky
3-D Plot 	   3dplot.bas 	        Plot families of curves?looks 3-dimensional
3-D Tic-Tac-Toe    qubit.bas 	        Game of tic-tac-toe in a 4x4x4 cube
Tic-Tac-Toe 1 	   tictactoe1.bas 	Simple version
Tic-Tac-Toe 2 	   tictactoe2.bas 	This version prints out the board
Tower 		   tower.bas 	        Towers of Hanoi puzzle
Train 	  	   train.bas 	        Time-speed-distance quiz
Trap 		   trap.bas 	        Trap a mystery number?computer gives you clues
23 Matches 	   23matches.bas 	Game of 23 matches?try not to take the last one
War 		   war.bas 	        Card game of war
Weekday 	   weekday.bas 	        Facts about your birthday
Word 		   word.bas 	        Word guessing game

The entire archive is available for download here: Basic Computer Games (bcg.tar.gz)

Tags: UNIX, Vintage_Computing, Games


December 06, 2018 — shinohai

bcinfobot is a common lisp bot that bridges irc and telegram, and performs a variety of mostly useless crypto stats. It currently resides in the #btcinfo channels on freenode irc and telegram.

IRC command prefix is `$` - You must have a registered gpg key to use this bot.

This post will be updated as soon as comprehensive list of all commands can be added. Discussion is currently more vibrant on telegram, and discord support has been requested.

Tags: News, Info, UNIX

Cuntoo, a Linux that sucks less

December 02, 2018 — shinohai

This weekend I had a bit of extra time on my hands, so I decided to dust off an old AMD E-300 APU laptop I had sitting about and try building trinque's Cuntoo on it. The entire operation was pretty straightforward, and the bootstrapping script makes all this a painless operation as far as Gentoo goes.

First step is to download the bootstrap in a tar archive and the corresponding signature from here: . It appears the site is hosted on pizarro now, and downloading the archive took a little over 2 hours. Since I am quite aware that Pizarro resources can be overwhelmed with a single box making requests, I just left this to download overnight and checked on it in the morning. trinque has his head screwed on pretty straight, so the archive and sig were waiting in my Downloads folder after morning coffee.

After examining the bootstrap script, I put a copy of my amd64 configuration file into the config/ folder, since I don't have an apu2 board. One then needs to locate the block device they will be installing to, in my case `lsblk` revealed this to be located at /dev/sdc, so I ran: `./ -k config/config.amd64 -d /dev/sdc` .... and the magic began! The author recommended enjoying tea whilst the bootstrap process completed. The entire process took roughly six hours to complete, which will give one time to enjoy their favourite beverage and a fuck or two. When I came back to my desk I was greeted with the message "Create a user account, which shall be granted sudo access." After that, the script will ask you to paste a ssh public key in, to allow password free logins upon reboot. Painless, I say!

Those steps being complete, I got one final message: "You should now have a fully bootable Cuntoo system on "/dev/sdc". Enjoy!" The moment of truth. I then restarted the machine which booted very quickly into a new, no-nonsense Gentoo Linux environment.

Since the first run was successful, I decided to see how this recipe would work if I stuffed it onto a spare 32G flash drive I had lying about. This also worked fine, and now I have a portable version I can access via chroot on my workstation, since I have a less austere Gentoo recipe I use for day-to-day things.

I now intend to try running the ebuilds I have made for the projects I use most against this, and will report my findings here. Happy compiling!

Tags: News, UNIX, Software

Bitcoin Knots restored as the default upstream ebuild

July 22, 2018 — shinohai

Bitcoin Knots is once again the default ebuild of Bitcoin for Gentoo users. In order to revert to the "Core" flavor of Bitcoin, users will need to set the USE=-knots flag going forward.

According to developer luke-jr in a recent announcement:

Bitcoin Knots provides the best end user experience out of the box (for example, only 5 GB disk space is required instead of over 100 GB). It is completely compatible with the Bitcoin network and other Bitcoin implementations, including the popular Bitcoin Core implementation.

Bitcoin knots is currently undergoing testing on the btcinfo server, and will serve as a replacement for "therealbitcoin" in irc/telegram bot functions that require bitcoind. Source code and relevant patches will be added to the /bitcoin/ section of this website in the near future.

UPDATE 7/24/2018: luke-jr informed me that the these changes have not been merged yet. I apologize for the misquote.

Reading the #trilema logs this morning, it seems this post created fair amount of confusion:

asciilifeform: in other lulz, << shinohai endorses prb...

Please note the words undergoing testing, which should not imply any sort of endorsement or glowing review. To clarify, Knots simply offers some interesting features I want to poke with a stick more to satiate my curiosity - this segshit stuff is in wide use on alt irc platforms (Telegram, Discord, et all) and I simply want to see if any brokenness can be readily exposed. Sometimes that requires milling about in enemy territory and becoming familiar with enemy tools. Remember your Sun Tzu:

"If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat. If you know neither the enemy nor yourself, you will succumb in every battle."

asciilifeform is welcome to go ahead and negrate - this has nothing to do with spite, etc. as you already know all about. Ratings in a place where one's presence is not wanted mean little to me at this point. Experiments fail sometimes, but work should always continue nonetheless.

After all, I can't simply idle about on the beach every day. There's a goddamned war going on.

Tags: News, Bitcoin, UNIX

AUR latest victim of repository rape

July 10, 2018 — shinohai

More poisoned repositories are found, this time on the Arch User Repository. This, combined with the recent lulz on the gentoo shithub further confirm that only the trinque model can prevent repository rape.

Tags: News, UNIX, Webshit, Lulz

Site updates: RSS support, new package mirrors.

July 03, 2018 — shinohai

RSS support has been fixed, is now available at

The following tools and packages have been added to the /packages/ section of the library:



V99993K (mod6) I altered mine to display ascii graphs, nothing worth publishing. Update 07/05: Added the fix suggested by ave1 to turn off robots.txt in wget here

vtools (phf)

Tags: News, Uncategorized, UNIX