2024年1月11日 星期四

RetroPie on Ubuntu 22.04

之前玩過一下 : https://vk1968.blogspot.com/2021/06/retropie-on-ubuntu-2004.html

裝了 Ubuntu 22.04 之後還沒試過, 用原來在 Ubuntu 20.04 安裝好的 folder 直接 run 
/retropie/supplementary/emulationstation/emulationstation.sh 
不行

乖乖去 RetroPie 官網照著作一遍 (download/compile/install .....很久) -> 還是不行

都是 "We can't find any systems...."

google 了幾個答案都不對, 最後是這個中了  https://raspberrypi.stackexchange.com/questions/45275/emulation-station-set-up

就是說它的 config path 其實是在 ~/.emulationstation, 並不在 /opt/retropie ... 之下
它會去看 ~/.emulationstation/es_systems.cfg , 裏面會寫 ROM 在哪裏, run ubuntu20.04 copy 當然沒有這個 folder, 而官網 install 之後的 cfg 也是空的, 但它在 /etc/emulationstation 裏有一份完整的, 改一下 path 即可 (它寫在 ~/RetroPie/roms)