#archived-modding-help
1 messages · Page 36 of 1
k thank you for your help
@twin prairie
use this mod version. it fixes that bug
@versed needle did you upload this fix to the drive since our race?
It's not a fix, it just completely removes the problem code, which introduces other issues
I know the real fix I just can't compile against modcommon for whatever reason
Probably gonna copy whatever functions I use from it into my repo because MIT allows that
Depot download failed : error writing chunk for "C:\Program Files (x86)\Steam\steamapps\content\app_367520\depot_367521\hollow_knight_Data\Managed\Assembly-CSharp-firstpass.dll"
what do i need to do to fix this?
How does one directly edit save files?
Nevermind about copying shit from modcommon
Using an API that I compiled myself fixed everything
Didn't even need to recompile ModCommon too, thought I'd have to do both
Ok new version up that should fix the issue as long as nobody is still on ModCommon 0.0.2
So after checking/unchecking mods from the API
do i just close it and start the game?
I hope nobody's still on 0.0.2
I hope I was the last person to use 0.0.2
I switched off of it 8 days ago
Then I was using 0.0.2 longer than you
If it works, why bother updating?
Didn't expect the new versions to not be compatible with older stuff
I updated only because modcommon renamed stuff to fix harmony and renamed it back and I didn't want abi problems
also monomod hooks >>> harmony imo
does lightbringer no longer work?
moddb
ok thank you
cause when you search hk mods it's what comes up first
How is downloading debug source from github so popular?
because everyone just says use debug mod on the subreddit
and if you do this
you get github
also this
tbf i haven't seen anyone say play rando in the subreddit
the latest lightbringer i can find in the doc is for 1.2.2.1
thank you the mod is working just fine
how do you toggle the debug mod menu back on?
f1
thanks
sorry to be annoying, is there any way to reset base nail damage with the debug mod?
or to at least see current base nail damage
Nail damage is adjustable with the keybinds +/- and can be seen in the info panel on the left
Thanks!
both
oh sick thanks
Hmm
ok so I got the pinned mod installer
I clicked the "Install Modding API" button
and then checked to install the Debug Mod
now my game crashes on launch
whether or not the Debug Mod is enabled
I'm running version 1.2.2.1 of the game
any ideas what I did wrong?
bummer
no easy enable/disable?
I am using debug for Speedrun practice
having to install and uninstall mods every other run sounds like a pain
It's not too bad, just have to switch out one file
Assembly-CSharp
You will have to verify game files in Steam to get the non-modded one since right now you've got a broken 1.3.1.5 modded one in there
Yea that's what I'll do
Ok finally done with all that
fresh 1.2.2.1 install with a backup
Now I just copy over all the files in the modding API?
Then all of the files in the Debug Mod?
And when I want to switch to the clean version, I swap out the Assembly file?
yup
❤
if i download mods for my game, can i get the achivements?
yes
yes
yay
but
I advise you not to use mods to make achievment getting easier
because
it isn't satisfying at all
can someone tell me how to install lightbringer mod
Use the installer
lightbringer mod doesn't require the modding api does it?
it does
but both the modding api and lightbringer folders have an assembly csharp file
wrong folder
ok so i used the mod installer checked the boxes for mod common and bonfire mod. it said mod installed but when i ran the game nothing changed
what did i miss?
hit install modding api
ok so now do i need to start a new save
Won't work on a pirated game jfyi

whats that mean
?????
I think science has gone too far
it was not that tough with the installer
i looked at the folder and realised that pirated version has game files one folder less "deep" in the memory and installer was pasting files one folder too far so just cut and paste them in the right place
get it?
which one?
I downloaded then one in the pinned messages. The one with the jar
Executw the jar with java?
yeah
Thank you
is it possible to downgrade to 1.3.1.5 yes or no
Excuse me, I can't seem to have the health bar on the game, be it with debug mod or health bar mod (both together). Does it not work in 1.3.1.5?
enemy health bar mod
and uh debugmod healthbars are broken so that the mod could be compatible with 1.2 for all the speedrunners who cheat by using mods in their runs
/s
but the first half of that sentence is true
thank youn kindly
goddamnit nobody told me about this
what if readme
the readme said nothing about this
what if game just did
dontreadme
even my oldest and crappiest readme tells you to download modcommon
ishit it does
now that the installer is multiplatform ima link it for all my mods
for those who can't read
but that was the one reason I didn't before
i'll send you that pr today

