Customizing: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 5: Line 5:


==CD check==
==CD check==
One of the first things you way want to do after installation is
One of the first things you way want to do after installation is apply a No-CD patch...


==Controls==
==Controls==

Revision as of 04:14, 9 November 2005

Options Menu

  • It's accessible via the third button of the Main Menu
  • After you load a game, this button is replaced with Resume. So, Options is only accessible at startup.
  • (Which is really silly. Resume is redundant of the Escape key, and the ability to change things at runtime is lost.)

CD check

One of the first things you way want to do after installation is apply a No-CD patch...

Controls

Your controls can easily be changed through editing the "key_config.txt" file


Keys that can't be changed are F8 (shapeshifter) and Esc.

Cheat codes

  • They're locked in a fresh installation of Oni
  • They're automatically unlocked after you finish the game
  • They can be unlocked manually by hacking the binary file persist.dat or by using OniSavedGameEditor

Further customization

Small programs

Hacking

You can e.g. unlock all of Konoko's combat moves from the very first level.

Scripting

Well, just look at the Scripts

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 have an effect so far)

  • -combos
  • -debug
  • -debugfiles : Additional debug files are dumped, e.g. low-level script debugging.
  • -ehalt
  • -findsoundbinaries
  • -findsounds
  • -glide
  • -ignore_config
  • -ignore_private_data
  • -nodialog
  • -nosound : Sounds and music are disabled. The "Overall volume" control in Options Menu 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.
  • -opengl

You can combine those options on a single command line so that they apply simultaneously.

For example, here's a batch file (Win32/DOS script called oni.bat and located in Oni's Installation Folder) I've been using lately :

rm saved_film*.dat
start OniTrainer\oni_trainer.exe
start oni -noswitch -debugfiles

What does it do? It cleans up the saved movie files (if any). Then it starts Alloc's OniTrainer and Oni. Oni runs in a window.

The output generated by -debugfiles sometimes helps when debugging scripts (though not very often, not to say never).