She’s waiting… ready to tease you LIVE — come play. Join Now!
x

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
Thanks for the interaction, guys! It's absolutely appreciated and helps me to stay motivated.

It is actually remarkably difficult to find the actual names of things in memory, just like how it is in the save game it's probably a reference to a reference and so on.

Fortunately I did not need it for the NPCs, I found the code which updated the screen whenever you open their dialog options and hooked into that:

CompanyManNPC.jpg

Whichever NPC was last in focus on screen will have their stats shown here (not just the girls, everybody). The screenshot is for my Candace Kelly.

Obviously changing these values can seriously break game progression, but the option is there and it seems to work as setting it to 0 enabled the Break Candace dialog option. Could be useful if you need their Ambition or Pride to sink just a few points lower. I also recommend not changing it while they are still in focus, that made my game hang one time.

I don't know if Age actually is used in the game for anything but it can be changed and is reflected in the game. So, BIG DISCLAIMER, it is theoretically possible to turn for example Deidre Kelly the 18 year old cheerleader into Deirdre Kelly the 16 year old cheerleader (or the 999 year old undead cheerleader should you feel so inclined). As we all know the models used are 18+ and we are dealing with fictional characters here, so I pass no judgment how you choose to role-play. Though if F95's policies prefer that option is removed in the uploaded version I can easily do so.

I'm currently messing with the dialog options, not having much luck so far. I may end up keeping it like this for now, problem with modding (or "hacking" in this instance) is you don't actually get to play the thing. Can start feeling like a chore quite fast.
 

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
Ah, that's the file which kills my browser when I try to open it. :)
Really need to get a MarkDown viewer.

Thanks for adding them, that's a crazy amount of copy/pasting. I assume you unpacked the assets-files?

Can't seem to find the ID's in the RAM either unfortunately. It would be nice if I could display the names of the NPC's in the table, but it is what it is.

I'm still struggling with allowing dialogue options to be infinitely repeated. No luck so far. If I do manage, there's a chance it will open up every single dialogue option which obviously breaks the progression should you click on them prematurely.

I also saw there was a mod some pages ago which did a 100% success rate. Makes me curious how that was done without having access to the code? Is the percentage stored in the dialogue data files?

Anyways, I did need a change of scenery so I opened up Tinsel Town. Selecta re-used pretty much all the code from Company Man for it, so it took me 30 minutes to create a table with the same options as this one has. One interesting property is girl type. I think that might be related to how the player has to constantly choose which role the girl plays, girlfriend, arm candy, actress etc.

If people want me to share what I have so far let me know. Just keep in mind I won't explain how Cheat Engine works, except to say "start game, play 1 turn, hook Cheat Engine onto the process, load table, enable Mono features, follow instructions in table"

EDIT: Well, I managed to enable all interactions. As in, EVERYTHING. All locations, all dialog options, all characters. One checkbox and the entire game unlocks. Wow, that is a LOT! I am definitely still very much at the start of this game. The irony is, the part I was trying to alter (the wait time for repeating interactions) remains elusive. I can click on every dialogue option for every character everywhere, except the ones with a wait-time. Go figure...

Might be an option to include in the "DO NOT SAVE AFTERWARDS" section. :)
 
Last edited:
  • Like
Reactions: Sir Anal

prizmant

New Member
Nov 13, 2016
8
22
261
Thanks for adding them, that's a crazy amount of copy/pasting. I assume you unpacked the assets-files?
Yep, I just extracted files with AssetRipper and then parsed into readable markdown file.

I'm still struggling with allowing dialogue options to be infinitely repeated.
I can suggest two options:
1. If you adamant on Cheat Engine try looking for TurnCompletedOn field and freezing it as zero.
2. You can use and edit calculation of cooldowns and GetInteractionSucceeded() method.
2.5. Using UABEA you can set Cooldown and ProbabilityOfFailureResult fields to zero.
But be careful since some interactions give rewards on failure (i think it was demerits and dorm punishment points).
May be interaction class will help you with that.
 
  • Like
Reactions: DarkPhilosopher

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
TL;DR: I think I did it, no more pesky cooldowns on dialog options!

Long version:
Adamant is a big word, but I like CE as a tool and I do like the ability for live tweaking. I know just a tiny bit more about how it works compared to other tools. All of what I've been doing these past days is new to me.

I did actually figure it out. Took a while but your list helped. I first created an option which brute-force turned off every single requirement. Apparently this Method was called not just by dialogue options but by everything. The result was that the entire game was instantly unlocked. Fun for the Extras-section, but not what I wanted to accomplish.

