Skip to content

The ini file

github-actions[bot] edited this page Nov 29, 2026 · 19 revisions

The ini file

The settings sit in UNI2-IM\Config, one file per part of the mod, and what the mod keeps for itself sits in UNI2-IM\Data. The mod fills them in on every run. A missing key or section is added with its default, and a key you edited is left alone. Delete a file to put that part back to its defaults. The files always list every setting your build knows, and keys from a new version show up on the next launch.

File Sections
Config\Mod.ini [Mod], [Overlay], [Theme], [Compat], and any section not listed here
Config\Keybinds.ini [Keybinds], [PadKeybinds], [Input]
Config\Modules.ini [Modules], [Mods]
Config\Training.ini [Training], [FrameMeter], [HudOpacity]
Config\Graphics.ini [Graphics], [Video], [dgVoodoo], [DXVK]
Config\Netplay.ini [Netplay], [Privacy], [Spectate]
Config\Audio.ini [Music], [Sounds], [Subtitles]
Config\Palettes.ini [Palette]
Config\Replays.ini [Replays]
Config\Stages.ini [Stages]
Config\Debug.ini [Debug]
Data\Stages.ini [StageLibrary], [StageIcons], [Extras]
Data\Palettes.ini [PaletteChoice], [PaletteSlots]
Data\Portraits.ini [Portraits]

Coming from an older version. On the first start the old UNI2_IM.ini is split into these files and kept as UNI2_IM.ini.bak. On the way, settings that a newer version retired are taken out and the fixes recorded under SettingsRevision are applied; the log lists every change. Nothing you set is lost. A UNI2_IM.ini you put back later, even one with only two lines, is merged into the files on the next start: its values win, and it is kept as the next backup (.bak2, .bak3...).

Profiles. Config > Profiles saves every setting under a name, in Config\Profiles\<name>, and loads it back on the next start. Data is not part of a profile.

[Mod]

Key Default What it does
DinputDllWrapper empty Full path to another dinput8.dll to chain-load. Empty uses the system one.
CheckForUpdates 1 Checks GitHub once, in the background, for a newer release. Nothing is downloaded until you press Update now.
SettingsRevision 6 Which revision of the settings these files were last brought up to. The mod uses it to retire old keys and to fix a setting whose old default turned out to be unsafe. Do not edit it.

[Keybinds]

Key Default What it does
ToggleOverlay F1 Opens and closes the main window.
ToggleHitboxOverlay F2 Hitbox viewer.
ToggleFrameMeter F3 Frame meter.
FreezeFrame F5 Pause and resume. Only inside a training, replay, single player or local versus fight, and a pause never carries into the next fight.
StepForward F6 One frame forward. Hold to repeat.
NextPalette F8 Next palette on the character you are playing. After the last one it goes back to the game's own colours.
PreviousPalette F7 The same, backwards.
HideHud empty Hides the game's HUD in a fight.
HideFighters F4 Hides the characters, their shadows and the effects, so only the stage is drawn. Offline only.
RestartGame Ctrl+F5 Goes back to the game's start screen, as in MBTL IM. From training it leaves the fight first. Refused in a Steam lobby, a ranked or lobby match, and while spectating.
FunctionKey empty A key you hold together with another one, like a shortcut. To use it, start the bind with Fn+ (for example Fn+F8). While it is held, binds without the prefix are ignored, so one key can do two things.

A bind can also start with Ctrl+ (for example Ctrl+F5), and both prefixes can be combined as Fn+Ctrl+F5. A bind without Ctrl+ does not fire while Ctrl is held, so F5 and Ctrl+F5 are two different shortcuts. In the Config tab, press the key with Ctrl held, or tick Ctrl next to it.

[PadKeybinds]

A pad bind is always the function button plus one other button. Pad binds use XInput, with XInput's names: A, B, X, Y, LB, RB, LT, RT, L3, R3, Start, Back, Guide, DPad Up, DPad Down, DPad Left, DPad Right. An empty value means unbound.

