It wasnt the best using the dev machine to test the install, so i dusted off a Raspberry Pi 400 to install it on.
Here are my first draft notes. Its wordy, and slated to be rewritten to focus on a command line install, contains some duplication to test stuff like dreamchess running without any modifications on the install system, so people could use on a general debian/ubuntu system.
Ive updated the AnarchyChessNotes.txt in the repository.
Appendix A: Installation for Raspberry Pi 400 (Package install dreamchess, localbuild anarchychess exe from anarchychess-dreamydesktopprototype repository )- Last updated 31Jul2023
The aim of these steps is to get a repeatable steps for users to download the build and get it running on their computer.
RaspberryPi Imager v1.7.5 used, Raspberry Pi OS 32-bit Debian Bullseye Released 2023-05-03 used.
Assumed User has full access to system and created initial account which is used to do install. System updated to latest as part of initial install
-
Open a command prompt up, create a directory to build in and cd into it mkdir DreamChessBuild cd DreamchessBuild
-
Edit file to allow downloading of package sources sudo nano /etc/apt/sources.list
-
remove "#" from first column on third line and save with CTRL-O Note: line to read "deb-src"... instead of "#deb-src"...
-
exit nano with CTRL-X
-
run apt program so it knows about source URIs sudo apt update
-
download source using apt command (as regular user, not root so we dont need sudo) apt source dreamchess
-
install dreamchess onto system using OS package manager. sudo apt install dreamchess
-
test run dreamchess to confirm it runs on system natively dreamchess
-
Start a new Human vs human game on original install New Game Players -> Human vs Human Start Game
-
e4 e5 Ke2 Ke7 and Quit game Right click -> Quit Game. Quit to Title -> Ok
-
Change configuration for Theme and remove engine Click Configuration. Change theme to "Figureine" Delete all text in Engine textbox Click Ok
11.Start a new game with figureine piece set Board loads using 2D pieces.
-
e4 e5 Ke2 Ke7 and Quit game Right click -> Quit Game. Quit to Title -> Ok
-
Quit Dreamchess Window closes and back to command prompt
-
Get code from AnarchyChess-DreamyDesktopPrototype repository NOTE: This will eventually be changed to deal with packages and zips,
Open up chromium web browser and go to https://github.com/PossibleEmuWrangler/AnarchyChess-DreamyDesktopPrototype
The page should have a Green icon with "Code" and a down arrow.
Click on the down arrow and click on "Download ZIP"
AnarchyChess-DreamyDesktopPrototype-main.zip should now be in your Downloads file
-
Move code to folder to build from Move ZIP file to DreamChessBuild directory created earlier (either by command line or file explorer)
-
Unzip ZIP file from the command line, "unzip AnarchyChess-DreamyDesktopPrototype-main.zip" or "unzip An" for command line to complete the filename via TAB shortcut
17 Using the file explorer copy all files and subdirectories in AnarchyChess folder into dreamchess-0.3.0 folder, overwriting any existing files.
18 Change command prompt to dreamchess-0.3.0 subdirectory. cd dreamchess-0.3.0
- Build (without required dependencies installed) dpkg-buildpackage -b -uc -us
A print out of unmet dependencies is shown
19 Download dependencies required to build sudo apt install bison cmake debhelper-compat flex libglew-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev
- Build (without required dependencies installed) dpkg-buildpackage -b -uc -us
21 Install app, data and dbgsym via package manager sudo dpkg -i ../dreamchess_0.3.0-1_armhf.deb sudo dpkg -i ../dreamchess-data_0.3.0-1_all.deb sudo dpkg -i ../dreamchess-dbgsym_0.3.0-1_armhf.deb
22 Run Dreamchess dreamchess
(AnarchChess 0.3.0 Development) is printed on command line and GUI shows red spraypaint.
23 Update configuration Configuration -> Engine = ""
-
Start New game of Human vs Human Board is shown with 2d characters
-
Begin playtest game
O is Knooks character in Algebraic notation
- e4 d5
- exd5 c5
- dxc6 f6
- cxb7 f5
- bxa8=O f4
- Ob6 (Note: O is shown as boxy square, known bug)