Skip to content

Configuration

ermaccer edited this page Sep 15, 2020 · 5 revisions

Mugenhook comes with a configuration file (mugenhook.ini) which allows you to customize the plugin. This file can be edited with notepad (Notepad++ recommended!).

b - Option can be true or false

i - Option can be set to a specific integer number (not float)

sz - Option can be set to text

bHookCursorTable

Hooks a custom function into select screen loop which allows to read cursor position, and therefore configure each cell to play a different sound.

iCursorTableOperationType

Specifies the way cursor hook operates

bHookAnimatedPortraits

Allows to use "animated portraits", so you can use animations on select screen. Show stance of character like in Mortal Kombat.

bHookAnimatedIcons

Allows to use "animated icons", so you can use animations for every cell on select screen. Features logic for Mortal Kombat Trilogy style character transitions.

bEnableSelectAnimations

Enables animations on select screen once player finishes selecting fighters. Requires bHookAnimatedPortraits to work, obviously.

bEnableAnimationScale

Allows to rescale sprites with animated stances. Requires bHookAnimatedPortraits to work, obviously.

bEnableAnimationLoop

Loopstart param of AIR files is read and used. Requires bHookAnimatedPortraits to work, obviously.

bChangeStrings

Allows to change otherwise inaccessible text entries. Edit text entries in the [Strings] section.

bRandomStageConfirmSounds

Randomizes stage confirm sounds, that's it. Needs to be configured with iRandomStageGroup and iRandomStageRandomMax.

bEnableAfterSelectionPause

Pauses the game for specified amount of ticks once both players select their characters. Useful for announcer/win pose playback without having to mess with fade out values.

iAfterSelectionPauseTime

Specifies ticks for After Selection Pause

bDisableNumerationInStageSelect

Allows to not use numeration in stage select text, with this option enabled you can safely remove %i from the string. Without this toggle, engine will crash once you try to do that!

bEnableTagFix

Fixes unused Tag game mode and allows a new gamemode param - tag.

bGameModeTagShow

Shows unused and unfinished Tag mode in Game Mode selection. Enable Tag Fix to make it fully functional.

bGameModeSingle/Simul/TurnsHide

Hides X mode in Game Mode selection.

bDumpCharacterInfo

Pressing F5 on select screen will save character data into a text file - characters.txt It will contain ID, name and folder.

iSelectableFighters

Disabled by default, remove ; to uncomment the line. Allows to specify how many fighters can be selected in Simul mode, mostly works with AI only.

bDevMode

Displays Windows Console which is used for MugenHook logging.

bDev_DisplayPos

Requires bDevMode. Displays current cursor position.

bDev_RedirectMugenMessages

Displays MUGEN log messages in console window.

bEnableSlidePortraits

Allows to use sliding animation for portraits on x axis only at this moment, more axis options will come. Check chapter in 5 wiki on how to configure this.

bEnableLogToFile

Saves all MugenHook log messages to a text file (mugenhook_log.txt), useful if you want to take your time to read what crashed.