GPD Win2 ⇒ Debian 9.0

Build RetroArch


RetroArch這麼經典的模擬器,肯定是一定要安裝的,雖然在這麼高檔的機器上玩這麼懷舊的遊戲,感覺有點大材小用,心中還是相當不捨,不過,買遊戲機不就是要玩嗎?所以司徒還是安裝RetroArch模擬器,因為當寫程式比較勞累時,還是需要玩玩懷舊遊戲抒壓,也順便彌補兒時缺少的遺憾,編譯步驟如下說明:

$ cd ~/Downloads/
$ sudo apt-get install debhelper dh-exec libasound2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libc6-dev libdrm-dev libegl1-mesa-dev libfreetype6-dev libgbm-dev libjack-jackd2-dev libopenal-dev libpulse-dev libsdl2-dev libswscale-dev libudev-dev libusb-1.0-0-dev libv4l-dev libxinerama-dev libxml2-dev libxv-dev libxxf86vm-dev pkg-config python3-dev x11proto-xext-dev zlib1g-dev devscripts git nvidia-cg-toolkit fonts-droid
$ git clone https://github.com/libretro/RetroArch
$ cd RetroArch
$ ./fetch-submodules.sh
$ ./configure
$ make
$ mkdir -p ~/.config/retroarch/assets/
$ cp -a media/assets/* ~/.config/retroarch/assets/
$ ./retroarch

完成


如發現中文字型會有亂碼情形,如下所示:


執行如下命令:

$ cp /usr/share/fonts-droid/truetype/DroidSansFallback.ttf ~/.config/retroarch/assets/xmb/monochrome/font.ttf

完成


返回上一頁