[App Sharing] 在Deepin上编译PPSSPP玩合金弹头合集
Tofloor
poster avatar
suixinliulang777
deepin
2022-04-26 22:52
Author

编译方法

PPSSPP是一个PSP模拟器:官方网址。合金弹头资源可以去合金弹头吧里寻找。

官方也给出了如何利用源码编译指南:官方编译文档,下面的步骤是将里面的内容提取下:

  1. 首先使用git下载源码:git clone --recurse-submodules https://github.com/hrydgard/ppsspp.git

  2. 安装编译环境:

    1. 首先保证deepin里有python3,这个一般都是自带了。

      fan@deepin:~$ python3 -V
      Python 3.7.3
      
    2. 安装其他环境:

      sudo apt install build-essential cmake libgl1-mesa-dev libsdl2-dev libvulkan-dev
      
  3. 进入源码所在目录执行内部脚本 b.sh,等待执行完成大约10分钟左右。

    fan@deepin:~$ cd Downloads/ppsspp/
    fan@deepin:~/Downloads/ppsspp$ ./b.sh # 编译脚本
    
  4. 编译完成后, ppsspp/build目录中就是编译后的软件了

    fan@deepin:~/Downloads/ppsspp/build$ ll
    总用量 33764
    drwxr-xr-x  7 fan fan     4096 4月  25 19:10 assets
    -rw-r--r--  1 fan fan    40519 4月  25 19:10 CMakeCache.txt
    drwxr-xr-x 18 fan fan     4096 4月  25 19:13 CMakeFiles
    -rw-r--r--  1 fan fan     3592 4月  25 19:10 cmake_install.cmake
    -rw-r--r--  1 fan fan    59621 4月  25 19:10 compile_commands.json
    -rw-r--r--  1 fan fan      318 4月  25 19:10 CTestTestfile.cmake
    drwxr-xr-x 11 fan fan     4096 4月  25 19:10 ext
    -rw-r--r--  1 fan fan      195 4月  25 19:10 git-version.cpp
    drwxr-xr-x  3 fan fan     4096 4月  25 19:10 include
    drwxr-xr-x  2 fan fan     4096 4月  25 19:12 lib
    -rw-r--r--  1 fan fan   675176 4月  25 19:10 Makefile
    -rw-r--r--  1 fan fan      344 4月  25 19:10 miniupnpcstrings.h
    -rw-r--r--  1 fan fan      139 4月  25 19:10 ppsspp.desktop
    -rwxr-xr-x  1 fan fan 33751776 4月  25 19:13 PPSSPPSDL
    
  5. 当前目录里 ./PPSSPPDL就可以直接运行了,其实可以把整个 build直接复制出来,编译完成后源码就没啥用了删不删随便。

    截图_选择区域_20220426144326.png

    截图_PPSSPPSDL_20220426144548.png

  6. 合金弹头的资源可以去合金弹头贴吧寻找,寻找PSP版的镜像文件,下载后直接在PPSSPP中导入即可,我找了个1-6+X的合集,而且可以存储进度。

后续问题

这个软件运行起来后会将Deepin的时尚模式强制改为高效模式,但是退出后又会恢复为时尚模式。咱只是个小菜鸡,这个问题不知道咋处理。
如果想要设置一个快捷方式,去往上搜一搜如何创建 .desktop就可以了。

Reply Favorite View the author
All Replies
red13
deepin
2022-04-27 00:34
#1

分享一下合金弹头的资源呗

Reply View the author
suixinliulang777
deepin
2022-04-27 00:55
#2
red13

分享一下合金弹头的资源呗

合金弹头贴吧里置顶的贴子里面有PSP版的资源

Reply View the author
zccrs
deepin
2022-04-27 19:42
#3

“这个软件运行起来后 会将Deepin的时尚模式强制改为高效模式 ,但是退出后又会恢复为时尚模式。咱只是个小菜鸡,这个问题不知道咋处理。” 应该不是改成了高效模式吧,而是窗口特效被关闭了?如果是这样,那不算是个问题,很多游戏程序都会做这样的操作,为了提升窗口合成的性能。

Reply View the author
字甲达宾
deepin
2022-04-29 06:21
#4

使用 MAME 街机游戏模拟器,玩 合金弹头 系列游戏.

  1. 先安装 mame 模拟器. 特别提示: 不要安装应用商店里的那个 MAME !!! 直接安装源里的 就好! (可能版本会低一点,但已经够用了!)

    sudo apt-get install mame

2. 下载\安装几个 合金弹头 的 rom zip 包.也可以直接安装打好的 DEB 包.

mame-bios-neogeo_0.206.33-4_all.deb

https://url48.ctfile.com/f/30646948-476743827-99259c

(访问密码:6859)

说明:这个包里是 neogeo.zip BIOS文件.玩 kof97, 或者其它很多游戏,都需要这个 neogeo.zip 文件的支持.


https://url48.ctfile.com/d/30646948-41803075-5e3f63
(访问密码:6859)

....

mame-rom-neogeo-mslugx_0.206-2_all.deb
27.38 MB 2020-12-20

mame-rom-neogeo-mslug-mslug2_0.206-2_all.deb
29.38 MB 2020-12-20

mame-rom-neogeo-mslug5_0.206-2_all.deb
77.41 MB 2020-12-20

mame-rom-neogeo-mslug4_0.206-2_all.deb
60.45 MB 2020-12-20

mame-rom-neogeo-mslug3_0.206-2_all.deb
78.86 MB


3. 以普通用户,运行命令 

mame mslug

mame mslug2

mame mslug3

mame mslug4

mame mslug5

mame mslugx

Reply View the author