Oh does the file selection dialogue work across platforms aa?
gradow do you want it too
yours does
Wut 56
the crossroads didn't because unity mono out of date
Oh ok
pr for making ur mod complain if you don't have modcommon
the answer is no because gradow doesn't need modcommon
oh nvm
Enemy -
im dungo
Fucking fastest typing in the west
is debug compatible with blackmoth?
yes
thank you
i seem to have found a glitch
yes
tbh would have thought elegy was a glitch if it hadn't been spoiled for me
elegy on is intended
true its very handy
it... was a glitch at one point
it certainly looks silly
so silly I put it in shitmothst
it being intended
yes
yes it's not a glitch, yes it's intended, yes it was a glitch at one point, yes it certainly looks silly, yes I did put it in shitmothst
this channel is 100% srs
107% srs
hmmmmm
well the more you know
tbh, sean just randomized the descriptions
just happened to be the perfect seed and they're all words
alright this is stupid but how do i un-hide debug menu
f1
dope thanks
also if i set respawn with debug, that still works for save and quit as well right
not just death
oh it doesnt
Respawn is hazard respawn
is there any shortcut to activating the HP bar? Mod APi and HP appear as enabled when I open the game, but the HP bar does not appear when I hit enemies. I'm using the version of Gradow + Hollow Nick + KDT.
Modcommon
worked, thanks
True knowledge is understanding that ModCommon isn't all that great and every mod needs it for like one function
True stubbornness is understanding that ModCommon isn't all that great and that your mod doesn't even really use it but using it in your mod anyway to force people to download it.
I mean yeah I only use it because of the find object in children function
I don't need it
That's just easier
753 didnt need api
RN I'm using it to run code I wrote into modcommon. I could have just kept the code and used it directly
enemyhpbar uses it for cool points
literally only this: On.CameraController.FadeOut += CameraController_FadeOut;
isn't that just
public void whatever(GameObject go, string name, ref List<GameObjects> objects){
foreach(GameObject child in go)
if(child.name == name)
objects.Add(child);
whatever(child,name,objects);
}
}
for find object in children
transforms is how you get children
Is that real code that works?
so you get their transforms and reference them from that
so it'd be go.transform
Treating GameObject as an enumerator wtf
I mean it probably works
go.transform is an enumerator
that returns all children
afaik
although it might return transforms
so you'd have to do child.gameObject
public void getObjectsFromGameObject(GameObject go, string target, ref List<Object> objects)
{
foreach (Component comp in go.GetComponents<Component>())
{
if( comp.GetType().ToString() == target )
objects.add(comp);
}
foreach (Transform child in go.transform)
{
if(child.Name == target )
objects.add(child);
getObjectsFromGameObject(child.gameObject, target, objects);
}
}
I think this would work, too lazy to turn on hollow knight
its just reworked code from my dumper for object hierarchy so instead of logging it puts it into a list
is there a known issue with using the debug mod with lifeblood
i've installed it via crossroads and im just not getting any indication that it's even installed ingame
Click the button to install modding api
? i went through that one instead and it worked
guess im just gonna use that instead of crossroads
I need an emote of the knight wearing shades
and have it named shadeSoul or smth
til then, I'll just use 
B)
which boss did you try it on?
watcher knights
Gradow this is letters
if you wanna do arbitrary%, 1.2.2.1 would be the best patch imo
nice to meet you
hey letters
Q: is the debug menu a thing built into the game? or is it made by modders
There's a built in debug that sucks ass
basically does nothing
even KZ's old debug was better imo
actually I really like those hollow_knight_info.exe helpers
really useful and lightweight
I could probably make a debug "mod" that is fully external
Global hotkeys and always on top
Might be a little janky
it would be pretty sick to have something like f11 mapped to "respawn boss and then reload map"
i feel...soiled
:O
I have a modding problem that can only be solved by 56 adding input redirection to the api
whatever that means
you are mr api people
shouldnt take more than 5 minutes
i knew that was gonna happen
i might take more than 5 minutes
because I tried adding it with dnspy and it didnt work 
also @glass meteor apparently theres a monomod thing
that lets you replace all instances of a class
oh what
or function
if you can do that replace all calls to random with something thats hooked
that'd be nice
incontrol oneaxis something
ispressed waspressed isrepeated
ok
not wasReleased?
ye
do I have to make a new save file?
no
no
how
just do it
his tent reappears
nightmare god grimm doesn't work on lifeblood
use infinite grimm
it has nightmare god grimm in it
OwO
why isn't your mod installer in your native language smh
Because english is better for more people and he's too lazy to make a language selection
sean gets me
what you mean br?
British
understood
pt_BR iirc
ptbr is the language reee
pt_BR is the locale
does that mean en_US and en_UK are different languages?
sure
wow I never knew I was a polyglot
we all are, AA
but I understand english .-.
en_UK is just en_US but half the words are wanker
and the other half are bloody
lol
so a full sentence is something like bloody wanker
bloddy
shhh
you can actually convey infinite information just by combining those two words plus any pronoun.
truly the most advanced language
it bloody, wanker
see
yess
guys
the infinite grimm mod
just makes it harder and harder?
do you get anything?
^
and wankers and cunts, I assume

