Cheat Mod Unity The Twist - CheatMenuPlugin [v1.0.6] [dsconstructor]

jasonqsmith

Member
Jun 14, 2017
196
83
Better question, is it possible to change what model is being used in a scene? Aka changing the normal Janice model to the pregnant model. Possibly even from Janice to another model completely in a scene?

As it stands I'm not seeing a way or don't know the correct variable.
 
  • Like
Reactions: Pumpkin1984

dsconstructor

Member
Modder
Sep 26, 2017
416
723
Better question, is it possible to change what model is being used in a scene? Aka changing the normal Janice model to the pregnant model. Possibly even from Janice to another model completely in a scene?

As it stands I'm not seeing a way or don't know the correct variable.
I haven't kept up with the game, but unless that mechanic is already in the game it's not possible to do with just editing variables.

You can see variables as the state behind the game logic, ie time of day would be a variable which the code then reads and plays out the relevant scenes for.
While possible to modify the game logic (i do some of that for RandomInteger and InstantText patching), making larger changes would be very tedious and likely to break with updates.
 

Aescanor

Member
Dec 11, 2019
235
225
I have a problem with the tool. I am working on extracting translation and texts from the game. The tool is very good, especially in the matter of time, but the automatic translator stops working with the tool completely. I hope there is a solution to make the tool work without disabling the translator
 
  • Like
Reactions: papinnur

Aescanor

Member
Dec 11, 2019
235
225
Yes, I tried the old and new update 1.0.6 1.0.7, but the strange thing that happens is that the old one disables the automatic translator and the cheat tool works fine, but it is of no use if I cannot extract the translated texts. As for the new 1.0.7, it only works on the game if it is not modified permanently and If the automatic translator is added, it works fine without any problems, but the cheat tool does not work at all. I have uploaded a video for you to see the problem yourself and find a solution for it. I am weak in writing in the English language, but you can link incomprehensible words with the video to get the idea correctly
 

dsconstructor

Member
Modder
Sep 26, 2017
416
723
XUnity.AutoTranslator is written for BepInEx 5x, CheatMenuPlugin 1.0.6 and below use BepInEx 4x which is why these are not compatible.
You need to use CheatMenuPlugin 1.0.7 or it will just not work.

This seems to work on my end:
1 Install the game
2 Extract CMP 1.0.7
3 Extract
4 Run the game once to generate the config, and set it up appropriately; .\BepInEx\config\AutoTranslatorConfig.ini
CheatMenuPlugin_AutoTranslate.jpg
 
Last edited:

Aescanor

Member
Dec 11, 2019
235
225
I respect you and thank you for all your efforts and yes I understood what you mean and because of your simple explanation I learned the way thank you

لقطة الشاشة 2022-02-02 115600.png
 

amBest

Member
Jul 18, 2017
410
1,017
If you don't mind me asking, how did you make a mod for the game? I tried using dnSpy, but the code is obfuscated. Did you de-obfuscate it somehow, or did you not care? Did you use another method?
 
  • Like
Reactions: Pumpkin1984

dsconstructor

Member
Modder
Sep 26, 2017
416
723
If you don't mind me asking, how did you make a mod for the game? I tried using dnSpy, but the code is obfuscated. Did you de-obfuscate it somehow, or did you not care? Did you use another method?
I'm building against "Assembly-CSharp-firstpass.dll" and using BepInEx to inject my code into the base game at runtime, the source for this mod is available on the OP if you're interested.

i did not deobfuscate the source, i mostly relied on the Unity scene data at runtime and figuring out how Fungus worked which is used extensively in the game.


 
Last edited:

amBest

Member
Jul 18, 2017
410
1,017
I'm building against "Assembly-CSharp-firstpass.dll" and using BepInEx to inject my code into the base game at runtime, the source for this mod is available on the OP if you're interested.

