hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.17k stars 2.17k forks source link

Have not Vulkan backend in Settings, when building from source #15385

Open xdccrlz opened 2 years ago

xdccrlz commented 2 years ago

Platform

iOS

Compiler and build tool versions

Clang 13.0.0 + CMake 3.22.2

Operating system version

macOS 12.2

Build commands used

cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/Toolchains/ios.cmake -DIOS_PLATFORM=OS -H. -Bbuild.ios -GXcode

What happens

Have not Vulkan backend in Settings, when building from source, only OpenGL

PPSSPP version affected

v.1.12.3-889

Last working version

v.1.12.3-849 (installing by Altstore)

Checklist

xdccrlz commented 2 years ago

By default, using ./b.sh --ios (or --ios-xcode) vulkan framework do not added to ppsspp project. But after building project we can add framework (with libmoltenvk.dylib) into ppsspp.app, make ipa and sideload it to iPhone.

artuvntu commented 2 years ago

Hello, could you explain a little bit how to add that framework?, please.

xdccrlz commented 2 years ago

Don’t know how to add it while building, but can explain how to add it after building. First of all build project using script ./b.sh --ios next buid using alternate method cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/Toolchains/ios.cmake -DIOS_PLATFORM=OS -H. -Bbuild.ios -GXcode cd build.ios open PPSSPP.xcodeproj After that steps we have a two directories: build-ios and build.ios. In the first have a ppsspp.app with only framework inside but without ipa, second – working app, but without framework. Ok, now we must mix a snake with a hedgehog and get a meter of barbed wire) Unzip ipa, copy in the ppsspp.app framework from first ppsspp.app, put app into Payload dir, zip it, rename it, sign and install, or use sideloadly, to your taste. That’s all: we have vulkan ability!

21 марта 2022 г., в 20:50, Arturo Ventura @.***> написал(а):

 Hello, could you explain a little bit how to add that framework?, please.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.