Compiling fceux on Debian 10 buster
@ rushi | Monday, Jan 1, 0001 | 1 minutes read | Update at Monday, Jan 1, 0001

I came across this wonderful video https://www.youtube.com/watch?v=qv6UVOQ0F44. It took me into searching for its code to implement that. And here are a few.

https://github.com/Mario-brows/Brows-Super-Mario
https://github.com/lopatin96/Lua-SNES-GenNeurNetwork

The main problem in them is they use BizHawk Emulator, which I was not successful in compiling for my debian OS, Its stable only for windows machines. Then I found its alternative fceux Which can handle lua scripts too!.

The following steps are what I used to compile it successfully.

Download the FCEUX src. from their website

sudo apt-get install libsdl1.2-dev scons libgtk-3-dev liblua5.1-0-dev libgd-dev
tar xzvf fceux-2.2.3.src.tar.gz
cd fceux-2.2.3

Open SConstruct

vim SConstruct

Make sure gtk3 is used

BoolVariable('GTK', 'Enable GTK2 GUI (SDL only)', 0),
BoolVariable('GTK3', 'Enable GTK3 GUI (SDL only)', 1),

To compile

scons

This will take around 5-10mins. Onc done Install it.

sudo scons install

Adding fceux in application drawer.

sudo cp fceux.desktop /usr/share/applications
sudo cp fceux.png /usr/share/pixmaps

After reboot you can see fceux in application drawer, or type fceux in terminal to run without rebooting. I will be uploading my experiences with that mario script soon once I configure :)

关于我

g1eny0ung 的 ❤️ 博客

记录一些 🌈 生活上,技术上的事

一名大四学生

马上(已经)毕业于 🏫 大连东软信息学院

职业是前端工程师

业余时间会做开源和 Apple App (OSX & iOS)

主要的技术栈是:

  • JavaScript & TypeScript
  • React.js
  • Electron
  • Rust

写着玩(写过):

  • Java & Clojure & CLJS
  • OCaml & Reason & ReScript
  • Dart & Swift

目前在 PingCAP 工作

– 2020 年 09 月 09 日更新

其他

如果你喜欢我的开源项目或者它们可以给你带来帮助,可以赏一杯咖啡 ☕ 给我。~

If you like my open source projects or they can help you. You can buy me a coffee ☕.~

PayPal

https://paypal.me/g1eny0ung

Patreon:

Become a Patron!

微信赞赏码

wechat

最好附加一下信息或者留言,方便我可以将捐助记录 📝 下来,十分感谢 🙏。

It is better to attach some information or leave a message so that I can record the donation 📝, thank you very much 🙏.