Wut
co-op is 1.2.2.1 only
@timber ridge braZil
Oh no
Anyone have any ideas why the debug mod doesn't show up in-game? This is how I installed it
just use the installer
you installed the source
either use the installer in pins, or follow the instructions (also in pins)
Ah alright, cheers guys
Gradow, question
....do you read instruction manuals on new things before you install them?
Hey @runic oriole
If you need help translating to portuguese
I can help
\ (•◡•) /
probably the Blackmoth stuff
it's already been translated to ptbr tho
and I had to proofread it
because it was full of misspellings, missing punctuation and such
too bad I can't read RUS so I depend on Lich to tell me how good/bad it is
really?
Well, Russian is similar to Bulgarian
same alphabet and I believe similar sentence structure
til Papers is from Bulgaria
with a bit of checking I can probably manage
Lich was actually the one who made the RUS translation too, so
and it's already been fixed at this point
but thanks for the offer!

wait, did you just now find out I'm Bulgarian?
ye
huh
yeah, exactly

oh
but you're not that vocal about that in here or in modding, which are the main channels I lurk in
and speedrunning
I'm completely out of Speedrunning
other than that one time I did PoP sub5 and getting the achievments I haven't done much speedrunning
sub3 when
when TC good code and I become an actually decent Person
1/2 done already
TC finally made good code?!
then how is it 1/2 done then?
@runic oriole i was just making a snide comment earlier about people installing things without reading directions, especially as it pertains to HK mods
then wondering why things don't work when they didn't use the instructions to do so
I thought it was a general comment about how no one reads instructions
yeah it was
i get slightly mad when people do things without reading instructions and then wonder why they don't work
mostly cuz i write instructions for my job
and people still fuck things up
you don't usually need much, if any, instructions to operate most things
not usually. but there still may be specific orders that you need to do certain steps. and if you don't, it may still run, but not as optimally as intended
tbh tho learning to read a manual was one of the best decisions of my life.
cuz now I can do anything given enough instruction
and just because you can live without doing it doesn't mean it's not a good skill to have
it's amazing how reading what you're supposed to do has helped

anyways. enough about my soap box
I need someone to hack either Benji, Simo, or Graig's computer screen asap
mod hollow knight to hack computer screens
I mean it is possible to put a virus that can be remotely activated into a mod
But I'd have to have already done that to do anything right now
Also more work than I want to do
how do we know you haven't already 
what if you are playing gng at this moment using it
Literally all of my mod source is on github
but dont want to tell us
Check it if you want
how do we know you didn't change the source code when you sent it to graig
TELL ME ABOUT GNG NOW
incredible
make your own mod that graig can't resist
Just change every instance of King to Graig easy
not saying it's not a coincidence but 1 day after graig played infinite grimm we got #!#MODE_GODSGLORY#!#
im onto you IG creator
ig creator is gay
what about NGG creator? 
hella gay