Next I did indeed go looking for Cooldown and TurnCompletedOn, but in order to figure out how and where these were used I needed to find an actual interaction. This is where your list came in handy, as I was able to look up the GUID for that interaction to find it in my save game, then from there discover the other properties and finally discover that specific interaction in memory.

I noticed it was calling InteractionValid so I set that to always return 1. This enabled all options which are visible on screen. Also not exactly what I wanted, but closer to it.

I hooked into its Cooldown, figuring if I simply set the cooldown to 0 whenever it is checked that would be enough. Turns out, 0 means 1 for some reason (it probably adds 1 to everything since nothing should ever repeat in the same turn). So I ended up hooking into the instruction which checks against TurnCompletedOn and set it to always be Turn 1. So far, it looks good, no more cooldowns, while all other options with unmet requirements remain greyed out. This way, it should not break the game's progression checks.

Next up... 100% success rate. Should be easier to test now that I know where to look and I can repeat those chance dialogs as many times as I want.

By the way, I have no clue what UABEA is but I will check it out when I can.
 

TankH04

Active Member
Mar 15, 2021
529
526
217
I really want to play this game but every time I try it just completely crashes my computer. GG I guess.
 

Leny99

New Member
Mar 4, 2017
13
26
235
silly little game but i wrote an html save game editor to mess with it be careful this game is fragile and these saves might break the game so it never changes the original and creates an incremented save file.... meh. have fun
 

derose2k

Newbie
Oct 9, 2020
35
5
173
silly little game but i wrote an html save game editor to mess with it be careful this game is fragile and these saves might break the game so it never changes the original and creates an incremented save file.... meh. have fun
you should fix ids so you search with names instead of id
 

derose2k

Newbie
Oct 9, 2020
35
5
173
Your absolutely right but this is as far as I go. This game just frustrates me. I did add an alias setting to the top right side of each ID so you can add the names as you figure them out I just dont have the patience.
i hear you and i understad you
 

Shockerxx1

New Member
Jun 7, 2024
2
2
13
Ah, that's the file which kills my browser when I try to open it. :)
Really need to get a MarkDown viewer.

Thanks for adding them, that's a crazy amount of copy/pasting. I assume you unpacked the assets-files?

Can't seem to find the ID's in the RAM either unfortunately. It would be nice if I could display the names of the NPC's in the table, but it is what it is.

I'm still struggling with allowing dialogue options to be infinitely repeated. No luck so far. If I do manage, there's a chance it will open up every single dialogue option which obviously breaks the progression should you click on them prematurely.

I also saw there was a mod some pages ago which did a 100% success rate. Makes me curious how that was done without having access to the code? Is the percentage stored in the dialogue data files?

Anyways, I did need a change of scenery so I opened up Tinsel Town. Selecta re-used pretty much all the code from Company Man for it, so it took me 30 minutes to create a table with the same options as this one has. One interesting property is girl type. I think that might be related to how the player has to constantly choose which role the girl plays, girlfriend, arm candy, actress etc.

If people want me to share what I have so far let me know. Just keep in mind I won't explain how Cheat Engine works, except to say "start game, play 1 turn, hook Cheat Engine onto the process, load table, enable Mono features, follow instructions in table"

EDIT: Well, I managed to enable all interactions. As in, EVERYTHING. All locations, all dialog options, all characters. One checkbox and the entire game unlocks. Wow, that is a LOT! I am definitely still very much at the start of this game. The irony is, the part I was trying to alter (the wait time for repeating interactions) remains elusive. I can click on every dialogue option for every character everywhere, except the ones with a wait-time. Go figure...

Might be an option to include in the "DO NOT SAVE AFTERWARDS" section. :)
cAN YOU GIVE A LINK TO THE TABLE?
 

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
cAN YOU GIVE A LINK TO THE TABLE?
And can you turn off your Caps Lock? ;)

Sorry, real life got in the way and I have not had my computer on for several weeks.

This is what I ended up with:
CompanyManTable.jpg

Remove the ".txt" extension, it was necessary to be allowed to attach. F95 staff, CT tables are just XML files, nothing dangerous here. But do let me know if any rules were violated so I can rectify it.

Everything except the "Testing (Temporary)" should work as designed. The "CHANGE AT OWN RISK" parts can obviously break the game progression. When changing the NPC options, I find there's a rare chance for the game to hang or crash if you change them while the NPC is still in focus (like when you set Ambition and Pride to 0 which suddenly unlocks new dialogue options). So my advice is to exit out of the NPC screen back to the map before you change them.

