#archived-modding-development

1 messages · Page 116 of 1

flat forum
#

listen to some calming music

compact sedge
#

Thank you

#

No seriously

#

I'm goddamn glad I sent you this

flat forum
#

me too

hazy sentinel
flat forum
#

wait that's no Death Metal I know of

#

Veru

fair rampart
#

ok hunny how do de lightbringer work o ?

#

0

#

.........

#

......................................................................................................................................................

young walrus
#

have fun figuring it out

#

not gonna help someone who acts like this

fair rampart
#

im sorry

#

done

leaden hedge
fair rampart
#

uuuhhhh

#

'

#

i down it

leaden hedge
#
- Installation Instructions -

To install the mod, take the folder labeled hollow_knight_Data and drag it into the Hollow Knight folder located here:

Steam\steamapps\common\Hollow Knight

Merge the folders when prompted to and select Copy and Replace for every file.

Additionally, if you do not plan on starting a new save file, back up your previous save files found in:

%appdata%\..\LocalLow\Team Cherry\Hollow Knight
fair rampart
#

im in files

#

IIIIIITTTSSS COM

#

P

#

LACTED

leaden hedge
#

how is it complicated

fair rampart
#

WHAT IS LOCATED HERE

leaden hedge
#

you go to your local files in steam

fair rampart
#

wait

leaden hedge
#

and drag the hollow_knight_Data folder from the zip

#

to that folder

fair rampart
#

SSHHHHHH

#

pls wait

leaden hedge
#

although you need to be on 1.2.2.1

young walrus
#

still putting up with this person KDT?

fair rampart
#

for transaction

leaden hedge
#

because its not updated

fair rampart
#

how i fo to files?

#

on steam

leaden hedge
#

right click > properties > local files > browse local files

#

you're probably not on 1.2.2.1 though

#

so you'll need to downpatch

#

which I really don't feel like explaining

fair rampart
#

im at de

#

):

#

im sorry for wasteing yor time

leaden hedge
#

theres a guide for it in the speedrunning area somewhere

copper nacelle
vernal forum
#

May have missed this. What are the NGG mode settings used

#

in the global settings json file

supple sigil
#

56 more like bad server owner

copper nacelle
#

what

supple sigil
#

doesnt even know how to separate roles from online

copper nacelle
#

there's only one role

#

why would i care

supple sigil
#

Gives everyone a void role but doesn’t display it for no reason

copper nacelle
#

black color imo

supple sigil
#

Y tho

hazy sentinel
#

void

copper nacelle
#

^

supple sigil
#

Also how many times did we ping you?

#

It was supposed to be 56 times but we lost track

copper nacelle
#

idk

#

my phone was on silent

supple sigil
#

Notification count?

copper nacelle
#

didn't check

supple sigil
#

rip guess I gotta do it all again

copper nacelle
#

no

solemn rivet
#

holy shit, I think I got myself a virus boi

compact sedge
#

rip

solemn rivet
#

my touchpad is crazy

#

the notification area icon shows it's getting 3 touches, even tho I'm using a mouse

#

it keeps clicking everything

#

I hope it's a hardware issue tho

compact sedge
#

...is that a thing viruses do?

solemn rivet
#

yeah

#

they evil

compact sedge
#

Last virus I got was like 4 years ago and it just injected ads into my browser and probably spied on me too

solemn rivet
#

jk

#

prolly not a virus

#

just annoying

#

oh, yeah, I had that at some point as well

#

it would hijack my google searches too

#

so I couldn't search for a fix

compact sedge
#

I've had my touchpad do weird stuff about 0.2% of the time after waking up my laptop from sleep that was fixed by a reboot. But I'm on Linux so idk.

solemn rivet
#

reboot fixed it temporarily

compact sedge
#

like for example I could move it but not click

solemn rivet
#

it started misbehaving again shortly after

#

I think I'll migrate into linux again soon

compact sedge
#

did you get water or anything conductive next to it?

solemn rivet
#

growing tired of windows again

#

hm... I don't think so

compact sedge
#

keep a VM or dual boot for dnspy tho

#

or don't

#

since you're done modding and all that

#

but uh in all seriousness uhh maybe try reinstalling the drivers in device manager

#

no promises on that working

#

and uh if you think it might be a virus at all I'm still 85% sure that malwarebytes is the best virus scanner

#

I might be wrong tho

solemn rivet
#

I ran mbam and another antivirus

#

and currently am reinstalling the drivers

#

tbf the only reason I don't have a dual-boot linux on this notebook it's because it has an nvidia GPU

#

and linux hates nvidia, and vice-versa

compact sedge
#

That's fair. Supposedly optimus (gpu switching) is really hard to do outside Ubuntu. My nvidia laptop I just keep the card on all the time because it's just too much work to set it up any other way because nvidia.

solemn rivet
#

yeah, it's not unfeasable, but it's finnicky and hacky as shit

#

and I don't like that, because I have no idea what I'm doing, so I'm stuck if anything goes wrong

compact sedge
#

LPT: arch wiki.

#

it's crazy detailed about a bunch of topics and even if you're not using arch linux it's still a very helpful resource.

tawny lynx
#

Hey, how's the modding scene nowadays?

flat forum
#

has some cool mods

#

Infinite NKG

#

Nightmare God Grimm for latest version

#

and has some smaller mods as well

tawny lynx
#

Cool.

rain cedar
#

Wow randomizer is a smaller mod

tawny lynx
#

What's the process for building mods? Still using dnSpy, or something else?

flat forum
#

I mean

#

randomizer's been here for a while I think?

rain cedar
#

Kinda

tawny lynx
#

I don't think I was around for randomizer.

#

I remember Lightbringer and Glass Soul.

#

Or whatever the name of that 1 hp, one life mod was.

flat forum
#

Glass Soul

rain cedar
#

Oh so you've been gone since nearly the release of the game

tawny lynx
#

I think so. I dropped in a few times when the DLCs came out, but I wasn't as interested in the modding side then.

rain cedar
#

Just check out the google drive

#

There's tons of mods

flat forum
#

Mine isn't there >=T

rain cedar
#

Is it done?

flat forum
#

pretty much. Will add some stuff later tho

tawny lynx
#

