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
10.98k stars 2.14k forks source link

building PPSSPP.sln #18313

Open Mark0kleon opened 10 months ago

Mark0kleon commented 10 months ago

What should happen

i didn't found any build instruction to build tools for ppsspp controller icons.

Who would this benefit

android

Platform (if relevant)

Android

Games this would be useful in

..

Other emulators or software with a similar feature

No response

Checklist

LunaMoo commented 10 months ago

You have to build the tools first(I think they're built with the rest of the project nowadays, but probably not for android), then you can run the buildatlas.sh.

Instead of creating yet another PPSSPP playstore clone(if that's your goal), you could instead work on a feature to load whatever icons you want from for example external png's/dds's/ktx2's etc. or at least separating virtual controller icons from UI and allow easier loading separate zim's.

Mark0kleon commented 10 months ago

can you provide instructions on how to build the tools? and NO, i'm not trying to make any clone of PPSSPP.

LunaMoo commented 10 months ago

As far as I understand you can't even build android version using only android and if you can use windows that should be built together with the rest of the project.

Mark0kleon commented 10 months ago

i'm using visual studio, and tried to build tool by running command

LunaMoo commented 10 months ago

If you're using visual studio, just open main ppsspp project and build that. Tools will be build as part of it.

iota97 commented 10 months ago

FWIW once you have build the atlas with different icon you could create an UI theme (as in assets/themes) pointing to the different atlas.

Mark0kleon commented 10 months ago

getting this error in VS 20222: Severity Code Description Project File Line Suppression State Error 1>LINK : fatal error LNK1181: 1>Done building project "ppsspp.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Build started at 19:26 and took 04.962 seconds ==========

LunaMoo commented 10 months ago

Start with https://github.com/hrydgard/ppsspp/wiki/Build-instructions#download-the-source-code as you probably didn't pull the source code with all submodules correctly with git and again, don't try to build atlas tool by itself, build the whole PPSSPP project, atlas tool will be part of that.

hidte9 commented 10 months ago

Also for me, when I build PPSSPP.sln from windows in VS 2022, then getting only PPSSPPDebug64.exe related errors.

LunaMoo commented 10 months ago

Probably missing dependencies. You need to download VS2022 with required stuff to build windows x64 apps(toolset, SDK's).

Really there's nothing hard about it nowadays, just follow official wiki how to download PPSSPP code with git, then follow windows build instructions. It's even easier than the step by step guide makes it and also we no longer support win XP, so it's not even required to download any xp compatibility stuff.

Edit: If you missed it during initial install, in VS2022 open Tools->Get tools and features... There just select something alike "programming classic apps in C++" (can't tell exactly how it's called since it's localized for me).

Edit2: Just for the record, my post is an answer to deleted post showing screenshot of PPSSPP project loaded into VS2022 with ARM build selected and Atlas and Zim tool projects showing errors and not being able to load.

iota97 commented 10 months ago

Using the PPSSPP.sln and Visual Studio 2022 Debug build fails to build atlas tools. Switching to release version works.

Here to compiled binary in you can't get it to work: tools.zip

Mark0kleon commented 10 months ago

I appreciate your replies, but i had made those tools already, though working on a way to separate conroller icons from main ui, I request to deleted or anonymize this issue completely, so that no one could make any kindda play store clone of it.

Using the PPSSPP.sln and Visual Studio 2022 Debug build fails to build atlas tools. Switching to release version works.

Here to compiled binary in you can't get it to work: tools.zip