I am trying to run the FCEUX emulator on AWS without graphical rendering so that my machine learning algorithm can train faster. So far I have tried running FCEUX from command line with the following commands:
fceux --nogui 1 /home/me/gym/gym/envs/ppaquette_gym_super_mario/roms/super-mario.nes
fceux /home/me/gym/gym/envs/ppaquette_gym_super_mario/roms/super-mario.nes --nogui 1
The first line compiles and runs the rom, but the emulator's GUI still shows.
The second line gives the error
Starting FCEUX 2.2.2...
Error opening "1"!
Currently I am using Ubuntu 16.04, Python 2.7, and FCEUX 2.2.2. Any help is appreciated.