i did not deobfuscate the source, i mostly relied on the Unity scene data at runtime and figuring out how Fungus worked which is used extensively in the game.
Thanks man, trying to figure out how I could mod KsT games with absolutely 0 unity experience. This helps!
 

fikrihanda

New Member
May 26, 2018
4
0
somehow i use this cheatmenu make break kelly story and i cant use chat coffe break in 14.00 time instead scene with janice. any solution ?
 

Anon4321

Conversation Conqueror
Jun 24, 2017
6,705
5,240
somehow i use this cheatmenu make break kelly story and i cant use chat coffe break in 14.00 time instead scene with janice. any solution ?
You didn't cause it, it's a bug in 49Beta1, you need to wait for Beta2 or Final for a fix
 

Lucifer000

Member
Mar 20, 2018
141
34
[Service]
Endpoint=GoogleTranslateV2
FallbackEndpoint=

[General]
Language=ru
FromLanguage=en

[Files]
Directory=Translation\{Lang}\Text
OutputFile=Translation\{Lang}\Text\_AutoGeneratedTranslations.txt
SubstitutionFile=Translation\{Lang}\Text\_Substitutions.txt
PreprocessorsFile=Translation\{Lang}\Text\_Preprocessors.txt
PostprocessorsFile=Translation\{Lang}\Text\_Postprocessors.txt

[TextFrameworks]
EnableIMGUI=False
EnableUGUI=True
EnableNGUI=True
EnableTextMeshPro=True
EnableTextMesh=False
EnableFairyGUI=True

[Behaviour]
MaxCharactersPerTranslation=500
IgnoreWhitespaceInDialogue=False
IgnoreWhitespaceInNGUI=False
MinDialogueChars=20
ForceSplitTextAfterCharacters=0
CopyToClipboard=False
MaxClipboardCopyCharacters=2500
EnableUIResizing=True
EnableBatching=True
UseStaticTranslations=True
OverrideFont=Corbel Bold Italic
OverrideFontSize=
OverrideFontTextMeshPro=arialuni_sdf_u2019
ResizeUILineSpacingScale=
ForceUIResizing=False
IgnoreTextStartingWith=\u180e;
TextGetterCompatibilityMode=False
GameLogTextPaths=
RomajiPostProcessing=ReplaceMacronWithCircumflex;RemoveApostrophes;ReplaceHtmlEntities
TranslationPostProcessing=ReplaceMacronWithCircumflex;ReplaceHtmlEntities
RegexPostProcessing=
CacheRegexPatternResults=False
CacheRegexLookups=False
CacheWhitespaceDifferences=False
GenerateStaticSubstitutionTranslations=False
GeneratePartialTranslations=False
EnableTranslationScoping=True
EnableSilentMode=True
BlacklistedIMGUIPlugins=
EnableTextPathLogging=False
OutputUntranslatableText=False
IgnoreVirtualTextSetterCallingRules=False
MaxTextParserRecursion=1
HtmlEntityPreprocessing=True
HandleRichText=True
EnableTranslationHelper=False
ForceMonoModHooks=False
InitializeHarmonyDetourBridge=False
RedirectedResourceDetectionStrategy=AppendMongolianVowelSeparatorAndRemoveAll
OutputTooLongText=False
TemplateAllNumberAway=False
ReloadTranslationsOnFileChange=False
DisableTextMeshProScrollInEffects=False
CacheParsedTranslations=False

[Texture]
TextureDirectory=Translation\{Lang}\Texture
EnableTextureTranslation=False
EnableTextureDumping=False
EnableTextureToggling=False
EnableTextureScanOnSceneLoad=False
EnableSpriteRendererHooking=False
LoadUnmodifiedTextures=False
DetectDuplicateTextureNames=False
DuplicateTextureNames=
EnableLegacyTextureLoading=False
TextureHashGenerationStrategy=FromImageName
CacheTexturesInMemory=True
EnableSpriteHooking=False

[ResourceRedirector]
PreferredStoragePath=Translation\{Lang}\RedirectedResources
EnableTextAssetRedirector=False
LogAllLoadedResources=False

