Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does *ALL section "exactly" works? #89

Open
pmsobrado opened this issue Aug 1, 2023 · 9 comments
Open

How does *ALL section "exactly" works? #89

pmsobrado opened this issue Aug 1, 2023 · 9 comments

Comments

@pmsobrado
Copy link

pmsobrado commented Aug 1, 2023

I feel like I'm missing something here. I have a plugin on the *ALL section that causes a crash on startup (Vita freezes on the warning text and the shuts down). But if I use it on a specific titleid, it works OK and there's no crash.

The plugin's wiki states that it can be used on the *ALL section, so maybe I have some incompatibility, or maybe the plugin was updated and now is not suitable for the *ALL section, and the author forgot to remove the *ALL usage from the readme. I really don't know and haven't found anything related or anyone with the same problem (I assume few people use the plugin and they may use it by a per titleid basis).

The plugin is DS34Motion, by the way: https://github.com/MERLev/DS34Motion.

In any case, I wanted to try and see if I could find the conflict and solve it myself. From what I understand, *ALL section enables a plugin for all titleids on the Vita (games, homebrew and system apps). So I grabbed my app.db, copied all titleids, and added this to config.txt:

*!TITLEID01
*!TITLEID02
*!TITLEID03
*!TITLEID04
...
(and so on)

*ALL
ur0:/tai/myplugin.suprx

The Vita kept crashing after this so I wonder, if I've negated all titleids on my console, and the *ALL section only enable plugins on all titleids on my console, why is the crash still there? What else is the *ALL section doing behind the curtains?

I hope I have explained myself.

Thanks in advance!

@isage
Copy link

isage commented Aug 1, 2023

https://github.com/DaveeFTW/taihen-parser

*ALL also includes *main (aka shell)

@pmsobrado
Copy link
Author

@isage And is there a way to prevent a plugin in the *ALL section loading into main (Shell)?

@isage
Copy link

isage commented Aug 1, 2023

*!main

@pmsobrado
Copy link
Author

pmsobrado commented Aug 1, 2023

*!main

@isage You what you mean is something like this:

*!main

*main
plugin1
plugin2
plugin3

*ALL
plugin1
plugin2
plugin3
plugin4

Plugins 1, 2 and 3 will load to main and ALL, but plugin 4 would only to ALL, being available (only) to all titleids?

@isage
Copy link

isage commented Aug 1, 2023


*main
plugin1
plugin2
plugin3

*!main
*ALL
plugin1
plugin2
plugin3
plugin4

@pmsobrado
Copy link
Author

I'll try, thanks!!

@HEDGE1974
Copy link

HEDGE1974 commented Aug 1, 2023 via email

@HEDGE1974
Copy link

HEDGE1974 commented Aug 1, 2023 via email

@pmsobrado
Copy link
Author

@HEDGE1974 I tried only with that plugin in *ALL section, but it crash. Seems like it's not a conflict with other plugin, but an incompatibility with something which *ALL section loads.

@isage I tried this:

*main
plugin_for_both_main_and_all

*!main

*ALL
plugin_for_both_main_and_all
plugin_only_for_all

This time, my Vita reaches to the shell, but it freezes after a few seconds. Commenting plugin_only_for_all solves it. So I guess the plugin is still being loaded somewhere and that causes the crash. Any other ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants