#archived-modding-development

1 messages · Page 50 of 1

copper nacelle
#

the spikes are no longer easily dodgeable

#

he made the pattern more evil

#

also

#

after half health iirc

#

two grimms instead of one

fair rampart
#

no thank you

young walrus
#

It's never been beaten

#

So good luck

fair rampart
#

u sure?

young walrus
#

Even by a top tier speedrunner

#

He had to do it segmented

fair rampart
#

oh

#

its segemnted

young walrus
#

Ya.

#

So it is possible

#

It's just never been done in one go

hollow pier
#

trinomi did it right

copper nacelle
#

segmented

#

but yes @hollow pier

copper nacelle
#

tfw you try development on linux

#

and all the paths are broken for assembly references

copper nacelle
#

with the same completion + error checking as VS

#

probably going to see if the API works with the same path change type stuff as macOS required in the morning

fair rampart
#

Hey when will black moth mod be fixed? i'd really like to try it out soon

copper nacelle
#

I can try fixing it at some point today

#

so by tomorrow hopefully

subtle rapids
#

Is there a multiplayer mod being worked on?

vagrant leaf
#

well there's dreamshield co-op

#

basically one person controls the knight and another person controls the dreamshield

#

that's all there is right now

subtle rapids
#

Ok

round vapor
#

do you know if one can easily find both brumm‘s and lymm‘s achordeon tracks in the audio folder?

round vapor
#

nvm found it

#

file name starts with 's'. closed the folders already. at the end of the soundtrack files.

solemn rivet
#

@copper nacelle as I'm currently away from my main pc, be my guest, but I wouldn't be able to send you any source files

#

You'd need to dnspy the mod

#

I'll be back home only on the 15th

buoyant wasp
#

you'll be home for 1 day? 😛

solemn rivet
#

No, I've been gone for 2 days already

#

And will be for 2 more

trim nimbus
#

I can't install debug mod for 1.1.1.8

#

I downloaded the 1118 moddin API

#

and the debug mod

#

I put them both in

#

game has 0 changes

rain cedar
#

I'm willing to bet that's because debug mod relies on features that aren't in that API

#

Can you post the modlog here?

trim nimbus
#

where can I find that?

#

Trying to load mods
Loading assembly: hollow_knight_Data\Managed\Mods\DebugMod.dll
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

rain cedar
#

Yeah

#

That makes sense

#

Debug mod inherits from a class that I don't think is in that API

#

But it should be fine for that patch of the game if we just compile the current code against the 1.1.1.8 files

trim nimbus
#

that sounds good

#

so what should I do?

rain cedar
#

I don't know how old that is

#

But it's what I have in my 1.1.1.8 folder

#

So it'll at least work

#

I'll get around to compiling an up to date 1.1.1.8 API soonish

trim nimbus
#

kay

#

let me test this for now

#

rip still doesn't work

rain cedar
#

And what's the error this time?

trim nimbus
#

Trying to load mods
Loading assembly: hollow_knight_Data\Managed\Mods\DebugMod.dll
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

rain cedar
#

Interesting

trim nimbus
#

want me to send you the files I downloaded so you double check they're right?

rain cedar
#

Eh

#

I trust you're capable of clicking the right link

#

It's not hard

trim nimbus
#

yeah I went to the pinned messages and onto the google drive

#

and just picked 1118 modding api and the debug mod

rain cedar
#

Try that API

#

And if that fails there's the super old kein debug

trim nimbus
#

does the first one go into the mods folder?

#

or just the managed folder?

rain cedar
#

No, rename it to just Assembly-CSharp.dll

#

And put it in managed

trim nimbus
#

okay

#

and the second?

rain cedar
#

The same thing

#

For if you can't get the API debug working for whatever reason

trim nimbus
#

wait what do you mean by same thing?

#

just rename the _-_debug.dll to Assembly-CSharp.dll and put it in managed?

rain cedar
#

If the first one fails, yes

trim nimbus
#

wouldnt that overrite the former?

#

ohhh

#

trying the second one now

#

okay it works

rain cedar
#

Yeah that one for sure would work

#

Not sure why the other wouldn't, though

trim nimbus
#

neither would I

#

very interesting

fair rampart
#

how does the respawning feature work in the debug, any tips/tricks?

#

is there a way to respawn grimm king

young walrus
#

Yes

#

The tents won't come back tho

#

But the doorway load will

fair rampart
#

ah

young walrus
#

It'll be invisible

fair rampart
#

do i just "respawn boss" at dirtmouth

young walrus
#

I think so

#

Never used it myself.

rain cedar
#

At the bottom of that menu

#

Where it says NK Grimm

#

Or something like that

fair rampart
#

ooooh

#

ok

#

tyty

#

also, how does the boss rush mod work

rain cedar
#

You fight all the bosses

#

And it's a mod

fair rampart
#

...

#

if i install it and load up my game how do i use it

rain cedar
#

You start a game

fair rampart
#

what happens

#

where do u fight the bosses

rain cedar
#

In their respective arenas

fair rampart
#

ok so what does the mod do

#

does it tp you to each arena after the next?

rain cedar
#

It's a boss rush mod, man

#

You fight the bosses in a row

#

It takes like 30 seconds to just install it to see

fair rampart
#

thanks for the help bud

rain cedar
#

Same

fair rampart
solemn rivet
#

You fight FK and get 3 shinies

#

Choose 1 and you get a megaman-esque boss selection screen

#

Rinse and repeat

fair rampart
#

thank you

subtle rapids
#

does boss rush work on mac?

rain cedar
#

It should, yeah

subtle rapids
#

what file do i replace?

rain cedar
#

Assembly-CSharp.dll

#

Wherever that is

subtle rapids
#

with hollow_knight_Data right?

rain cedar
#

I don't think so

#

I don't really know how the mac build of the game is layed out

buoyant wasp
#

it's pinned

subtle rapids
#

i have two files in the initial folder of the mod : hollow_knight_Data and README. hollow_knight_Data is a folder with the normal file directory for the Data folder in the game files and README is a .md file that connot be opened.

rain cedar
#

.md is just a text file

subtle rapids
#