Помогите пожалуста что я делаю не правильно подскажите:cry::cry::cry::cry::cry::cry::cry::cry::cry:
 

dsconstructor

Member
Modder
Sep 26, 2017
416
723
[Service]
Endpoint=GoogleTranslateV2
FallbackEndpoint=

[General]
Language=ru
FromLanguage=en

[Files]
Directory=Translation\{Lang}\Text
OutputFile=Translation\{Lang}\Text\_AutoGeneratedTranslations.txt
SubstitutionFile=Translation\{Lang}\Text\_Substitutions.txt
PreprocessorsFile=Translation\{Lang}\Text\_Preprocessors.txt
PostprocessorsFile=Translation\{Lang}\Text\_Postprocessors.txt

[TextFrameworks]
EnableIMGUI=False
EnableUGUI=True
EnableNGUI=True
EnableTextMeshPro=True
EnableTextMesh=False
EnableFairyGUI=True

[Behaviour]
MaxCharactersPerTranslation=500
IgnoreWhitespaceInDialogue=False
IgnoreWhitespaceInNGUI=False
MinDialogueChars=20
ForceSplitTextAfterCharacters=0
CopyToClipboard=False
MaxClipboardCopyCharacters=2500
EnableUIResizing=True
EnableBatching=True
UseStaticTranslations=True
OverrideFont=Corbel Bold Italic
OverrideFontSize=
OverrideFontTextMeshPro=arialuni_sdf_u2019
ResizeUILineSpacingScale=
ForceUIResizing=False
IgnoreTextStartingWith=\u180e;
TextGetterCompatibilityMode=False
GameLogTextPaths=
RomajiPostProcessing=ReplaceMacronWithCircumflex;RemoveApostrophes;ReplaceHtmlEntities
TranslationPostProcessing=ReplaceMacronWithCircumflex;ReplaceHtmlEntities
RegexPostProcessing=
CacheRegexPatternResults=False
CacheRegexLookups=False
CacheWhitespaceDifferences=False
GenerateStaticSubstitutionTranslations=False
GeneratePartialTranslations=False
EnableTranslationScoping=True
EnableSilentMode=True
BlacklistedIMGUIPlugins=
EnableTextPathLogging=False
OutputUntranslatableText=False
IgnoreVirtualTextSetterCallingRules=False
MaxTextParserRecursion=1
HtmlEntityPreprocessing=True
HandleRichText=True
EnableTranslationHelper=False
ForceMonoModHooks=False
InitializeHarmonyDetourBridge=False
RedirectedResourceDetectionStrategy=AppendMongolianVowelSeparatorAndRemoveAll
OutputTooLongText=False
TemplateAllNumberAway=False
ReloadTranslationsOnFileChange=False
DisableTextMeshProScrollInEffects=False
CacheParsedTranslations=False

[Texture]
TextureDirectory=Translation\{Lang}\Texture
EnableTextureTranslation=False
EnableTextureDumping=False
EnableTextureToggling=False
EnableTextureScanOnSceneLoad=False
EnableSpriteRendererHooking=False
LoadUnmodifiedTextures=False
DetectDuplicateTextureNames=False
DuplicateTextureNames=
EnableLegacyTextureLoading=False
TextureHashGenerationStrategy=FromImageName
CacheTexturesInMemory=True
EnableSpriteHooking=False

[ResourceRedirector]
PreferredStoragePath=Translation\{Lang}\RedirectedResources
EnableTextAssetRedirector=False
LogAllLoadedResources=False

Помогите пожалуста что я делаю не правильно подскажите:cry::cry::cry::cry::cry::cry::cry::cry::cry:
Taking these steps: #467 i only had to change:
Language=ru
FromLanguage=en

You might need to change the endpoint, depending on if its not serving the translations or is blocked etc.

I do not maintain nor use "XUnity.AutoTranslator" though, it worked last i tested it but that's about all i can tell you.