├── README.md └── flatpak ├── boost-configure ├── org.devofspine.SpineDemo.appdata.xml └── org.devofspine.SpineDemo.json /README.md: -------------------------------------------------------------------------------- 1 | **NOTE** This repository contains sources of a *Flatpak package* for spinedemo. Spinedemo is a demo version of spine which is a Wine-like PS4 emulator for Linux that is being developed in private. 2 | 3 | *See releases for binary downloads.* 4 | 5 | ``` 6 | spine - PS4 emulator for Linux 7 | spinedemo version 20190609 8 | 9 | ================================================================================ 10 | 11 | 1. Requirements 12 | 2. Installation 13 | 3. Running 14 | 4. Controls 15 | 5. Changes 16 | 17 | ================================================================================ 18 | 19 | 1. Requirements 20 | 21 | Linux installation with working OpenGL acceleration (3.3+). Preferably native 22 | for better performance but at least one VM is known to work. 23 | 24 | Supported: 25 | - native installation 26 | - VMware Fusion 27 | 28 | Unsupported: 29 | - VirtualBox 30 | 31 | 2. Installation 32 | 33 | Default version is packaged using Flatpak (https://flatpak.org). 34 | 35 | > flatpak --user install flatpak/spinedemo.flatpak 36 | 37 | Alternative version was built on Fedora 29 and statically linked. It requires 38 | only OpenGL and SDL2. It is provided in the static directory. 39 | 40 | This was done because version built with flatpak runtime doesn't seem to work 41 | with Nvidia drivers. 42 | 43 | Supported games (md5 of executable, other dumps may also work): 44 | - Mega Man Legacy Collection 45 | - 6911087c37fde29034c1d9ef2950684a eboot.bin (ELF) 46 | - 38c82774d44373cf24f84401eec97623 eboot.bin (SELF) 47 | - We Are Doomed 48 | - 01fc7a91797a2debda8d0f14b4b0fa55 eboot.bin (ELF) 49 | - 6cf309f131434bcff7d8737664b45c8e eboot.bin (SELF) 50 | 51 | Releases are currently tested on: 52 | - desktop computer with Nvidia GTX970, Fedora 29 53 | binary version works, flatpak doesn't 54 | - laptop running Fedora 29 under VMware Fusion 55 | both versions work 56 | 57 | 3. Running 58 | 59 | Dump the game on your PS4 and copy the resulting files to your PC. 60 | 61 | To run flatpak version: 62 | 63 | flatpak run --filesystem={dump directory}:ro org.devofspine.SpineDemo {path to eboot.bin} 64 | 65 | To run binary version: 66 | 67 | > spinedemo {path to eboot.bin} 68 | 69 | 4. Controls 70 | 71 | ESC - exit 72 | 73 | arrow up - dpad up 74 | arrow down - dpad down 75 | arrow left - dpad left 76 | arrow right - dpad right 77 | 78 | w - triangle 79 | s - cross 80 | a - square 81 | d - circle 82 | 83 | i - leftstick up 84 | k - leftstick down 85 | j - leftstick left 86 | l - leftstick right 87 | 88 | keypad 5 or t - rightstick up 89 | keypad 2 or g - rightstick down 90 | keypad 1 or f - rightstick left 91 | keypad 3 or h - rightstick right 92 | 93 | 1 - L1 94 | 2 - R1 95 | 3 - L2 96 | 4 - R2 97 | 5 - L3 98 | 6 - R3 99 | 100 | 9 - touchpad press 101 | 0 - options 102 | 103 | 5. Changes 104 | 105 | 20190609 106 | One more down, 9998 to go. Additional rightstick keys for laptop keyboards. 107 | 20190607 108 | Statically linked binary with no dependencies except GL and SDL2 109 | 20190605 110 | Initial release 111 | ``` 112 | -------------------------------------------------------------------------------- /flatpak/boost-configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./bootstrap.sh "$@" 4 | 5 | cat < "Makefile" 6 | LIB_TARGETS = --with-fiber --with-filesystem 7 | all: 8 | ./b2 \$(LIB_TARGETS) 9 | install: 10 | ./b2 install \$(LIB_TARGETS) 11 | EOF 12 | -------------------------------------------------------------------------------- /flatpak/org.devofspine.SpineDemo.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.devofspine.SpineDemo 4 | spinedemo 5 | PS4 emulator for Linux 6 | CC0-1.0 7 | 8 | spinedemo 9 | 10 | 11 | 12 | 13 | 14 | devofspine 15 | 16 | -------------------------------------------------------------------------------- /flatpak/org.devofspine.SpineDemo.json: -------------------------------------------------------------------------------- 1 | { 2 | "app-id": "org.devofspine.SpineDemo", 3 | "runtime": "org.freedesktop.Platform", 4 | "runtime-version": "18.08", 5 | "sdk": "org.freedesktop.Sdk", 6 | "command": "spinedemo", 7 | "finish-args": [ 8 | "--share=ipc", 9 | "--socket=x11", 10 | "--device=dri" 11 | ], 12 | "build-options": { 13 | "strip": true 14 | }, 15 | "modules": [ 16 | { 17 | "name": "boost", 18 | "buildsystem": "autotools", 19 | "sources": [ 20 | { 21 | "type": "archive", 22 | "path": "boost_1_66_0.tar.bz2" 23 | }, 24 | { 25 | "type": "file", 26 | "path": "boost-configure", 27 | "dest-filename": "configure" 28 | } 29 | ] 30 | }, 31 | { 32 | "name": "fmt", 33 | "buildsystem": "cmake", 34 | "config-opts": ["-DFMT_TEST=OFF"], 35 | "sources": [ 36 | { 37 | "type": "archive", 38 | "path": "fmt-5.2.1.zip" 39 | } 40 | ] 41 | }, 42 | { 43 | "name": "glew", 44 | "buildsystem": "cmake", 45 | "subdir": "build/cmake", 46 | "config-opts": ["-DBUILD_UTILS=OFF"], 47 | "sources": [ 48 | { 49 | "type": "archive", 50 | "path": "glew-2.1.0.tgz" 51 | } 52 | ], 53 | "post-install": [ 54 | "sed -i '/Requires:/d' /app/lib/pkgconfig/glew.pc" 55 | ] 56 | }, 57 | { 58 | "name": "tclap", 59 | "buildsystem": "autotools", 60 | "sources": [ 61 | { 62 | "type": "archive", 63 | "path": "tclap-1.2.2.tar.gz" 64 | } 65 | ] 66 | }, 67 | { 68 | "name": "spinedemo", 69 | "buildsystem": "meson", 70 | "config-opts": ["-Ddemo=true", "--buildtype=release"], 71 | "sources": [ 72 | { 73 | "type": "file", 74 | "path": "../meson.build" 75 | }, 76 | { 77 | "type": "file", 78 | "path": "../meson_options.txt" 79 | }, 80 | { 81 | "type": "dir", 82 | "path": "../external", 83 | "dest": "external" 84 | }, 85 | { 86 | "type": "dir", 87 | "path": "../src", 88 | "dest": "src" 89 | }, 90 | { 91 | "type": "file", 92 | "path": "org.devofspine.SpineDemo.appdata.xml" 93 | } 94 | ], 95 | "post-install": [ 96 | "install -Dm755 /run/build/spinedemo/_flatpak_build/spine /app/bin/spinedemo", 97 | "install -Dm644 /run/build/spinedemo/org.devofspine.SpineDemo.appdata.xml /app/share/appdata/org.devofspine.SpineDemo.appdata.xml", 98 | "rm -r /app/include", 99 | "rm -r /app/lib/cmake", 100 | "rm -r /app/lib/pkgconfig", 101 | "rm -r /app/lib/*.a", 102 | "rm -r /app/share/doc" 103 | ] 104 | } 105 | ] 106 | } 107 | --------------------------------------------------------------------------------