wiki
Skinning/skin.ini查看官网原文 ↗
这篇还没汉化,先拿英文原文顶着。(有想看的页面?催更就完事了。)

skin.ini

See also: skin.ini/Blank

The skin.ini is an initialization file that is found in almost every skin folder. This file will define how osu! will display certain skin elements.

Caution: skin.ini commands are case sensitive, make sure you follow the proper spelling and are using the correct capitalisation!

Versions

Below is the skinning changelog. The version number, seen in the headings, is what will be used in the Version command for the skin.ini file.

1.0

Original 2007 - 2013 skin

If your skin.ini does not specify a Version, it will default to this version.

2.0

UI: positioning changes / osu!: visibility update (reduced clutter).

2.1

osu!taiko positioning changes

2.2

interface/UI changes

2.3

osu!catch changes

2.4

osu!mania stage scaling adjustments

2.5

osu!mania column and upscroll adjustments

2.6

Allow per-type skinning of arrows

2.7

osu!mania specific combobursts

latest

Always the newest version

If your skin folder does not contain a skin.ini file, it will default to this version.

User

This is not a version, but a special skin folder that is created when the default skin is modified, e.g. by dragging in a custom menu background into the game window (with osu!supporter) or when attempting to modify osu!mania keybinds for the default skin from the options.

A skin in a folder named User will always use the latest skin version, regardless of any speification in skin.ini or otherwise.

Notes

Before viewing the skin.ini commands below, here are some notes.

1's and 0's

tl;dr 0 = no and 1 = yes

Some commands only accept a boolean value (a true or a false value). When skinning, osu! is setup to only recognise a 1 (one) as true while a 0 (zero) as false.

Here is a classic example:

SliderBallFlip: 0 SliderBallFlip: 1

Note that Reisen, the sliderball, does not flip when 0 is used. However, Reisen does flip when a 1 is used. Depending on what sprite is used, you will either get a moonwalking sliderball, or one that turns around.

Numbers and Integers

The tables below may list either a number, an integer or a positive integer.

When viewing these tables:

RGB and RGB(a)

A few commands may ask for a colour in the RGB or RGB(a) format.

Sections

osu! organises the commands with a heading command. Which may look like this [General]. osu! only uses five sections throughout the skin.ini file, which are indicated with the section headers below.

[General]

[Colours]

Notice

this header must be spelled as [Colours], not [Colors]!

[Fonts]

[CatchTheBeat]

[Mania]

Notes:

...

[Mania]
Keys: 4
//*4K stuff*

[Mania]
Keys: 5
//*5K stuff*

...