Jump to content

Customizing: Difference between revisions

general rewrite
(→‎Options menu: it's more useful to point out that the Daodan fixes this)
(general rewrite)
Line 1: Line 1:
==Options menu==
==Options menu==
 
When Oni launches, Options is the third button on the Main Menu. But after you load a game, this button is replaced with '''Resume''' when you return to the Main Menu by hitting Esc. However, the [[Daodan DLL]] and [[AE:FERAL|Mac Intel build]] make the Options button accessible while the game is paused. This is where you change or toggle:
===Where is it?===
*Amount of graphical detail
*It's accessible ''via'' the third button of the Main Menu
*After you load a game, this button is replaced with '''Resume''' when you return to the Main Menu by hitting Esc. So, '''Options''' is only accessible at startup (but the [[Daodan DLL]] makes the Options button accessible while the game is paused).
 
===What settings are there?===
*Amount of graphical detail (env-mapping, texture rendering, etc.)
*Resolution and color depth
*Resolution and color depth
*Gamma correction
*Gamma correction
Line 12: Line 7:
*Subtitles
*Subtitles
*[[Difficulty|Difficulty setting]]
*[[Difficulty|Difficulty setting]]
*Inversion of the vertical mouse axis (this was implemented backwards!; if the box is checked, moving the mouse up makes you look up, so you get ''non''-inverted aiming)
*Inversion of the vertical mouse axis
:Fun trivia: mouse inversion was implemented backwards. If the box is checked, moving the mouse up makes you look ''up''... that's ''non''-inverted aiming. This is fixed by the [[AE]].


==Controls==
==Controls==
Here's how controls can be changed
Oni for Mac OS 9 had a simple control-settings dialog which would appear if launching Oni with Shift held down. Nowadays, no version of Oni has any kind of GUI for setting key bindings. Here's how you customize your controls:
*Edit the '''key_config.txt''' file manually
*Edit the '''key_config.txt''' file manually -- [[/Binding|Binding syntax and instructions]]
*Use the built-in GUI (press and hold Shift while Oni starts -- currently broken for both Mac OS X and Windows)
*Use the [http://mods.oni2.net/node/129 Oni Key Editor] Java tool for a GUI experience
*Use the [[KeyConfig]] GUI tool
*Set custom keybindings at runtime using [[scripts]]
*Set custom keybindings at runtime using [[scripts]]
[[Customizing/Binding | Binding syntax and instructions]].
==Further customization==
===CD check===
Some versions of Oni.exe have been known to require the game CD-ROM in the drive (or at least some CD named "ONI" ;-), but the app distributed with the standard U.S. release does not perform that CD check. The app is found [http://mods.oni2.net/node/231 here].


===Tools===
==CD check==
*[[ONI-Trainer]] - lets you set a few runtime variables (with bindable hotkeys)
Some versions of Oni for Windows have been known to require the game CD-ROM in the drive (or at least some CD named "ONI" ;-), but the app distributed with the standard U.S. release does not perform that CD check. The app is found [http://mods.oni2.net/node/243 here].
*[[OSGE|OniSavegameEditor]] or [http://mods.oni2.net/node/155 OniLib] - lets you alter saved game data (inventory, cheats)
*[[KeyConfig]] or [http://mods.oni2.net/node/129 Oni Key Editor] - lets you configure the controls through a GUI


===Hacking===
==Save-game editing==
You can e.g. unlock all of Konoko's combat moves from the very first level.  
*[[OSGE|OniSavegameEditor]] (Cross-platform)
*[http://mods.oni2.net/node/155 OniLib] (Mac-only)


===Scripting===
==Command-line arguments==
Well, just look at the [[scripts]] page to find out more about those.
 
===Command-line arguments===
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.
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.


Line 53: Line 38:
*-ignore_private_data : Disables the loading of "private data" in level0.
*-ignore_private_data : Disables the loading of "private data" in level0.
*-nodialog
*-nodialog
*'''-nosound''' : Sounds and music are disabled. The "Overall volume" control in [[Customizing#Options menu|Options]] has no effect.
*'''-nosound''' : Sounds and music are disabled. The "Overall volume" control in [[#Options menu|Options]] has no effect.
*'''-noswitch''' : Oni doesn't fill up the screen. Instead, it stays in a "window" in the top left corner. The resolution is that specified ingame.
*[[#noswitch|'''-noswitch''']] : Windowed mode.
*-opengl : unused
*-opengl : unused
You can combine those options on a single command line so that they apply simultaneously.
You can combine those options on a single command line so that they apply simultaneously.


For example, here's a batch file I've been using lately (Win32/DOS script called, say, '''oni.bat''', and located in Oni's [[Installation#Installation folder|installation folder]]):
For example, here's a batch file I've been using lately (a Win32/DOS script called, say, '''oni.bat''', and located in Oni's [[Installation#Installation folder|installation folder]]):
  rm saved_film*.dat
  rm saved_film*.dat
  start OniTrainer\oni_trainer.exe
  start OniTrainer\oni_trainer.exe
Line 67: Line 52:
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. When launched with this argument, Oni stays in a window in the top-left corner (the Daodan DLL and Mac Intel builds center the window). The window size is the resolution specified in Oni's Options menu. Thus, if Oni is set to run in a low resolution like 640x480, the game will take only a portion of your screen, leaving the taskbar/Dock accessible, as well as other applications you may be running alongside Oni (very useful when modding).


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".
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".
==Modding==
{{:Installation}}<!--Why type the same thing again?-->


[[Category:Oni Support]]
[[Category:Oni Support]]