Repository navigation
launch arguments
Launchstation can pass your own command-line arguments to an ELF. They come from a sidecar .arg file, from a text file you load in the browser, from application metadata, or from a Text Editor buffer. Arguments apply to ordinary .ELF, .KELF and .XLF launches.
| Source | How | Persistence |
|---|---|---|
Sidecar .arg file |
Same folder and base name as the ELF (BOOT.ELF + BOOT.arg). Picked up automatically on an ordinary launch. |
Permanent, on the device. |
| Browser: Use as launch arguments | Triangle on a text file in the File Browser, then choose the ELF. | Held in memory for the next ELF only. |
| Application options: Start with arguments... | Opens (or creates) the app's sidecar .arg in the Text Editor; choose Launch with these arguments.... Saving keeps the file beside the application. |
The file is permanent if you save it. |
| Text Editor buffer | Launch with these arguments... from the editor menu, then pick the ELF. | Held in memory; unsaved edits are used. |
Metadata arg = ... lines |
In the application's .cfg (see Applications). Used for Home/Applications launches only when no sidecar .arg exists. |
Permanent. |
- Highlight a Text Editor-supported file that contains your arguments (for example
.argor.txt). - Press Triangle and choose Use as launch arguments (shown with “then choose the application”).
- Launchstation parses the lines and caches them in memory. A note N launch arguments loaded: choose the application appears above the list.
- Select the target ELF. The cached arguments follow the normal handoff path.
Use Triangle > Clear launch arguments to drop them. They are also dropped when you leave the browser, when you start anything that is not an ELF/KELF/XLF, and after any failed launch.
For one-off use on a single ELF, Start with arguments... in the same menu opens that ELF's sidecar .arg in the editor for you.
The Text Editor offers the same action for the current in-memory buffer. After Launch with these arguments... succeeds the editor closes and the dashboard asks Start which application with these arguments? with a file picker. The editor validates first and shows Arguments not usable if the buffer is empty or exceeds a limit. It is convenient for testing flags without repeatedly writing the file.
For an ordinary ELF launch, Launchstation checks for a same-directory sidecar whose base name matches the ELF (the extension is replaced by .arg):
APPS/
├── BOOT.ELF
└── BOOT.argIf arguments were already loaded manually (browser or editor), the sidecar is ignored for that launch. For memory card paths such as mc:/... the sidecar is looked up on the card the ELF was actually found on.
- Arguments already loaded in memory (browser, Text Editor, Start with arguments...).
- The sidecar
.argfile beside the ELF. - Metadata
arglines, only when no sidecar exists.
| Rule | Current limit |
|---|---|
| One non-empty line | One user argument |
| User arguments | 12 lines |
| Characters per argument | 255 |
| Total cached argument text | 2,048 bytes including terminators |
Line endings (CR, LF or CR/LF) are stripped and empty lines are skipped. Other characters on each line, including spaces, are preserved, so one line is one argument, not a shell command line. A NUL byte makes the file invalid. If a limit is exceeded, nothing is loaded and a message names the limit; a file with no usable lines reports that it is empty.
The target executable still receives the normal selected/handoff path as argv[0]; your lines follow it as argv[1] onward.
Image launches do not consume a stray argument cache: .VCD (POPStarter), .CUE/.BIN/.EXE (Ember), .ISO (Neutrino) and MISC commands clear it and build their own controlled argument set. Pending user arguments are not forwarded to them.
LAUNCHSTATION repository · Live documentation · Release downloads
Maintained from documentation sources. Do not edit generated pages directly; propose changes in the source repository.
RiptOPL · Launchstation · PS2-Servers · launcHER · Simple-Media-System · POPSLoader · PlayStation 2 Software Plaza
Translate this wiki (automatic, by Google): Español · Português (Brasil) · Português · Français · Deutsch · Italiano · Nederlands · Dansk · Svenska · Polski · Čeština · Hrvatski · Српски · Български · Русский · Ελληνικά · Magyar · Română · Galego · Shqip · Türkçe · العربية · فارسی · 日本語 · 한국어 · 简体中文 · 繁體中文 · Tiếng Việt · ລາວ · Bahasa Indonesia · Filipino · Cebuano
- Screenshots & Theme Gallery
- Dashboard
- File Browser
- Applications
- Text Editor
- Launch Arguments
- Controls