pkg2appimage icon indicating copy to clipboard operation
pkg2appimage copied to clipboard

Add PPSSPP recipe

Open Sunderland93 opened this issue 7 years ago • 8 comments

Add PPSSPP-SDL (Sony PSP) emulator recipe.

Sunderland93 avatar Dec 11 '16 09:12 Sunderland93

For a straightforward app like this it is advantageous to use a .yml file since it has significantly less lines of code that need to be maintained, and is simpler to write:

app: PPSSPP
union: true

ingredients:
  packages:
    - ppsspp-sdl
  dist: trusty
  sources: 
    - deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe multiverse
  ppas:
    - ppsspp/stable

script:
  - cp ./usr/share/applications/ppsspp-sdl.desktop ppsspp.desktop
  - sed -i -e 's| (SDL)||g' ppsspp.desktop
  - ls ../ppsspp-sdl_*.deb | cut -d "_" -f 2 | cut -d "~" -f 1 | sed -e 's|-|.|g' > ../VERSION
  - mv usr/games/* usr/bin/

You can run the yml file with the meta recipe that abstracts away all the code that is common to many recipes.

The emulator launches, however when running games I am getting messages like

59:28:960 user_main    W[FileSys]: FileSystems/MetaFileSystem.cpp:116 RealPath: inPath "screens/1481453968-8369126.png" is relative, but current directory "umd0:" is all prefix and no path. Using "/" as path for current directory.
59:28:960 user_main    W[FileSys]: FileSystems/MetaFileSystem.cpp:116 RealPath: inPath "screens/1481453968-8369126.png" is relative, but current directory "umd0:" is all prefix and no path. Using "/" as path for current directory.
59:28:961 user_main    E[FileSys]: FileSystems/DirectoryFileSystem.cpp:573 DirectoryFileSystem::OpenFile: FAILED, 2 - access = 26
59:28:961 user_main    E[IO]: HLE/sceIo.cpp:1387 ERROR_ERRNO_FILE_NOT_FOUND=sceIoOpen(screens/1481453968-8369126.png, 00000602, 000001ff) - file not found

Someone who knows how the emulator works would need to look into this. Probably it's searching for something at a wrong path.

probonopd avatar Dec 11 '16 11:12 probonopd

The emulator launches, however when running games I am getting messages like

What game and Linux distribution you're use? I run Silent Hill Origins on Debian 8 and it work's fine.

Sunderland93 avatar Dec 11 '16 11:12 Sunderland93

I tried the first two homebrew games from the menu on Ubuntu 16.04.

probonopd avatar Dec 11 '16 11:12 probonopd

You may need to put homebrew games in the memstick directory structure, as they would be on a real PSP. Otherwise they may get confused about their paths or try to access files that aren't mounted.

-[Unknown]

unknownbrackets avatar Dec 11 '16 16:12 unknownbrackets

what's current stauts, is it ready to be merged ?

roadt avatar May 31 '22 00:05 roadt

Well after the comments I posted on the PPSSPP repository, I have to ask, why this hasn't been merged?

JimScript avatar Sep 12 '22 02:09 JimScript