it says : # hk-bossrush
boss rush mod for hollow knight

rain cedar
#

It does say that, yeah

solemn rivet
#

It's literally a readme

#

Full installation path for macos is pinned iirc

subtle rapids
#

i'm still confused about what i do with the folder

#

like, where it goes

rain cedar
#

.app "files" on mac are folders

subtle rapids
#

yeah

rain cedar
#

Right click your hollow knight app and select show package contents

#

Then put the stuff wherever it goes in there

subtle rapids
#

yeah, i've done that already

rain cedar
#

Ok then what's the problem?

subtle rapids
#

do i just put the folder there?

rain cedar
#

You've been told twice to look at the pinned messages

#

For where to put it

#

That makes three times

subtle rapids
#

it doesn't help me though

rain cedar
#

You've gotta install the modding api then put the mod in the mods folder

subtle rapids
#

and the modding api stays in the downloads

rain cedar
#

I don't see what good it would do from there

subtle rapids
#

so where does it go?

rain cedar
#

~/Library/Application Support/Steam/steamapps/common/Hollow Knight/hollow_knight.app/

subtle rapids
#

inside or outside the app?

rain cedar
#

Somewhere inside it

#

Wherever Assembly-CSharp.dll is

buoyant wasp
#

the zip file has the folder structure you need to follow in it

subtle rapids
#

i...think i just killed my game

soft rain
#

What changed?

tacit flax
#

can you tell me how to uninstall the empress muznik mod that came with lightbringer?

buoyant wasp
#

@buoyant obsidian

buoyant obsidian
#

It's a part of Lightbringer

#

Adapt and overcome

#

I suppose I could give you a version without it, but it'd be a lesser experience

tacit flax
#

how much health does empress muznik have anyway?

buoyant obsidian
#

1500 I think?

#

it's quite a bit

fair rampart
#

Is black moth mod working or broken?

#

Also can randomizer work with other mods?

wraith ether
#

@rain cedar @vale zenith - your Randomizer mod...it brings tears to my eyes. Me and a friend played through it today and goddamn, it's just magical. Thank you so much for your hard work on this!! Much love m8s

fair rampart
#

Did you mean

#

CONSUMED GATHERING SWARM?

#

Cuz that's the only thing i understood from the mod

#

@dapper folio Hey, you should re-categorise mods based on verison, would be really nice

buoyant wasp
#

eh, @fair rampart - eh, alot of mods aren't game version specific, but have a minimum API version

#

honestly, for mod makers, trying to maintain a bunch of different versions and organize it in the drive that way would just be frustrating

#

in general, api mods that were for, say, 1.1.1.8 will work on CP

fair rampart
#

Ah alright

buoyant wasp
#

it doesn't generally work backwards

#

though it can

fair rampart
#

And something 1.2.1.4 would work current patch right?

buoyant wasp
#

usually

#

sadly "it depends"

#

TC changes things in each patch that are seemingly at random

fair rampart
#

Aww

buoyant wasp
#

so yeah, most likely, it'll probably work

#

at least, for API mods

fair rampart
#

Explains why the game has weird inconsistencies

buoyant wasp
#

non-api mods are always 100% version specific

round vapor
#

does somebody know what the sprite file of Nymm is called (inside Texture2D folder) ? can't seem to find it inside

noble trout
#

is that intended?

rain cedar
#

You could say that

#

The two texts at the bottom there are in the list of things to replace because I wanted to eventually replace them with the proper text from the pickup you're actually getting

#

But then I remembered that doesn't matter at all

#

So I didn't do that

noble trout
#

cool

sharp grove
#

BIG POST ALERT Sorry, I meant to make this short but it ended up long as I naturally type long. You know, this is gonna sound weird, and I don't know if anyone can do it as I haven't found any mods for it, but I figure it's worth asking. I've had a bit of a lonely streak the past few days and ever since I got the Hatchling charm I've been wondering- is there a way for me to make one or two hatchlings as permanent companion that doesn't die and prefferably doesn't do damage?

fair rampart
#

Probably

#

Orrrr

#

You could just reskin grimmkin :P

#

Btw in randomizer how do I check the seed i used? I remember it generates a file showing everything it randomized, where do i find that file?

hazy sentinel
#

in save folder iirc

sharp grove
#

Good idea! Thanks Ahmy

#

Uh.. How do I do that? Sorry I've no modding experience.

young walrus
#

Yeah. In the save folder, there's a mod log txt file that's generated with the randomization

fair rampart
#

Right, thanks

#

@sharp grove not sure either tbh

tacit flax
#

753 can you give me a version of lightbringer without the empress muznik mod in it?

ornate rivet
#

lel

#

find a different way to get to sly and salubra instead

severe lily
#

is there a way to skip the intro (team cherry logo + controller recommended)? a launch option or a mod maybe?

ornate rivet
#

no mod exists for it

#

but maybe it could be done

#

I know dark soul's dsfix mod has an option to remove it

severe lily
#

but you don't know about a launch option in steam do you?

ornate rivet
#

no

severe lily
#

is there a list of all launch options for hk somewhere?

ornate rivet
#

not that I know of

severe lily
#

damn

buoyant wasp
#

There is currently no method to skip the intro. it's doable, but no one has taken the time to figure out how.

soft rain
#

Where does the randomizer folder go? I'm on mac and I tried putting it beside Data/ and Mono.tiff and also beside and inside the Mods/ folder

severe lily
#

well okay i don't expect anyone to do so either. it's not that big of a problem

copper nacelle
#

randomizer might not work on Mac due to folder structure

#

might

soft rain
#

ah ok

#

I tried putting it in nearly every folder

#

White text in the top left but nothing in the bottom right

copper nacelle
#

it uses backslashes somewhere, can probably just change that

buoyant wasp
#

most likely @rain cedar will have to adjust it to work on mac

#

maybe he will embed the images into the dll like he did with....i think the newer version of debug mod, so that problem goes away

#

will have to wait for him to say though

rain cedar
#

I don't really want to embed stuff for randomizer

#

It's different because the xml is subject to change

#

Which is a bit more of a pain if it's embedded