100%meirl https://i.redd.it/bviv164d7p911.jpg
no

@glass meteor i was told to ping u about my lightbringer mod problem, that causes me to be permanently stuck on any bench
wtf
got the dreamnail, went and started the grimm troupe dlc
give save
any other mods or anything?
nah
you've got modcommon and all, right?
whats that
i manually installed
i swear
i put a huge message
at the bottom of the screen
saying install modcommon
did you ever install modcommon
you didn't make the message huge enough
idk i thought i didnt need it cause it worked perfectly fine
:echREE:
until i killed grim
make it 92 tall and change all ingame text to "Install ModCommon"
i'm actually
going
to destroy the title screen
and replace it with install modcommon text

how does one get my save file tho
more like
:ech:
try removing modcommon as a dependancy from your mods
monomod hooks are life ty
no
yes
do what I do in the TAS mod
how about this, KDT, let's remove the game from people who can't read readmes, giant texts on screen, or use installers
and just runtime detour random address
wtf
the world's least portable mod
its the Lightbringer API right
IntPtr target = GetType().GetMethod("get_deltaTime").GetNativeStart();
// Get an IntPtr to the entry assembly.
hkexe = DynDll.OpenLibrary(null);
// The location of the first byte we want to manipulate.
IntPtr from = (IntPtr)((long)hkexe + 0x3DEAA9);
IntPtr fixedTarget = GetType().GetMethod("get_fixedTime").GetNativeStart();
IntPtr fixedFrom = (IntPtr)((long)hkexe + 0x3DEA91);
// Our writing offset.
int offs = 0;
NativeDetourData helper = new NativeDetourData
{
Method = from,
Size = 5
};
DetourManager.Native.MakeWritable(helper);
from.Write(ref offs, 0xE8);
from.Write(ref offs, (uint)(int)(
(long)target - ((long)from + offs + sizeof(uint))
));
DetourManager.Native.MakeExecutable(helper);
offs = 0;
NativeDetourData fixedHelper = new NativeDetourData
{
Method = fixedFrom,
Size = 5
};
DetourManager.Native.MakeWritable(fixedHelper);
fixedFrom.Write(ref offs, 0xE8);
fixedFrom.Write(ref offs, (uint)(int)(
(long)fixedTarget - ((long)fixedFrom + offs + sizeof(uint))
));
DetourManager.Native.MakeExecutable(fixedHelper);
whomst needs monomod hooks
yeah
that did nothing
im still stuck
instead it just crashes my game upon launch
xd
ok

