Tomie WGM

Modding Guide v0.1

 

This manual is a guide to modding Tomie Wants to Get Married (hereafter Tomie WGM).

 

1. Preparations

2. Additional MOD Creation Guide

3. Guide to modifying the main game

4. Main variables in use and frequently used functions

5. How to apply it to the game

6. Discord

 

 

1. Preparations

There are a few things you need to prepare for modding.

1) Naninovel documents - https://naninovel.com/api

Tomie WGM uses the Naninovel engine and uses the script of that engine.

 

2) Notepad or Notepad++

https://notepad-plus-plus.org/downloads/

Used for script editing

 

3) OMAKE (FULL) 4.73gb

GDRIVE- https://drive.google.com/file/d/1z0LZUrLaX8AgRlOUEX-39eFVztiqN9KO/view?usp=sharing

MEGA - https://mega.nz/file/tBdy0BrC#bY7CiLu_NFIoez3-FHWgi2Y3ErBBtsF8KIWSuXrXmcU

All CG and Video files of Tomie WGM are stored.

And, the folder structure is the same as the path used by Tomie WGM.

 

4) Tomie WGM Script script reference

GDRIVE https://drive.google.com/file/d/11yjPwzI7YzQg_sbD8fVi6RLnpmw4bter/view?usp=sharing

MEGA https://mega.nz/file/tFVHTAIJ#mkjWvYbHuXLhdnJlxyZql69fbNbuK679WvGj5wf1ohg

Sample scripts for modding Tomie WGM, and scripts for modifying or referencing the main game are included.

 

 

 

2. Additional MOD Creation Guide

For additional mods, "mod_" must be included in front of the script file name.

(ex: mod_sample1, mod_sample2)

 

The types of additional MODs are as follows.

RoamingNormal - Called probabilistically during normal roaming events.

RoamingBad - Called probabilistically during a Bad Roaming event.

RoamingSimple - Called probabilistically during Simple roaming events.

NightVisit - called probabilistically during a NightVisit event

Violate - called probabilistically when a Violate event occurs

Blackmail - Called probabilistically when a Blackmail event occurs.

*If there are multiple types of MOD of the same category, one of them is called.

 

1) Unzip the sample script, duplicate the mod_sample.nani file in \Resources\nScripts and rename it.

(ex: mod_mymod123)

2) Run mod_mymod123.nani with notepad++.

3) Refer to the comments in the file and write #Activate and #Start parts.

You can refer to the Naninovel documents, Tomie WGM script reference , and scripts of MOD

@return must be executed when all scripts are finished.

*For necessary image resources, refer to the path of resources included in OMAKE.

 

 

3. Guide to modifying the main game

 

Warning

It's a terrible spaghetti code because I didn't intend to distribute scripts in the beginning.

Prepare you strong-mind before opening the script.

 

Resources\nScripts\ in the Tomie WGM Scripts for reference folder contains some scripts used in Tomie WGM. (*Not all scripts are included)

 

After modifying the desired script, if you put it in the path below, the script of this game will be overwritten.

 

Windows

tomieWGM_0_7xx\TomieWGM_Data\Resources\nScripts\blabla.nani

 

Linux

tomieWGM_0_7xx\tomieWGM_Data\Resources\nScripts\blabla.nani

 

Script references are as follows.

Scripts name

Usage

AB_Cafe

Cafe

AB_Gym

Gym

AB_Massage

Massage parlor

AB_Nightclub

Nightclub

AB_Park

Park

AB_Samdai

Samdai

AB_Slum

Slum

AnotherPOV

Another POV mini game

B_R_Roaming_Bad

Bad Roaming events

B_R_Roaming_Good

Good Roaming events

B_R_Roaming_Normal

Normal Roaming events

CallEvent

Call events

cIsaac

Isaac character story

cJin

Jin character story

cMisey

Misey character story

Debug

Script for debugging executed when a new game starts

DoctorN

Dr. Nisemono character story

E_HandenBeach

Handen beach

E_VacationWithMari

Vacation with mari episode

Harassment

Harass events

Hiroshi

Hiroshi character story

Karl

Karl character story

Koman

Koman character story

Kurai

Kurai character story

Naturo

Naturo character story

NightVisit

Night visit events

NightVisitCustomer

Night visit events (extension)

Ryosuke

Ryosuke character story

SP_Slut

Slutty outfit related events

TRandbox

Simple Roaming events

Visit_Neighbor

General visit events

Visit_Special

Special visit events

 

 

4. Main variables in use and frequently used functions

For common scripting documentation, please see the Naninovel documentation.

 

1) Main variables in use

Open the console with the ` key and type var.

Then you can check and edit all the variables in use.

*All variables below are int

Variable name

General usage range

Usage

money

0~9999999

Money

iAttractive

0~400

Summed final attractive value

iSkinCare

-400~400

The value used when adjusting the iAttractive value.

iPheromones

0~400

Summed final Pheromones value

iBasePheromones

0~1000

BP

iUsedPheromones

-400~400

The value used to adjust the Pheromones value.

iWillpower

0~100

Willpower

iElegance

0~100

Elegance

iSubmissive

0~100

Submission

iPain

0~100

Pain

iReputation

-400~100

Reputation

iCorruption

0~100

Corruption

iVirgin

0 or 1

If 1, there is a hymen

iWombState

0~5

0 - none

1 - period

2 - risky state

3~ cum insided womb

iPregnant

0 or 1

1 if pregnant

cumInsideToday

0~5

Number of cum inside today

doorLock

-x~30

door lock. 0 below is dangerous

 

 

2) Frequently used functions

@gosub Common.RedFlash         -          Red flash effect

@gosub Common.WillpowerDamage1       - Will Damage 1. (6)

@gosub Common.WillpowerDamage2       - Will Damage 2. (10)

@gosub Common.WillpowerDamage3       - Will Damage 3. (30)

@gosub Common.WillpowerDamage4       - Will Damage 4. (50)

@gosub Common.WillpowerDamageHumiliation0    - humiliation damage 0 (10)

@gosub Common.WillpowerDamageHumiliation1    - humiliation damage 1 (30)

@gosub Common.WillpowerDamageHumiliation2    - humiliation damage 2 (50)

@gosub Common.PheroUp1        -          Pheromones+0.5

@gosub Common.PheroUp2        -          Pheromones+1

@gosub Common.PheroUp3        -          Pheromones+3

@gosub Common.Groan            -          Groan Voice Play

@gosub Common.GroanPain       -          GroanPain Voice Play

@gosub Common.WhiteFlashOnly -          White flash effect

@gosub Common.GropeTit         -          Grope tit event call

@gosub Common.SpankAss        -          Spank ass event call

@gosub Common.SpankAssNude  -         Nude Spank ass event call

@gosub Common.SlapSound       -          Random Slap Sound Play

 

 

 

5. How to apply it to the game

In general, you should put the Resources folder and its contents in the path below.

Windows

tomieWGM_0_7xx\TomieWGM_Data\

 

Linux

tomieWGM_0_7xx\tomieWGM_Data

 

1) MOD

After applying the mod, use the Phone item in your inventory to apply the mod.

 

2) In case of overwriting game script

No additional work is required.

 

 

6. Discord

If you need help modding, please contact Ollane directly for help at https://discord.gg/wk9ETgUb

 

Thank you