#

But yeah I could just change the backslashes and it should still work on windows as well

buoyant wasp
#

the newest API

#

has a slash thing

#

ModHooks.PathSeperator

#
public static char PathSeperator = SystemInfo.operatingSystem.Contains("Windows") ? '\\' : '/';
rain cedar
#

Is there any reason to use that? I think both slashes work on windows

buoyant wasp
#

mostly just for consistencies sake when looking at logs. otherwise, not that i know of

#

you're correct that the other slashes seem to work in both

rain cedar
#

Alright

#

I'm just gonna used forward slashes because doing something like

"Randomizer" + ModHooks.PathSeperator + "logo.png"

looks pretty messy

buoyant wasp
#

hah, yeah.

#

what are you using to get the base directory?

#

since that's different in mac too

rain cedar
#

I dunno

#

Unity magic

buoyant wasp
#

yeah

rain cedar
#
logo.LoadImage(File.ReadAllBytes("Randomizer/logo.png"));
buoyant wasp
#

hmm

#

dunno if that will work

#

cause here's the Mods path code for the loader

#
            if (SystemInfo.operatingSystem.Contains("Windows"))
                path = Application.dataPath + "\\Managed\\Mods";
            else if (SystemInfo.operatingSystem.Contains("Mac"))
                path = Application.dataPath + "/Resources/Data/Managed/Mods/";
rain cedar
#

Alright

buoyant wasp
#

So, i think that Application.dataPath is probably where unity is putting you right now

rain cedar
#

So for mac you'd just have to put the randomizer folder wherever resources is

buoyant wasp
#

yeah

#

just need to stick a note in the readme about it

rain cedar
#

Nobody reads those

buoyant wasp
#

point

rain cedar
#

I'll probably just have two copies of the mod in the archive

#

With the only difference being the folder structure

buoyant wasp
#

hehe, yeah, probably best

#

reading comprehension is....impossible apparently

rain cedar
#

Wow this is awful

string logic = string.Copy(reqString).Replace("HARD", RandomizerMod.instance.Settings.hardMode ? "true" : "false").Replace("KEYITEMS", Randomizer.keyItems);
#

I need to fix that at some point

buoyant wasp
#

lol

#

that isn't a mess at all....nope

rain cedar
#

I don't even know why the copy is there

#

Replace copies it already

buoyant wasp
#

maybe something dnspy did at some point?

rain cedar
#

Yeah sure that's a good excuse

#

Thanks

#

Can't have just been me

buoyant wasp
#

yeah, in that one statement you have 4 total instances of that string

#

the original, copy 1, replace 1, and replace 2

#

is that string the entire XML?

rain cedar
#

Nah it's a single logic string

#

The entire randomization process is kinda awful, honestly

#

It works, though

buoyant wasp
#

heh

rain cedar
#

Haha wow that code is running so often

#

It's a nested foreach loop on the list of items

#

Calling that

#

I forgot how awful this was because it's been a couple months since I looked at it

#

It runs on a load screen anyway so nobody will notice the horrible lag

#

And put the Randomizer folder wherever the resources folder is

#

If that works I'll put it up on the drive folder

buoyant wasp
#

lol, yeah, i had done some stuff at work where i was doing a bunch of reflection and recursive looping. Which worked great when you only did it 20-30x / second. But then I found some need to do it 50k/s and realized that there were a few places where it was taking upwards of 100ms to run. just never noticed it until you put it to scale.

rain cedar
#

At some point I'll get around to caching some form of data other than a string to represent the logic

buoyant wasp
#

i had thought the XML rewrite was to enable that being possible

soft rain
#

Thanks :)

rain cedar
#

Nah I just changed it because the XML file was pretty much completely unreadable

soft rain
#

It worked

buoyant wasp
#

ah, I havn't really looked at the code for it. Other than the changes for the hooks, i just kind of glazed over it the last time i looked at the mod hollowface

tacit flax
#

753 can you send me a copy of the lightbringer mod without the empress muznik mod in it?

soft rain
#

Is randomizer meant to be played with the charm notch mod?

tacit flax
#

im pretty sure

buoyant wasp
#

@soft rain - that's up to you

#

alot of us prefer it that way

#

but it's not required

soft rain
#

is it safe to add the charm notch mod and load an existing randomizer save?

rain cedar
#

No reason it wouldn't be

#

They change unrelated things

buoyant wasp
#

dunno if you'll get the extra notches immediately, depends on when it checks to add the notch

#

might not give you it until you pickup the next charm

young walrus
#

At a bench it checks

buoyant wasp
#

ah

#

cool

young walrus
#

Play rando with it though. Way more fun

tacit flax
#

wyza

soft rain
#

neat thanks

young walrus
#

And BTW.... Hard means hard

tacit flax
#

do you know where i can get a lightbringer mod without empress muznik in it?

rain cedar
#

It doesn't exist

young walrus
#

Nowhere

tacit flax
#

oof

vital trout
#

hey modders ive got a good mod idea

#

so

#

make a mod like steel soul

#

but if you die in the gaem

#

you die in real life

soft rain
#

does hard account for floating or is it designed so you don't have to

rain cedar
#

Nah it's nmg still

vital trout
#

the 106% speedruns

#

are those nmg or glitches included

young walrus
#

Floating makes the randomizer easier

vital trout
#

this is the wrong channel isnt it

rain cedar
#

A bit

buoyant wasp
#

@tacit flax - 753 has told you twice in the last day that it doesn't exist.

tacit flax
#

he also said he could get me one

buoyant wasp
#

yes, well, if he hasn't posted it, it doesn't exist. It's 100% his mod, which is why I tagged him in the first place.

tacit flax
#

alright

rain cedar
#

Just go past blue lake to skip muzznik

#

It's not even a big deal

soft rain
#

On Mac randomizer requires its folder beside the .app, not inside Resources/

rain cedar
#

It should go wherever resources is

#

Meaning one folder up from resources

#

Not in the folder

soft rain
#

It seems to see it outside of the .app bundle

#

Maybe working directory is different on mac?

buoyant obsidian
#