How is the modding API implemented?

#

I think there was talk of making it back when I last checked, but it didn't exist yet.

flat forum
rain cedar
#

We use monomod to patch the game dll

#

If you make a readme for that and zip it up I'll upload it for you

tawny lynx
#

That looks useful. I've been trying to find a good solution to mod Cultist Simulator, which is also a Unity game.

flat forum
#

Ok

#

I will

#

but after I get school work done

rain cedar
#

Monomod is pretty cool especially with the newish runtime detour hooks

tawny lynx
#

Thanks for mentioning it.

rain cedar
#

Harmony is another option you could look at

tawny lynx
#

I'll check it out too.

#

I don't need anything fancy for what I have in mind, yet.

rain cedar
#

Manual patching is also an option and what we used to do

#

It's not a good option

tawny lynx
#

Yeah, that's how it was done when I was there.

#

I also tried decompiling the whole project and compiling it back, and managed to get it working, with some difficulty.

rain cedar
#

I did that for salt & sanctuary

#

Pain in the ass

tawny lynx
#

I think it makes it easier to quickly make broad sweeping changes, though, changes which you could then convert to a patch once you're finished experimenting.

rain cedar
#

Well you could also just do that easily with dnspy

#

If you're aware of that existing

tawny lynx
#

I am, that's what I was using. But I didn't like its interface that much.

#

I also liked having a versioned repository for it, to easily track my changes.

rain cedar
#

So you decided you'd rather fix half broken decompiled code than deal with the dnspy UI?

#

Wow must really have hated it

tawny lynx
#

It wasn't that hard. Just had to fix a few lines.

rain cedar
#

Guess that's not too bad

snow matrix
#

th emantis gods mod

#

holy shit

#

its so good

#

my fav boss fight

#

copper nacelle
#

glad to hear it

hazy sentinel
#

too bad TC literally stole the mod idea

leaden hedge
#

tc steals all ideas

#

gng is just a ripoff of pubg tbh

#

they'll hear from blueholes lawyers

daring snow
#

I can't seem to get the enemy randomizer working. I performed the load, configured the mod settings in the options menu and started a fresh save.

leaden hedge
#

do you have modcommon installed?

daring snow
#

Oh, nevermind - I installed the 1.2.2.1 version on 1.3.1.5

#

had the old version from a while back and had them both in my mod folder

leaden hedge
#

good job

daring snow
#

Alright, so I installed Modding API, ModCommon and the 1.3.1.5 Enemy Randomizer. When I go into the Enemy Randoizer page in options it just shows Language, Backer Credits, etc.

#

in the readme it says ModCommon 0.0.1, could that be the issue?

#

or should I just go back and just use the 1.2.2.1 version?

leaden hedge
#

newer modcommon shouldn't affect it

daring snow
#

I did a fresh install of 1.3.1.5 and then installed the mods, not really sure what's wrong then 😦

#

Is the "Scenes" folder required?

#

It doesn't say anything about it in the readme

leaden hedge
#

no its not

#

I've never used enemy randomizer though so I'm probably not the best person to help debug it

daring snow
#

That's fine, thanks for the help anyways

#

i'll keep messing around with it

#

i'll try the 1.2.2.1 version as well

solemn rivet
#

Show us the title screen

covert blade
#

Hey @solemn rivet wanted to use the bonfire mod but I'm a noob at installing never tried any mods before

solemn rivet
#

get installer in pins

covert blade
#

ah cool thanks

solemn rivet
#

np!

#

any questions, feel free to ask here

daring snow
#

I mean, I already showed a screenshot of the mods on title screen, but alright

#

This is what happens when I click on enemy randomizer in the options (Both before & After loading the Enemy Randomizer, this happens)

mossy pike
#

The backers were the ennemy all along

#

who would have thought

daring snow
#

I got a fresh copy of 1.3.1.5 and all the required mods were downloaded from the latest versions found in the mod folder

#

followed the readme

lucid pond
#

quirrel the hard seed 20180612 need thathappygrub

daring snow
#

Enemy Rando works on 1.2.2.1

#

Not sure why I couldn't get it working on 1.3.1.5

#

I wonder if other people will have the same issue

lucid pond
#

I don't try Enemy Rando

solemn rivet
#

@daring snow did you click the "load enemy randomizer" prompt on the title screen?

daring snow
#

As mentioned above, yes

#

I did it both with and without

#

I got it working on 1.2.2.1 though

solemn rivet
#

hmm...

#

weird

#

@pearl sentinel any idea?

pearl sentinel
#

Hmm. So the options menu just doesn't work if you click it? What happens if you use a controller to select it?

#

Actually, I thought 1.3.1.5 enemy rando changed your background to the gng background

fair rampart
#

uhh @royal ridge

royal ridge
#

?

fair rampart
#

wheres is uuh k0occ4

#

im watch the mod vid

#

i need he like to the mod

#

its no in de pin

#

?

#

some dragons

#

u

#

.

#

):

#

nvm i got it

solemn rivet
#

wut

fair rampart
#

?

solemn rivet
#

wut did you need?

fair rampart
#

nvm

compact sedge
#

I like it. the timer, the optional challenges.

#

have some fun if unoriginal ideas... let's see how things go

#

and also now I know why graig was asking about an endless CoF.

copper nacelle
#

make your own nailpaint boss ez

compact sedge
#

🤔

solemn rivet
#

wut u guys talkin bout

copper nacelle
#

gng preview

#

nintendo streamed it

solemn rivet
#

oh right

copper nacelle
#

like 10s ago

#

entire nailpaint boss fight

#

showed off a gng area

solemn rivet
copper nacelle
#

no

#

like

#

literally the entire fight

#

like they showed how you get to the gng area

flat forum
#

The Entire fight?

copper nacelle
#

then they showed off boss rush

flat forum
#

WOW

copper nacelle
#

which included the nail paint fight

flat forum
#

Where?

#

can I watch it?

copper nacelle
#

yeah there's a vod

flat forum
#

a vod?

#

a V O I D

copper nacelle
#

recorded video

solemn rivet
copper nacelle
#

etc

solemn rivet
#

oh shit

#

I stopped watching the stream during the smash section

#

which was literally right before HK

