Jump to content

Customizing: Difference between revisions

85 bytes removed ,  27 January 2013
m
(→‎CD check: removing warez link, there's really no need for it since standard English Oni doesn't seem to have the CD check)
Line 40: Line 40:


===Command-line arguments===
===Command-line arguments===
You can run Oni from your system's command prompt rather than clicking on the automatically generated shortcut.
You can run Oni from your system's command prompt rather than clicking on the automatically generated shortcut. This enables you to use a number of options that are otherwise unavailable. Only the ones in bold seem to be useful.
This enables you to use a number of options that are otherwise unavailable.


''(In Oni for Mac OS 9, users could access these options ''via'' a special dialog that popped up if you pressed SHIFT during Oni's startup, but the OS X build does not seem to have this feature.)''
''(Historical note: In Oni for Mac OS 9, users could access these options ''via'' a special dialog that popped up if you pressed SHIFT during Oni's startup, but the OS X apps lack this feature.)''


Only the ones in bold seem to have an effect so far
*-combos : unused
*-combos : unused
*-debug
*-debug
Line 69: Line 67:


The output generated by '''-debugfiles''' sometimes helps when debugging scripts (though not very often, not to say never).
The output generated by '''-debugfiles''' sometimes helps when debugging scripts (though not very often, not to say never).
====noswitch====
====noswitch====
'''-noswitch''' is probably the most useful of the command-line arguments. If run in a low resolution like 640x480, Oni will take only a little portion of your screen, leaving the taskbar accessible, as well as other applications you may be running alongside Oni (useful for scripting, hex hacking, etc).
'''-noswitch''' is probably the most useful of the command-line arguments. If run in a low resolution like 640x480, Oni will take only a little portion of your screen, leaving the taskbar accessible, as well as other applications you may be running alongside Oni (useful for scripting, hex hacking, etc).


The parameter is easy to pass to the Windows executable from the command line (see script above); with the OS X port (a Cocoa application), you have to pass the parameters to the actual binary, which is confusing for some users. Use the Terminal to navigate to the Oni folder, so you are at the same level as the game application, then type "Oni.app/Contents/MacOS/Oni -noswitch".
The parameter is easy to pass to the Windows executable from the command line (see script above); with the Mac OS X app, you have to pass the parameters to the actual binary, which confuses some users. In the Terminal, instead of "Oni.exe -noswitch", you would type "Oni.app/Contents/MacOS/Oni -noswitch".
 
[[Category:Oni Support]]
[[Category:Oni Support]]