Coder Social home page Coder Social logo

Comments (10)

zach-morris avatar zach-morris commented on June 6, 2024

PPSSPP with retroarch, or a separate emulator?

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris separate emulator

from plugin.program.iagl.

IAmAGitHubb avatar IAmAGitHubb commented on June 6, 2024

Same issue

from plugin.program.iagl.

zach-morris avatar zach-morris commented on June 6, 2024

Trying to figure it out, but I'm having the same trouble.
The format is:

StartAndroidActivity("{application}", "{intent}", "{dataType}", "{dataURI}", "{flags}", "{extras_json}", "{action}", "{category}", "{className}")'

In the current external command, that equates to:

"org.ppsspp.ppsspp","android.intent.action.VIEW","","","270532608","[{"key":"org.ppsspp.ppsspp.Shortcuts","value":"file://%ROM_PATH%","type": "string"}]","","",".PpssppActivity"

These commands in the past have been helpful to try and figure out what the command needs to be.

Perhaps @chrisism has some ideas or has run into this with AKL?

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris whats the reason the old command can't be used? That was working on my system until I did a reinstall.

from plugin.program.iagl.

zach-morris avatar zach-morris commented on June 6, 2024

The old method of launching using subprocess is prevented in newer Android OS's by the OS itself. The new method of launching uses an internal Kodi function (StartAndroidActivity) which is given permission to launch other apps.

If you have an old Android OS, you can change the advance setting in IAGL to use the old method by turning off 'Use StartAndroidActivity'. The new method and old method should work on old OS's though. The new method would work with these apps, if i could figure out what the command format needed is, but thus far, i can't figure it out

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris does this help?

hrydgard/ppsspp#17416

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris is there something I can help with?

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris I can confirm both of the following commands work on my system

am start -n org.ppsspp.ppsspp -a .PpssppActivity  -a android.intent.action.VIEW -e org.ppsspp.ppsspp.Shortcuts $FILE
am start -n org.ppsspp.ppsspp/.PpssppActivity -a android.intent.action.VIEW -c android.intent.category.DEFAULT -d $FILE -t application/octet-stream --activity-clear-task  --activity-clear-top  --activity-no-history

But I can't work out how to modify to the PSP_ZachMorris.xml to work.

I get the following in the log

2023-06-12 22:31:28.690 T:17431    info <general>: IAGL:  Lets Play!
2023-06-12 22:31:30.901 T:17431    info <general>: IAGL:  Post processing complete for ...
2023-06-12 22:31:31.250 T:17431   error <general>: IAGL:  Launcher None is unknown, defauling to RETROPLAYER
2023-06-12 22:31:31.294 T:5591    error <general>: StartActivity: ExceptionOccurred launching org.ppsspp.ppsspp

The xml looks like

		<emu_launcher>external</emu_launcher>
		<emu_default_addon>none</emu_default_addon>
		<emu_ext_launch_cmd>"org.ppsspp.ppsspp","android.intent.action.VIEW","","","270532608","[{"key":"org.ppsspp.ppsspp.Shortcuts","value":"file://%ROM_PATH%","type": "string"}]","","",".PpssppActivity"</emu_ext_launch_cmd>

so I can't work out why the command is not getting recognised as external.

from plugin.program.iagl.

djay avatar djay commented on June 6, 2024

@zach-morris the main problem seems to be with ".PpssppActivity". it needs to be the full version ie "org.ppsspp.ppsspp.PpssppActivity"
I can't see where to make the change so I can submit a PR

from plugin.program.iagl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.