@empty stirrup you're not supposed to be able to beat Empress Muzznik until you get stronger. She's also an optional boss, just look around.

copper nacelle
#

@empty stirrup just go from crystal peak

#

to resting grounds

#

to salubra

leaden hedge
#

just git gud

copper nacelle
#

just git gud

fair rampart
fair rampart
#

..before you ask, no you can't mod in being gud at the game..

#

TASing especially does not count either

copper nacelle
#

wrong

#

invincibilty mod

#
  • getting hit damages the enemy
#

for 200 damage

fair rampart
#

yeah but being god sucks more ass than just playing the game normally

copper nacelle
#

true

#

I've got an idea

#

vampire mod

#

if you don't hit anything for 10 seconds you lose heakth

#

and if you hit something more than 10 times in like 20 seconds you gain health

soft rain
#

idea: getting hit while healing or after casting a spell turns on steel soul for 10 s

vagrant leaf
#

that would actually be really cool

soft rain
#

wouldn't be surprised if it's impossible

copper nacelle
#

🤔

#

iirc permadeathmode is just a var

#

in playerdata

vagrant leaf
#

wait 56

#

didn't you say you would try fixing blackmoth sometime today?

copper nacelle
#

shh

#

yes

#

ended up having to do something for the whole day

vagrant leaf
#

if you don't get to it tomorrow i might have to try actually learning something

#

so i can attempt to fix it

copper nacelle
#

🤔

#

so you're saying

#

don't fix it

vagrant leaf
#

no

#

i have zero experience with modding or code

#

i will probably not be able to fix it

copper nacelle
#

you should try modding

#

it's fun

vagrant leaf
#

i might look into it

#

someday

#

but you should still fix it

#

because if i do anything in modding i will probably start out with small texture changes

#

not major bug fixes

copper nacelle
#

wait

#

is the API port of blackmoth broken

#

also holy shit I can't understand any of this wtf

#

tfw there's no float hook

#

apparently setting canDash to always true breaks things

#

nevermind

fair rampart
#

Guys

#

Does Randomizer randomize grub charms too?

copper nacelle
#

iirc yes

fair rampart
#

oh

#

How do i check the seed im using?

#

i kinda just randomized and hit go

#

Tho i got a really good seed

copper nacelle
#

I'd check ModLog.txt

fair rampart
#

Ya I opened it

#

It shows what each charm is

#

Can't find the seed tho

#

[INFO]:[RandomizerMod] - Instantiating Mod
[INFO]:[RandomizerMod] - Randomizer Mod initializing!
[INFO]:[RandomizerMod] - Randomizer Mod initialized!
[INFO]:[RandomizerMod] - Github = 1.5.1
[INFO]:Saving Global Settings
[INFO]:[RandomizerMod] - Loading Mod Settings from Save.
[INFO]:[RandomizerMod] - Loading save file (Randomizer: hard)
[INFO]:[RandomizerMod] - Permutations:

#

And after that all the charms

#

I guess this is a reason to why you should take seeds from zote :P

copper nacelle
#

can you send me your save

#

I think it might just be in the save

fair rampart
#

Okay

#

btw does glass soul affect rando?

#

I dont think so, cuz it loaded rando first

#

but im not sure

copper nacelle
#

it shouldn't

#

doesn't affect any charms iirc

fair rampart
#

Alright

#

here da save

copper nacelle
#

717616267

#

here's your seed @fair rampart

fair rampart
#

Ah

#

Thanks

copper nacelle
#

yw

remote canyon
#

probably a silly question, how do I use the debug mod once it's installed?

fair rampart
#

You press f1

#

:P

remote canyon
#

fuck me thanks haha

#

if f1 doesn't do anything is it safe to assume I didn't manage the install correctly?

fair rampart
#

Hmm

thorn comet
#

On the main menu, look at the top left. Does it have anything?

fair rampart
#

Go to main menu and see if it says installed on top left corner

remote canyon
#

nah looks like the normal game menu

fair rampart
#

Well

#

Did you install the modding api before debug?

remote canyon
#

yeah copied base game, then modding api, then debug

fair rampart
#

Hmm

#

Does it not say anything top left corner?

remote canyon
#

nah I just have my steam overlay fps counter up there

thorn comet
#

Youre on current patch yeah?

remote canyon
#

yeah 1.2.2.1

fair rampart
#

Well

#

The API wasn't installed correctly i guess

thorn comet
#

Check the files/folders

#

Yeah

remote canyon
#

ok thanks all

#

will nuke it and try again

#

damn no luck, I see both the API files and the debug mod files in my new backup, but the game starts up and everythings the same

thorn comet
#

so you transfered the "hollow_knight_Data" from the API into here, and then the Debug "hollow_knight_Data" into here after yeah?

remote canyon
#

yeah

#

and manually checking it seems like both succesfully added into the original hollow_knight_data

#

worth noting I didn't do it directly in the steam install, I created a backup first and did it from there

thorn comet
#

Has it created a "Mods" folder in the "Managed" folder?

remote canyon
#

yeah

thorn comet
#

and debug is sitting in there?

remote canyon
#

yep

thorn comet
#

Hm, not sure if the Steam thing matters. Might make a difference, dunno

remote canyon
#

I'll try it real quick just to see

#

hmm, works just fine when I do it directly in the steam common folder

#

not sure what's up with that haha

fair rampart
#

[INFO]:[RandomizerMod] - Adding permutation: Dashmaster = Sprintmaster

[INFO]:[RandomizerMod] - Adding permutation: Shade Soul = Wayward Compass

[INFO]:[RandomizerMod] - Adding permutation: Monarch Wings = Heavy Blow

#

Top notch randomization

#

WOW

#

[INFO]:[RandomizerMod] - Adding permutation: Sprintmaster = Dashmaster

#

They were literally switched

#

on the same seed

solemn rivet
#

okay, I'm home!

hollow pier
#

hi home

solemn rivet
#

@vagrant leaf Blackmoth was my first real experience with coding

#

so you should try it too!

vagrant leaf
#

well

#

one problem

#

i have no idea where to start in coding

rain cedar
#

Yeah, it's a real mystery

#

