#GTTOD - assorted bepinex

1 messages · Page 2 of 1

hybrid jacinth
#

Shaders have a lot more going on and that might be the issue

old kindle
#

then as those are gone it should not loop ever again

old kindle
hybrid jacinth
old kindle
#

the game objects are inactive, so it won't find them anymore

#

only active objects are searched

hybrid jacinth
#

It won't find them but isn't it still searching?

old kindle
#

Yeah

#

But I use the search in other plugins

#

And it's a non-issue

mint bough
#

are you suppressing the entire cavity script or just the blit

#

oh nvm i see

mint bough
#

FindObjectsOfType would return 2 objects, yeah but aren't you iterating over however many game objects there are, and then returning 2?

#

couldn't you store an iteratable or set somewhere in your class and loop over that instead? rather than running FindObjectsOfType every tick?

old kindle
#

But I don't think find objects of type is the problem

mint bough
#

and THEN iterating 2 objects

old kindle
#

Yes

#

I know it searches the entire scene

mint bough
#

ye so y u doin that

old kindle
#

And I know it is inefficient

#

but I'm 99% it's not the issue, but I will remove it and see what happens

mint bough
#

profile it

old kindle
#

Too much work

mint bough
#

if the CPU contributes more to the issue then its not the shader

old kindle
#

I'm disabling the shader lol

mint bough
#

yeah i know

old kindle
#

And when the script is destroyed the issue is fixed

#

This tester tests by destroying components of BepInEx_manager one at a time, waits a couple seconds, then takes the average fps over one second

#

Excluding a few components of course

mint bough
#

just use nsight

old kindle
#

I haven't touched nsight in over a year, and I don't remember what I did you get it to not take forever to process results

mint bough
#

andrew's own environment benefited from the presence of the cavity shader in the first place

#

i assumed this was because of the DepthNormals

#

but you're not disabling this like i thought you were

#

so idk

#

some part of andrew's post processsing stack might be overridden by cavity's blit

old kindle
#

If the shader is the problem my tester would not have picked it up

#

As the shader doesn't get re-enabled when the plugin is destroyed

#

But I will take a look, then get back to you

mint bough
#

the shader should be fine but andrew had to fuck with other stuff to get it to work

#

mostly the glitch post processing effects

#

a lot of the glitch effects are based on the full 32 bit depth pass

#