how does one get rid of the mods tho when i wanna play normal hk
do i just like verify my file integrity
yes
make a folder in the mods folder called disabled and move them in there
so
it's the foolproof way of ensuring your game is legit
well
I shouldn't use that word
because they always find a bigger fool
Stuck on benches is one of Mick's imaginary problems that you need to clear registry for
replace assembly-csharp.dll with your vanilla one 🤔
i have a good mod idea
a mod that lets u kill zote
instead of waiting for him to die
oh wrong section
ok
Did you try pushing buttons to get off the bench?
no mickely's doing the a button challenge
me saying im permanently stuck
implies
i cant do anything
like i was legit stuck
Holy shit never occurred to me that more buttons could be pressed. 
in this animation
You didn't install modcommon
nice screenshot of a bench
i mean same thing happened even after i installed with mod installer
so idk
but fixed it anyway so idc
how do i set binds to unbound in debug mod?
Same
@runic oriole hello, are you the same person who made the blackmoth mod?
he made blackmoth yeah
@low heart have you played blackmoth?
(no need to ping every time)
do you know what the dashmaster charm does different from quickdash?
it seems like a nerfed version of quickdash
i remember gradow fiddling with it a bit, last time i think he made it able to use crystal dash in midair
i haven't looked at it as of recently but i have seen him work on it
sorry again
no, no problem
hey everyone. i wanted to ask if the charm notch mod still working or maybe im missing something?
Dashmaster is waaaaay earlier
just a tad
although once you get it you can go basically everywhere in the game
so I guess you could get dashmaster and use it to go to KE really early
Charm notch mod is now part of rando 2.0
can you link me to it please?
yeah. im trying that right now. thank you
but i just have a hard time wrapping my head around the royally broken grubbermoth's elegy charm. using dashmaster you can get all grubs quickly and that charm is better than a debug mod
hi! so, is boss rush not working for the current patch?
ah </3 okay, thanks!
Can anyone shed some light on why my controller isn’t being recognized after I install Lightbringer and the common Mod it needs to run? It worked fine before the install. I’m stumped. 😣
Enable steam controller
Yeah it’s enabled. There’s something in the MOD that’s causing the problem for me, I’m just not sure how to fix it.
Oh shit, I misunderstood what you were saying. Thanks!!
Well either I’m just missing what you’re saying or I must have another problem. It still doesn’t work.
I can use my controller to pick the language in the game at he very beginning, but as soon as it gets to the title screen the controller goes out.
so uh I have a problem with the randomizer mod where if I enter a boss room, the next room I enter would load forever
Make sure you have the most up to date version of the mod
As well as for modcommon
I do have mod common
Ok but what version is it?
1.3.1.5
Open the game and look in the top left
2b.4 is what it says
2b.4 or not 2b.4
Update it
alright where can I find the latest version
Same place you got that outdated one
it was that i renamed ModTools to Tools
cause it was Tools originally
so enemy rando stopped working
so i renamed it
and then rando 2 got the infinite load
ok
hey can you guys help me? where could i download camera zoom level
ty ty !
Im in the hollow knight folder and it does not have the steam api what do i do
?
📌
I should do a pr of that for multiple versions
Btw once i installed the mod in modinstaller it says its installed is that it?
Take a hash of the assembly-csharp to get game version and install the right stuff
it has that half in rn
yeah
could you get in trouble downloading mods 
no
okay ty
@clear hinge what
?
what mod
No i got it
But my games a bit laggy is there a way i can fix that
one more question how do you unlock camera mode?:O
There's no mods for unlocked camera
Closest thing to it is gonna be noclip + invincibility + force camera follow + invisible character in debug
what
do you have anything else installed
Modcommon isn't a mod
They were asking about enemyhpbar in modding
You need the API, modcommon and the mod itself, Nip
Use the installer imo
K
where can i hide the hud?
F1
the hp hud 😮
Uninstall the mod
When using the boss rush mod, how do I get out of false knight's boss room on startup?
you dont
downpatch to 1.2.2.1
the mod hasn't been updated for current patch
ty
Is it possible to create new rooms in HK, and if not is this to do with the hand drawn nature of the game or the code? Thanks ❤
iirc KDT said it wouldn't be too hard
load scenes into an asset bundle and then load them i think
def gonna want the unity editor for it tho
yeah if you don't use the unity editor you'll die irl
Ye I know
dnspy and VS are insufficient for this kind of work tho is what I mean
my controller doesn't work when i'm using debug mod
ur on steam?
yes
Enable steam controller
thanks
I'm trying to use the boss rush mod and when I do I get into the game and I'm stuck under the floor in false knights room.
Do I need a certain version? I'm using the api mod installer and manager
Ok thanks
Yes it is 1.2.2.1
like the actual difficultly of technically adding a new room is very low, but can I be bothered to actual design a new room 🤔
Making custom challenge gauntlets would be so fun
it's like mario maker, but HK
and better
looks at KDT hopefully 👀
looks at KDT intensly
best emote combo imo