If only there was some kind of high power search engine that could answer almost any question

vagrant leaf
#

you're talking nonsense

hazy sentinel
#

yes bing™

vagrant leaf
#

we'll never invent something so technologically advanced

leaden hedge
#

ask jeeves 👀

vagrant leaf
#

also i still don't know where to start

#

like what do i even do

rain cedar
#

Let me tell you a secret

#

Nobody knows how to code

#

They just use stack overflow

vagrant leaf
#

what is a stack overflow

leaden hedge
#

its when you put too many items into a stack

#

and it overflows

rain cedar
#

KDT you smart ass I mean the website

hazy sentinel
#

basically a programming discussion board

leaden hedge
#

nah its where you ask people to do your programming homework for you

buoyant obsidian
#

and then everyone else who has that question also checks it

ornate rivet
#

it's where a bunch of overly proud people make fun of you if you ask a "stupid" question or mark your question as a duplicate when your question is clearly different from what was asked before.

buoyant obsidian
#

It's where someone asks for a simple implementation of something and get 15 different answers containing several dozen lines of code

#

when it can be done in one

vagrant leaf
#

that sounds like a great place

solemn rivet
#

we use it for mathematics too

#

it's fun fun fun

vagrant leaf
#

it sounds like a useful and friendly place for learning things

solemn rivet
#

it's a place where you can learn that no matter how niche and how unknown something seems, there's always a bunch of people who know precisely what you're looking for

#

it's a humbling experience, to say the least of it

leaden hedge
#

is there a stackoverflow tag for modding hollow knight

solemn rivet
#

there should be

#

PrehistoricBanana: try to learn some basic coding... Basic programming logic and stuff, idk. I'm not the best person to answer those kinds of things, tbh

#

but I'm SURE KDT, Wyza and Seanpr would be just GLAD to help you

vagrant leaf
#

i'll try to look into it

rain cedar
#

Haha "glad"

#

I'll help with HK specific stuff but I'm not teaching anyone to code

copper nacelle
#

@solemn rivet cool

#

does the mod add up dashing?

#

and do you always have the dash master down dash

#

because yesterday when I was looking at the api port it had an up dash function

solemn rivet
#

so, here's a quick rundown from the top of my head

#

you start with the ability to shadow dash and deal damage (without actually having mothwing cloak, shade cloak or sharp shadow)

#

dash damage is set to 5+4*upgrades, nail damage is set to 1

#

Mothwing Cloak reduces cooldown between dashes and increases dash distance (both only a bit)

#

Shade Cloak recovers 1 SOUL/dash (as a replacement for not being able to recover soul by hitting enemies)

#

Sharp Shadow doubles your damage

#

Longnail increases dash distance by 20%, and MoP by 50% (these are probably wrong)

#

Quickslash removes dash cooldown completely (allowing for chain dashing)

#

Dashmaster allows for updash and downdash (and, I believe, a short reduction to cooldown)

#

Grubberfly Elegy is for the lulz

#

hm... What else?

#

Fragile Strengh increases dash damage by 50%

copper nacelle
#

what's broken tho

solemn rivet
#

what's broken:

#

sometimes, for some reason, dash either stops doing damage at all or does only 1 damage

copper nacelle
#

alright

solemn rivet
#

here's how it used to work: either at HeroController.Update() or .CharmUpdate() I would reset the damage, i.e., set nail to 1 and dash to whatever

#

but even tho Update runs everyframe, it still broke some times

#

so what I decided to do was a more direct approach

#

I get the Sharp Shadow game object and find its damage FSM property and set it directly

#

but some people still report breaks after a while

#

so I'm not even sure what to do

rain cedar
#

Sharp shadow breaking is a vanilla bug

solemn rivet
#

"breaking" in what sense?

rain cedar
#

Just not working

#

After you dash into a chest

#

Probably some other stuff triggers it

solemn rivet
#

oh yeah, that was a thing

#

if that's the only recurring bug with the current implementation of Blackmoth, then it's fine

#

but if it's still somehow resetting damage...

buoyant wasp
#

@vagrant leaf - there are 3 sample mods in the modding API source on github. past that, there are a bunch of mod's source in github

#

but really, you need to have at least a small foundation in c# to do much. not a ton, but if you have 0 programming experience, you're in for a tough time

vagrant leaf
#

okay thanks

#

is there any way i can download the example mods?

copper nacelle
#

@solemn rivet I was thinking keep nail damage unchanged, make it so you can't use nail, and then change sharp shadow to the nail damage instead of sharp shadow

buoyant wasp
#

literally the page i linked has a button to download the source

#

@copper nacelle you can't do that

#

nail damage has to have a value of > 0

#

otherwise you can't hit switches, grubs, breakables, etc

#

your nail just passes through them

#

including that first breakable door at the beginning of the game 😉

#

incidentally, spells do the same thing if you set their damage to 0

leaden hedge
solemn rivet
#

@buoyant wasp doesn't the new DamageType thingie solve that?

buoyant wasp
#

it might, but it might also cause other unintended consequences

#

since normally nail has some pushback

solemn rivet
#

by making sharp shadow do damageType = 0 shouldn't it be able to open doors, hit switches and stuff?

#

yeah

#

and it would also break pogoing

#

which is a very cool part of the whole blackmoth combat mechanics

buoyant wasp
#

so if you try to sharp shadow through an enemy it might just bounce you off

solemn rivet
#

would be neato

#

you can't pass through me

buoyant wasp
#

lol

#

i mean, it's worth a shot, I just don't know that it will work

#

though really, nail damage = 1 is pretty low. isn't the base like 4?

#

you could just make everything have +1 health

vagrant leaf
buoyant wasp
#

go up 1 folder

vagrant leaf
#

what?

#

sorry i'm being stupid

#

but it's kinda confusing

buoyant wasp
vagrant leaf
#

okay i got it

#

that took way too long for me to understand

rustic stag
#

Hey everybody, I'm new to modding. I used dnSpy to modify a few values, and want to save my changes as a dll. How exactly do I save only my changes?

buoyant wasp
#

you mean, how do you save them so that next time when a new version comes out, you don't have to resave them again?

#

