i5 ubuntu22(安装系统时候选择 自动上网下载第三方驱动软件,主要是显卡驱动opengl)
sudo apt install libsdl2-dev
sudo apt install libssl-dev
sudo apt install qt6-base-dev qt6-base-private-dev qt6-multimedia-dev
sudo apt install qt6-l10n-tools qt6-tools-dev qt6-tools-dev-tools
sudo apt install libgl-dev
sudo apt install libasound-dev
sudo apt install xorg-dev libx11-dev libxext-dev
sudo apt install jackd
sudo apt install libpipewire-0.3-dev
sudo apt install ffmpeg libswscale-dev libavformat-dev libavcodec-dev libavdevice-dev
sudo apt install libsndio-dev
(需要编译安装https://download.gnome.org/sources/esound)
wget https://download.gnome.org/sources/esound/0.2/esound-0.2.41.tar.gz
tar -zvxf esound-0.2.41.tar.gz
sudo apt install build-essential
sudo apt install cmake
sudo apt install aptitude
sudo aptitude install libsdl2-dev libssl-dev
sudo apt install qt6-base-dev qt6-base-private-dev qt6-multimedia-dev libasound-dev xorg-dev libx11-dev libxext-dev jackd libpipewire-0.3-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libavdevice-dev libsndio-dev build-essential cmake
sudo apt install git
git clone --recursive https://github.com/citra-emu/citra
cd citra
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j8
cd bin/Release
# SDL
cd build/bin/
./citra
# Qt
cd build/bin/
./citra-qt
# Dedicated room
cd build/bin/
./citra-room
先删除现有的VMware
cd vmware-tools-distrib/bin(就是到你那个安装文件的根目录)
然后运行
sudo ./vmware-uninstall-tools.pl(运行vmware-uninstall-tools.pl这个文件来删除现有的VMware)
最后打开终端,输入
sudo apt-get install open-vm-tools open-vm-tools-desktop
sudo apt install aptitude
sudo aptitude install libsdl2-dev libssl-dev
cd citra
git submodule update --init --recursive
git submodule update --recursive
mkdir tmp && cd tmp
wget https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-linux-Release.zip
unzip glslang-master-linux-Release.zip
sudo mv bin/* /usr/local/bin/
sudo mv lib/* /usr/local/lib/
sudo mv include/* /usr/local/include/
wget https://downloads.sourceforge.net/opencore-amr/fdk-aac-2.0.1.tar.gz
tar -zxvf fdk-aac-2.0.1.tar.gz
cd fdk-aac-2.0.1/
autoreconf -fiv
sudo ./configure --prefix=/usr --disable-shared
sudo apt install autoreconf
sudo apt install aptitude
sudo aptitude install libtool
sudo ln -s /usr/bin/automake-1.16 /usr/bin/automake-1.15
编译
sudo make -j4
sudo make install
虚拟机显卡驱动支持不完善。需要从opengl切换到software。
tar -zcvf citra_git_src_20230715.tar.gz citra/
用SOFTWARE方式,基本不能玩,2 FPS.
OPENGL方式可以。