Skip to content

DOOM port for Lego mindstorms EV3 main processing brick

License

Notifications You must be signed in to change notification settings

Seva167/ev3doom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EV3DOOM

photo screenshot

Doomgeneric based port to Mindstorms EV3 bricks running EV3DEV

Running

  1. Download latest release
  2. Copy your doom .wad file to the brick
  3. Copy executable file to the brick
  4. Stop brickman $ sudo systemctl stop brickman
  5. Run it on the brick via SSH! $ ./ev3doom

Controls

Button Action
Up Move forwards/Use
Down Move backwards
Left Turn left
Right Turn right
Central button Enter
Side button Escape

Performance

It actually runs pretty good!

Overclocking

You can overclock the brick

  1. Edit /boot/flash/uEnv.txt
  2. Uncomment this line and increase frequency cpufreq=456
  3. Reboot

Building

Install cross compiler (because compiling on the brick is painfully slow)

$ sudo apt install arm-linux-gnueabi-gcc

Build

$ make

What about sound??

Sound works with SDL library but degrades performance (especially music)

Building with sound support

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