#Lethal Performance & DiFFoZ Tweaks & BepInEx Faster Load AssetBundles Patcher

1 messages · Page 4 of 1

molten light
#

Hey it's completely understandable I was always thinking you just hit some burn out lol

midnight tendon
#

for some reason, the latest update made my screen go black on startup

#

I tried to uninstall the mod, and clean up unused mods, but it didn't work too

#

i don't use any antivirus

midnight tendon
#

Ok, i tested a lot of different mods and found out that it was LethalPerformance and ImmersiveVisor

#

i get black screen when i start modded with both at the same time

hazy sail
#

apparently version 0.4.1 is bad ??

#

i reverted to 0.4.0 and my game launched fine

steady scarab
#

Yeah the most recent update just broke on my end. Had to revert back as well

robust dock
#

y'all got any tasty logs?

midnight tendon
#

The logs end exactly at the [Message: BepInEx] Chainloader startup complete before Lethal Performance is able to save any configs

midnight tendon
steady scarab
#

I'll try and get the logs, problem is the game freezes before the logs even finish

#

Like the console just stays stuck at
[00:17:34.6393906] [Info :JacobG5.JLL] Successfully Registered 1 JLLMods and 0 LevelPropertyOverrides.

#

Towards the end it just starts spamming
LethalPerformance.Patches.Patch_VolumeComponent.EmitAddItem (System.Type type, System.Reflection.Emit.ILGenerator il, System.Collections.Generic.List`1[T] codeInstructions) (at /_/Patches/Patch_VolumeComponent.cs:105)
Then it freezes and I have to forcefully close the game

#

Not sure what's causing the issue but I hope this helps yoiled

half magnet
#

Latest update makes my game unable to launch

steady scarab
#

Rollback to 0.4 for now and it should work

molten light
#

I've had no issues with the LethelPerformance update

#

🤔

#

@steady scarab @half magnet see if deleting and regenerating the config helps it might just be your configs became corrupted

steady scarab
#

It's a mod incompatibility from what I'm guessing

molten light
#

Or corrupted config

steady scarab
#

I already tried regening configs

molten light
#

Hmmmm

steady scarab
#

I'm just gonna have to do the 50/50 split method and disable one by one to see what it's conflicting with

#

Cause it's not config, that much I've tested

steady scarab
#

Welp

#

I found the culprit at least for me

#

It's immersive visor

#

It's officially incompatible with the new update for this mod

#

I knew it couldn't be the configs because every time a mod updates I delete it's config and regen. I'm that OCD about it xD

robust dock
#

oh, I thought Immerive Visor had issues before with LethalPerformance

steady scarab
#

It was working fine for me until now

midnight tendon
#

nope, both worked fine

steady scarab
#

But this latest update bricked something I just don't know how

#

But yeah its immersive visor

midnight tendon
#

Honestly, i just use ImmersiveVisor because i noticed that the cracks on the visor causes my FPS to drop somehow... Got a better performance when changing for the screen crack from ImmersiveVisor

steady scarab
#

As ridiculous as it sound I suddenly feel kinda depressed now xD

#

I just really like how much better the visor was with the mod compared to vanilla visor

midnight tendon
hazy sail
#

that's so oddly specific lol

#

cuz i play w/ immersive visor and lethalperformance, but lethalperformance is on v0.4.0 instead of the latest (0.4.1 as of writing this)

#

it works just fine that way

steady scarab
hazy sail
molten light
#

Why were you still using it?

acoustic loom
#

It’s a shame that it’s unapported

molten light
#

Btw @polar willow we were never able to discover what might be sometimes causing the duplicated arms problem, I wanna guess it was one of the SCP mods but I wanna make sure it might not be a bug with the update for this mod

polar willow
#

ERM I don't know

#

for Immersive Visor I'll push the fix today

midnight tendon
keen onyx
#

With this mod enabled, my game crashes upon reaching the WARNING: FLASHING LIGHTS splash screen.

#

There aren't even logs about it either, at least from what I've seen.

polar willow
#

stop using deprecated mods (immervise visor): easy

keen onyx
#

Goodbye Lethal Performance !!

molten light
#

Immersive Visor was deprecated for a reason cus it breaks in quite a few ways on V64

polar willow
#
  1. downgrade (or remove) LP until next update
  2. remove IV for now
molten light
#

^

keen onyx
#

Ah, they were joking. I thought they were serious.

keen onyx
#

Throws this at you

patent sluice
keen onyx
polar willow
#

0.4.2

No changelog

thorny gazelle
#

Oof

simple panther
#

or does it make it obsolete/not needed?

molten light
#

They're both needed

thorny gazelle
thorny gazelle
#

I disabled it on my modpack

molten light
#

Prolly a conflict with something in your modpack let's be honest

#

It's huge

thorny gazelle
molten light
thorny gazelle
#

let me check

molten light
#

Okay cus I would have suspected that to cause it

#

@mellow shoal can you look into why The Locker's glow vanishes? I don't remember that happening in my pack but now I feel the urge to double check peepoGiggles

limber yew
#

Do you guys mean the Locker isn't producing any light when aggroed? Cause it does for me and I have ReverbTriggerFix

molten light
polar willow
#

I will be writing here a bit less due to discord been banned in Russia by government

#

I do have a VPN and stuff to bypass the DPI (the system that blocks traffic) but still in case ill warn

#

man, I need to learn about crypto to easily buy VPN outside of Russia

polar willow
#

yeah

rapid tapir
#

That freaking sucks

polar willow
#

in turkey is also got blocked

rapid tapir
#

What’s the reasoning being given?

polar willow
#

PDF, lgbt (yes, its blocked organization)

molten light
#

I never even knew you were from Russia tbh

#

But yeah that really sucks v.v

rapid tapir
#

Would alt clients work?

polar willow
#

I don't think so

rapid tapir
#

Well I imagine Guilded (and similar services) are gonna be getting a lot more users in the coming days

polar willow
#

after the discord ban everyone started to search teamspeak and Skype

rapid tapir
#

God I’d rather die than return to Skype

polar willow
#

and team speak crashed - you cannot register or login

rapid tapir
#

Geez

polar willow
#

to get access to v5 beta, for v3 you can

rapid tapir
#

I’ve never even touched Teamspeak tbh

polar willow
#

v5 beta looks like a discord

rapid tapir
#

Used Skype from maybe like

polar willow
#

that's why I waiting to get access to v5

rapid tapir
#

2011-2016

polar willow
#

yeah me too

rapid tapir
#

A mix of Skype and Facebook messenger

#

Shoutout to MSN Messenger/Windows Live Messenger tho

#

But yeah for social media that’s…essentially it for me

polar willow
#

we just will be using telegram for now

rapid tapir
#

Never had Twitter/Instagram/Snapchat/etc.

rapid tapir
molten light
#

@polar willow Assuming you can still be contacted, I still would love to see that Faster Load update release

dark hollow
rocky depot
#

@polar willow Incompat with More company
More company now lets you change your cosmetics in-game but having Lethal Performance makes it so you can't see your character when doing so

#

This is what it looks like without lethal Performance

rocky depot
#

Gonna put this in GitHub just in case

polar willow
#

hmm, let me check diff changes in the latest update of morecompany

karmic crypt
#

so idk why it'd be conflicting in-game but not in the main menu

polar willow
#

it's because it using ui camera to render the player

#

but I disabled rendering opaque objects, so player doesn't render

rocky depot
polar willow
#

I'll probably add button listener to enable/disable rendering

rocky depot
polar willow
#

no, when you click on cosmetic button it will automatically enable rendering

rocky depot
#

Oooooh

#

That would be really nice, ty<3

surreal geode
#

what are the issues with immersive visor?

polar willow
polar willow
#

TME for example doesn't work well with the changing cosmetics in-game

rapid tapir
#

Bracken is so rude :c

molten light
polar willow
#

Time to profile the game again

rapid tapir
#

My PC just won’t use its resources for Lethal, and I have no freaking clue why

molten light
molten light
#

01930ac7-aa49-da6b-c908-11fca610bfce

#

I have been going through removing quite a few things that were causing issues

#

lol

polar willow
molten light
#

Been fun

rapid tapir
#

We legitimately doubled my fps in her pack by just removing soundapi stuff. Not exaggerating in the slightest.

polar willow
#

after that it's 5-6gb for me

rapid tapir
#

Ah I have plenty of ram to spare. Had to get 32 GB for school stuff

molten light
#

probably my largest changelogs in a while have been those

#

LOL

polar willow
#

You can also disable db logger in async loggers to reduce disk usage

molten light
#

I had readded LethalElements cus I was asked to by Mrov, but Alecks got low fps when we had Solar Flare

#

while it was smooth for me

polar willow
#

so game won't use 100% disk when error spammed

molten light
molten light
#

I can't go back to tiny ship XD

rapid tapir
steady scarab
#

I tried to go back to tiny ship and keep the 3 floors and it still felt wrong xD

polar willow
#

is this pc from diversity?

steady scarab
#

Yes

molten light
polar willow
#

for some reason it updates audio visualiser even if there's nothing to show

molten light
#

Fun

molten light
#

You may wanna fix that

polar willow
#

my friends also

#

looks like we will play lethal again 🙂

molten light
#

Yeah the big ship is so cozy and once you get used to it it's really hard to go back to the small one

polar willow
#

what embed is doing

#

for some reason it like every frame starts coroutine to find crew count UI

#

even if you're in game

molten light
#

Hmmmm

#

@sterile cove

#

Seems like Emblem has a bug

#

@karmic crypt Maybe this is why that menu patch has an issue with LobbyImprovements, an interaction with Emblem maybe?

molten light
# polar willow even if you're in game

If you want you might be able to confirm this, but basically I got really bad lag with LobbyImprovements 1.0.5 and 1.0.6 present, if Emblem is constantly calling stuff it could be why

#

Cus 1A3 traced it down to his menu patch

polar willow
#

sure let me install LI 1.0.6

molten light
#

Btw I would guess the Emblem bug is something that was changed in 1.6.0 or 1.6.1 when Darkbrewery updated support for MoreCompany's update

#

Cus it didn't do that last time you profiled my pack with 1.5.4

polar willow
#

even in menu it cannot find crew count

molten light
polar willow
#

also, if you're rejoin n times then it will spawn n coroutines

#

fun 🙂

molten light
#

Oof

molten light
polar willow
#

is emblem

#

even without LI is still cannot find it

molten light
#

I wonder why with LI it lags so much worse though

#

Does it just exaggerate the issue?

#

I need to test if I lag on Flicker with Slaughterhouse without Emblem and readding LI in my pack now

#

Yeah it's fixed now @polar willow @karmic crypt I can successfully play on Flicker with Slaughterhouse now with no lag

#

I immediately felt the performance boost

#

LOL

fallen ember
molten light
fallen ember
#

welp

burnt monolith
#

Unfortunate typo @fallen ember

fallen ember
#

gotta love them

burnt monolith
#

you just caught me going to bed so you're out of jail but do watch what them fingies are typing ehehe

molten light
#

Tsk Tsk

burnt monolith
#

very naughty

fallen ember
#

that's what i get for refusing to use a autocorrector on my phone

karmic crypt
#

Flicker is a moon and Slaughterhouse is an interior

molten light
polar willow
#

hm let me check my fps on flicker

molten light
#

with LI present, I always would lose like 20 fps with Emblem present

#

without LI it was smooth

#

without Emblem and LI installed

#

it's smooth

#

I'm not saying LI might not still drop some frames, but it was definitely way better without Emblem constantly running that check

karmic crypt
#

And disabling the MenuManager.Awake patch on LI seemed to fix it (which creates all the UI stuff)

molten light
#

Since Emblem was constantly looking for it every frame

karmic crypt
#

Not really cuz it just makes it before morecompany

#

So it does the exact same logic for the CrewCount with and without LI

molten light
#

Weird

polar willow
#

forgot to install more money on start

#

restarting...

molten light
polar willow
#

oh really?

molten light
#

Yeah

#

forcecredits then the amount of money you want I usually just do forcecredits 9999 during testing

polar willow
#

looks like moon has a big hierarchy (or interior) causing GameObject.Find take too long

#

5ms/2(finds) = 2.5ms per find

karmic crypt
#

But that doesn't explain why disabling my patch would fix it?

#

Cuz my patch runs once each time you enter the main menu

polar willow
#

fuck shyguy is still causing issues with debug profile

molten light
#

Rip

#

Even though his patcher is disabled?

polar willow
molten light
#

Now I just wonder why SoundAPI causes clients to lag, I would assume cus of UniTask?

polar willow
#

@arctic ether Fix Attached component logic to remove this component instead of plugin component (which is not exists on that gameobject)

molten light
#

Cus the host never has issues, only clients do and idk why

polar willow
#

unitask cannot lag, because it's not initialized

molten light
#

Got you, I do wonder if it's just cus clients have to load the sounds on top of handling rpc's

#

I only thought maybe UniTask cus I know barch really wanted to remove it from Mirage

polar willow
#

confirm button throws nre

karmic crypt
#

Ah ye I fixed that whilst testing but the fix isn't in the latest thunderstore version

polar willow
#

and removing LI still doesn't help, embed is still causing lag

molten light
#

So the issue is purely on Emblem

#

Good to know cus I nuked it

#

lol

#

I'll readd it if Dark fixes it

molten light
steady scarab
#

Honestly as much as it hurt, cutting out soundapi, and by extension lethal resonance, reduced ram usage for my modpack by 2 gb. Wish it wasn't so resource heavy 😩

odd basalt
#

Once soundapi v2 comes out I can hopefully reduce it a decent bit. Still shocked that it's using so much for everyone, because when I work on LR it uses at most a gig

arctic ether
polar willow
sterile cove
#

Ill just update to all latest versions and giver a clean.

sterile cove
# molten light Hoorah

Ya, i'll just listen for when the host button is clicked and then recolor if present after a delay

molten light
molten light
# polar willow performance reason

Hey this might be something worth looking into, but if you can profile YesFox I would love to know why when the Fox is grabbing clients it lags the host so badly, there's also some other lag issues with the mod as a whole and I wonder if you might be able to give 1A3 some insight on fixing it

polar willow
molten light
polar willow
#

hmm

#

i can test rn

molten light
#

Yeah cus I would assume that's something weird with rpc's potentially but there could be more to it

molten light
#

Never seen that before XD

polar willow
#

devs of imperium completly broke it for dev build

#

welp trying to downgrade it until it will work

molten light
polar willow
#

0.2.0 worked yay

molten light
#

It has a config

#

Ooh nice

arctic ether
molten light
#

and I tested and it indeed does

#

XD

polar willow
#

here the reason

#

and idle thing

polar willow
molten light
#

Interesting

#

@karmic crypt @agile oyster maybe this will help you both fix the fox mod

agile oyster
#

lol

#

i thought lethalperformance (am i thinking of a different mod?) already fetched and replaced FindObjectOfType<VehicleController>() calls with a reference to a static instance

polar willow
#

i didn't added vehicle to the cached list, so no

agile oyster
#

i see

#

well, that's an issue with like, every single outdoor monster

#

it's probably just worst for the kidnapper fox because he does it in Update() instead of OnCollideWithPlayer()

molten light
#

So basically the fix is to cache the vehicle stuff?

arctic ether
polar willow
#

i can add vehicle to the cache

agile oyster
polar willow
#

but I need then list of mods that adds 2 or more vehicles support

agile oyster
#

let me know and i guess i could commit something to yesfox to try and handle it on our side

#

this is the sort of thing that i think would be better to have "external support" for - this affects tons of scripts (not just the kidnapper fox, not just enemy scripts - there are finds everywhere for VehicleController)

#

though

agile oyster
#

well, only one mod except imperium, anyway

#

i think zeekerss' debug menu also lets you spawn trucks

arctic ether
#

First magnet moved now ship inventory moved sadpou

molten light
#

🤔

arctic ether
#

O wait you said magnet

agile oyster
#

so i think trying to account for more than 1 cruiser at a time is sort of a fool's errand

molten light
#

Yeah lol

agile oyster
#

but i also tend to be pretty closed-minded about these sorts of things

#

so that may just be me

arctic ether
#

Yay she only steal 1 mod

molten light
arctic ether
#

I already told her it was fine she felt so bad about it

molten light
#

I thought it was the magnet

#

My bad

#

XD

arctic ether
polar willow
#

just object.destroy(this)

agile oyster
# agile oyster i think there's only one mod on thunderstore that supports having more than one ...

https://thunderstore.io/c/lethal-company/p/JacobG5/MultiCruiser/
https://thunderstore.io/c/lethal-company/p/4902/Cruiser_Additions/ (supports buying the cruiser again on the same day if the previous one was destroyed)

ATM im not aware of any others to account for, but others might know more?

polar willow
#

instead of your logic

broken field
molten light
polar willow
#

not sure how fast the updatw will out

molten light
#

@arctic ether Is the ShipInventory mod gonna be updated soon?

polar willow
molten light
#

🤔

#

Just vanilla?

#

Oh the Walker

#

lol

polar willow
#

diversity causing it in debug profile

#

Flicker / Solar flare

molten light
#

@fleet aspen Maybe this might help you out some

polar willow
#

nothing found to that might cause constant frame drop

#

rendering is still one of main problem of performance

molten light
#

Btw @vague belfry is the white list option stuff still working? Cus I never see Heatwave anymore

polar willow
#

half of time is just rendering

molten light
polar willow
#

yes embed doesn't cause constant frame drop

molten light
#

Noice

#

I took out the the mod that moves the chute for now btw til Atomic updates it, since it does cause some stutters on the ship

molten light
#

I notice performance will drop until I kill them

#

XD

vague belfry
polar willow
#

here memory usage idk

arctic ether
arctic ether
#

@molten light @polar willow Updating it now and i see why this might of caused performance. I wish GameObject.Find() wasnt so bad

polar willow
#

well it's better than FindObjectOfType 😅

arctic ether
#

How bad performance was it causing?

#

I didnt see anything wrong with it for a month

polar willow
#

on big hierarchy it will take like 1.5-3ms

fleet aspen
molten light
#

@polar willow Zombies Plush seems to cause some really bad lag when you have a bunch of them, might be worth looking into why cus it's something with one of the recent updates for it

robust dock
#

@polar willow I'm trying to set up profiling again, but running the game from Gale rather than installing mods manually, is that how you do it as well? I placed all the stuff in boot.config based on dnSpy's guide, but I'm not seeing the game instance in the editor still

GitHub

.NET debugger and assembly editor. Contribute to dnSpy/dnSpy development by creating an account on GitHub.

#

oh wait, I might have gotten the wrong executable

robust dock
#

oh, I hadn't seen that thread, tyty

polar willow
#

from the profile image it doesn't tell anything to you

molten light
polar willow
#

@molten light

#

it searches an object every second

#

so yeah if you have a lot of them then it will cause lag spikes

#

storing them in the ship storage (idk what the name of it) will remove that lag

#

it searches for nearby enemies

fallen ember
#

why the heck people dont use triggers for that kind of stuf 😭

polar willow
#

and looks like only for server, client doesn't check for nearby enemy

robust dock
#

at least it's using sort mode none lol

#

I wonder which would be cheaper though, sphere trigger collider or hooking enemy start and destroy

#

I would hope a collider would be but who knows

fallen ember
#

memory wise, trigger, performance wise probably the hashSet

polar willow
#

game already has a list of enemies

#

so no need to searching via findobjectbytype

fallen ember
#

tho having to keep a set updated adds complexity while the trigger is super simple

fallen ember
polar willow
#

RoundManager.SpawnedEnemies

robust dock
polar willow
#

also, trying to profile high cpu usage of audio system

#

and i don't know why other cpu takes half of cpu

#

DSP CPU is like mixing audio and decompressing audio

polar willow
#

Looks like if a lot of audio clips are loaded then other cpu increases

#

1.26k audios / 1.5% cpu / 106MB total audio memory usage
1.55k / 1.5% / 160MB
2.09k / 2.1% / 308MB

molten light
#

It was profiled

feral eagle
arctic ether
#

@polar willow I updated part of my mod and Lunxara is stuttery do you know if it my end or not?

#

Nevermind apparently messed up terminal command, so wasn't me :3

molten light
#

@polar willow Btw any idea why the game freezes for so long when saving?

molten light
#

I ask cus I would really like to fix it, but removing ButteryFixes in testing didn't help

feral eagle
polar willow
molten light
#

Cus I would love to reduce that freeze when the game is saving

arctic ether
molten light
#

@agile oyster Are you still thinking of adding those save optimizations into Buttery Fixes?

polar willow
#

Game
ButteryFixes
MoreShipUpgrades
CoreRebirth
GeneralImprovemets
LethalModDataLib (lethal level loader)
CustomStoryLogs
TooManyEmotes
HotbarPlus
CruiserImprovements
SaveItemRotations
and more...

#

here the list of mods that are saving data

agile oyster
#

so it would actually be way harder than i anticipated to do the caching thing i mentioned before

#

so i sorta changed my mind

#

maybe in the future but im not actively looking into it right now at least

molten light
#

@untold trench btw I wonder if TME could not do this when I am a party pooper is checked, I also dunno why Hotbarplus needs to touch save file stuff

gusty kayak
#

Isn't it for the extra hotbar slots purchasing option?

molten light
#

Yeah but I don't have that enabled

untold trench
molten light
untold trench
#

Ah, then it could be lol. Thanks for letting me know, though!

molten light
molten light
molten light
#

@polar willow Does the SCP3199 mod show anything in profiling? I've noticed they drop my fps pretty bad on some moons when they spawn

#

I'm wondering if it's the egg mechanic or the enemy itself or what, I imagine something they do is expensive

polar willow
#

errrm

#

will look after implementing a feature to my college project

rocky depot
#

@polar willow any update on the more company lobby doll thingy?

molten light
#

@polar willow I've noticed some lag when Giants spawn in on Bozoros, can you run a profile and see if FairGiants might be the cause?

polar willow
#

isn't bozoros have a lot less of ai nodes than like other moons

#

i think xu reported about that, so it might be the causing that problem?

#

testing rn

sharp sage
polar willow
#

oh

#

shit no LGU on lunx modpack

#

can't forcecredit

molten light
sharp sage
#

Oh I thought it was added back

molten light
#

It has LGU

sharp sage
#

Yee

molten light
#

01936572-c473-adef-db21-bb3b0f8dd160

#

Readd FairGiants though

#

Sticking out a whole day is probably the most ideal, since lag generally comes in the later cycles like around 7-8pmish

#

and especially after the giant spawned

polar willow
#

👍

#

what the fridge

#

we love lag spikes

#

ah i found the reason, debug mode

#

or no?

#

wait let me reinstall modpack

#

i think i might have using old version

robust dock
#

50ms shock

molten light
#

@plush geyser looks like SCP999 might be causing some lag

polar willow
#

lag spikes of masked searching of mineshift

molten light
#

Fun, I've also noticed Masked do some teleporting when they get off the Elevator in Mineshaft

polar willow
#

then it tries to target closest enemy

#

like 10 times in this frame

molten light
#

Yeah that would do it

polar willow
#

also, it looks like code rebirth searching for that object but IM NOT SURE

molten light
#

That was fun

polar willow
#

checked the code and it's just loop of all enemies and tries to path to them

#

so that's why it checked like 10 times of path

robust dock
#

oh god and it does so trying to path out of line of sight

#

I make a patch to fix the bracken and everyone forgets that's a bad idea

molten light
polar willow
#

it's vanilla

#

it searches of all item objects

robust dock
#

oh I thought it only did that at the start, does it do it periodically?

polar willow
#

because stormy was always laggy for me

robust dock
#

looks like it's only supposed to gather them 15 seconds after the day starts

#

might be worth a deep profile if it is reproducible

sharp sage
#

I thought it searched through all items when picking which one to target with lightning, but I might be remembering incorrectly

robust dock
#

kinda, it searches through all the conductive items and checks their distance to controlled players at least

#

the logic is kinda weird, I'm not entirely sure what the average number of iterations would look like there

#

it does throttle itself to a 4 second interval though, so seems like it shouldn't be the cause of any super noticeable lag

#

unless it's a really big stutter on that interval

polar willow
molten light
molten light
# polar willow

Btw you mentioned the biggest issue for you was rendering lag before, any idea what mods are hitting rendering the most?

polar willow
#

Lethal Performance & Transpiler Fix & BepInEx Faster Load AssetBundles Patcher

#

Decided to merge 2 thread into one

#

Also, CompanyCruiserFix is now deprecated. It will still work, but I just suggest to remove all old moons

#

if some moon devs are still depending on this mod, I can remove deprecated warning for the mod until next month.

mellow shoal
#

isn't wesley moons still depending on that?

polar willow
#

iirc from the lunx stream that wesley is going to update the mod asap

mellow shoal
#

yeah idk if it's that close just yet .. There's no eta and i don't think it's a good idea to pressure the guy too hard.

molten light
#

But I also recommend removing mods for now that use LethalToolBox and CompanyCruiserFix - s1ckboy's suggestion

gusty kayak
#

I thought Wesley's interiors were throwing warnings when LethalToolbox was missing, cause of the apparatus triggers? Not sure if I was reading the log lines in the right order

molten light
#

They rely completely on JLL now

#

Maybe the interiors addon does?

#

If you use that?

#

But that's not Wesley's mod that's Crit's and Crit would need to fix that

gusty kayak
#

Might be generic's then

molten light
#

Cus his stuff works fine

#

Likely he just forgot to remove it but I'll forward the warning to him

mellow shoal
#

lmao now he can't ignore it

molten light
# mellow shoal lmao now he can't ignore it

Yeah cus his stuff is using your scripts and I know the Apparatus events all work just fine, so it's likely he just left in the LethalToolBox script by mistake and it was doing nothing

#

Cus we have had Grand Armory and Toy Store plenty of times since removing LTB

#

XD

old rover
#

Just as I set up constellations. agony

molten light
old rover
#

IDK how config will behave when moons are not present.

molten light
#

Ye I would do a backup and just test lol

old rover
#

Anyway, what's wrong CruiserFix and ToolBox?

mellow shoal
mellow shoal
#

🤷‍♂️

#

generally a lot of people view jll as superseding toolbox. and cruiserfix just fixes non updated moons from several months ago that may no longer have support from their creators.

#

nothing is broken and both mods currently work fine for what they do

old rover
#

Thanks! Lunx making me paranoid once again. beevil

molten light
old rover
#

I do have Generic/Wesley/Distinct/Ooblterra so far, but all of them are in their own constellations. As long as there's no "cross contamination", so to speak, I don't mind having them. Could always just hide the troublesome ones.

arctic ether
polar willow
#

no need for locking them, just closed will be enough

arctic ether
honest oxide
#

what changed about the moonmaking scene that makes companycruiserfix not needed anymore?

rich phoenix
#

it was never needed. it was just a stopgap to give moon makers time to update without making all custom moons unplayable

honest oxide
#

so once the moons were updated to the correct version it became unnecessary

rich phoenix
#

yes

honest oxide
#

got it

rich phoenix
#

but SOME people, not naming any names, still havent updated
-# wesley

honest oxide
#

same situation with lethaltoolbox in that regard then huh

rich phoenix
#

nothing wrong with toolbox

#

a lot of people choose JLL instead because it has more features

polar willow
#

smol update

[0.4.3] 2024-11-29

Fixed

  • Dummy from MoreCompany doesn't render when in game.
molten light
molten light
#

rip

wild elm
#

Wait, CompanyCruiserFix and LethalToolbox now may cause issues?

polar willow
#

no and no

polar willow
#

[0.5.0] 2024-12-03

Added

  • Experimental option to utilize Steam Voice API instead of the Unity Microphone API. It's disabled by default, enabling it may help with less lag spike.
  • Patched FoliageDetailDistance to remove allocation of material.
  • Cached normals array in player normals calculation to remove allocation.
#

Forgot to add description that it only works in Online mode as it's uses Steam API

#

in next version i'll look into on caching vehicle controller

molten light
polar willow
#

Mirage Legacy recording works fine, never looked at mimics if they play the sound tho.

DissonanceVoiceSettings should work

molten light
#

Oki will test

molten light
#

Yeah Steam's Voice API quality sounds pretty bad

polar willow
#

ooh hm

#

for me it was the same quality, but I never checked voice over network only what mirage recorded

#

also, i've echo cancellation disabled as it causing to change gain

gusty kayak
#

Might need to adjust steam's audio quality settings

agile oyster
#

sorry to keep bugging you about this but i wanted to double check - is it still planned for lethalperformance to cache references to vehiclecontroller in the future?

molten light
#

He just wanted to prioritize the other optimizations first

agile oyster
#

oh god dammit

#

i read the chat history and somehow i missed the only message i was looking for

#

thank you though

#

now im glad i didnt ping Lol

polar willow
#

thanks lunx

#

Also, I've a question how much player XP will be considered as not novice in Lethal Company? Currently thinking 100 xp will be good

polar willow
#

working on creating profiler markers for es3

molten light
polar willow
#

here writer time

molten light
#

Interesting

molten light
atomic ravine
#

@polar willow hey do you mind if i dm you and ask you some questions?

polar willow
#

ask questions here, my dms are closed

polar willow
# polar willow here writer time

ok, here is my plan on how to optimize saving:

  1. Patch ES3.Save to use caching (ES3File). It serializes all data in memory without compression & encryption.
  2. At LateUpdate call ES3File.Sync to save cached data to the file with encryption after that.

and for reading also use ES3File

#

The problem is that game is using generic ES3.Save method, so I cannot patch it with harmony, so will try to instead use patcher.

agile oyster
#

that would be cool

#

if zeekerss used es3settings it would be super easy to do

#

you can just relocate the settings file to the cache and then postfix the save logic to write to disk

robust dock
#

wait is the game writing save files encrypted?

agile oyster
#

yes

robust dock
#

huh, that's an interesting choice

agile oyster
polar willow
#

so yeah

robust dock
#

I figured it was probably some compressed format, but encrypted thonk

#

seems a bit excessive

agile oyster
#

youd have to replace every single .save call with a new one that uses es3settings or just hack-patch it like you mentioned

polar willow
agile oyster
#

yeah

#

is calling sync in lateupdate not a performance hog?

polar willow
#

well 1 time to save is much better than N times

agile oyster
#

does it just flip a flag when the cache gets updated and only write to disk when that's true

polar willow
#

everytime you call save it opens stream, decrypts stream and read json, saves your data and after that encrypts data.

agile oyster
#

right

#

but how does es3file.sync work

robust dock
#

I think the question is whether you would be saving every LateUpdate, but I would assume that if ES3 doesn't mark it dirty itself, you can do so

polar willow
#

i'll handle to call sync

#

I'll probably also make encryption key fixed, generating salt to save data is too much

midnight tendon
#

Don't forget about the vehicle controller 🤓☝️

midnight tendon
#

i saw this comment from Zeekerss and remembered that Lethal Performance had added Steam Voice API option, now i'm confused... does the experimental option help with performance or not?

polar willow
#

Steam Audio is NOT Steam Voice

#

Steam Audio is make audio more realistic

midnight tendon
#

sorry i'm dumb

molten light
#

The Steam Voice API option from what I tested helped performance a little but voices sounded really bad lol

polar willow
atomic ravine
#

oh sick what was the issue?

#

should probably mention it to zeekers as well just so he doesn't have to look for a fix

polar willow
#

with FoliageDetailDistance

#

it leaks material every second

atomic ravine
#

ohhh

#

damn you're insane lol i couldn't even figure out the exact cause from my results on the memory profiler

#

and you fixed it that quickly 😂

rapid tapir
#

Yooo it’s fixed?

polar willow
#

I noticed that a long time ago, but it was fixed only in v0.5

rapid tapir
#

idk how long we spent trying to guess what in gods name caused it

atomic ravine
#

ohhhh

rapid tapir
#

Dang, so ig we weren’t the first to find it then lol

atomic ravine
#

yeah i mean i was surprised that it wasn't talked about, but i would've been more surprised if diffoz didn't notice it since he's always very performance oriented

#

there definitely wasn't a memory leak in the game initially though from what i remember

rapid tapir
#

That also explains how I never noticed it

#

Wait no

#

It was only fixed a week ago nvm

atomic ravine
#

to be fair you probably would've just assumed your high memory usage was just cuz of mods 😂

robust dock
#

I love that the material and materials properties silently clone materials! woohoo!

#

no wonder zeekers didn't notice that

agile oyster
#

to some extent it makes sense

#

and it is explicitly warned in the docs

#

but it is very frustrating to work with when you explicitly dont want it

#

Lol

#

in most cases you can just add shared and be done but not always

molten light
dull quarry
#

If you do it in editor you’ll even get an error 😅

robust dock
#

and it can have very far reaching consequences

#

(like in this case)

robust dock
#

are you talking about a warning about leaking materials? because that is different

dull quarry
#

Ideally should just remove the properties tho since the get and set material functions are more explicit

robust dock
#

warning about leaking materials doesn't solve the problem of two things touching the same material and then losing their reference to it randomly

dull quarry
#

I don’t understand what your saying in relation to the rest of the conversation

robust dock
#

I mean that it is a footgun in multiple ways, not just in that it leaks materials

#

regardless though, if it was more explicit that it clones the materials, this probably would not have happened, since it would encourage putting more thought into usage of that property

agile oyster
#

i think my main problem is that bypassing it is unintuitive

#

using "sharedmaterial" implies that it is not an instanced material by nature

#

so if you want, say, a single object (like the barber) to have its own material

#

you have to do this weird thing where you clone its material (either manually with instantiate, or automatically with the property)

#

and then you always alter sharedmaterial which unlike the name suggests does not point to the original material in the project anymore

#

but lets you alter the fresh material that now exists without touching anything else or re-cloning it

#

that is the worst part of this setup in my eyes

robust dock
#

best part is, I'm pretty sure that after you do that, if you access material, it will still clone it

#

because it doesn't actually track users, it just has some internal flag that says "this material was instantiated by material or materials" and if that is false it creates a new one

#

at least as far as I could tell after running into numerous issues involving some combination of those properties

agile oyster
#

lol

#

is that why foliagedistancedetail leaks so badly

#

because it keeps setting material = a cached material on the script that zeekerss created

robust dock
#

hmm I mean I'm not sure if that would be solved by reference counting

agile oyster
#

so even though the object is replacing a material for the second, third, etc. time

#

it is replacing from a source that wasnt instantiated and thus it constantly reclones every frame

robust dock
#

the issue is that assigning to material clones the input material, and if it was reference counted, it would see that the material being assigned is shared on the second assignmnet and clone it

#

if it kept track of the original shared material it could avoid it, but this whole thing gets very screwy when trying to solve that

#

but also I forgot to mention, you can also have a non-single-user material

#

teehee

#

if you access material and assign it to another material, it keeps the shared ref iirc

agile oyster
#

oh yeah sorry i just remembered something else

#

another thing that is unintuitive and sort of scary to constantly work around

#

it is not super clear when editing/replacing sharedmaterial will actually fuck up your project in playmode or not

robust dock
#

oh that I haven't had too many issues with

#

thankfully

agile oyster
#

as far as i am aware, doing sharedmaterial = some material is fine and doesnt alter the original files but obv changing the material is a different story

robust dock
#

if you edit the shared material's properties they may save, but replacing the shared material reference shouldn't save since that's on the instantiated renderer behavior

#

yeah

agile oyster
#

then there's also the matter of "when does changing sharedmaterial also change the original prefab vs just changing a prefab instance"

robust dock
#

but the patcher is supposed to reset scriptable objects, however it only does so for vanilla ones for some reason

#

I made a fork that makes it reset everything so I stopped screwing up my project files

#

crazy that Unity doesn't do that itself, it seems very unintuitive for behaviors to be reset but not scriptables

robust dock
#

or if you do it manually obviously

robust dock
#

has anyone had the voice chat suddenly regress in quality or spatial directionality after a few rounds? I just had this happen a couple rounds ago while playing with friends, and I'm not sure why as I don't have Steam Voice API enabled in the config.

I'm wondering if it could be some sort of bug in the logic that enables that feature that would have activated it unintentionally, since Lethal Performance was one of the mods I added to this pack for today, but I also haven't played on this pack in a while, so it's very possible it's just another mod that broke it instead.

robust dock
#

Profile code and logs in case they're useful, but I searched through the logs a bit and the only thing that seems remotely relevant is the MoreCompany audio mixers, here are logs and a code in case they prove useful later

0193c702-91a5-b535-5ca2-b26115d4d04a

old summit
#

Has the foliage causing memory leaks been an issue in vanilla for a while, or only in v69?

molten light
old summit
#

Damn

#

Don’t know how it hasn’t been fixed by Zeekerss yet

molten light
#

It hasn't

#

V69 was a minor patch it didn't touch anything with foliage

old summit
#

What I’m saying is I don’t know how it hasn’t been fixed yet if it’s existed for a while

molten light
#

Cus it was discovered after he went to take his break?

old summit
#

Ah

#

That’s fair

dull quarry
old summit
#

Someone in my group used to have 8GB of RAM. He got random freezes occasionally

#

Probably the memory leaks on the first day didn’t help

dull quarry
#

doubt it tbh

old summit
#

Well there’s atleast a bug report for it and LethalPerformance fixes it until Zeekerss does. So it doesn’t matter now

atomic ravine
#

foilage leak is pretty insane on my end, it takes up 1mb/s until the first round is over (and yes on vanilla)

old summit
#

Is it the first day of a save file, the first day of quota, or the first day of when you load up the lobby?

atomic ravine
#

IIRC first round when loading into a new game, but i could be wrong

old summit
#

So like when you get fired or when you start a new save

#

I guess I probably can test it

rapid tapir
#

@old summit

#

Can confirm the ~1MB/s too

#

barch and I did some testing with it because at the time we thought the bug was undiscovered (or at least undocumented)

atomic ravine
shadow flume
neon bluff
#

Is there any downside to setting these both to max

gusty kayak
#

They have hover descriptions, it's an optimization to lower them that can cause issues if mods need more space in it, so only raise as needed I believe?
Think the main downside is a ton of ram usage?

neon bluff
#

oh

robust dock
#

likely only VRAM usage but yeah

devout canopy
old rover
#

Gale Mod Manager

neon bluff
#

Gale

open plover
#

is there a list of known mods that hurt performance somewhere or nah

broken field
#

It would be cool for us less knowledgeable people, but I know it would be a bit of a time sink

open plover
#

im doing some testing of my own right now

#

diversity seems to decrease fps by about 20 on average

#

wesley interiors seems to decrease fps by about 25 on average

#

worth noting mods may play diffrent in my pack compared to yours so make sure to do your own testing before taking my word for it

rapid tapir
#

@molten light is very knowledgeable about mod performance

molten light
#

Tbh I should let @polar willow profile my pack again probably

open plover
#

how about they profile mine trolley~1
ive been going insne trying to optimize it because as of late it isnt running great

neon bluff
rapid tapir
#

You could send a modlist and people could potentially point out any notable performance hitters

#

While not as knowledgeable as Lunxara, I also know a decent amount about it too

neon bluff
rapid tapir
#

Not sure what the list is for the bingo event (I was invited but unfortunately I won’t have access to a PC during it), but yeah sure

open plover
neon bluff
rapid tapir
open plover
#

this is on the ship

#

on the ship I get a 25 fps drop

#

by having wesley interiors enabled

rapid tapir
#

Strange

#

Have you checked the logs to see if anything is throwing errors?

open plover
#

dont think there is any

#

try testing yourself and see what you get

stray solstice
#

As of V69 it's been more... Choppier per se

rapid tapir
#

I use Wesley’s Interiors very frequently and it’s fine for me

stray solstice
#

I usually only dip like into like 57 FPS

rapid tapir
#

I mean it fully depends on specs

open plover
#

While in the ship for counting fps

stray solstice
#

Idk why the interior of the ship is always laggy on certain moons

#

Is it really just this?

gusty kayak
#

Are you sayin that Wesley's int is doing that even without landing on a moon that generates one of them?

open plover
#

yes while insanely weird its very reproducable for me

#

being in the ship with the mod enabled is a loss of roughly 20 fps

stray solstice
#

And it's... Just that

#

Just Wesley's?

open plover
#

as for landing on a moon there is similar results

stray solstice
#

Have you done other interiors

open plover
open plover
stray solstice
#

I would love to see if it is on other interiors

open plover
#

i would like other people to test this to make sure its not some weird pack issue im having

#

so if anybody can that would be great

stray solstice
#

For me personally

open plover
#

for my testing

#

its a brand new save

#

I load in and dont move my camera

#

record the fps

#

then I pull the lever on experimentation and look out

stray solstice
#

Huh

open plover
#

this makes sure that other factors like what im looking at dont effect it because obviously if you look at diffrent parts of the ship you will have diff frames

#

same camera angles and other factors

#

so the only changing varible is if the mod is enabled or not

rapid tapir
#

166 without
171 frames with

open plover
#

weird

rapid tapir
#

So no impact

stray solstice
#

What the hell

open plover
#

ill send my code in a second

rapid tapir
#

I do have performance mods active but

open plover
#

same

stray solstice
rapid tapir
#

CompanyIssuedFixes

stray solstice
#

I personally don't know WHAT THE FUCK performance mods to use

#

I have general improvement and lethal fixes and this and that and this

rapid tapir
#

If you want zero impact on visuals and such

open plover
#

0193e784-ed01-0a46-d4ec-1e5640b59a00

rapid tapir
#

I'm biased but CIF is the way to go

open plover
#

feel free to test yourself

rapid tapir
#

lol

molten light
#

@open plover Diversity's performance issues are known

open plover
#

without wesley interiors 20 fps gain

molten light
#

It's cus of the Floppy Reader

stray solstice
open plover
molten light
#

Chaos was gonna update it but then kinda abandoned the mod again

open plover
#

just make a new save and dont move the camera so no other variables interfere

stray solstice
#

Also Diversity adds like 24 extra seconds to load time

molten light
#

I always seem to get lag anytime I get Toy Store so I wouldn't be surprised if Wesley's Interiors need some optimizations, the Old Birds waking up in Grand Armory feature also has a habit to either not cause any issues or drop the game's fps to like 30

#

No inbetween

#

I just recommend turning that feature off

#

It's a problem

open plover
#

is im int he ship

#

im in the ship

#

and I have a net loss of 20 fps

#

with wesley interiors enabled

stray solstice
molten light
stray solstice
#

Wait what

#

No

molten light
#

I think some enemies can't pathfind in it properly

stray solstice
#

They spawn instantly on world load

stray solstice
molten light
#

We're talking about Toy Store

#

wdym

stray solstice
#

Like the interior mod

#

Do you use it personally

molten light
#

Bruh

#

What

#

do

#

you mean

#

If we're talking about Toy Store

stray solstice
#

WESLEYS INTERIORS. IT HAS ISSUES

molten light
#

Why would I not be using his interiors?

stray solstice
open plover
#

guh

molten light
#

This is a silly question man

#

Ofc I'm using them

stray solstice
#

OKAY

#

I Thought I was losing it

molten light
#

I was confused cus you suddenly asked if I was using them

molten light
#

as we were talking about performance issues

#

made no sense

#

lol

stray solstice
midnight tendon
#

I currently use this modpack to play, mostly vanilla and client-side mods. I think it has a good performance but I did a few tests by myself...

0193e774-dd0b-7172-22f5-3a0b9c06d3ee

If someone could point out some mods that may hurt my performance I would be glad to take a look 🙂

stray solstice
#

Do you use it even though it has its issues

#

In that sense

molten light
#

I've not tested to confirm or deny if there's a performance gain without them

midnight tendon
molten light
#

I like Wesley's stuff

stray solstice
molten light
#

Although I will admit Toy Store generates way too large and I don't understand why

open plover
rapid tapir
#

I can't profile but I can test

stray solstice
rapid tapir
#

currently doing so

molten light
#

Yes

open plover
stray solstice
molten light
#

But CC's values don't make it understandable why it generates so big

stray solstice
#

That's crazy

molten light
#

Only Wesley would know

#

Cus this looks pretty normal

#

LOL

stray solstice
#

Maybe the RANDOM SIZE MULTIPLIER BEING AT 9???

molten light
#

Idk

#

Like I said

#

Only Wesley would know

#

XD

stray solstice
#

I think that's the problem

open plover
#

wesley is in the rubber room

#

with rats

molten light
#

Cus Storehouse doesn't have this issue aaand

stray solstice
stray solstice
open plover
#

ughhh i wanna use storehouse but the optimization explod

#

doesnt run very good when in it

#

from my experience

molten light
#

I have no issues with Storehouse

stray solstice
#

Is storehouse that vanilla like interior

molten light
#

Are you using CullFactory?

open plover
#

yeah

rapid tapir
molten light
#

Idk then

honest oxide
#

Why is storehouse so inconsistent lol

open plover
#

other people have said they had this issue too

rapid tapir
#

So negligable difference

stray solstice
molten light
#

I used to have issues with Storehouse but I don't anymore

stray solstice
#

Intriguing...

open plover
stray solstice
#

Maybe doing the changes with the old bird and stuff like that might help

honest oxide
#

When I had problems with it nobody else did, and now that I don't everyone else does

open plover
#

maybe pc issue im not really sure either way its weird

molten light
stray solstice
#

Ever since V69 my pack has been just... Slightly laggier

honest oxide
molten light
#

Storehouse is fine for me

open plover
molten light
#

I just think it needs tile variety

#

It's kinda bland

honest oxide
#

It used to lag and generate really small for me, now it's fine but others have problems with it

stray solstice
open plover
#

(real)

#

loook in your pc while your playing

#

little snowmen are hard at work

honest oxide
stray solstice
open plover
honest oxide
#

Lol how could they be, my pc is constantly on the brink of overheating

stray solstice
#

Stupid snowmen are going to destroy my pc...

open plover
#

i havent had temp problems in a while

#

simply take your computer and pour water all over it!

honest oxide
#

Aha your right

rapid tapir
#

Remove JesterStompShake and ShowCapacity

#

Brought me from 76 to 146

#

Just removing those two mods

open plover
#

the fuck 😭

molten light
#

Oh yeah those mods are known to hurt fps

molten light
#

I remember people ranting about JesterStompShake

open plover
#

god damn it

rapid tapir
#

Did another test, not a fluke

#

I could do even more lol

open plover
#

also are you like manually testing a bunch of mods on my list?
if so damn thanks but you really dont need too lol i was asking for specifically wesley interiors to make sure i was not losing it
but regardless I appreicate it alot

#

i spent like an hour slowly testing like 60% of the mods on the list

rapid tapir
#

Just loading into the ship

open plover
#

what the fuck

#

😭

#

maybe I can keep wesley interiors even though it hurts fps by 20
I just gained so much that id be willing to take the hit because its like 2 of my fav interiors

open plover
#

both are such good mods too damn it

rapid tapir
neon bluff
#

@rapid tapir

#

can you test my modpack

rapid tapir
rapid tapir
neon bluff
#

I tried adding some performance mods

rapid tapir
#

Importing now

rapid tapir
#

obviously some big removals you may not want though

#

ScanTweaks -> GoodItemScan
LCBetterClock (if not using it for the smaller clock) -> ImprovedClock

#

I could probably improve it more but you have a lot of mods that I don't know the impact of

neon bluff
rapid tapir
#

89 -> 111

neon bluff
#

Like in ship and on experimentation

rapid tapir
#

I didn't test experimentation

#

Just ship

#

I'd test it now but I already have the pack deleted lol

robust dock
#

have you had issues with OpenBodyCams perf even with an fps limit?

neon bluff
#

So you disabled the 9 in the screenshot?

robust dock
#

you can get it pretty close to negligible perf difference by limiting

rapid tapir
#

iirc it was a pretty big difference

molten light
rapid tapir
#

ahh

molten light
#

I think Zaggy did some profiling with it and found other mods to have problems at the time

robust dock
#

wasn't that an issue with darmuh's terminal stuff settings?

molten light
#

which I since dealt with

rapid tapir
neon bluff
molten light
rapid tapir
#

89fps with your pack to 111fps with my changes

neon bluff
rapid tapir
#

nah

neon bluff
#

So is it only the ones in the screenshot?

rapid tapir
#

uhh also introtweaks since you can do everything it does with other mods

#

forgot to include that one

robust dock
rapid tapir
#

in the screenshot

neon bluff
robust dock
#

now that BM is out I can do that pretty soon

neon bluff
#

That’s the main reason I still use it

molten light
neon bluff
robust dock
#

(to be clear, it's not an issue unless you have the terminal set to always visible)

rapid tapir
neon bluff
#

Oh

rapid tapir
#

might've also changed a setting or two in GI

molten light