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 to read the "executable " and "args" just after select the game? #264

Closed
amuser opened this issue Sep 3, 2016 · 2 comments
Closed

Comments

@amuser
Copy link

amuser commented Sep 3, 2016

I want to change the command line emulator on-the-fly (already done with scripts) but after change the emulator/emulator-name.cfg with a new "executable" and "args" lines, the AM still want to open the game using the old emulator and args, so i need to stop to buffer the content of "executable" and "args" lines and search for them just after select the game.

I know its possible to edit the emulator in the config options and there the changes are done on-the-fly, but this method is a pain, this take a lot of time to write the text in the controller, i just want to select the emulator in a list, the problem is: if i change the emulator/emulator-name.cfg with a script the AM still open the old "executable" and "args"...

@amuser amuser changed the title How to read the "executable " and "args" just before select the game? How to read the "executable " and "args" just after select the game? Sep 4, 2016
@Enverex
Copy link
Contributor

Enverex commented Sep 5, 2016

This is all loaded and stored on startup which is likely why it's ignoring your changes.

What about using a wrapper script instead and modifying the wrapper on-the-fly instead?

@amuser
Copy link
Author

amuser commented Sep 6, 2016

Yes, sorry, i forgot about wrapping a file. Its working now, thank you.

@amuser amuser closed this as completed Sep 6, 2016
mickelson added a commit that referenced this issue Sep 8, 2016
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

2 participants