you don't

#

when you edit with dnspy, that's it, you save it, and it's done. new version comes out? want to make changes? re-apply them manually

#

this is why modding with the API is vastly better 😉

rustic stag
#

How exactly does one 'use' the API? I downloaded the files, but didn't see an .exe or anything?

buoyant wasp
#

so basically you compile your mod as a separate DLL, and keep everything contained with in it

#

when a new version of the game comes out, one of us will recompile the game with the API, and in general, the mods themselves will have little to no change required to work with the new version of the game

rustic stag
#

Alright, well that's what I've been doing. So no problem there. I was just confused. You see, I looked at for reference, the charm notch mod, opened up the dll and it contained only the files relevant to what it was editing. I thought that when you compile, you are only meant to compile your changes. If it works fine regardless, I won't bother.

buoyant wasp
#

yeah, i wouldn't approach it that way, use the source, much, much better. dnspy is great, but man it decompiles stuff in the strangest ways sometimes

rustic stag
#

Okay thanks for clearing that up. Figured I should ask before doing a lot of unnecessary work.

buoyant wasp
#

yup

#

that said, having dnspy around to poke at the game's source when you're trying to figure something out is definitely helpful

#

(unless of course you're screwing with FSM, in which case, i hope you like pain)

sterile meadow
#

Y'all
Hear me out
A mod to save Myra the Miner

soft rain
#

What is the FSM

#

Is it gamestates? ie. main menu, in game, paused

buoyant wasp
#

Finite State Machine. It basically controls all the enemies, all the movement, all the spells, honestly, it's basically the game

#

but you can't just edit them like you would with alot of the standard stuff. it's...complicated

rustic stag
#

So I save my changes to the dll, place it in my Mods folder, and the game doesn't load it when I start up. Works fine if I leave it as 'Assembly-CSharp.dll' in the 'Managed' folder. But inside the Mods folder it does nothing. What did I do wrong?

buoyant wasp
#

you don't mod assembly-csharp.dll, that's not how those mods work. Take a look at the source code to understand.

rustic stag
#

Oooh now I get it. Thank you.

soft rain
#

So when you do the floating glitch you're locked to another fsm state?

solemn rivet
#

idk if that's handled by an FSM state because in code you can see the states for being on the ground, on air etc.

spice spade
#

anyway is it better to us ea keybard or controllr

hazy sentinel
#

just use whichever you're more comfortable with

solemn rivet
#

wait wut

hazy sentinel
#

wait wut

leaden hedge
#

it is controlled by an fsm

#

its in spell_control, the fireball state has code to set your gravity to 0, and then code in another state to set it back to 1, but you skip the reset state and have no gravity

solemn rivet
#

There you go then

#

If we actually understood fsms completely, we would be able to glitch our way to heaven

buoyant wasp
#

i'm really wondering how hard it would be to write a visual FSM editor....

leaden hedge
#

it'd have to be in csharp, and probably in game

#

its why I wanted that cursor stuff a few days ago, I wanted to be able to click on any object in game and list its fsms, then click on the list to load an fsm editor

#

should be new RectData(new Vector2(0,0), new Vector2(0,0)) instead of rectData

buoyant wasp
#

nice

#

in game fsm viewer would be hot

#

though i don't know how you'd handle stuff like spells

leaden hedge
#

spell control is on the player afaik

#

oh

#

the actual spell itself

buoyant wasp
#

yeah

#

since it's like...4?

leaden hedge
#

yeah

buoyant wasp
#

you'd probably need an input text box to be able to search FSMs

#

for stuff like that

leaden hedge
#

the main thing about an ingame viewer is I can actually look at the definition of each action via reflection

#

rather than just guessing

buoyant wasp
#

yeah

#

once you have the viewer working, editor is just a stone's throw away

#

for simple stuff

#

anyway

leaden hedge
#

well simple variables

#

like int/floats/strings

#

gameobjects might be a bit more complicated

buoyant wasp
#

right

#

but even just having an ingame viewer will make things so much better for htat

#

that*

#

even if you couldn't edit it

solemn rivet
#

It's certainly better than dumping fsms randomly and searching blindly through them

buoyant wasp
#

well, my FSM Viewer 2 helps with that some

#

since you can search/load them fast

#

but it's still not ideal compared to in game

leaden hedge
#

well the 2 main advanatages you get,
real time results, you can test your edits in game to check they work
actual information on each action

solemn rivet
#

Real time editor would be slick

leaden hedge
buoyant wasp
#

interesting

#

what's the first image from? this new mod?

#

or is that just your text editor?

leaden hedge
#

its from my mockup of the ui for the mod

buoyant wasp
#

ah, cool

leaden hedge
#

but all that information is available ingame

buoyant wasp
#

can you just do a PR for that line fix in CanvasUtil? I don't know that I'm going to remember to do it this week. (prepping for a 300+ person lan party this weekend, so brain is not 100%)

leaden hedge
#

I put a pr in

buoyant wasp
#

thanks

robust flower
#

Hi, I'm kinda new here, I've been trying to install the randomizer mod and have no idea where the folder called Randomizer goes, can someone give me a hand?

leaden hedge
#

zip has everything in the correct hierarchy

robust flower
#

so just put it below data right?

leaden hedge
#

yea

robust flower
#

thanks man

young walrus
#

the video in pinned messages shows how to do it

rain cedar
#

I don't get how it's a 5 minute video

#

It should be like 5 seconds

#

Just dragging files from the archive to the game folder

#

Done

buoyant obsidian
#

it should be 10:01 for ad money

soft rain
#

should be a feature film

ornate rivet
#

Uhh

#

so I just got this email 5 times

#

I think it is a virus

#

does anyone else think I probably shouldnt click on the link?

#

I am really tempted right now

rain cedar
#

Go for it

ornate rivet
#

it was just a picture of some french book

#

not sure why anyone would send me this

buoyant wasp
#

images can contain viruses

#

if you don't know what something is, you really shouldn't ever click on it

#

especially in an email

#

that's security 101

keen surge
#

that's a really shady email aswell...

ornate rivet
#

I opened it on my phone just in case

buoyant wasp
#

that's...not better

ornate rivet
#

oh

#

well then whoops

buoyant wasp
#

phones are just as susceptible to viruses as PCs

warped sinew
#

oh that tracking device in your pocket, yeah all good

buoyant wasp
#

^

ornate rivet
#

oh well

vagrant leaf
#

graig has spoken

ornate rivet
#

I opened all 5 emails too

vagrant leaf
#

inb4 you wake up in some guy's cellar

buoyant obsidian
#

I once opened an email like that and got sick for like 3 weeks

#

anti-biotics didn't help, probably a virus

hazy sentinel
#

wow nice edit

warped sinew
#

Hey modders I went into TC yesterday to see how the switch port is going, (its going well) anyway there are a few ppl in there overhauling Williams "code" some I'm thinking the new update once they done will change a bunch of stuff for you

#

Lots of FSM be rewritten into real code, etc

leaden hedge
#

you said this last patch too 🤔

warped sinew
#

Yeah but you should see it THIS time

#

Lol they finding some funny shit too

young walrus
#

new glitches then probably

#

YAY

#

also, i like how you put "code" in quotes

warped sinew
#

Heh, we all know it

buoyant wasp
#

interesting

#

guess we'll see

ornate rivet
#

now I get an email about democracy in Iran

#

...

#

this time it wasnt a picture

#

just a google search

vagrant leaf
#

did you click it

hazy sentinel
#

congratulations

ornate rivet
#

yes

vagrant leaf
#

w h y

hazy sentinel
#

you won a free iPhone 7

ornate rivet
#

Doing it a 6th time wont hurt

vagrant leaf
#

your adress is probably public somewhere on the deep web

ornate rivet
#

lel

hollow pier
#

iPhone 7

#

casual

#

where's my iPhone XVII

hazy sentinel
#

iPhone L

vagrant leaf
#

what about the iPhone HK

leaden hedge
#

hey you've won $450,000,000 all you have to do is send $5000 in bitcoin to this wallet:

hollow pier
#

oh so that should only be .7 of a bitcoin

#

nvm its 34 bitcoins

hazy sentinel
#

wow original joke

hollow pier
#

haha

#

joke xd

ornate rivet
#

more like

#

69

#

bit

#

coin

hollow pier
#

s

vagrant leaf
#

haha xd

ornate rivet
vagrant leaf
#

funny original meme funny

leaden hedge
#

this isn't discussion

vagrant leaf
#

clear out

#

wrong place

leaden hedge
#

no admin going to come in here and ruin your fun

hazy sentinel
#

mods asleep post mods

hollow pier
#

because no one takes mods seriously

#

haha

vagrant leaf
#

lightbringer is basically a meme

#

just

#

replace everything with memes

fair rampart
#

whats the difference between hard and easy randomizer fellas

vagrant leaf
#

complex skips

tough sail
#

trying to install the debug mod(completely new to PC gaming), and I'm trying to follow the instructions in the readme but coming up empty

fair rampart
#

if theres a good seed anyone knows

tough sail
#

which folder is the DebugMod.dll supposed to go into?

fair rampart
#

is it with the modding api?

#

yeah it is

#

do you have that installed first of all?

tough sail
#

no, lemme find where that is

#

do I want the 1.2.2.1?

vagrant leaf
#

it works just to put the Hollow_knight_data in the mod's folder in the folder with the existing Hollow_knight_data

#

it will ask if you want to replace files and you can say yes

#

if you're using the steam version

#

for both the api and the debug mod

tough sail
#

should I create a Mods folder then? Because I don't see one natively in the existing Hollow_Knight_data

#

and if so, which subdirectory should it be in

vagrant leaf
#

no you put the Mod Hollow_knight_data

#

next to Holllow_knight_data in the game's files

buoyant wasp
#

the mods folder is created when you drop in the API

tough sail
#

gotcha

#

sweet, I seem to have gotten it. Appreciate the help

fair rampart
#

@fair rampart 717616267
Fury = fireball

#

o

#

Compass = fury

#

Imo really good seed

#

saving seeds

#

Kek

#

Also you can always check what each charm is in modlog.txt in the saves folder

#

Its a hard seed btw

solemn rivet
#

So, just to recap

#

Graig has told us some news that probably won't become true, just like right before cp02 release?

#

I remember him saying stuff about how cp02 was going to shed some new light on the lore we already had

#

We love you Graig, but you have hurt us

vagrant leaf
#

did graig even say anything about cp3?

#

because if he did

#

we know what he said is false

copper nacelle
#

did cp02 not shine new light on lore

#

with PoP

vagrant leaf
#

i guess

solemn rivet
#

Did it tho?

vagrant leaf
#

but what he said was kind of misleading

#

pop did shed new light

#

but

#

it wasn't anything we didn't already know

solemn rivet
#

So, back on subject

#

I'll try and find some time to fix bonfire this week

hollow pier
#

fix

vagrant leaf
#

what's wrong with bonfire?

hollow pier
#

why dont you just break every stat

solemn rivet
#

Lotsa stuff

fair rampart
#

Blackmoth mod 1.2.2.1 when

copper nacelle
#

does the API port work

#

for blackmoth

solemn rivet
#

Rn, attack speed is cumulative with every swing and every time you reset the game, level cost resets to 50

#

It does, 56,that's what I sent the other day

copper nacelle
#

tfw I'm blind

solemn rivet
#

And from what sean told us, maybe it doesn't have to be fixed at all

vagrant leaf
#

is there a non-API version

solemn rivet
#

Maybe it's all vanilla bugs (heh)

vagrant leaf
#

i don't see it in the drive

solemn rivet
#

Oh

#

Just a sec

#

I'll get to my pc and check

#

ehh

#

lemme see if I can find it...

vagrant leaf
#

yeah you should put that in the drive

solemn rivet
#

it was

vagrant leaf
#

really?

solemn rivet
#

but we removed it in an attempt to encourage usage of the API

vagrant leaf
#

ah

#

that makes sense

copper nacelle
#

why not put the API port in the drive tho

vagrant leaf
#

the API port is in the drive

#

i think

solemn rivet
#

it is

#

not the source code tho

fair rampart
#

y would u not use the API?

copper nacelle
#

because you can overwrite HeroController.dash() w/out the api

vagrant leaf
#

what is HeroController.dash()

solemn rivet
#

it's a method in the assembly

#

that basically controls the dash

copper nacelle
#

^

solemn rivet
#

that's what I used to do before the API, anyway

#

with the API, we have to use a roundabout method

#

but it still works

fair rampart
#

Ah ok

copper nacelle
#

can you override HeroController functions with the API?

solemn rivet
#

sure

copper nacelle
#

wait what

solemn rivet
#

just add the relevant hooks

#

iirc, just add an onDashHook() at the start of HeroController.dash()

copper nacelle
#

wait but how do you that

#

with the API

fair rampart
#

Guys is it possible to override the RNG on a single boss?

solemn rivet
#

the API is basically a modded assembly, 56

#

with the relevant hooks inserted in the relevant spots

copper nacelle
#

ik

#

but if the API doesn't have a hook

#

then how do you do override

solemn rivet
#

you create a hook

#

the onDashHook was created for blackmoth

#

many hooks were added for bonfire

buoyant wasp
#

yup

#

we add hooks as needed

#

it's pretty trivial in most cases

solemn rivet
#

yup

#

iirc, the hardest ones are actually the override ones

buoyant wasp
#

dash was annoying only cause the code for dash was huge iirc

solemn rivet
#

yeah

#

and it's very poorly optimized too

copper nacelle
#

oh

#

cool

solemn rivet
#

yup!

#

so you can just add a line like "if something was subscribed to this event, then return after running that specific subscription"

#

which essentially overrides the method

buoyant wasp
#

yeah, most of the hooks basically just get called at the beginning or the end of the relevant method in the vanilla game. we have a few that we change stuff in the middle, Load and Save game, dash, and 1 or 2 others i think

copper nacelle
#

cool

#

also

#

what am I doing wrong here

                List<FieldInfo> fieldValues = typeof(PlayerData)
                     .GetFields()
                     .Where(field => field.Name != null && field.Name.Contains("gotCharm"))
                     .ToList();

                foreach (FieldInfo field in fieldValues)
                {
                    field.SetValue(PlayerData.instance, true);
                }
#

trying to get all charms

#

instead get depression

buoyant wasp
#

pretty sure you need to check for hasCharm?

copper nacelle
#

?

#

I'm just trying to give them all charms

#

it makes the whole mod fail instead

buoyant wasp
#

oh, i guess it is gotCharm

#

do you get an error?

solemn rivet
#

oh

#

maybe

buoyant wasp
#

also, you probably can't do that

solemn rivet
#

it's because of "weird" charms like grimmchild?

buoyant wasp
#

yeah

#

not all charms are bools

copper nacelle
solemn rivet
#

grimmchild is int iirc

buoyant wasp
#

and the queensoul/kingsoul are different too

solemn rivet
#

1 to 3 are the stages for the evolution and 4 is carefree melody, or something like that

fair rampart
#

Just copy the code from debug intenseface

buoyant wasp
#

^

#

reinventing the wheel for reasons

copper nacelle
#

reinventing the wheel

#

because I never remember what debug mod does

#

lol

buoyant wasp
#

everything

copper nacelle
#

#

already stole boss resetting

buoyant wasp
#

what exactly are you making?

copper nacelle
#

NG+

buoyant wasp
#

that isn't debug mod?

#

ah

#

nice

solemn rivet
#

at some point, I'm gonna steal HP bars for bonfire mod

#

but shhh

vagrant leaf
#

NG+?

buoyant wasp
#

we need to get good HP bars for bosses

#

ala salt and sanc style or something

solemn rivet
#

yeah

#

would be nice!

copper nacelle
#

@vagrant leaf yea

#

like 1.5x enemy health, +1 enemy damage, everything is reset

#

per ng+

vagrant leaf
#

they stack?

#

oh no

solemn rivet
#

how about items? Power ups?

copper nacelle
#

items stay

#

wait

#

no

#

yes

#

items as in pale ore and such?

#

powerups stay

solemn rivet
#

all items

#

keys, collectibles, charms...

copper nacelle
#

for now, reset

#

except charms

solemn rivet
#

we were thinking a long time ago, when bonfire was just a baby

#

about making tiered charms

#

or an upgrade system for charms

copper nacelle
#

woah

#

that'd be cool af

fair rampart
#

@copper nacelle Isn't that basically hell mod tho?

copper nacelle
#

no

#

hell mod is just everything is harder

leaden hedge
#

everything is slower

copper nacelle
#

yeah

#

true

#

this is basically hell mod but it gets harder as your new game level increases

#

and it doesn't have nerfs to damage

vagrant leaf
#

so they do stack

copper nacelle
#

yes

vagrant leaf
#

that sounds scary

copper nacelle
#

eventually oneshot

vagrant leaf
#

glass soul

#

and more enemy health

copper nacelle
#

yes

vagrant leaf
#

nobody wins

copper nacelle
#

wrong

#

I win

#

as I watch people suffer

fair rampart
#

Kek

#

NG+ sounds like a more easy to digest transition from first playthrou to glass soul

#

Except with more health

solemn rivet
#

if we play Bonfire+NG+ this is basically Dark Bug Souls

#

in true fashion to the DS series, spells are OP

copper nacelle
#

lol

#

ds3 spells aren't OP usually

leaden hedge
#

flukenest is release ds2 hexes

#

casually 2 shot bosses hollowface

copper nacelle
#

lol

solemn rivet
#

Flukenest is DS2 climax

copper nacelle
#

I set all the cans

#

but none of the has(es)

#

so you "can dash"

#

but you don't have dash

#

weirdly, it breaks claw

solemn rivet
#

wait, how? Which cans, precisely?

copper nacelle
#

hasWallJump

#

hasDash

#

hasShadowDash

#

the dash ones work

#

canWallJump
canDash
canShadowDash

leaden hedge
#

I just noticed this

#

MODS gets added to the ingame menu

copper nacelle
#

nice

#

what happens if unload while in game