Key Default What it does
FunctionButton Back The button you hold for every pad bind.
ToggleOverlay empty Opens and closes the main window.
ToggleHitboxOverlay empty Hitbox viewer.
ToggleFrameMeter empty Frame meter.
FreezeFrame empty Pause and resume.
StepForward empty One frame forward. Hold to repeat.
NextPalette empty Next palette on the character you are playing.
PreviousPalette empty The same, backwards.

[Input]

Key Default What it does
KeyboardSeat 0 Which player the keyboard controls. 0 leaves the game alone, 1 puts your keys on 1P, 2 on 2P.
KeyboardSeatRouteSides 1 Also writes both sides' controller slots every frame of a local match.
BackgroundKeyboard 0 1 keeps the keyboard reaching the game while another window is active. Controllers always do.

[Training]

Key Default What it does
FreezeMode 0 0 tick stop, 1 hitstun stop. Tick stop freezes everything. Hitstun stop keeps menus working but distorts effects.
AutoPauseOnAttack 0 Add the numbers together: 1 watch P1, 2 watch P2, 4 on attacks, 8 on armoured moves. 0 is off.
AutoPauseComboStops 3 Hit counts to stop at, comma separated. 3,20 stops on the third hit and on the twentieth.
AutoPauseBlockStops 3 The same, for blocked hits.
ResumeDelayFrames 60 Countdown before the game resumes after an auto pause.
StepRepeatDelayMs 250 How long you hold the next-frame key before it starts repeating.
StepRepeatIntervalMs 90 Time between repeated steps.
RecordFrameCounterRva 0 Advanced. Memory address of the recorder's frame counter. 0 turns it off.
ShowProration 1 Shows the combo timer and move count proration under Damage info, offline training only.
InputHistoryBehind 0 Draws the Training input list behind the characters instead of over them. Also in F1, Config, Hud.
InputHistoryRows 16 How many inputs the Training input list shows, 16 to 48. More rows are drawn smaller so the list keeps the same height. Also in F1, Config, Hud.

[FrameMeter]

Key Default What it does
PlaceAutomatically 0 Keeps the meter centred near the bottom of the screen at any resolution. The position below is ignored.
PositionX / PositionY -1 Top-left corner in pixels. -1 means it was never placed: the meter takes the automatic spot once, saves it here, and you can drag it from there.
Scale 1.5 Size of the meter.
BandCounts 1 Shows the length of each finished band inside the bar.
LineTotals 1 Shows blockstun, hitstun and the gap for the exchange, plus the super flash inside the move, on their own line.
AttributeRow 1 The thin row under each bar that names every active invincibility.
Opacity 100 How solid the meter looks, in percent.
MouseDrag 1 Lets you drag the meter with the mouse.

[HudOpacity]

How solid each part of the screen is during a fight, in percent: 100 is the game as it is, 0 is gone. Also in the game's menu under Option, Display, Improvement Mod - HUD Opacity. See HUD opacity.

Key Default What it does
Menus 100 The Training menu, the pause menu and the Command List. Never below 10.
BattleHud 100 Health, timer, EXS and GRD gauges and the combo counter.
InputHistory 100 The input list in Training.
DamageInfo 100 The Damage info box in Training.
FrameInfo 100 The two Frame info boxes in Training.
ModHud 100 The frame meter, GRD popups, health values and proration of this mod. The frame meter's own Opacity still applies on top.

[Palette]

