Doomgeneric based port to Mindstorms EV3 bricks running EV3DEV
- Download latest release
- Copy your doom .wad file to the brick
- Copy executable file to the brick
- Stop brickman
$ sudo systemctl stop brickman - Run it on the brick via SSH!
$ ./ev3doom
| Button | Action |
|---|---|
| Up | Move forwards/Use |
| Down | Move backwards |
| Left | Turn left |
| Right | Turn right |
| Central button | Enter |
| Side button | Escape |
It actually runs pretty good!
You can overclock the brick
- Edit /boot/flash/uEnv.txt
- Uncomment this line and increase frequency
cpufreq=456 - Reboot
Install cross compiler (because compiling on the brick is painfully slow)
$ sudo apt install arm-linux-gnueabi-gcc
Build
$ make
Sound works with SDL library but degrades performance (especially music)
I haven't tried to cross-compile it with SDL library so this readme is for compiling on the brick
Install GCC
$ sudo apt install gcc
Install SDL2
$ sudo apt install libsdl2-dev
$ sudo apt install libsdl2-mixer-dev
Build with sound support
$ make -f Makefile.snd
Music or sfx can be disabled
$ ./ev3doom -nomusic -nosfx