As for the "Testing (Temporary)" options, if you check both "Disable Requirements" and "Disable Vis Requirements" it unlocks EVERYTHING. And I mean EVERYTHING. So DO NOT save after that. "All Displayed Interactions Enabled" should make all possible interactions on an NPC available (if they were greyed out). The other 4 don't work, I was experimenting with different methods.

Please remember, I made it as friendly as possible but I am not here to explain how Cheat Engine works.
 

fzdudesome

Member
Mar 9, 2018
461
334
111
Remove the ".txt" extension, it was necessary to be allowed to attach. F95 staff, CT tables are just XML files, nothing dangerous here. But do let me know if any rules were violated so I can rectify it.
Unfortunately removing the .txt extension just leads to a page saying "The requested file may have been removed, or never existed. Please check the URL and try again."
 

Hese_1

Active Member
Feb 27, 2018
981
855
337
Unfortunately removing the .txt extension just leads to a page saying "The requested file may have been removed, or never existed. Please check the URL and try again."
Right click it and pick "save link as" and then remove the "txt" part of the from the filename.
 
  • Like
Reactions: fzdudesome

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
And I thought I had my bases covered when I said I wouldn't help with Cheat Engine. :)

Personally I would simply download it as is then remove the extension once it's on the system. Of course, you would need to have the "show extensions" option active or you won't see it. Either way it takes a little manual work.
 

fzdudesome

Member
Mar 9, 2018
461
334
111
I appreciate the help from both of you.

DarkPhilosopher you've mentioned you have no interest in helping with cheat engine, so feel free to ignore me with no hard feelings.

When attempting to run the cheat table I cannot seem to activate either of the script boxes (Initialize Player and NPC focus). When I double click either <script> it shows a list of code that's over my head, and when I hit OK it returns an error box that says something along the lines of:

Warning Not all code is injectable. Error in line 2. Failure in determining what ...HandleTurnChange+7e means.

or for the second <script> (error is also in line 2) : Failure determining what ....Setup+7b means.

If anyone else knows a quick and simple fix or can tell me where I fucked up here, I'd appreciate it.
 
Last edited:
Mar 29, 2018
376
402
248
I appreciate the help from both of you.

DarkPhilosopher you've mentioned you have no interest in helping with cheat engine, so feel free to ignore me with no hard feelings.

When attempting to run the cheat table I cannot seem to activate either of the script boxes (Initialize Player and NPC focus). When I double click either <script> it shows a list of code that's over my head, and when I hit OK it returns an error box that says something along the lines of:

Warning Not all code is injectable. Error in line 2. Failure in determining what ...HandleTurnChange+7e means.

or for the second <script> (error is also in line 2) : Failure determining what ....Setup+7b means.

If anyone else knows a quick and simple fix or can tell me where I fucked up here, I'd appreciate it.
Having the same issue, would love a solution.
 

DarkPhilosopher

Member
Modder
Jul 27, 2017
240
874
121
I mean this in the best possible way, of all the things I expected to be asked about Cheat Engine, that was not one. Made me smile, so I'll help.

In Cheat Engine, when you double-click it opens the item for editing. Double click on the title and you can change it, double click on a value and you can change it. Double click on something called "<script>" and it will open the script for editing. So that explains why you get a nice little window containing the assembler instructions.

As for the "failure what it means" error you get (as well as why it did not do anything when you tried to activate it with a single click), that's because you ignored the top option: "FIRST ENABLE MONO FEATURES UP TOP" (which does nothing by itself, it's just there to remind you)

As a result, when you click OK it has no clue what the script is talking about because the Mono features were not activated.

So...
  1. Load into your game,
  2. load a savegame or start a new one so you are on the map screen,
  3. attach Cheat Engine to the "Company Man.exe" process (using the little computer screen icon under the File menu in my screenshot),
  4. open up my table and
  5. FIRST ENABLE MONO FEATURES UP TOP. ;)
MonoFeatures.jpg
This menu should only be visible if you are in the game and Cheat Engine has been attached and recognized it. If you do not see a "Mono" menu, you've done one of the previous steps wrong.

Once those features are active, do a single-click on the checkboxes to the left of those 2 "<script>" options and they will become active and open up.

Then do a turn and the first one should populate with values. Put an NPC in focus and the second one populates with values. You can then double-click on the values to change them. Or use the Enter key when a line is selected.

I suppose I could save the table as a trainer. Might make it easier to use, but I have no idea how that looks and I doubt F95 appreciates me uploading an EXE file.

