Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

I know how to run an .exe or batch on emulator/game startup. Is there a way to load a lua script?  E.g., Snes9x File menu -> Lua scripting -> New Lua script window -> Select specific lua script file.

Edited by drw4013
  • drw4013 changed the title to Load a lua script on startup via SNES9x?
Posted
6 minutes ago, drw4013 said:

I know how to run an .exe or batch on emulator/game startup. Is there a way to load a lua script?  E.g., Snes9x File menu -> Lua scripting -> New Lua script window -> Select specific lua script file.

There doesn't appear to a command line parameter to load a lua script.

Supposedly there's a "rerecording" version of Snes9x in which does have a command-line parameter to load a lua script.

Posted
11 minutes ago, JoeViking245 said:

There doesn't appear to a command line parameter to load a lua script.

Supposedly there's a "rerecording" version of Snes9x in which does have a command-line parameter to load a lua script.

I didn't realize, but that's what I'm using.  Snes9x-rr. Not sure how to do it via command line though, so I can set it up to auto-load with launchbox.

Posted
4 minutes ago, drw4013 said:

I didn't realize, but that's what I'm using.  Snes9x-rr. Not sure how to do it via command line though, so I can set it up to auto-load with launchbox.

A quick search shows there's several different builds of Snex9x-rr.  I suggest go to the one you downloaded it from and look for a list of command line parameters to load a lua script.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...