nomadBSD and godot game engine
NomadBSD and Godot
My friend was interested in a portable USB drive operating system to carry around his godot game engine.
I told him I had seen
NomadBSD,
FreeBSD tweaked for being an on-usb OS. I downloaded nomadBSD
wget http://nomadbsd.org/download/nomadbsd-1.2-RC2.efi.lzma yum install lzma lzma -d nomadbsd-1.2-RC2.efi.lzma dd bs=1M if=./nomadbsd-1.2-RC2.efi of=/dev/sdb conv=fsync
and dd'ed it onto a 16GB USB 3.
First attempt
I plugged it into the drive and restarted my laptop. Darkness.
My laptop screen had been replaced, and since then the default display is fallback to the VGA port. I plugged it into a monitor and got the start of an initial Nomad FreeBSD setup. Defaults failed to detect the fallback or VGA displays, and I was dumped into a recovery command line.
Restarts after that started up to FreeBSD with csh after nebulous warnings.
Second attempt
I dug up another laptop whose screen had not been replaced (yet) that fortunately also had one USB3 port. NomadBSD brought up an initial configuration GUI, the usual culprits
- root password
- Keyboard
- Time zone
Later restarts lead to a prompt to choose vesa or accelerated graphics, then an xfce4 desktop environment. Shut downs take a couple of seconds to write changes to the USB 3.
Godot
I clicked a promising looking terminal icon on a mac-style wheel at the bottom of the display, yielding Sakura.
pkg search godot
godot-3.0.6_1 Game runtime engine godot-tools-3.0.6_1 Game integrated development environment godot2-2.1.5_1 Game runtime engine godot2-tools-2.1.5_1 Game integrated development environment
pkg install godot-3.0.6_1
Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: gstreamer1-plugins-lame has a missing dependency: lame The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: godot: 3.0.6_1 Number of packages to be installed: 1 The process will require 26 MiB more space. 6 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching godot-3.0.6_1.txz: 100% 6 MiB 1.3MB/s 00:05 Checking integrity... done (0 conflicting) [1/1] Installing godot-3.0.6_1... [1/1] Extracting godot-3.0.6_1: 100%
pkg install godot-tools-3.0.6_1
Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: gstreamer1-plugins-lame has a missing dependency: lame The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: godot-tools: 3.0.6_1 Number of packages to be installed: 1 The process will require 241 MiB more space. 123 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching godot-tools-3.0.6_1.txz: 100% 123 MiB 3.2MB/s 00:40 Checking integrity... done (0 conflicting) [1/1] Installing godot-tools-3.0.6_1... [1/1] Extracting godot-tools-3.0.6_1: 100%
Appendix
Taking a screenshot in xfce4
pkg install xfce4-screenshooter-plugin-1.9.3
Pretty easy
- Download
- Install lzma
- Extract
- dd onto usb
- Boot from USB -> Initial configuration
- Boot from USB -> get xfce4
- Install godot game engine on as well