EDIT: I was planning on releasing the table once I had cleaned up the scripts a bit and made them auto-enable Mono, but I did not get around to that when somebody asked me to share it. Will get there at some point, on the Tinsel Town table as well.

EDIT2: You can use the checkboxes next to the values if you want to freeze them. An advanced use for example is freezing the Ego and Funds then clicking slightly to the right of the box until a green up-arrow appears. This means the value can only ever go up but never down. However, DO NOT use the checkboxes in the NPC section as it changes constantly. You should of course use them in the Cheats and Testing section to enable or disable the cheats (but remember my warning about the Testing section).

EDIT3: I noticed somebody else also posts Cheat Engine tables and they created an FAQ. Figured I would share that as well. Doesn't talk about the Mono stuff like mine but it tells you about the freezing and arrow thing for example. Might be worth a read.
 
Last edited:

fzdudesome

Member
Mar 9, 2018
461
334
111
  1. Load into your game,
  2. load a savegame or start a new one so you are on the map screen,
  3. attach Cheat Engine to the "Company Man.exe" process (using the little computer screen icon under the File menu in my screenshot),
  4. open up my table and
  5. FIRST ENABLE MONO FEATURES UP TOP. ;)
View attachment 5311417
This menu should only be visible if you are in the game and Cheat Engine has been attached and recognized it. If you do not see a "Mono" menu, you've done one of the previous steps wrong.
I really do appreciate you taking time to explain this to us, and as soon as you pointed it out I wanted to facepalm. Seems obvious in retrospect, even if I've never used that particular feature before.

Unfortunately, while I DO see the Mono tab and Activate mono features, when I click it, I get a message that says "DLL Injection failed or invalid DLL version."

It's worth mentioning that I'm using the previous version of cheat engine. I didn't update because it works fine and I don't want to accidentally misclick and install all the adware that the developer bundles in. (I know there's an opt-out option, but I've also seen posts saying they needed to clean install windows after failing to opt-out, which is an enormous hassle to risk when the version I already have works fine.) Is it possible this is causing the issue?
 
Mar 29, 2018
376
402
248
I mean this in the best possible way, of all the things I expected to be asked about Cheat Engine, that was not one. Made me smile, so I'll help.

In Cheat Engine, when you double-click it opens the item for editing. Double click on the title and you can change it, double click on a value and you can change it. Double click on something called "<script>" and it will open the script for editing. So that explains why you get a nice little window containing the assembler instructions.

As for the "failure what it means" error you get (as well as why it did not do anything when you tried to activate it with a single click), that's because you ignored the top option: "FIRST ENABLE MONO FEATURES UP TOP" (which does nothing by itself, it's just there to remind you)

As a result, when you click OK it has no clue what the script is talking about because the Mono features were not activated.

So...
  1. Load into your game,
  2. load a savegame or start a new one so you are on the map screen,
  3. attach Cheat Engine to the "Company Man.exe" process (using the little computer screen icon under the File menu in my screenshot),
  4. open up my table and
  5. FIRST ENABLE MONO FEATURES UP TOP. ;)
View attachment 5311417
This menu should only be visible if you are in the game and Cheat Engine has been attached and recognized it. If you do not see a "Mono" menu, you've done one of the previous steps wrong.

Once those features are active, do a single-click on the checkboxes to the left of those 2 "<script>" options and they will become active and open up.

Then do a turn and the first one should populate with values. Put an NPC in focus and the second one populates with values. You can then double-click on the values to change them. Or use the Enter key when a line is selected.

I suppose I could save the table as a trainer. Might make it easier to use, but I have no idea how that looks and I doubt F95 appreciates me uploading an EXE file.

EDIT: I was planning on releasing the table once I had cleaned up the scripts a bit and made them auto-enable Mono, but I did not get around to that when somebody asked me to share it. Will get there at some point, on the Tinsel Town table as well.

EDIT2: You can use the checkboxes next to the values if you want to freeze them. An advanced use for example is freezing the Ego and Funds then clicking slightly to the right of the box until a green up-arrow appears. This means the value can only ever go up but never down. However, DO NOT use the checkboxes in the NPC section as it changes constantly. You should of course use them in the Cheats and Testing section to enable or disable the cheats (but remember my warning about the Testing section).

EDIT3: I noticed somebody else also posts Cheat Engine tables and they created an FAQ. Figured I would share that as well. Doesn't talk about the Mono stuff like mine but it tells you about the freezing and arrow thing for example. Might be worth a read.
Thanks worked like a charm.
 
3.30 star(s) 42 Votes