making custom levels seems like more effort than it's worth without a level editor
but maybe that's just me
well yeah
but kerr was working on some serialization, which would make a level editor/creator much easier
les be real if we want working serialization in the next month someone other than kerr is gonna have to finish his work and I'm way too lazy
the level editor is unities
Hi everyone. I'm trying to run debug mod but the shortcut isn't working ("F1").
I have version 1.3.1.5 for HK and 1.3.1.5-44 for debug mod.
I can see the build number on the top left corner and have the "mods" menu entry available (although its empty) so I'm assuming that its properly installed?
in game press escape and then f1
On the "pause" menu? No dice.. :/
does it say debug in the top left corner or Modding API
1315-44 is the api
Only a few mods will show up in the mods menu but they all should appear top left
Ok it says modding. Are there 2 "mods" for this? One for debug and another for adding other mods?
you don't have debug
What you have installed right now is a base API that does very little on its own
It just adds stuff for other mods to use
unlocking cursor poggers
🤦 ok that makes sense. So now I'm missing the debug mod correct? I just drop it in the mods folder?
Yeah
Thank you! That makes a lot of sense and it works now! I'm going to close the issue on github.
BTW Where can I get the latest version? I only have 1.3.3
how does this man exist
?
That's not even a bad question though
has a github account and opens an issue ON THE DEBUG MOD REPO
1.3.3 is the newest version, but the version checking is broken because of a change to github
ahaha yeah sorry about that... Actually I wasn't the one opening the issue. Someone else had the same problem and I tagged along. As for how I landed there... welll its hard to find info on how to set this up. And clearly my google fu failed me because I didn't see any mentions anywhere that it would be needed a mods "mod" and a then the debug mod.
It makes perfect sense now but for some reason I was thinking..
@versed needle Alright thank you.
Yeah, all available info is in this channel
Very hard to find useful stuff outside of here
Hey guys
im using debug menu and i pressed the key to hide the menu, but now i don't know how to get it back.
any tips?
F1
i appreciate you chief
hello guys, I'm new here and I would like to install the randomizer 2 mod on my game, I already have the mod installer app and the file from the mod list, but I cant install it...
you can't click the check box?
he's using the old old installer
nope nothig like that
try using the correct installer
using this installer
which is?
I'm sorry this is so confusing for me... 😒
hi sorry this is so confusing for me... 😒
Hi guys where can i download a mod for the latest version.
latest version of what?
don't think that mod is updated for latest version
yeah i think so too since it's for 1.2.x.x i think.
i guess i should wait 'till GnG drops 😄
do you have the google drive with all the mods in it?
there are a couple mods for lifeblood but not many
the new randomizer for example
@dull jacinth e
lightbringer is updated for 1.3.1.5
just not on moddb
use the installer in pins
i don't have any mods right now installed.
that's why you download the installer
oh sorry 753, I was just looking at the drive
i see sorry i'm just getting used to discord
Had to shill lightbringer
once done installing the mod manager will it do everything or i should have the API files for each mod?
mod manager does everything
thanks guys
does anyone know of any mods that let you configure how many notches you have to equip charms
save editor
is that on the google doc
pinned by KDT in #archived-modding-development
thanks
where do i install this thing? I'm guessing it isn't compatible with anything else right
^
does this not work to modify save files if your on a mac? i have been trying everything to get it to work its not letting me edit it
progrma
yeah its opening and seems to be working but it is unresponsive to my save file
did you file -> save
i think so. let me play around with it. i'm not even able to ask a good question to get your help right now
ok how do I save the changes I have made. I have everything else working but they aren't working
thanks
Big shock you save it the same way every other program saves
I have a quick question about down grading. I cannot get to the steam console its greyed out. Do you guys know what is wrong?
Are you typing "steam://nav/console" in run.
?
After you do that there will be a bar at the bottom you type into
For example if you want to download 1.2.2.1 files type/paste "download_depot 367520 367521 648876203478229944"
Then it will start downloading. And it should show up in C:\Program Files (x86)\Steam\SteamApps\content
Oh you guys covered everything on modding.
@crimson ivy Thank you for the help! I just got it work 😃
Sweet!
HI there ? I need help with Boss Rush mod ^^'
It doesn't work on current patch