#

smh

copper nacelle
#

lol

solemn rivet
#

moss charger after dungdef

#

makes sense

#

where is Graig

#

I need to know if I can parry that brush

flat forum
#

Waiting for that PaintGod Sheo mod

#

Where Paint constantly rains and Sheo uses all attacks at once every time he attack

copper nacelle
#

tbh

#

my plan was to buff sheo

flat forum
#

First I want that Super Lost Kin mod

#

Vanished Kin

copper nacelle
#

tbh tired of working on mantis gods

#

i'll do lost kin

solemn rivet
#

tbf as he is his paintbrush color telegraphs his attacks

flat forum
#

Ok

#

yeah

solemn rivet
#

so maybe we can remove that

flat forum
#

that was a cool detail

#

remove it

#

also

#

his red attack

copper nacelle
#

remove it and make it 5x faster ez

flat forum
#

repalce it with 6 spikes like the Yellow one

compact sedge
#

tbh boss rush not arcadey enough I'ma fix it.

#

Also can't wait to try the 2 (4?) other new bosses

flat forum
#

me too

compact sedge
#

it's either 3 tiers or 5 tiers I think

#

also I want a tier where you fight radiance and NKG back to back

#

neither of whom are the final boss

rain cedar
#

Final boss moss charger

compact sedge
#

Ultra mega moss god charger

compact sedge
#

prediction: nail binding makes you do 1 damage instead of 0 because TC gud coders

#

or it does 1 dmg but the enemy heals right after

copper nacelle
#

i'd just expect old nail

#

tbh

void tree
#

prediction: nail binding is just nail0

copper nacelle
#

wow nice

compact sedge
#

oh

#

that sounds lame

#

shoulda done 1 dmg nail

copper nacelle
#

and soul bindings are i'd bet no soul vessels + maybe level 1 spells

compact sedge
#

so charm binding still gives you 3 notches?

copper nacelle
#

idk

void tree
#

I'd hope charm binding is 0 charms

copper nacelle
#

yea

#

soul binding could be no soul at all tbf

compact sedge
#

inb4 all 4 bindings to be like -1 nail spelless healless charmless

flat forum
#

4 bindings is Zote mode

#

You hope for help from the heavens

buoyant obsidian
#

Anyone got a vanilla pre-lifeblood 106% save?

compact sedge
#

oh shit he's back

copper nacelle
buoyant obsidian
#

<3

copper nacelle
buoyant obsidian
#

6 hours nice speedrun :P

copper nacelle
#

tbh took it from the sr.com resources

buoyant obsidian
#

8 charm notches is max right?

compact sedge
#

11 I think

#

well 11 total

#

so I guess 8 unlocked plus the 3 you start with

buoyant obsidian
#

I guess I'm missing a few

compact sedge
#

nice 106% 56

copper nacelle
#

re

#

it was in the 106 rar

compact sedge
#

technically correct 106%

void tree
#

they don't get every notch in 106% runs

compact sedge
#

I know notches don't count for percentage

buoyant obsidian
#

Anyone know which notches I need?

compact sedge
#

so it's technically correct

buoyant obsidian
#

TISO ALIVE

compact sedge
#

Can't you use a lifeblood save on pre-lifeblood?

copper nacelle
#

yeah iirc

#

fog canyon notch is one of them

buoyant obsidian
#

tbh I'm finally getting to Lifeblood content now

copper nacelle
#

salubra notch 3 & 4

buoyant obsidian
#

gonna play through it and I wanted my 106% vanilla save back

copper nacelle
#

do you need 3

compact sedge
copper nacelle
#

cause all i found was 2 salubra notches & the fog canyon one

buoyant obsidian
#

I have 8 now, 11 is max right?

#

8+3=11

copper nacelle
#

yeah

compact sedge
#

tbh there's not a lot of lifeblood content

#

just one boss iirc

copper nacelle
#

traitor lord might as well be a new boss tbh

#

went from useless to fun

buoyant obsidian
#

^

compact sedge
#

yeah but you can't fight traitor lord on a 106% save

buoyant obsidian
#

hmm

#

I'm tempted to just restart from scratch

#

Alright boys teach me API so I can remake Lightbringer and play through 100%

copper nacelle
#

the trick here is

#

just require ModCommon (which is what Hooks merged with)

#

literally just the same as your old code

#

except for reflection for some private stuff

compact sedge
#

the trick here is to claim you're porting it to api but then just work on buffing lost kin

copper nacelle
#

:ech:

buoyant obsidian
#

My double lost kin fight was pretty fun

copper nacelle
#

tbh already ported

#

except for double lost kin & muzznik

#

literally copy-pasted

compact sedge
#

imo give 753 what you did port so he doesn't have to start from scratch

buoyant obsidian
#

^ I'd like to see it all to get a feel for it too

copper nacelle
#

ok

#

lemme just ungay the code one sec

buoyant obsidian
#

and remake some bits to be less disgusting

#

also how would asset replacement work?

copper nacelle
#

replace sprites i think

compact sedge
#

Same as before then?

copper nacelle
#

:ech:

#

i think you could do what sean did

compact sedge
#

you can also store assets in your assembly

copper nacelle
#

for the asset rando thingy

#

oh yeah

#

and what rando 2 does

#

to replace shop item images

#

w/ bundled assets

compact sedge
#

or be dumb and be me and not store any assets

copper nacelle
#

tfw it's too big zipped

#

the yes function is just cause i was getting annoyed w/ lack of menu drop

buoyant obsidian
#

Thanks. I'm gonna try out Enemy Randomizer real quick to get an understanding of how installing mods works nowadays

copper nacelle
#

cool

#

ahh

#

i did the dict wrong

hollow pier
#

753 active 🤔

buoyant obsidian
#

This ModCommon thing doesn't come with the modding API, right?

copper nacelle
#

yeah it's separate

hollow pier
#

separate kthx

buoyant obsidian
#

Would I be needing ModCommon for Lightbringer?

copper nacelle
#

yeah

#

also wait

#

forgot this wasn't python

glossy pelican
#

is there a boss fight mod?

compact sedge
#

GnG

copper nacelle
glossy pelican
#

i mean mod

copper nacelle
#