Key Default What it does
ShowOnlinePalettes 1 Controls the other player's side. On, their palette is applied when it arrives. Off, it is ignored and their side keeps the game's colours. Yours is sent either way.
Creator empty The author name saved into your palettes. The overlay fills it in as you type.
CompanionCharacters 15 Characters whose companion is drawn before the fighters, by the game's own numbering. Chaos is 15. Comma separated.
OnlineServer https://palettes.primozanaylo.dev The server behind the Online tab of the palette library, where players publish and download palettes.
OwnersFromDraws 1 Finds which character owns a texture from the actual draw calls instead of guessing from bind order. Mirror matches need this on.
IdentifyByColours 0 Lets the colour comparison decide which side is which. Leave it off: every time it was tested it got the sides backwards.
PaintOutOfMatch 0 Also applies chosen palettes outside a match, such as the character select portrait and the lobby avatar.
PaintEffectRows 1 Does nothing now. It stays so an older ini still loads.
EffectsFromPalette 1 In a match, effects take their colours straight from the palette.
ShowLegacyTab 0 Shows the tab of the first palette system.
GroupByPart 1 Groups palette entries like the game's own colour screen does (hair, skin and so on).
FlashEntry 1 When you pick an entry, everything else darkens and that entry blinks on the character.
FilterJunk 1 Hides entries that are not real colours: the black padding, the green filler in unused slots, and repeats of an entry above.

[Netplay]

Key Default What it does
RoomRosterFix 0 The game only removes a room member when they Left, so Disconnected, Kicked and Banned leave a ghost behind. On, those are handled like Left. It changes how the game handles its own room, so it is off by default and never acts while a match is connected.
RepublishPingLocation 0 Sends your Steam ping location to the room every 30 s. The game only sends it once, when you join, which is why rejoining "resets" the ping. It writes a key the game owns, so it is off by default and never runs while a match is connected.
NetLog 0 Writes Logs\UNI2_IM_NET_*.log: every Steam event the game receives, every packet the mod sends or receives, and one line per second during a match with frame times, rollbacks, ping and the send queue. It is written on its own thread. Send this file with any connection report.
CaptureGgpoLog 0 Adds GGPO's own log lines (syncing, lost packets, disconnects) to the network log. The game formats them and throws them away; this hooks those two log functions and nothing else. For a detailed report only.
SharePalettes 1 Sends your palette to the other player over the mod's own Steam channel, only when they run the mod, only once the match connection is fully up and not busy, and never more than 32 KB in a match. An opponent without the mod receives nothing from the mod at all.
SpectatorCatchUp 1 When you watch a room match and fall behind the players (an alt-tab, a hitch), your game runs faster for a moment until it has caught up. The game never catches up on its own, and a spectator 64 frames behind loses the match connection. Needs the game's vsync off to run faster than the screen's refresh rate.
JoinInProgress 1 Joining room matches already in progress. As a watcher, the room menu (the game's own menu in the room) gets a Watch Match in Progress item while you are in the room and not playing; it joins the match being played and fast-forwards to the players. As the first player of a match, room members with the mod can join it that way: your game adds them as the game's own spectator and sends them the frames they missed.
VersusCatchUp 1 In a versus match, when your game falls behind the opponent's by 2 frames or more (averaged over 40 frames), it runs those frames without the frame limiter's wait, then waits 2 s before checking again. The game's own fix is the other way round: the player ahead holds frames. Needs the game's vsync off.

[Video]

Key Default What it does
TimerResolution 1 Keeps Windows' 1 ms timer and asks for it again when the window gets focus back. The game only asks once at startup, and Windows takes it away in the background. That is what makes the game worse after an alt-tab.
PowerThrottlingOptOut 1 Opts the game out of EcoQoS and of the background timer limit. The other half of the same fix.
BackgroundFullSpeed 1 In a room or an online match, while the game is not the active window, raises its CPU priority (process and game thread) and its GPU scheduling priority, and while a spectator is catching up it skips presenting those frames. Restored the moment the game is in front again or leaves the room.
PumpWait 0 Waits on the frame thread's message instead of the clock, and puts the engine's other short sleeps on a high resolution timer. No CPU cost, no game code patched.
PumpWaitAllInput 0 Wakes that wait on every message, not only the handshake. Lowers window message latency, but uses more CPU the more you move the mouse.
DisplaySync 0 Times every frame to reach the screen just before it refreshes, so with vsync off no frame is shown twice or skipped. It reads where the screen is in its refresh straight from the graphics driver, the way Special K's Latent Sync does. Needs a 60 Hz or 120 Hz screen; on any other rate it stays out of the way.
DisplaySyncLeadMs 8.0 How long before each refresh a frame is finished, 1 to 15 ms. Lower is less input lag; raise it if motion still stutters.
DisplaySyncDelayBiasMs 0.0 Waits this long after showing a frame before the game reads your buttons for the next one, 0 to 12 ms, so they are read closer to when that frame reaches the screen. Less input lag. When the game needs the time the mod gives less than asked, so no frame is shown late. Needs DisplaySync.
DisplayTuning 1 Lets the mod choose the fullscreen display settings below. Off keeps exactly what the game asked for.
FullscreenRefreshHz 0 0 keeps the desktop's mode. If the game's vsync is on and the rate is not a multiple of 60, 0 picks the highest listed multiple of 60 at or below the desktop rate. Exclusive fullscreen only.
ExtraBackBuffer 0 Adds a second back buffer. Only helps in exclusive fullscreen with the game's vsync on, and adds up to one frame of input latency. Ignored in windowed mode and with vsync off.
FlatStage 0 Replaces the stage with a flat colour, for keying a capture.
FlatStageColour 65280 That colour, as 0xRRGGBB written in decimal.
ScreenShake 100 How much of the game's screen shake to keep, 0 to 100. Every shake (a move, Wald's walk, a cutscene) is scaled by this, so it keeps its shape and length. 0 cancels the shake. Also a slider on the Config tab.

