#archived-modding-development
1 messages ยท Page 52 of 1
I assume fireball 1 is just additive
thus the black bg
er yeah I do
but its 4k by 4k and discord sucks
Oh jeez
should be in one of those
Awesome, thanks so much
wow unity got that good code
yield return new WaitForSeconds(0.5f);
bet you think this runs a coroutine once every 500 milliseconds no, pause the game and it never runs 
dnSpy is the modding API right?
no
oh
its in the google drive
top pin?
yes
i should download the setup.exe file right?
what setup.exe lol
this
oh
i went to the wrong thing completely
i went to the GitHub link in the readme
and do i just put it in my hollow knight folder?
it should be all set up
so you just drag it into the folder with your hollow knight exe
extract it somewhere else
then just copy the "hollow_knight_data" folder
and paste where the actual "hollow_knight_data" folder is
it'll merge and overwrite the appropriate files
well that won't work
don't know how you're not seeing it. should be on the bottom
i just had to refresh it lol
it just wasnt appearing for some strange reason
is this right?
why is that in the mods folder
i just took out what was in the zip folder for randomizer
copy those into the "Hollow Knight" folder.
if you notice, the folder is called "hollow_knight_data" the exact same as the other folder up higher in the tree
the mod folder tree is set up already to drop files where they belong
just copy those and paste them in the highest folder and everything will be placed for you
title screen top left
because i got fury of the fallen where i would normally get it
if there's text, it's on
yeah there's text
did it say randomizer at the bottom
did you enable the randomizer
it said randomizer at the top left
^^
wait you manually enable it?
it should have said OFF / EASY / HARD
^^
and it defaults to OFF
when you start a file, you have to turn it on
oh how do i do that?
you click it
sean is too lazy to add in game controls
you've beat the game once yeah?
kay. you just don't have the asset file in the right spot then
so your huge OFF button is now showing
nah
it goes next to "hollow_knight_data"
like i said before, copy BOTH files, and move them
not just the data file
most api mods with multiple files are set up to be just dragged into this folder
so is that right?
thats correct
do i put the .dll in the mods folder or in main directory?
where does the zip put it
^^
mods folder
alright
well then it goes into the mods folder
lol. you're making the install more complicated than you need to
unrelated I fixed moresaves
yay
completed unrelated to anything we did
at some point
uim.slotOne.locationText.text = ((SaveStats)saveStats.GetValue(uim.slotOne)).Name;
started giving NREs
cute
Is it a known glitch that the mods aren't showing up in the corner with API
that means it's not installed correctly
also check modlog if that doesn't work because sometimes stuff is broke
shouldn't sly sell it?
mmhmmm
anyone have access to the full sprite sheets including grimm troupe?
its 0003 for me so kind of tired.
UABE
also if you're after a specific sprite it'll be faster to find it and dump it directly
instead of looking through 100's of sprites
...
or someone could link drop and I'd go to bed; I have the patience normally to sort through said files. Am Just bloody tired.
well if you're so tired you aren't going to be doing anything with them today anyway
It would save me the effort of having another pointless conversation though, wouldn't it? as well of trying to hunt them down later.
alright let me zip a gigabyte of 5000 files then upload it
ah. So you've gone through and categorized/organized/renamed things?
but yeah if you actually have certain sprites you want other than just all of them I can probably just upload those
all is fine. Though the Grimm stuff would be good too. I can try to find the reddit post for the rest if you are going to be this oppossed to that concept.
Sorting I guess is the answer. Neat thanks.
Guys i get this glitch in rando where verytime i hit one of those iron doors that block you from going out of boss fights the game gets laggier
Only way I found to remove the lag is to die and respawn.
Weird
Wait, so it's cumulative? Like, every time you hit it the lag increases by a bit
Yes
but "a bit" is an understatement
after 2 hits all teh other hits either dont increase lag at all or the lag increase isnt major
Also same thing happens when i break the crystals in crystal peak that those flying guys shoot, but the lag in crystal peak goes after like 5 seconds after i broke the crystals
Weirder and weirder
hey
i'm trying to play randomizer and i'm following https://www.speedrun.com/hollowknight/guide/ghb3u for the first areas to explore
in the first little route i've got claws but nothing to kill baldur and it says i should go to fungal wastes
i can't find the path
what else do you have
you can go up to king's pass/howling cliffs
and down into greenpath
just saying that hard mode has A LOT of things that can kill baldurs
MoP, VS, Dive, Spore shroom, glowing womb, elegy.... and probably a couple more i can't remember.
weaversong
yeah i just thought i could go to fungal wastes according to that guide
The first region you'll want to explore depends on the key items you have collected. In general, this is what I recommend.
Claw and can't kill Baldur:
Fungal Wastes
โ 3 quick items (Leg Eater) but will most likely requires farming Geo. However you can explore the entire area first then buy the key items.
โ All items accessible
โ Best option if you have leftover Geo
didn't think i had to go throught greenpath anyway to reach fungal wastes, it would've been stated, idk if i'm missing something or that guide is outdated, probably first one i said
this is a classic Hard mode moment really. it tests your game knowledge. Randomizer runs will hardly ever be "normal"
weaversong and long nail work to kill baldurs, but i know for sure longnail isn't in the logic for it cuz it sucks
defenders crest also works, but isn't in the logic
MoP sucks, but it's WAY more possible than longnail
@slate owl
should work for THK now
are the HP amounts hard coded?
yes
so on the HPbar readme it says that it won't work with the current version of api
what version will it work with
"keep red coloured folder until official release of API"
from:wyza has:file
ok thanks a lot
or any bosses which names start with an M?
no
I made a mistake anyway 
this might work with bonfire
if you're just playing vanilla use the drive version
although @solemn rivet you could easily make a compatible version if you wanted to https://github.com/KayDeeTee/hk-hpbars/blob/master/src/HPBar.cs#L93
I'll take a look later
I'm currently unable to test this
but thanks for your efforts, KDT!
Why is that a ternary with only one outcome?
I need to add an extra line of code
on the first stagger on FC
he has 60 health
so it really needs too look like
case "Head": maxHP = GameManager.instance.sceneName == "Crossroads_10" ? 40 : firstStagger ? 60 : 40; break;
Why can't you just get the hp from the gameobject/fsm?
if you hit something else then come back
the value will be wrong
theres no maxHP in the fsm
just current hp
I guess I could just store everythings max hp on the first hit
That's how debug does it
theres only 1 slight problem with that
and its TMG
his hp defaults to 750
and on the 2nd frame it has 800/930/1000
What do you mean?
troupe master grimm has health that scales based on nail upgrades
Oh
but it happens a frame after he spawns
I didn't know he did too
so in debug mod its bugged
Wait does NKG scale?
although not an issue here I guess unless you can hit him on frame 1
no
NKG is flat 1600
Good
TMG is
800/800/800/930/1000
pretty random assortment of enemies
but yeah I guess I'll just keep track of enemy hp
I hope there's never anything added with scaling that actually matters for routing stuff
Because right now you really just need to get nail 3 before colosseum
Which is pretty late
It's pretty neato being able to kill literally any warrior grave with full soul and fluke
But yeah it's dumb
Almost every boss in the game is skippable until you have a high nail level
But none of them scale
only reason i haven't posted -32 is that it had so many changes in it. Nothing that should affect old mods, but..meh. and we haven't done a ton of testing on the new mod menu
as far as i know, it works fine
if (bosses.ContainsKey(fsm.GameObjectName) || GameManager.instance.sceneName == "Room_Final_Boss_Core")
{
bossFSM = fsm.FsmComponent;
Log(bossFSM.FsmVariables.GetFsmInt("HP").Value);
if (GameManager.instance.sceneName == "Room_Final_Boss_Core")
{
bossFSM.gameObject.name = "THK";
}
if (bosses[bossFSM.Fsm.GameObjectName] == -1)
bosses[bossFSM.Fsm.GameObjectName] = bossFSM.FsmVariables.GetFsmInt("HP").Value;
maxHP = bosses[bossFSM.Fsm.GameObjectName];
canvas_group.alpha = 1;
health_bar.fillAmount = (float)bossFSM.FsmVariables.GetFsmInt("HP").Value / (float)maxHP;
if (bossFSM.FsmVariables.GetFsmInt("HP").Value <= 0 || bossFSM == null)
canvas_group.alpha = 0;
}
I think this works 
let me see if renaming the objects on hollow knight breaks him
should now work with custom health values and on all bosses in boss rush
nice
yes
neat
Nice
would there be an option to turn hp bars off
well you have to install the hp bar mod
it looks neat though
faster to test it on every boss in boss rush though 
think ill try boss rush out soon, looks fun
dont pick up jonis or play in chinese
and don't pickup anything like weaver or dreamshield before collector 
minor fixes for second health bar on FC / FK fight
added a decaying bar in the background
@rain cedar - dunno if you know about this bug, but if you own all 3 fragile charms, you can't buy the randomized charms from legeater
you have to intentionally break one to get him to talk to you
consumed the
R O T T E N
๐ ฑ E G G
what's the procedure for modding HK
how simple
<@&328354344313421825>
quite complicated
Check out the pins first off, there are some links to get you started
you'll need to download the modding api, and your IDE of choice (Visual Studio probably)
nope
nevermind
lul
i'm satisfied with steel soul 100% that should keep me busy
N O Q U I T - O U T S
๐
<@&328354344313421825> i've been told it's easy but how
Whats easy?
modding?
KDT gave you references, and you just said 'nope nevermind' and then tag us all again?
I assume he wants to install mods
Yeah, id imagine its installing mods, not learning how to mod
it would be really convenient if there was a pin system
that had important information
something like this https://www.youtube.com/watch?v=7lX2A8Tegys
All the credit for making the modding API and the Boss Rush mod itself goes to Seanpr, Firzen, Wyza and KDT. If you have any further questions, feel free to ...