(he wasn't using any, but the script he uses still sets the camera' depth whether they're enabled or not)

old kindle
mint bough
#

what was it

old kindle
#

I just cached the objects

#

I also fixed the thing where you have to restart the game to re-enable cavity lines

#

*in most cases

#

you sometimes still have to

mint bough
#

lol

#

i put so much effort into that shader just for you to spend like 5 hours figuring out how to turn it off

old kindle
#

I got the order wrong

#

it doesn't matter though

mint bough
#

yo ive never used bepinex before

#

do you need a fully decompiled game to actually like

#

do anything complex

old kindle
#

making decompiling the easy part

#

as you can just get source from the assembly

#

but you don't even need source to do some cool stuff

#

the global chat plugin was made without me referencing the game code

mint bough
#

does it integrate with the editor at all or is it entirely IDE-based

old kindle
#

all ide

#

if you want to do something with the editor you would need to make an asset bundle

#

so you can do custom scenes and stuff, but all scripts would need to be in the plugin

#

(you can't put scripts in asset bundles for some probably stupid reason)

mint bough
#

time to delete the weapon wheel

old kindle
#

lol

old kindle
#

or just delete it?

#

gone

mint bough
#

damn

#

do you actually got like

#

debug features

#

HCR & such

mint bough
old kindle
#

ohhhhh

#

I have seen that

mint bough
#

good cuz i made it with the intention to mod it in

old kindle
old kindle
mint bough
#

but i am also

#

not liking unity

#

at all

old kindle
#

real

#

you should not ened much of unity to do that though

mint bough
#

ill look into this

old kindle
#

I can send you a zip file it you want

#

that you can just unzip onto the game

old kindle
#

everything else would have to be done in code

mint bough
#

yeah that'd be the plan

#

unity is made by weirdos

old kindle
#

I mean, you don't really have a choice

old kindle
mint bough
#

even if I did i probably would try to do it in code as much as I could anyway

old kindle
#

these are the sort of debug menus I get

mint bough
#

what the fuck

#

that fucks so hard

old kindle
mint bough
#

what does it have in it, just bepinex and unity explorer?

old kindle
#

depends

mint bough
#

does it have decompiled GTTOD classes for autocomplete?

old kindle
#

you don't even need them to be decompiled

mint bough
#

oh tru

#

right

old kindle
old kindle
#

ok, you should do that, makes the zip easier to make

#

I have less files to include

mint bough
#

holy bingle

#

ok ill fuck with this tomorrow

#

are you in VS or VSCode

old kindle
#

VS, although you can use VSCode

mint bough
#

is it even possible to do launch configs for vscode

#

HYPE

old kindle
#

I just run the build command and copy manually

#

like a loser

mint bough
#

lmao poser

vocal cradle
#

i'd use vscode because vs is kinda over the top for bepis

mint bough
#

granted my entire understanding of buildship revolves around exclusively gradle and some maven

mint bough
#

it can do LITERALLY everything vs can, you just have to set it up to do so

#

and sometimes it also decides that it would like to delete itself

#

and that is not good

#

but i forgive it

old kindle
mint bough
#

thanks

old kindle
#

this assumes you have patched

#

it also uses my config

#

so that your game won't break

vocal cradle
#

vs has a splash screen and code does not

#

literally only reason i use code over full one

old kindle
#

but code will take 8 years to load if you give it enough extensions

mint bough
#

I have like 40 and it loads instantaneously in a gradle env

#

anecdotal probably but still

old kindle
#

well I mean, you get a window instantly

#

but the editor is still starting, meaning that you are missing stuff like, IntelliSense

vocal cradle
#

and by loads i mean all the fancy stuff finishes

mint bough
#

gradle fully initializes in almost exactly 1 second

old kindle
#

for bepin it is fine, but if you want everything VS does...

#

now VSCode lets you pick and choose

vocal cradle
#

what does vs even do that makes it so big and slow

old kindle
#

and that's what makes it better

#

but I don't want to take 8 years to setup my code editor

#

I just want to make shit

mint bough
old kindle
vocal cradle
#

true,,,

mint bough
#

and also comes built in with pretty much everything you need to make anything

#

i just cant stand VS's ux

#

it handles like powerpoint

old kindle
mint bough
#

vscode just does what i tell it to

#

and nothing else

#

its great

old kindle
#

Just not for me

mint bough
#

if it was my job i'd probably bite the bullet and learn vs

#

cuz vscode has twice forgotten how to build for no reason

#

for like weeks

old kindle
#

Never had that happen

mint bough
#

gradle for java is terrible

#

(in vscode)

old kindle
#

I use jetbrains for java

mint bough
#

fortunately for me i am not a masochist

old kindle
#

I will also never update jetbrains again

#

They changed the UI when nobody asked

mint bough
#

you can put it back

#

there's a check box

#

i know that because i hate the new ui too

old kindle
#

where

mint bough
#

dont remember

#

uninstalled it in like 2 days

old kindle
#

I mean, the UI might be fine

#

But I don't know where shit is

mint bough
#

i sort of like how the panels can dock

#

but that is the bare minimum

#

and iirc the old one had dockable panels too

old kindle
mint bough
#

ive gotten used to the way vscode is so i just dont really understand why IJ and VS hide buttons behind menus that you llike

#

use

#

all the time

white loom
#

t

old kindle
#

#modding-chat message

I was doing some more performance testing and found this, the animation for falling off the map causes the frame rate to drop to under 15 if you are on the summit, it is fine on all the other levels, but it seems not to like the summit

#

what I have been doing has been killing performance more than I thought... maybe, just maybe... @maiden slate was right

vocal cradle
#

aldtimized

old kindle
#

Yeah, just take away my computer

#

Never let me touch a code editor again

warped tapir
#

I disagree

warped tapir
#

Summit is big

old kindle
#

Well I know what is going on

#

It was a joke

warped tapir
#

Fortnite

#

So fix it

old kindle
#

As moving the player causes the animation to bug out

old kindle
#

And I probably won't

warped tapir
#

Eh it’s whatever

#

Cosmetic mod

old kindle
#

It's only one level for 3 seconds

#

And your already dead

#

But Andrew was right, I do need to pay more attention to what I'm doing

#

I thought "game is GPU bound, it doesn't matter"

#

It clearly does

#

This proves that

#

It gives the performance penalty for each mod

old kindle
#

@vocal cradle when doing perf tests I am seeing that maxout is the cause of 2 to 4 fps loss (out of my margin plus or minus 1 fps margin of error), you can replace the line with if (GameManager.GM == null) return; to improve performance for free if you are interested

for the second image you can use GameObject.FindObjectOfType<GTTOD_UpgradesManager>(); to be more resilient to game updates.

old kindle
#

all plugins are now optimized!

#

with all plugins installed

mint bough
#

@old kindle do you perform shenanigans on .net 7 or 8

old kindle
#

.net 4.8

#

I use .net 8 to build though

#

but if you are trying to use the offical getting started template you will need .net 7

#

but just use my template

mint bough
#

:((((

old kindle
#

what did you do?

#

did you not change the name of the csproj and name space to the same thing?

mint bough
#

nah i did

old kindle
#

hmm

#

send me your project files

mint bough
old kindle
#

who uses rar in 2024

mint bough
#

bro i will kill you

old kindle
#

I got 7Zip

#

so we good

#

hmm

#

@mint bough change your target framwork to net48

#

also delete your sln file (and never save it again when prompted, you don't need it and it breaks stuff in my experience)

#

and fix the PluginInfo capitalization in the awake method

mint bough
#

intellisense no work

old kindle
#

VSCode moment

mint bough
#

oh shit nvm

old kindle
#

what was it?

mint bough
#

workspace cache

#

I used net46 instead of net48

old kindle
#

net46

#

my bad

#

I made a goof

#

but you were using something else in your file

#

I don't remember

#

but it was neither of those

mint bough
#

my stupid ass was looking for .net SDK 4.8 earlier

#

it seems to all be good

#

thanks for the help

#

just to clarify, the compiled .dll needs to be in the plugins/bepinex folder to run, right?

old kindle
#

yeah

#

or you can use script engine

#

this lets you reload plugins with F6

#

although you have to put them in BepInEx\scripts

mint bough
#

so I could just write a launch config that copies the compiled dll from bin to BepInEx/Plugins and BepinEx/Scripts and then runs gttod?

old kindle
#

yeah, but don't put it in both folders

#

one or the other

mint bough
#

aight

old kindle
#

stuff in plugins loads at game start, needed for preloader patches (harmony patches work fine)

#

stuff in scripts loads when you press F6

#

@mint bough you should also enable the console from the mod manager (it's in the settings), so that you can get logs in real time without unity explorer

mint bough
#

yeah I already did

#

vscode seems to think my directory is still spelled with a lower case S though

old kindle
vocal cradle
#

i think the view rotation vector might be zero

mint bough
#

my SHIT wont WORK

vocal cradle
#

what exactly isn't working

mint bough
#

my solution file is generating with a lower case S

vocal cradle
#

solution file,,,

mint bough
#

launch configs won't target the correct file

#

i need COCK

vocal cradle
#

solution: rename the folder

#

👍

mint bough
#

ITS STILL HAPPENING

#

nvm :)

#

i get the joke

old kindle
#

So, what do you plan to make first?

#

The inventory redesign?

mint bough
#

gonna try to overhaul pickup models

old kindle
#

So a model swap

#

Hmmm

#

Never messed with that before

#

Should be pretty simple though

#

And you would only need to patch the prefabs

#

Although that would be a lot of prefabs to patch

#

One for each weapon, equipment, item, and melee (I think, I don't know if melee have pickups)

mint bough
#

it loaded

old kindle
#

Wow

mint bough
#

can bepinex host a debug server?

old kindle
#

No clue

#

There is a way to debug the game

#

It involves dnspy and patching mono

#

Although I gave up because it was too hard

mint bough
#

it'd just be nice to have the bepinex console in vscode

old kindle
#

You added 2 semicolons on line 69 (nice) and didn't apply the change on line 69 (nice) to line 56. I also wonder if there is a better approach for 29...

#

I got nothing for line 29, other than a million transform.GetChild() to navigate through the scene

vocal cradle
#

still compiles and probably runs better so i'm not gonna fix it,,,

old kindle
#

I am going though a lot of ror2 docs, as their docs are the best

old kindle
#

how is stuff going in here?

white loom
#

h

old kindle
#

have you been working on anything @mint bough?

white loom
#

quaq

old kindle
#

that's not a bepin plugin

mint bough
#

correct!

old kindle
#

also java, ew

#

I am forced to use java

#

I hate every second of it

mint bough
#

at least i can debug it ☺️

old kindle
#

killing you

white loom
#

poop

twilit tusk
#

Fart even?

old kindle
#

@vocal cradle @maiden slate IT'S REAL

#

This took 30 minutes lmao

#

I banged my head on a table for hours the first tried it

white loom
#

what

old kindle
#

outline only guns

white loom
#

why would you want that

old kindle
#

because it's cool

#

also because I tried this months ago and failed

#

I had an idea out of the blue on how to implement it and it fucking worked

vocal cradle
#

why didd you ping me

#

!

odd stump
#

@vocal cradle

white loom
#

@vocal cradle

worldly sparrow
#

@vocal cradle

old kindle
odd stump
#

@old kindle

worldly sparrow
#

@worldly sparrow

odd stump
#

@odd stump

torpid condor
#

It’s real

old kindle
#

It really is

#

The first plugin I attempted

#

But failed and gave up making

odd stump
#

aldin

#

i have a request

old kindle
#

Go on...

#

I'll make it right now if it is easy

odd stump
#

is it possible to turn the handless cozy mode thingy into just a toggle button

torpid condor
#

I have a request

odd stump
#

cause i wanna have no hands without deepfrying my colors

old kindle
#

I guess so, shouldn't be that hard. I can actually just pull code from the invis guns to use for this

old kindle
torpid condor
#

can you

And then

old kindle
agile crane
#

@old kindle great sire i come to you with a request for a QoL mod i would very much appreciate, one that re-enables the speedometer and one that adds a timer

old kindle
#

Didn't Zemo already make that?

agile crane
#

did he???

old kindle
#

I mean, I doubt it works anymore

#

but I should be able to do that

agile crane
#

thanks aldin ur the best if ur a boyliker i'd kiss you rn

old kindle
#

@agile crane would you like me to fix the speedometer's frame rate dependence?

old kindle
#

@agile crane, Put this dll into Get To The Orange Door\BepInEx\plugins after patching the game with the mod manager. Make sure that K8Lib is installed

#

@shy cairn you might like this aswell

#

I will upload it to the mod manager eventually

shy cairn
#

Oh yo

#

Badass

old kindle
#

It has
Level Timer
Speedometer (that is not framerate dependent)
level time popup

#

all configuable in settings

#

(the application settings, where workshop mod stuff is)

#

||It also knows where you live tro||

old kindle
old kindle
#

LMAO

#

#gttod-speedruns message

#

I didn't even see this before I made the plugin

#

I'm replying

shy cairn
#

How troublesome do you think it'd be to write a plugin to actually make rune of wondrous speed work on dev branch

old kindle
#

It doesn't?

#

Not super

#

This only took an hour

#

(and most of that was fixing the wall run speed)

#

Yeah, I could. What exactly is wrong with it though?

#

@shy cairn

shy cairn
#

Enabling it just does nothing

old kindle
#

Does it not enable or not work

shy cairn
#

I'm presuming it just doesn't work

#

Game shows it as being enabled at the wall and in your save file

#

But it just does nothing

old kindle
#

Alright, I will take a look

#

I will probably just end up killing everything and auto completing door events if it's on

#

Andrew can fix it properly later

worldly sparrow
old kindle
old kindle
#

@shy cairn ITS A FUCKING TYPO LMAOOOOOOOOOOOOO

#

That is the cause

shy cairn
#

Oh my fuckin god

old kindle
#

I will get you your plugin though

#

one sec

#

testing time

#

4 minutes might be the new plugin record

#

if this does indeed work

#

alright

#

everything works

shy cairn
#

Fuckin sick

#

Did you want anything in return?

old kindle
#

for this?

#
{
    if (GameManager.GM == null) return;
    GameManager.GM.GetComponent<GTTOD_UpgradesManager>().AttunementRunes[5].RuneName = "RUNE OF WONDEROUS SPEED";
}```
#

this is literally the fix

#

(the fix on my end, andrew has a better way to fix it)

shy cairn
old kindle
#

All I need is a thanks

shy cairn
#

Thanks :)

old kindle
#

❤️

#

I just realized that escape the shatter is gonna suck for speedrunning

#

It is super combat focused, and everything is an encounter

#

will parts of levels being locked off till the encounter is finished

#

and you can't beat the level without killing everything

#

(so even if you could do skips you wouldn't actually be skipping anything)

old kindle
#

@vocal cradle the DLLs that ship with GTTOD are not stripped, the unstipped versions and stripped versions are literally the same

vocal cradle
#

it must have changed with an update then

worldly sparrow
#

wait whats the github page for the mod manager?

#

now that my github is fixed i can download it again

old kindle
worldly sparrow
#

cheers

#

hmmm, wont let me chang my file path

old kindle
#

it should find it automatically

worldly sparrow
#

found the wrong one, when i tried switching it, its just invalid

old kindle
#

you have to put a \ at the end

#

as that makes it thing Get To The Orange Door is a file not a folder

worldly sparrow
#

ah

#

my bad

#

thanks aldin <3

old kindle
#

That is the fault of microsoft

#

they made it so that explorer copied folder paths without the slash

worldly sparrow
#

ew

#

yucky

old kindle
#

that is not standard and I don't know why they do that

#

I already have this patched in the next version of the mod manager

#

that has just been rotting on my computer for months

#

it has support for that and depricated plugins

worldly sparrow
#

also, is the rune of wonderous speed fix on the mod manager?

#

or do I have to install it manually

old kindle
#

manual

#

I have not added plugins to the mod manager in months

#

escape the shatter is taking all my time

worldly sparrow
#

I see

#

is there a DLL for the fix or do I gotta do some digging in the files?

old kindle
#

there is just a dll for it

#

put it into gamefolder\bepinex\plugins

worldly sparrow
#

k

#

oh found it, thanks for your help!

old kindle
#

I will probally update all the mod manager stuff once I finish the rythem mod

vocal cradle
#

they definitely were stripped last time i touched bepinex but yeah they aren't anymore

#

weird

old kindle
#

I am going to leave the stuff for unstrip in the mod manager

#

as andrew could always strip them again

vocal cradle
#

true

#

i am gonna keep a backup of them because they were a HASSLE to get

old kindle
#

they will always be on the mod manager

#

but if you want some dlls that are a real hassle to get but I would love very much...

#

unity debug dlls

#

for unity 2021

#

it is so bad I just game up

#

no debugging plugins

old kindle
#

Yall are not ready for the amount of out of date plugin messages you are gonna get tommorow

old kindle
#

everything is getting updated for K8Lib v2

#

and if it does not need K8Lib I am fixing a bug that every single plugin I have ever made has

vocal cradle
#

thank god none of my 2 plugins use k8lib ,,

old kindle
#

oh, updating for the new version is not hard

#

I would have also made it backwards combatable if other people made plugins with it

#

The only mod I am not updating today is the global chat

#

but yeah

old kindle
#

All of the updates are ready

#

@odd stump Launch the game without updating and send the update requests

odd stump
#

i’m not on my pc

old kindle
#

just... get better then

#

I added this message ages ago

#

glad it works now that I finally tested it

#

next mod manager version will do this too

#

you can't update mods without uninstalling it

#

as updating will force it to uninstall

old kindle
#

Send the update requests

odd stump
#

IM NOT ON MY PCCCCCC

#

i literally just got off of it lmao

old kindle
#

WAIT, WHAT

#

WHAT THE FUCK IS THIS GIF

odd stump
#

WOAHHHHHH

old kindle
#

You should uhh

#

Turn on your computer

#

But keep your clothes on

odd stump
#

im playing ratchet and clank on my playstation

old kindle
#

What game?

odd stump
#

the new one

#

rift apart

old kindle
#

I played it

#

Pretty good

odd stump
#

ye

white loom
old kindle
#

Just... keep that to yourself

white loom
#

hey Aldin

old kindle
#

Hi Glenn

white loom
#

how you doin today guy

old kindle
#

Same as always, nothing much interesting

white loom
#

•ω•

old kindle
#

Just finals right now

white loom
#

the game finals or irl finals

old kindle
#

That is the most interesting thing in my life at the moment

#

You?

old kindle
white loom
#

not much went on

#

just games

#

n stuff

old kindle
#

I haven't sat down to play a game in a while

#

Been on the grind

odd stump
#

JESUS CHRIST SHUT UP GET OUT OF MY HEAD FUCKKKKKKK

vocal cradle
#

nob smntoid plugins,,

odd stump
#

maxout is for lil baby men and liberals

vocal cradle
#

what about uhh um uhh

old kindle
old kindle
vocal cradle
#

GTTOD - untitled

old kindle
#

why is this untitled now?

vocal cradle
#

why are you untitled

old kindle
#

name it back pwease

vocal cradle
#

discord should make it so you can transfer threads to someone else

old kindle
#

name it back pwease‼️

vocal cradle
#

fine !!

#

GTTOD - back pwease

old kindle
vocal cradle
#

GTTOD - assorted bepinex

old kindle
#

We could have had peak

hybrid jacinth
#

I actually had it working in game lmao

old kindle
#

Finish it...

hybrid jacinth
#

I forget where the stuff for that is though

old kindle
white loom
old kindle
#

r

white loom
#

r

maiden slate
#

r

twilit tusk
#

r

frigid prawn
#

r