1.2.2.1 has boss rush

#

just downpatch

#

also that download should work

#

gonna test it brb

buoyant obsidian
#

This seems hella complicated for downloading mods

compact sedge
#

fwiw 56 spent a month trying and failing to get the hooks added directly to modding api

copper nacelle
compact sedge
#

(also I use modcommon but not the hooks so I'm still building against 0.0.2. sorry 56)

copper nacelle
#

delet urself

#

shit i broke lightbringer

buoyant obsidian
#

lol

compact sedge
#

gj

copper nacelle
#

slashFsm is a lie

#

apparently

solemn rivet
#

wut u mean

copper nacelle
#

ArgumentException: Field slashFsm defined on type HeroController is not a field on the target object which is of type NailSlash.

#

wait

buoyant obsidian
#

holy shit this mod installer

copper nacelle
#

am i using the wrong slashFsm

#

or the wrong type

#

real think

compact sedge
#

I'm a big fan of it (for totally unbiased reasons)

copper nacelle
#

that there

#

is a lie

buoyant obsidian
#

How does it work when the game updates?

copper nacelle
#

just hit redownload mod

#

or if you're using gradows i think you'd uninstall/reinstall but idk

solemn rivet
#

^

#

I could add a redownload button

buoyant obsidian
#

reeeeee

solemn rivet
#

needs modcommon

compact sedge
#

no that's wait

#

what

buoyant obsidian
#

It doesn't do that for me? :(

copper nacelle
#

installer does that by itself tho

solemn rivet
#

mine does

copper nacelle
#

unless you installed rando by hand

solemn rivet
#

dunno about kerr's

copper nacelle
#

kerr's does too

buoyant obsidian
#

I'm using yours

solemn rivet
#

did you install it manually?

compact sedge
#

no I mean

#

hold on

buoyant obsidian
#

Automatically

solemn rivet
#

send modlog then

buoyant obsidian
#

Where's that?

solemn rivet
#

saves

#

inb4 it's load order once again

buoyant obsidian
#
[INFO]:[API] - Adding GitHub SSL Cert to Allow for Checking of Mod Versions
[INFO]:[ModManager] - Initializing
[INFO]:[ModManager] - Initialized
[ERROR]:[API] - Couldn't check for new version.System.IndexOutOfRangeException: Array index is out of range.
  at Modding.ModHooks..ctor () [0x00000] in <filename unknown>:0 
[INFO]:GameLoading
[INFO]:[API] - Trying to load mods
[ERROR]:[API] - Error: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetExportedTypes () [0x00000] in <filename unknown>:0 
  at Modding.ModLoader.LoadMods () [0x00000] in <filename unknown>:0 
[INFO]:Saving Global Settings
[INFO]:Saving Global Settings

solemn rivet
#

who wants to bet?

#

wut

copper nacelle
solemn rivet
#

dafuq

compact sedge
#

oh nvm I thought it had seanpr's version code to detect modcommon

#

but it doesn't

solemn rivet
#

that's a weird error

pearl sentinel
copper nacelle
#

You have ModCommon, right?

solemn rivet
#

is modcommon installed?

buoyant obsidian
#

No

copper nacelle
#

2slow

#

wait wtf

buoyant obsidian
#

I thought it'd do it automatically

solemn rivet
#

uhhh

copper nacelle
#

it should

pearl sentinel
#

^

copper nacelle
#

c o n f u s i o n

buoyant obsidian
#

I checked it off this time and it loaded just fine

copper nacelle
#

huh

buoyant obsidian
#

ModCommon seems pretty important, why not make it an automatic install?

solemn rivet
compact sedge
#

it's not a requirement for many mods

solemn rivet
#

it is tho

#

^

hollow pier
#

wow vc br

compact sedge
#

and importantly many mods steal code from modcommon without linking against it itself

pearl sentinel
#

both of our installers do it automatically

buoyant obsidian
#

Lemme uninstall and try again

compact sedge
#

mostly 56's mods

copper nacelle
#

excuse me

solemn rivet
#

shhh ptkyr

copper nacelle
#

that was one mod thank u

compact sedge
#

ok

hollow pier
#

oi amigo kkkkk

copper nacelle
#

and that was before i knew it was in modcommon

solemn rivet
#

shush u

hollow pier
#

kkkkkkkkk

solemn rivet
#

that's why you're chaotic evil

#

now it all makes sense

hollow pier
#

'-'

pearl sentinel
#

gradow, does your installer grab the info from the modlinks.xml too?

buoyant obsidian
#

You know it's entirely possible I just accidentally clicked no when it asked if I wanted ModCommon too

solemn rivet
#

yup

copper nacelle
#

it does

pearl sentinel
#

awesome

solemn rivet
#

oh, kerr

#

there's a new field in the xml

compact sedge
#

should make clicking no abort the install

hollow pier
#

hi retarded

compact sedge
#

imo

solemn rivet
#

for optional dependencies

#

which AA suggested

pearl sentinel
#

so yeah, 753, when you add or update a mod, the installers pull their links from a file in the google drive

solemn rivet
#

for optional mod interactions

buoyant obsidian
#

That's nifty

solemn rivet
#

so if you install infinite grimm, it suggests isntalling grimmchildupgrades

pearl sentinel
#

i remember reading about that

compact sedge
#

other way around

solemn rivet
#

yeah

compact sedge
#

or should be

solemn rivet
#

other way around

#

I think

compact sedge
#

GCU should not be recommended by infinite grimm because GCU is a stupid silly unserious mod

#

which ironically took more time to make

#

because those stupid fireball fsms

solemn rivet
buoyant obsidian
#

I love this mod installer though, so nice

pearl sentinel
#

yeah gradow did a lot of work on it, it's great

copper nacelle
#

i have no clue where this code is failing wtf

compact sedge
#

I love it for totally unbiased reasons like: Gradow implements the feature I suggest

copper nacelle
#

extremely unbiased

solemn rivet
#

it's a nice feature tho

compact sedge
#

look I could lie and say I use it but y'all know I compile all my mods

solemn rivet
#

makes sense for (future?) mods

pearl sentinel
#

you should finish the linux port of my installer imo

compact sedge
#

I can't

pearl sentinel
#

rip

compact sedge
#

windows forms on the unity mono are broken

#

there's an unofficial release that works

buoyant obsidian
#

Does Team Cherry even support Linux at this point lmao

compact sedge
#

but looks glitchy

solemn rivet
#

kerr's isn't winforms tho

pearl sentinel
#

so sub out that part

compact sedge
#

no kerr's is

solemn rivet
#

or is it?

#

oh

compact sedge
#

it uses windows forms but windows froms in unity

pearl sentinel
#

only like, the error boxes i think

compact sedge
#

which are awful

buoyant obsidian
#

Didn't it take like a full month for DLC to come to Linux/Mac?

solemn rivet
#

gotcha

copper nacelle
#

yeah

compact sedge
#

did it?

#

I got lifeblood day 1

copper nacelle
#

tfw api supports linux better than tc

#

that was actually a mistake

compact sedge
#

I bought it after grimm troupe was out on Linux

copper nacelle
#

the lifeblood beta wasn't supposed to be released to mac & linux

#

actual lifeblood released at the same time as everyone else i think

pearl sentinel
#

aside from error boxes, what other part of the installer uses forms?

buoyant obsidian
#

I thought it was CP2

solemn rivet
#

I'm getting confused with this channel rn

copper nacelle
#

tgt came like a month late

#

tho

solemn rivet
#

too much green and too many numbers

buoyant obsidian
#

Yeah

compact sedge
#

Nothing. But I had to use windows forms for folder selector because your folder selector thing doesn't work on Linux @pearl sentinel

#

But the problem with windows forms on Linux is nothing. The problem with windows forms on unity's old ass version of mono's windows forms on Linux is that they don't disappear after you click ok, they just become stuck windows.

pearl sentinel
#

well i just went out and looked for an open source folder selector

compact sedge
#

the program still works normally

pearl sentinel
#

i'm sure there's one out there

compact sedge
#

there is none

#

that's the sad part

pearl sentinel
#

for linux?

compact sedge
#

the proper way to select folders in C# is windows forms.

#

But the problem is

#

unity sucks

#

with it's version of mono

pearl sentinel
#

so what you're saying is

#

if i make a unity folder selector asset

#

i should go put it on the asset store for some cash money

compact sedge
#

yes

buoyant obsidian
#

uh is hitting Enemy Randomizer in the options menu supposed to bring up this

pearl sentinel
#

it's not, but someone else this morning said the same thing

copper nacelle
#

^

#

stayplus

solemn rivet
#

^

#

yeah

pearl sentinel
#

which none of us have ever seen afaik

#

maybe there was a stealth update?

solemn rivet
#

I honestly had to double take because they were named stay+

#

not even kidding

copper nacelle
#

wot

buoyant obsidian
#

I tried to quit the game and it brought me to a blank title screen

copper nacelle
#

when did stayplus become stay+

buoyant obsidian
solemn rivet
#

dunno

pearl sentinel
compact sedge
#

It's also a menu randomzier

#

fun fact

pearl sentinel
#

something must have changed somewhere

copper nacelle
#

yeah

pearl sentinel
#

because it was working fine

solemn rivet
#

check output log, if anything

#

I doubt modlog will be useful here

#

753: can you send the output_log.txt? Should be in the hollow_knight_Data folder

pearl sentinel
#

did something change in the newest modding api?

solemn rivet
#

idk

pearl sentinel
#

wait

#

better question

solemn rivet
#

I think sean sent a pr to fix the return value of one hook

pearl sentinel
#

did anyone try enemy rando with the hooks version of mod common

solemn rivet
#

but it's a dash hook

buoyant obsidian
solemn rivet
#

2l8

compact sedge
#

modding api 42 is just that, yeah

#

a dash hook thing

#

dunno if there's a 43 though

copper nacelle
#

angle try enemy rando w/out hooks when

solemn rivet
#

kerr: ```TypeLoadException: Could not load type 'ModCommon.Tools' from assembly 'EnemyRandomizer'.
at EnemyRandomizerMod.Menu.RandomizerMenu.SetupOptionsMenu () [0x00000] in <filename unknown>:0
at EnemyRandomizerMod.Menu.RandomizerMenu.LoadOptionsMenu () [0x00000] in <filename unknown>:0
at ModCommon.Contractor.InvokeAction (System.Action action) [0x00000] in <filename unknown>:0
at ModCommon.Contractor.Complete () [0x00000] in <filename unknown>:0
at ModCommon.Contractor+<Main>d__50.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

(Filename: Line: -1)```

compact sedge
#

load order problem?

#

modcommon is supposed to load as the -1th mod

pearl sentinel
#

oh, no i think i know what it is

solemn rivet
#

seems like an assembly problem

copper nacelle
#

-1st not -1th imo

#

:ech:

solemn rivet
#

kerr must have moved a class from the dll to modcommon

#

and forgot to remove the reference or smth

compact sedge
#

-1n'th

pearl sentinel
#

no

#

56, when you changed to hooks

#

did you take out harmony?

copper nacelle
#

nope

solemn rivet
#

oh shit

#

wait what

pearl sentinel
#

so that should happen

copper nacelle
#

i didn't even know harmony was in modcommon

compact sedge
#

aren't harmony and hooks incompatible?

solemn rivet
#

yeah

copper nacelle
#

yes

pearl sentinel
#

also this needs to change

#

this:

public static class ModTools

#

needs to go back to


public static class Tools
#

Tools had to change to ModTools to not conflict with harmony

#

but since you added hooks, we don't need harmony

copper nacelle
#

cool

pearl sentinel
#

and so that needs to be changed back

#

that'll fix it all

#

i won't be home for about another 5 hours or i'd make the changes

copper nacelle
#

i'll do it

#

so just delete harmony and rename, right?

pearl sentinel
#

yep

#

should be it

compact sedge
#

...maybe I should stop building against 0.0.2 since y'all keep changing the names of classes and doubtlessly there's gonna be a change that breaks my stuff.

copper nacelle
pearl sentinel
#

well, the only change was bc of harmony. i don't think core things will typically change like that

copper nacelle
#

yeah enemy rando menu works now

pearl sentinel
#

sweet

#

tyvm

copper nacelle
#

@buoyant obsidian if you uninstall/reinstall modcommon from the installer it should work now

#

updated the gdrive & github

shadow niche
#

I was coming in with the same problem

#

Works for me now

#

Thanks modder

copper nacelle
rain cedar
#

Thanks 56

buoyant obsidian
#

It didn't mention anything about ModCommon

hollow pier
#

thats an uncommon problem

copper nacelle
#

i meant

#

uninstall/reinstall modcommon

#

once you have the dependency it won't reinstall it

pearl sentinel
#

rip no version checking in our installers

copper nacelle
#

wtf

young walrus
#

your life

copper nacelle
#

re

rain cedar
#

What's the error?

#

That looks fine

pearl sentinel
#

yeah

copper nacelle
#

ArgumentException: Field slashFsm defined on type HeroController is not a field on the target object which is of type NailSlash

pearl sentinel
#

it's not a field

#

or

#

oh

#

no i know

#

so the (T) cast

#

throws an exception if the type isn't matching

#

if you use "variable as T" that version of a cast will return null

copper nacelle
rain cedar
#

That's already not a safe function

copper nacelle
#

*doesn't work

pearl sentinel
#

so slashFsm is not a typeof(NailSlash)

rain cedar
#

I posted something for this a while ago

#

Just search for it

copper nacelle
#

found it

#

thanks

pearl sentinel
#

post it here so i can see it?

copper nacelle
#

oh

#
private static Dictionary<Type, Dictionary<string, FieldInfo>> fields = new Dictionary<Type, Dictionary<string, FieldInfo>>();

private object GetPrivateField(object obj, string name, bool instance = true)
{
    if (obj == null || string.IsNullOrEmpty(name))return null;

    Type t = obj.GetType();

    if (!fields.ContainsKey(t))
    {
        fields.Add(t, new Dictionary<string, FieldInfo>());
    }

    Dictionary<string, FieldInfo> typeFields = fields[t];

    if (!typeFields.ContainsKey(name))
    {
        typeFields.Add(name, t.GetField(name, BindingFlags.NonPublic | (instance ? BindingFlags.Instance : BindingFlags.Static)));
    }

    return typeFields[name].GetValue(obj);
}
pearl sentinel
#

ty

copper nacelle
#

i see now

#

my dictionary didn't check type

#

so NailSlash.slashFsm could be HeroController.slashFsm

scenic slate
#

I heard team cherry is making their own boss rush mod

young walrus
exotic venture
#

now i see why kein pulled his assets

#

he anticipated this

#

all along

rain cedar
#

Only thing with that is I'm not checking if the FieldInfo is null

#

You should do that

buoyant obsidian
#

Everything's working now

#

1-foot tall brooding mawlek lmao

young walrus
#

even my dad?

pearl sentinel
#

oh right, that version of enemy rando has the size thing

copper nacelle
#

added a null check

pearl sentinel
#

puppy is trying to kill himself less now

#

hoping to get back into this stuff soon

copper nacelle
pearl sentinel
#

he's getting his last shot on friday, 2 weeks after that i can finally take him on walks

#

then i should have time again while he sleeps from being worn out

copper nacelle
#

nice

copper nacelle
#

@buoyant obsidian how tf does the muzznik text work

buoyant obsidian
#

I have no fucking clue at this point

copper nacelle
#

oof

buoyant obsidian
#
// Text Display code
        if (GameManager.c == null)
        {
            foreach (Font f in Resources.FindObjectsOfTypeAll<Font>())
            {
                if (f != null && f.name == "TrajanPro-Bold")
                {
                    GameManager.trajanBold = f;
                }
                if (f != null && f.name == "TrajanPro-Regular")
                {
                    GameManager.trajanNormal = f;
                }
            }
            GameManager.c = new GameObject();
            UnityEngine.Object.DontDestroyOnLoad(GameManager.c);
            GameManager.c.AddComponent<Canvas>().renderMode = RenderMode.ScreenSpaceOverlay;
            CanvasScaler canvasScaler = GameManager.c.AddComponent<CanvasScaler>();
            canvasScaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
            canvasScaler.referenceResolution = new Vector2(1920f, 1080f);
            GameManager.c.AddComponent<GraphicRaycaster>();
            GameObject gameObject = new GameObject();
            gameObject.transform.parent = GameManager.c.transform;
            gameObject.AddComponent<CanvasRenderer>();
            RectTransform rectTransform = gameObject.AddComponent<RectTransform>();
            rectTransform.anchorMax = new Vector2(1f, 0f);
            rectTransform.anchorMin = new Vector2(0f, 0f);
            rectTransform.pivot = new Vector2(0.5f, 0.5f);
            rectTransform.sizeDelta = new Vector2(0f, 50f);
            rectTransform.anchoredPosition = new Vector2(0f, 45f);
            GameManager.textObj = gameObject.AddComponent<Text>();
            GameManager.textObj.font = GameManager.trajanBold;
            GameManager.textObj.text = "";
            GameManager.textObj.fontSize = 42;
            GameManager.textObj.alignment = TextAnchor.MiddleCenter;
        }
copper nacelle
#

yeah i have it and it's killing me

buoyant obsidian
#

it's a whole bunch of hell

compact sedge
#

what text is it supposed to say

#

and does the default boss not have text

buoyant obsidian
#
// Empress Muzznik
        if(sceneName == "Crossroads_04")
        {
            // find and save data for Empress Muzznik
            GameManager.gruz = GameObject.Find("Giant Fly");
            if (GameManager.gruz != null)
            {
                GameManager.gruzHealth = FSMUtility.LocateFSM(gruz, "health_manager_enemy");
                FSMUtility.SetInt(gruzHealth, "HP", 1500);
                GameManager.gruzFight = new bool[12];
                GameManager.gruzMinions = new GameObject[16];
                GameManager.gruzMinion = GameObject.Find("Fly");
                GameManager.gruzMinion.transform.SetScaleY(-1f);
                FSMUtility.SetInt(FSMUtility.LocateFSM(gruzMinion, "health_manager_enemy"), "HP", 99999);

                if (!this.playerData.killedBigFly)
                {
                    this.playerData.CountGameCompletion();
                    if (this.playerData.completionPercentage > 80)
                    {
                        GameManager.textObj.text = "You are ready. Empress Muzznik awaits you.";
                        GameManager.textObj.CrossFadeAlpha(1f, 0f, false);
                        GameManager.textObj.CrossFadeAlpha(0f, 7f, false);
                    }
                    else if (this.playerData.completionPercentage > 60)
                    {
                        GameManager.textObj.text = "You might just stand a chance...";
                        GameManager.textObj.CrossFadeAlpha(1f, 0f, false);
                        GameManager.textObj.CrossFadeAlpha(0f, 7f, false);
                    }
                    else
                    {
                        GameManager.textObj.text = "You are unworthy. Come back when you are stronger.";
                        GameManager.textObj.CrossFadeAlpha(1f, 0f, false);
                        GameManager.textObj.CrossFadeAlpha(0f, 7f, false);
                    }
                }
            }
        }
copper nacelle
#

// Empress Muzznik
PlayerData.instance.CountGameCompletion();
Log(arg0.name);
// if (arg0.name == "Crossroads_04" && !PlayerData.instance.killedBigFly)
{
Log("WHOMST EAT");
if (PlayerData.instance.completionPercentage > 80)
{
textObj.text = "You are ready. Empress Muzznik awaits you.";
textObj.CrossFadeAlpha(1f, 0f, false);
textObj.CrossFadeAlpha(0f, 7f, false);
}
else if (PlayerData.instance.completionPercentage > 60)
{
textObj.text = "You might just stand a chance...";
textObj.CrossFadeAlpha(1f, 0f, false);
textObj.CrossFadeAlpha(0f, 7f, false);
}
else
{
textObj.text = "You are unworthy. Come back when you are stronger.";
textObj.CrossFadeAlpha(1f, 0f, false);
textObj.CrossFadeAlpha(0f, 7f, false);
}

compact sedge
#

lol

#

imo probably not the worst way to do it

copper nacelle
#

might just copy geo counter

#

i think that uses text mesh

compact sedge
#

it's just making a game object

copper nacelle
#

yes but u see

#

the text never shows up

compact sedge
#

you know why

copper nacelle
#

no

compact sedge
#

because the code never gets there

#

FSMUtility.SetInt(FSMUtility.LocateFSM(gruzMinion, "health_manager_enemy"), "HP", 99999); would fail on lifeblood

copper nacelle
#

i already commented it out

#

it logs whomst eat too btw

compact sedge
#

whats its transform, maybe it's appearing somewhere weird?

#

idk if that matters for canvas objects though

#

it shouldn't I don't think

copper nacelle
#

(960, 45)

compact sedge
#

instead of adding a game object with a text component try making a gameobject with

CanvasUtil.CreateTextPanel

copper nacelle
#

ok

compact sedge
#

where the first arg is your canvas gameobject

#

and for TextAncher use TextAnchor.MiddleCenter or another similar one

copper nacelle
#

what do i use for rectdata

compact sedge
#

idk actually

#

let me look at the api

copper nacelle
#

ok

compact sedge
#

looked up canvasutil createtextpanel and first result is KDT's mod

#

lol

#

it has new CanvasUtil.RectData(new Vector2(0, 50), new Vector2(0, 25), new Vector2(1, 0), new Vector2(0, 0), new Vector2(0.5f, 0.5f))
But I have no idea what this actually represents

#

ask them I guess

copper nacelle
#

alright

compact sedge
#

sorry that's the full line

#

sizeDelta, anchor position (so like half of sizeDelta probably), min, max, and pivot. I think the last 3 are just relative vectors for rotating it

copper nacelle
#

did you know there's a createfonts function

#

that might be required idk

#

HAHAHAHA

#

i have text

#

the trick here is to copy ttaco's code

#

@floral furnace thank u

compact sedge
#

TTacco wrote text display code?

#

huh

copper nacelle
#

yes

#

stamina mod

#

oh hey

#

the size delta stuff

#

i can take from the RectTransform or whatever

#

that 753 had

compact sedge
#

yeah what does that RectData thing actually tell it?

#

other than pivot for rotation

copper nacelle
#

idk

#

but 753 had a rect transform

#

with the same args

compact sedge
#

alright I have a stupid favor to ask.

#

Can someone here do me a favor and dump for me all the EN_whatever text asset files in resources.assets?

#

or link me to where they have already been dumped?

copper nacelle
exotic venture
#

play lightbringer

copper nacelle
#

i am

exotic venture
#

nice

copper nacelle
#

well

compact sedge
#

make the text say play lightbringer when the player has exactly 753 geo

copper nacelle
#

i'm playing the port

#

cause i'm making the port

compact sedge
#

and yes I know there's another thing that happens at that much geo

copper nacelle
#

there's 2 things already

#

u turn green

#

and flash

#

and lost kin becomes god

exotic venture
#

that's 3 things

compact sedge
#

really didn't know about the last part

copper nacelle
#

green and flashing is one thing imo

compact sedge
#

Although I just looked at the code

copper nacelle
#

you flash greeen

compact sedge
#

I never actually played it

copper nacelle
#

it's fun af

#

til you can put a when in a switch

compact sedge
#

so switches don't have to just compare equality then?

#

like case: 1 case: 2 etc.

copper nacelle
#

case x when y

compact sedge
#

oh nvm

#

so they're still limited to equality then

copper nacelle
compact sedge
#

is that a switch with one case in it

copper nacelle
#

no

#

two

compact sedge
#

case "Crossroads_04"

case default:
text = ur mum gay

#

I wonder how many downloads lightbringer actually has

#

since you can track those with moddb

exotic venture
#

ask 753 lol

#

like, just mention him

compact sedge
#

actually I can just look

#

2,503

#

pretty damn respectable. probably more than 10x all mine combined.

#

probably more than 25x

#

I should make a moddb account

#

dang

copper nacelle
#

probably more downloads tbh

compact sedge
#

seems like 1200 times better marketting than discord

#

2,503 is just the number on moddb

exotic venture
#

api isn't on moddb

compact sedge
#

neither is modcommon

copper nacelle
#

inb4 bundles api and modcommon with mod

#

and puts on moddb

compact sedge
#

I could

exotic venture
#

that means asking permission i think

copper nacelle
#

no they're both gpl v3

#

iirc

#

api might be mit

compact sedge
#

Permission has been granted by their licenses

#

api is MIT

#

only seanpr project I don't need permission to rip off

#

imo modding api needs a fancy website and an installer like forge

#

then we need a curse page

#

/s

copper nacelle
#

cornywokest

compact sedge
#

in all seriousness though I think the best way is to plain and simply get the mod installers on moddb if they aren't already

copper nacelle
#

they're not

compact sedge
#

they should be

#

is what I'm saying

copper nacelle
#

why is that a mod

#

ree

#

256 downloads

#

REE

compact sedge
#

753 is the only goddamn person in this whole channel who knows marketing

hazy sentinel
#

marketing has a single t btw

compact sedge
#

ty

#

ok veru also knows marketing, but veru doesn't make mods so that hardly counts

#

as far as mod makers go 753 is the only one who has succeeded

hazy sentinel
#

hire me as PR and marketing director

#

very good idea I guarantee it

copper nacelle
#

how much do you cost

hazy sentinel
#

questionable phrasing

copper nacelle
#

you're not wrong

hollow pier
#

$100 for his second version

compact sedge
#

so my proposal is to at least get the installer on moddb

#

which when people download it they see all the mods people have made and suddenly everyone here wins

copper nacelle
#

oh fuck

#

i had my code run every frame

#

and it also made a million minions every frame

compact sedge
#

so you have a million text boxes stacked on top of each other

copper nacelle
#

no a million minions

compact sedge
#

nice

#

gruz gods

hazy sentinel
#

sounds like despicable me 4

compact sedge
#

despacito me 4

#

is somehow less cancer than the minions movie

copper nacelle
#

so i think i fixed muzznik

#

about to test

#

was going to test a sec ago but then game died

compact sedge
#

have you ever compiled a mod while the game was running

copper nacelle
#

yes

#

i hate when i do it

#

cause my copying fails

compact sedge
#

and then gotten mad because when you try to close the game it freezes and segfaults

#

oh

copper nacelle
#

wtf

compact sedge
#

it copies successfully but then... well that happens when I try to close it

copper nacelle
#

i don't segfault

#

lmao

#

nice

compact sedge
#

because the game still has a ref to the old file but for some reason mono behaves really weirdly when you modify the file while it's running

#

probably because it's written for an OS which doesn't let you do that

copper nacelle
#

k muzznik works

daring snow
#

caught up

#

stayplus = stay+ = staypositive

#

play on words

#

so i'm not the only one having problems with Enemy Rando on 1.3.1.5?

copper nacelle
#

fixed now

daring snow
#

oh cool

copper nacelle
#

reinstall modcommon

daring snow
#

nice

#

I just ran it on 1.2.2.1 today, which was pretty fun

copper nacelle
#

nice

daring snow
#

how well do you think it would run in tandem with standard randomizer on 1.2.2.1?

#

or 1.3.1.5 I guess

#

also QoL mod is top notch

compact sedge
#

Def like being able to skip credits :)

copper nacelle
#

it runs really well

#

I tried to do hell mod + rando + enemy rando

#

extreme pain

#

but still really fun

daring snow
#

sweet,i'll be messing with that tomorrow

#

would you recommend chaos, or a seeded run (combined with normal randomizer)

#

?

copper nacelle
#

i prefer chaos

daring snow
#

sweet

#

WK scared me

#

but I got them first try farJoy

#

one of them ended up outside the gate

copper nacelle
#

woah

#

I didn't know that happened

#

neat

daring snow
#

yeah, it was crazy lol

devout inlet
#

so does anyone know why an infinite loading screen happens in the randomizer?

#

Me and a bud are getting one after false knight

rain cedar
#

No that's not a bug anyone else has reported

#

Do you have video or the log file?

devout inlet
#

let me get back there

#

happens whenever i exit False Knight room

rain cedar
#

Only there or at other boss rooms too?

devout inlet
#

dont know, progression is locked behind there.

#

3 of us are racing the seed, it's happened for 2/3 of us

rain cedar
#

Anything in common with the two of you but not the third?

young walrus
#

Inb4 laptops

devout inlet
#

Nope

#

on PC

rain cedar
#

And you're all on 1.3.1.5?

devout inlet
#

yes

#

A clip; Brief explanation was killed False Knight, picked up city crest, tried leaving, ILS

rain cedar
#

I will take a look at that when I'm home, but the log file is probably more useful

devout inlet
#

Okay

#

Is there a way to pull up a log file if it didnt actually crash?

young walrus
#

What the heck is that symbol bottom right

devout inlet
#

the loading screen symbol

#

lmao

#

i've never seen it until now

#

It just happened again after hornets room

young walrus
#

Are you sure youre not on the public beta?

devout inlet
#

So it appears to be happening after bosses

#

shouldnt be no

young walrus
#

Cuz that load symbol is not 1315

#

As far as I'm aware

devout inlet
young walrus
#

Title screen?

#

With mod numbers top left?

devout inlet
#

yep grabbing it right now one sec

young walrus
#

What version is 2b.3

devout inlet
#

the 2.0 1.3.1.5 one i downloaded from the google drive

young walrus
#

When did that go up sean

#

@rain cedar

devout inlet
#

There actually is one difference; the one who didnt get the crash used the mod installer while me + the other one didnt

young walrus
#

Pc strength of all three?

#

Especially cpu

#

Since you're also streaming

devout inlet
#

5920k for myself

chrome thunder
#

i5-7600K

young walrus
#

what stream settings

chrome thunder
#

I`m barely using over 50% cpu

devout inlet
#

im using close to 30% but im doing 720p

#

not getting stutters or anything in game

#

loading times elsewhere are fine

young walrus
#

use this version of the mod for now

#

2b.2

#

@rain cedar

[ERROR]:[API] - Error: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetExportedTypes () [0x00000] in <filename unknown>:0 
  at Modding.ModLoader.LoadMods () [0x00000] in <filename unknown>:0 
#

got this error when loading up 2b.3

#

though I get the same error with 2b.2

devout inlet
#

it also crashes on 2b.2 for kyong

#

im going to try a different seed