GameInfo2 and Parameter2 (HS2 game data) - RobotsOnDrugs/LibMai GitHub Wiki
Girl feelings/states
Feelings/states are stored as integer values 0-100 to denote the level in gameInfo2 with the feeling name as the variable name (capitalized). Each state has a corresponding integer value in gameInfo2.nowState and gameInfo2.calcState to denote the priority state for the character's personality (feeling value must be >= 20) and the current dominant state used in the lobby and H scenes (feeling value must be >= 50), respectively. Additionally, there is an integer value gameInfo2.nowDrawState, but it is always 0 (need to double check) in a card and doesn't seem to be used. Finally, there are 3 booleans that determine whether to lock the values for the current dominant state (gameInfo2.lockNowState), broken level (gameInfo2.lockBroken), and dependence level(gameInfo2.lockDependence).
| Feeling | Icon | State |
|---|---|---|
| None | ![]() |
Normal |
| Favor | ![]() |
Love |
| Enjoyment | ![]() |
Hedonist |
| Aversion | ![]() |
Hate |
| Slavery | ![]() |
Slave |
| Broken | ![]() |
Broken |
| Dependence | ![]() |
Dependent |
H type familiarity
Integer values (0-100) gameInfo2.resistH, gameInfo2.resistPain, and gameInfo2.resistAnal indicate familiarity (pleasure during fast H animations) with positions for vaginal sex, BDSM, and anal, respectively.
Sex Traits
Specific sex traits for characters affect them differently after various H events. Which sex trait a character has is denoted by a byte value parameter2.hAttribute. Note: I do not currently know which events trigger the outlined changes.
| Sex Trait | Parameter(s) triggered | Value |
|---|---|---|
| None | None | 0x0 |
| Horny | Enjoyment + | 0x1 |
| Sadist | Favor +, Enjoyment +, Slavery -, Aversion -, Broken -, Dependence + | 0x2 |
| Masochist | Favor +, Enjoyment -, Slavery +, Aversion -, Broken -, Dependence + | 0x3 |
| Sensitive Breasts | Enjoyment + | 0x4 |
| Sensitive Ass | Slavery + | 0x5 |
| Sensitive Pussy | Favor + | 0x6 |
| Love Kisses | Aversion - | 0x7 |
| Clean Freak | Aversion +, Dirty + when cum outside | 0x8 |
| Sex Hater | Aversion +, Broken +, Enjoyment - | 0x9 |
| Lonely | Favor +, Enjoyment +, Slavery +, Aversion -, Broken -, Dependence + | 0xA |
Traits
Specific traits for characters affect various feelings and non-H events. Which trait a character has is denoted by a byte value parameter2.trait. Note: I do not currently know which events trigger the outlined changes.
| Trait | Parameter(s) affected | Event effect | Value |
|---|---|---|---|
| None | None | None | 0x0 |
| Clean Lover (Fastidious) | Dirty + | More bathing events | 0x1 |
| Lazy | Dirty - | None | 0x2 |
| Frailty | Tiredness + | None | 0x3 |
| Tough | Tiredness - | None | 0x4 |
| Weak Bladder | Toilet + | More toilet events | 0x5 |
| Patient (Tenacious) | Toilet - | None | 0x6 |
| Glass Heart | Broken + | None | 0x7 |
| Brave (Indomitable) | Broken - | None | 0x8 |
| Perverted (Pent Up) | Enjoyment + | None | 0x9 |
| Self-Control (Iron Will) | Enjoyment - | None | 0xA |
| At will (Capricious) | Dependence + | None | 0xB |
| Sensitive (Emotional) | Favor +, Enjoyment +, Slavery +, Aversion + | None | 0xC |
Mentality
Mentalities chosen at character creation provide initial boosts to feelings. These are denoted by the byte value parameter2.mind.
| Mentality | Feeling affected | Value |
|---|---|---|
| None | None | 0x0 |
| Curious | Favor +20 | 0x1 |
| Affectionate | Favor +55 | 0x2 |
| Lovestruck | Favor +80 | 0x3 |
| Awkward | Aversion +20 | 0x4 |
| Reluctant | Aversion +55 | 0x5 |
| Loathing | Aversion +80 | 0x6 |
| Cooperative | Slavery +20 | 0x7 |
| Obedient | Slavery +55 | 0x8 |
| Submissive | Slavery +80 | 0x9 |
| Interested | Enjoyment +20 | 0xA |
| Charmed | Enjoyment +55 | 0xB |
| Aroused | Enjoyment +80 | 0xC |
Other variables
States
These states are integer values (0-100) defined in gameInfo2 with the names matching the variable names (capitalized). There are in-game items to increase these values and a currently used item is stored on the card as an integer value (0-3?) in gameInfo2.usedItem. Note: I do not currently know the values for these items.
| Name | Effect | Related item |
|---|---|---|
| Dirty | More likely to be bathing | Sudorific |
| Tiredness | More likely to be sleeping | Sedative |
| Toilet | More likely to use the toilet | Diuretic |
| Libido | More likely to initiate sex | Aphrodisiac |
In-game events and voice settings
gameInfo2 has various variables related to in-game events and character voices. Note: I need to look into these to see what exactly many of them do. Also, some variables are missing here and I need to investigate.
| Variable type | Variable name | Event |
|---|---|---|
| byte | escapeFlag | Character is currently escaping? |
| bool | escapeExperienced | Character has escaped in the past? |
| bool | firstHFlag | Character has had sex with the player (0 = virgin?) |
| bool[][] | genericVoice | ? |
| bool | genericBrokenVoice | ? |
| bool | genericDependenceVoice | ? |
| bool | genericAnalVoice | ? |
| bool | genericPainVoice | ? |
| bool | genericFlag | ? |
| bool | genericBefore | ? |
| bool[] | inviteVoice | ? |
| int | hCount | Number of times the character has had sex |
| int[] | map | List of maps the protagonist can choose for H scenes with the character? |
| bool | arriveRoom50 | Unlocked toilet or bath events? |
| bool | arriveRoom80 | Unlocked toilet or bath events? |
| bool | arriveRoomHAfter | Unlocked VIP room? |
Defined in:
See also