Its all good Cylis, just didnt know if you wanted to mod HK yourself, or install existing mods to HK
watch the video

local only
ok thanks
sorry to bother, but what does the percent mod do?
does it track your % of completion?
pretty sure it adds extra percents
for getting all geo rocks
and some other stuff
its a websocket api that tells a webpage what items and skills you have
its used to put overlays on streams
๐
ye I did
so it wasn't the text originally
you changed the text
so you said it
meaning it might be wrong
did you install randomizer AND the modding API?
yes
does it say randomizer in the bottom right
no
you did it wrong
what does it say on top left?
is there a randomizer folder by your exe
yes
and randomizer.dll in mods
so modding api is correctly installed but rando isn't
i just unzipped in the hk folder
show us your folder containing hollow_knight.exe and the Mods folder inside hollow_knight_data/managed/
mods folder just contains randomizer.dll
Hollow Knight\hollow_knight_Data\Managed\Mods\Randomizer.dll
give modlog
the what
inside saves folder
also give Hollow Knight\hollow_knight_Data\output_log.txt
output_log.txt inside hollow_knight_data as well
[ERROR]:[API] - Error: System.TypeLoadException: Could not load type 'Modding.Loggable' from assembly 'RandomizerMod'.
at Modding.ModLoader.LoadMods () [0x00000] in <filename unknown>:0
[INFO]:Saving Global Settings
what api version are you using
and rando version
i'm using the most recent one i think
-32?
or the one from drive
1.2.2.1-9
holy shit
use the alpha
Oh wow
\
The public stable version is -27
a\
If you're on 9....
then you're bad
You're a bit behind
search for from:[LW] Wyza#1018 has:file
i thought you guys just update it every game update lmao
It is updated a lot, but that doesn't get pushed out to users automatically
Multiple versions per game version
^
mostly because most of those are actualy "unstable"
Ya
yes worked
(even tho they're pretty much very stable)
thank
-9 what a meme
is -9 old
I was gonna make that joke
wo
more than 3 months old
oh seanpr thanks for making good mod
Nah it's shit
ignore
just ignore that
One of many problems I'm too lazy to fix
"I'll fix it later" -- Seanpr
Just waiting for the next patch, really
-also seanpr.... Probably
oof that sweet low quality text
We're gonna have to remake everything anyway
wait what
That would make everything a lot easier
I hope FSM gone entirely
switch port
next patch will be switch recode backport
TC hired a third party to make their game not shit
they have to redo a lot of code
nah apparently they did
and hired peoples
but apparently something happened between them
probably the code was too much of a mess
so will and ari had to take over again LuL
lmfao
That's news to me. Lol
I dunno if thats what was actually said
Sucks
but graig said something happened and now will and ari are doing the port
Well rip the no fsm dream, I guess
pretty sure thats why theres been nothing about cp3
Yeah I'm sure
because they were working on that whilst the outhouse was doing switch
but now they've gotta do switch stuff
we better ask graig straight next time we see him
oof
because... That doesn't sound good at all
so I'm on API -33 and in the Options menu ESC doesn't take you back
Yeah I noticed that during the race
I did mention cancel buttons to wyza
dunno if he fixed it
theres another thing thats less of a problem
that the fullscreen button doesn't work anymore 
so what's the difference between randomizer easy and hard
It usually does
aka hard is fun
this is okay i assume
Easy is kinda lazily made tbh
Very high chance everything will just be in shops
Which would be easy
I guess this works for seeding with ingame controls, clicking on 123456789 would copy it to your clipboard
@stiff bane absolutely
I was thinking I don't actually need a textbox to put in numbers
when do you really ever input a number other than to paste it from races
@stiff bane shade skip, check shops

I input numbers
i know what shade skip is but
I could just copy to clipboard doh
All of Lightbringer is a metaphor
I should add a hell mod easter egg
everything reverts to normal if you have 56 geo 
except that'd be bad
everything gets twice as hard if you have 56 geo
when geo is at 56 OR 753 all enemies kill you instantly
everything gets 56x harder if you have anything but 56x geo
game suddenly becomes lightbringer if you have 753 geo
lytebrinnjer is pretty gud
it works PogChamp
hmm, i did the coding for the cancel button...
i know canceling out of the mod menu works
i wonder if i inadvertantly broke canceling out of everything else
lmfao
oh, cancel is indeed broken
lol
so you can only cancel out of the mods window
lol
when?
@leaden hedge
when you toggle mods
hmm
keep in mind that the way it loads/unloads is by calling Initialize/Unload, if there is an exception inside of that that doesn't get caught inside the mod, it'll bubble up and stop the menu of toggling on/off
what was the last version # i posted, -32 or -33?
i'm finding -32 in the search history
but i thought someone said they were testing -33. just need to increment it and i can drop in the fixed menu escape
meh, w/e, i'll just make it 34
1.2.2.1-34 (ALPHA) - Escape key works again.
at least. it should
not sure how well this seeding system works
bossrush doesnt generate items like randomizer does and randomizes them on demand rather than all at the start of the run
but I tested it on false knight and it seemed to work Kappa
I suppose you could generate the first 66 items
the ones up until you have to recycle
don't see how you could really do the rest
well I only need like 72 items
-3
so 69
if I can get 69 different items
wait I'm bad at maths
((9x3)-1)x3 = 78
actually, it's it 9x3 -2?
cause the last boss you kill you don't get anything either
may i ask where ya finding all these mods
first pinned message
i always forget pins exist....
2nd
wait, we get pages where fluke is guaranteed?
flukemarm
oh
not flukenest
its because shiga offered people $5 to kill fluke with nail 0 and no upgrades / spells / charms
has anyone managed that yet?
oh, i'm sure it is
I don't think that it's realistic to do without slowdown
probably with some sort of cheese
you can kill the flukes and damage flukemarm without taking damage if they spawn in the right places
so you should be able to do it without even moving just pressing down and attack, if you get godlike rng
what is unending drea,s
dreams
why is there a new mod
can someone explain what it is and what happens
pretty sure unending dreams is old af
unending dreams basically respawns warrior dreams
just lets you refight dream bosses
oh so its not as good as it souns
yeah but i thought it was somrthing else
like an extra room or boss
something else cool
An extra room is somewhat feasible but not really worth the effort
New bosses is not happening
sounds like a challenge ๐
new bosses not happening?
false knight again
Well you could modify a current boss so it's like a new boss
its a mod but all the bosses are false knight
Prince muzznik ?
nightmare god grimm ๐ค
Yea
adding a new enemy shouldn't even be that hard
and its a horribly deformed sprite
I'm way too lazy to actually implement it though
add a badly cropped shrek
well warriors aren't happening
imo moss charger is more intersting than gruz mom
It gets knocked back during the charge attack
You literally just spam nail and it dies
Gruz mother at least does stuff
the current layout is really neat and tidy
I could add another boss to the final 9 and replace the thanks for playing
but I don't think any of the missing bosses, or previous bosses really fit in that "tier"
You could also add a boss at the start to replace fk since you insta fight him anyway
kek
I really don't want warrior graves in there
congrats upgrade your nail
nice time loss
Idunno warrior graves play out the same, you go after them while they do stupid shiz
atleast with tmg its like a few seconds lost
No fluke yet
Replace all nail pickups with flukenest
sounds good
You should add an "extra" menu
where you could fight the grey area of bosses
like gruz mom and the guys at the end of trial 2
Zote is a joke boss, but he is a boss
Also vengful king iirc has a card to
god tamer should be on boss rush imo
ok
The trials are a pain to program
Kein had god tamer in so if you can find his boss rush anywhere the code is in that
Who dat
A guy
He did the original boss rush and claimed it or smthing like that right?
Yeah pretty much
How much drama happened here before I joined?
Not even that much
Basically he was annoying
Then he made a cool mod
Then he left without any reason and put a DMCA on his mods
how do i play randomiser on mac
uhh
Must've messed something up
So, find the game's directory and put the files there
Idunno if its different for mac
I have randomizer on mac, the Randomizer folder must be beside the .app bundle
screenshot
Not at computer, but wherever .app that you modified with api
actually seems to work atleast for the first cycle of items, so only the last 3 bosses will have truly unseeded random items, but should otherwise be raceable in fair way
if someone can test 1048710302
should give you:
HP
Defender's Crest
Soul Eater
Grimmchild
Nailmaster's
Deep Focus
Sprintmaster
Grimmchild
Quick Slash
Gathering Swarm
Dream Wielder
Lifeblood Heart
as your first 12 items
regardless of boss order
works for me, tried a few times and it always gave those items for the first 12
cool
@buoyant wasp man when you have time can you look at playerdatadump dll
idk what i'm doing wrong
there are a lot of helpfull links pinned in this chat
Is there bonfire mod for today version?
There is
Broken
Fixing it next week (hopefully)
(if I feel like it)
(so don't count on it)
It's totally payable
But slash speed goes to infinity and level cost resets every time you save and quit
where tho
Pins
it actually doesn't work for me
Did you install the api?
Search for from:wyza has:file for the most recent version
how to install randomizer
okay it work
@rose barn there's a randomizer mac version
because file paths don't work the same way on mac
\ (windows) vs / (unix/unix-like)
are you using it?
I am on my way home from a 3 day lan party but I will look at it this evening
You guys have probably answer this before, but, for the boss rush mod, is there any special instalation process?
what can I do?
if you're using the dll I posted earlier it just goes into managed/mods
@solemn rivet hey i have a question ๐ is the blackmoth mod working ? i did the file stuff but my game is crashing :/ thanks for the work tho ๐
^
@leaden hedge I put the .dll in that folder, and I believe it created some files?, or that shouldnt happen?, and how can I choose the boss rush in game?
when you start a new save it'll say
Play Boss Rush
no im using v 1.0.1 from moddb and i did the steps from the readme @solemn rivet
stop
and go use the one in the google drive from pinned messages
also install the API so it works
@finite herald it's kinda sorta very required
theres an ingame toggle, dunno how well it works
for the old api versions you just move the file into a different folder
you might have to disable it in options then reload the game
I don't have a way to restore the menu, but reloading it does that anyway
Having some problems installing the API
@charred brook do what 56 said
Which files do I need to drag where?
All the credit for making the modding API and the Boss Rush mod itself goes to Seanpr, Firzen, Wyza and KDT. If you have any further questions, feel free to...
Follow video instructions
in short, blackmoth 1.0.1 was for the old 1.1.1.8 game version
won't work on current version
@solemn rivet i did and it works thanks a lot for this mod and the time u put into this game great to have such people like u and the other modders ๐ btw hollow knight is my favorite game ^^
hell yeah i do it for sure ๐
I think I downloaded Randomizer right
It has something in the top left that says a new version is available?
bug
There's only one thing in the Drive folder
then, something is wrong
Alright, lemme check up on it
goofed
randomizer folder in the wrong place
send us a screenshot of your hollow_knight_data/managed/mods folder and the folder which contains hollow_knight.exe
okay
The one with Hollow_Knight.exe is just Hollow Knight and the data folder
then you did something wrong
Great
there should be more things in that folder
did you copy paste everything from the zip?
I thought I was supposed to delete the stuff after I was done with it
I did, I thought.
I got it!
I think I did, at least
I also downloaded Boss Rush by accident.
Eh, I was planning on doing it anyway
Alright! But why is it telling me there's a new version available (top left)
it's a bug
I didn't mean to install BossRush
they don't work together
How do I toss it
just either delete the .dll or move it somewhere else
Okay, that works
forgot about that
you'll need to reload the main menu
Wait, where is the menu for it
options -> mods
Looked through Options but there is nothing
unless you're using an old version of the api
Nope, 1.2.2.1
no
better update api
How do I update it
this is the most up-to-date version
just do whatever you did with the earlier one
only reason this isn't an official release is its not extremely tested
yeah
but it works fine as far as we know
My Mods options page is empty
but theoretically it should be good
did sean update the gdrive with the Mods option page compatible ver?
Can I have the up to date links for Boss Rush and Randomizer
Sorry, just Randomizer (you just gave me BR)
dunno what the most uptodate version is
@buoyant wasp how do disabled mods work on load
yeah, sean doesn't want to update till cp03 rolls out
do they still init
and I can't blame him
Should I just download all the mods and disable them until I want to use them?
they all can't be disabled yet
Yeah probably not doing anything else with mods until cp3 inevitably breaks everything and I have to remake them anyway
honestly, I think only BR has the disable thingie
most of them haven't implemented that feature yet
tbh, I haven't touched this game in like 3 months
although its like 2 lines of code anyway
depends on what you do
yeah, I'll get around to adding it to blackmoth and bonfire this week
Okay, not downloading any more mods yet
you have to revert anything you did
if all you did was add hooks
then yeah
-= function
cool
just call PlayerData.SetupNewPlayerData() to be sure 
Graig, I hear there have been some bad news about the swtich port... So, are we stuck with FSM forever?
Something between TC and the subcontractor they hired to help recode the game
So now TC has to do it
and that means some of the code base won't be changed
probably not
Dunno
rip
did Graig say this?
just last Tuesday Graig said everything was going well, now all of a sudden it isn't??
nah its been going fine
but originally they were working on CP3 whilst someone else worked on switch port
now I assume they halted CP3 to finish the switch port asap
tfw fsms might remain
tfw I might cry
but yeah afaik rn tc are doing the port
I just want FSMs
that I can see
in dnSpy
that aren't painful to interact with
but no one at any point said that, directly 
But how do you know about this?
I talk to graig when he is on chat and on stream
did graig ever do NGG?
no

lol I forgot he said he would
but like I said, it could just be the port was needed asap or they finished working on cp3
but why did they have to break up with the company?
so api won't have to be changed much
on the other hand... FSM
@ornate rivet only graig/tc themselves know
@solemn rivet i got another question am i supposed to get 1 dmg instead of 2 when i overequip with the fury of the fallen charm? it dosent work for me :/
they might have not even stopped working on it
oh yeah, I forgot to re-add that on the api version of blackmoth
if I get around to fixing blackmoth this week, I'll make sure to add that
but that's so... Useless
why even bother?
@solemn rivet okay then is it intended uninteded ^^ i can play without it i just tested it bc it was written in the note
yeah, it was a feature in the original blackmoth
it's mostly because I was just figuring out how to mod and wanted to try new things
not because I thought it would be interesting, or anything like that
yes its pretty unnecessary i get the point tho ๐ ty for the reply ๐
in a good way right?
he says to stop living in the past
YES
Y E S
but Graig is a known troll
***__```css
Y E S
nice
sry that i said unnecessary it was rude ^^ @solemn rivet