[Music]

Key Default What it does
KeepMenuMusic 1 Keeps the menu music playing when you go into Options, Customize and Gallery. Without it, the game restarts the track every time you come back. 0 is the game's normal behaviour. Also a checkbox in the Music section.

[Graphics]

Set PotatoMode and leave the rest alone. It is a preset for the keys below, and turning it off restores them. Change the other keys only if you want to push one further than the preset does.

Key Default What it does
PotatoMode 0 0 off, 1 balanced, 2 potato, 3 extreme potato.
DisableBackBufferAA 0 Asks for a back buffer with no multisampling. The scene is never antialiased anyway, so the samples do nothing.
DisableCharacterFilter 0 Keeps the game's own Character Visual Improvements off. It costs nine palette lookups per pixel for a one pixel blur.
PresentWidth 0 The width the finished frame is drawn at before it is stretched to your window. 0 keeps the game's own Display option.
PresentHeight 0 The height, same rule. Set both, or neither does anything. Windowed and borderless only.
PotatoHeight 360 The size the Potato level uses, as the height of a 16:9 picture: 480, 360, 240 or 144.
PotatoStage 0 The stage quality on the POTATO MODE tab, at every PotatoMode level including off: 0 off (1280x720), 1 540p, 2 360p, 3 270p. Takes the place of InternalResolution while it is set. Needs a restart.
Supersample 0 The output resolution on the Improvements tab, the size of the picture sent to your screen: 0 off (the game's own Display option), 1 1080p, 2 1440p, 3 4K. Ignored while PotatoMode is set, because both set the drawing size.
InternalResolution 0 The render resolution on the Improvements tab, the size the game draws its 3D stage at: 0 off (1280x720), 1 1080p, 2 1440p, 3 4K. Set it to the same size as Supersample. Needs a restart, off while PotatoMode or PotatoStage is set.
SpritesAtRenderResolution 0 Characters and text filters: 1 draws characters, effects, menus and text at InternalResolution too; 0 keeps them a 720p picture. Only above 720p. Needs a restart.
SmoothCharacters 1 With SpritesAtRenderResolution: 1 smooths the edges of the character art, 0 shows its own pixels, enlarged. Applies right away.
SharpText 0 With SpritesAtRenderResolution: 0 draws the game's text smooth, like the frame meter; 1 gives it hard edges. Applies right away.
Sharpen 0 Sharpening on the finished frame, 0 to 100. 0 is off, 40-60 is the useful range. Applies right away and works at any drawing size, POTATO MODE included.
SharpenMode 0 Which sharpening method: 0 off, 1 contrast adaptive, 2 FidelityFX RCAS.
UpscaleFilter 0 Which filter scales the scene up to your window, instead of the engine's bilinear: 0 off, 1 bicubic, 2 Lanczos, 3 FidelityFX EASU. Only works when the back buffer is larger than 1280x720.
Bloom BloomIntensity BloomThreshold 0 40 75 Bloom on the finished frame. Bloom turns it on. The other two go from 0 to 100.
Look 0 Turns the colour and display pass on. Off, none of the Look* values below are used.
AntiAliasing 0 FXAA on the finished frame: 0 off, 1 low, 2 medium, 3 high, 4 ultra. Multisampling does not work in this game, so supersampling and this filter are the only antialiasing options.
LookBrightness LookContrast LookSaturation LookVibrance LookTemperature 0 The colour pass, -100 to 100 each. The pass does not run while all of them are at 0.
LookGamma 100 Gamma as a percentage of 1.0.
LookVignette LookScanlines 0 0 to 100 each.
LookDither 0 Adds a pixel of noise to hide the banding gradients get on an 8 bit back buffer.
ShaderPack empty The user shader that runs last, by file name, from UNI2-IM/Shaders (.hlsl, .ps, .fx, .slang, .glsl, .frag, .fsh). Needs d3dcompiler_47.dll, which comes with Windows and with Proton.
SimpleStage 0 Draws the empty stage instead of the full one. Not part of any POTATO MODE level on purpose.

PresentWidth and PresentHeight are derived from PotatoMode + PotatoHeight + Supersample, and rewritten whenever any of those change. They are what Direct3D receives.

[Overlay]

Key Default What it does
UiScale 1.0 Overlay scale. 1.0 is native.
FontPath empty A .ttf for the overlay. Empty picks the first scalable font on the system (Segoe UI on Windows, usually DejaVu Sans under Proton).
FontSize 16.0 Font size in pixels before scaling.
DpiAware 0 Tells Windows the game handles its own scaling. Off, with display scale above 100%, Windows draws the window small and stretches it, which blurs everything. Needs a restart. The Config tab tells you whether it worked.
Notifications 1 The message that slides across the top when the mod loads. 0 hides it.
BlockGameMouse 0 Hides the mouse from the game, so clicking the overlay cannot affect it.
DrawWhileGamePaused 0 Keeps the hitbox viewer and frame meter visible while the game's pause menu is open. Off, both hide.

[Debug]

Key Default What it does
Profiler 0 Frame interval and per-section timing, shown in the Performance window's Metrics tab.
MeterTrace 0 The frame meter's diagnostic capture and its CSV.
SpikeReportMs 25 With logging on, every frame that takes at least this many milliseconds is written to the log with what took the time: the game's file reads, texture loads, shader and buffer creation, the wait inside Present, the game's own update and the mod's slowest task. 0 turns it off.

Logging = 1 turns logging on. Nothing is written without it. If someone reports the mod does nothing, ask for the log first: it shows startup, every hook the mod installed and where, and anything that crashed.

[Compat]

Key Default What it does
WineSafeMode -1 -1 is automatic: on under Wine/Proton, off on Windows. 1 forces it on, 0 forces it off. On, the mod does not touch presentation or scheduling: no fullscreen refresh change, no power throttling opt-out, no Sleep substitution. On Linux, set 0 to test whether one of those three is causing a problem.

[Portraits]

Written by the Portraits tab of the Misc window, except PackUrl.

Key Default What it does
chrNNN empty The art character NNN wears, such as chr000=pack:Profile-hyde.png or chr004=game:talk/004_00. Empty is the game's own.
PackUrl the mod's own link Where Download the portrait pack fetches the pack from. A Google Drive share link works as it is.

[Extras] and [Stages]

Written by the Stages window. Do not edit them by hand.

Key What it holds
[Extras] UnlockedStages The hidden stage numbers you ticked, comma separated.
[Stages] StageNN One ported stage: source game, its folder there, and the name shown in the picker.

Clone this wiki locally