#archived-modding-development
1 messages · Page 126 of 1
modders do not have access to original source code
but i also know nothing
that's a fact
but with unity games we can decompile c# to look almost like what the original did
which is only possible with bytecode languages like c#, java, python, etc
that's how there's any HK mods at all
is DD a unity game?
even if it's not, or even if it is a unity game but they used some form of code obfuscation, it may still be possible given enough time
but the amount of effort required makes it usually not worth it for most games
especially when there are other games which have either been deobfuscated or which lack any obfuscation, or which have modding tools specifically made for them.
there's just too many games and not enough modders
yeah fair enough, the game devs support the modding a lot and even hired a modder for parts of the latest dlc but based on what this guy is saying it looks like they only really made class files and trinkets and stuff like that available
Sounds like the game is heavily data driven
But some critical bits of it are still written with C/C++/whatever
One problem with writing mods for C/C++ is that you often are left with just assembly functions to work with
There are programs that can decompile to C
But it's not good C and it doesn't resemble the original at all
Barely better than the asm
Well it's not like you can't decompile assembly, but also the amount of optimization that can be done on C/C++ is a lot more than say C# which is good for speed but these optimizations destroy the original code
also I think mods made in assembly languages are not cross platform
I don't even know how to compile windows c binaries, let alone for mac
Yeah same here I just know how to do it in unix
but you can mod c/c++ programs and one great thing is you don't even need a modding API to load the mod binaries at runtime, since you can use LD_PRELOAD.
(but of course you will want a modding api for all the other stuff it provides such as specialized mid-function hooks, and usually modding apis in these languages will also deobfuscate the original code or give you function names which makes it easier to understand)
Deobfuscating decompiled code is a ton of work though
yeah, a ton of boring work nobody wants to do
when they could just be modding kerbal space program or something
simultaniously boring but also requires a lot of computer knowledge.
Which is like the perfect storm for apathy.
what about an intitiative tracker for hollow knight Kappa
HK turn based combat sounds awful tho
You know how in turn based RPGs a turn is around 6 ish seconds of real time
it might be cool to have an action game where the character can do whatever moves they want for 6 seconds but then they freeze in place and the enemies can move for a short period of time and you have to try to make it so the enemies can't get any hits in in that time.
That sounds like transistor
I need to play that
it's really good
deobfuscation of decompiled code is aids, asm is more readable tbh
IMO the way to do it is to deobfuscate asm functions, not to decompile the asm and then deob that.
but even still... no thanks
I only ever do it to skip having to reverse engineer stuff fileformats when trying to "borrow" assets 
why figure it out when every game ships with a reader for their fileformats
I don't think I'd ever try to add assets or anything via asm hacks
thats too many iqs for me
@copper nacelle where new lightbringer download
if (this.playerData.equippedCharm_27)
{
this.playerData.joniHealthBlue = (int)((float)this.playerData.maxHealth * 1.4f);
this.playerData.maxHealth = 1;
this.playerData.MaxHealth();
this.joniBeam = true;
}
hey I found the jonis code
no wonder it always set my health to 1
1.4 and it rounds down
you're making actual docs?
will the docs have a section for modcommon components?
I don't use modcommon so I can't write that
same as crossroads
I've never used it so I can't give instructions on how it works
I don't mind having a section for addons
but I probably can't write good docs for it 
@compact sedge fix that spelling mistake
I mean it's not like anyone will do that low a damage but still
it's
BOTHERING ME
you're capible of spelling better
its ible to be a cap
I'm gonna make a github for actual docs then move it over to readthedocs.io once it done
@leaden hedge What happens if you have NGG and IG installed at the same time?
they aren't compatible on the same versions of the game afaik
oooh
so if you're on lifeblood IG will probably work
and if you're on TGT NGG will probably work
"NGG is in IG" uh
go to InfiniteGrimmMod.GlobalSettings.json
yes
and make bool values look like
"BoolValues": {
"keys": [
"HardMode",
"ReduceLagInGrimmFight",
"NightmareGodGrimm"
],
"values": [
false,
false,
true
]
},
no hardmode is just 3x speed at max
yes
so wait NGG is built into IG?
yes
and it's infinite
well that's nice
so it's infinite NGG
to turn NGG into IG I just have to change the true value to false right?
yup
so wait can you do hard mode+NGG?
wtf why would anyone even do that
try it and tell us
glhf
first false value to true right
u got it
yeah
so I'm not sure what hardmode would
ngg probably
oh
no hardmode + ngg = ngg but it's just the 4th phase
I'm sure fireb0rn could do NGG + 3x speed
first time doing ngg
if you get 3200 damage on just the 4th phase please tell me the requirements to go to heaven, God.
wish me luck
i've heard horror stories of this fight
WHAT THE FUCK
END ME
WHO THE FUCK MADE THIS
WHY
easily and because
is it actually possible to get 3.2K dmg?
in theory yes
Is it possible to do Infinite Grimm hitless 
which means it's impossible for me
trinomi spliced it
why would anyone be that desperate
I mean if you survived long enough until the game crashes then theoretically yes
are you also on hardmode because if so then there's no hope for you getting 1k+
@compact sedge if you want to add some modcommon stuff https://github.com/KayDeeTee/HK-Modding-API-Docs
is .rst just a markdown file?
pretty much
ok
theres docs for it
docs for docs
just add modcommon to index below hooks in the toctree
and just look at how hooks work i guess
hold on can you send me some documentation for reading that documentation about making that documentation?
nah but in all seriousness I'll probably get around to it in the future but I'm lazy
docs docs docs docs docs docs docs docs
you need a python library called sphinx to "compile" it to a site
oh yeah I know about that, cool tool
but its pretty easy to set up, its just cd docs, make html
Anyway if I do add documentation to modcommon it will be about some components I'm interested in eventually making for it.
example snippets for hooks that don't have them would be nice too
I should write a TODO 🤔
oh I can do that
Nobody has tested it but like what could go wrong?
Only thing that might cause issues is muzznik
Anybody know if the Bonfire mod needs a new game to work correctly? I used it on a game where I already had one Nail upgrade and putting points into strength made my attacks weaker.
near the start you're a bit worse than vanilla iirc
at like 11+ str you're better
So does it overwrite Nail upgrades from the Smith not add to them?
K, thanks.
it's weird
you get some strength from nail upgrades but the math is odd
0 nail upgrades = 5 dmg. max nail upgrades = 13 dmg but this dmg is just a multiplier on top of strength so you aren't less powerful per say
whats the deal with the dreamers on the chart?
number of dreamers killed affects enemy hp
ah
Is there any mod or cheat for unlimited charm notches. I just wanna be a god for a bit. Just curious what it would be like
save editor
I feel like a total idiot but how am I supposed to run the save editor? All it gives me are .java files. There's no .exe
wut
remember how you downloaded it?
nope
. . .
1011
?
Steam > Steamapps > common > Hollow Knight > hollow_knight_data > Managed > Mods
that's what you need
program file 86 then steam
there is no mods folder
ok so you installed the original LB
1.2.2.1?
but don't you need to downgrade for that?
wellp i downgrade
Ok
it was 1.2.2.1
doe
i went to managed no mods folder so what now?
can i not uninstall?
someone else should know
okie wellp let me know
verify your game integrity on steam
maybe he could uninstall and install it again?
yes that's the solution
hey AA!
hey
is it posible to install mods that replace the csharp.dll , through the api and mod folder?
no
but it's not like there's any good mods that replace the assembly-csharp these days
besides the modding api
so I should open the mod and find what changes and add it to the api csharp?
what mods replace the assembly that you even want
I wanted to install the mod that changes the notch values of the "map" charm and the one that increases the grab range of geo
dunno about that mod
never heard of it
is there any tutorial of how to make mods?
KDT is working on documentation for the api
^
and hope you don't annoy the modders
you can annoy us
but unless you can read documentation no and there probably won't ever be
but yeah you can ask questions
(I want to apologise if I've annoyed anyone)
lol I don't want to annoy you guys~ I will fing my way of learning~
(like very very very much)
on a completely unrelated note
*find
FoldingPapers - should I call you Folding or Papers?
FP maybe~
papers it is
Papers
okie :3
also, Sironix
ye?
also, I've been in chats a lot
me and Papers basically did what we've just described you
asked a lot of questions
and learned how to mod
anyway I can't say you'll annoy me asking a lot of questions
so that now whenever I see the word Papers I think "hey that's me"
I answer modding questions in 3 darn channels for gosh sakes although I'm not an expert on stuff as I too, ask a lot of dumb questions
3 channels wut
AA is painfully nice
yeah, here, my redwing server, and the sindicate
I don't answer modding questions elsewhere
AA confirmed lawful good
well yeah ... but I already deal with lots of guilt , depression silly thing in my mind so yeah I prefer only asking about things that I can't work out after hours
well, it's your choice
but me and AA are pmuch always here
so whenever/if you run into a dead end
you can ask us
thanks a lot~
AA confirmed very good
... net framework is sooo slow to installl
papers confirmed neutral good
Not gonna lie, that's saying a lot coming from the person who drew me an avatar for fun one day.
hehe
:3 nice~
tbh I'm finishing my mod and my component first before I wanna work on that
which language is that in?
well I only know english well enough to write documentation for so hopefully that one
I mean
if someone need or wants help translating from english to spanish you can ask me :3
is it html?
oh hehe
it's in markdown and using a python program to generate a webpage from it
oh~
I'm neutral good
ye
and Gradow iisssss?
I can be a goose
that went south quickly
if you pay me overtime
hehehe

https://github.com/KayDeeTee/HK-Modding-API-Docs/blob/master/docs/Getting-Started.rst I guess add it here
can't believe I downloaded darkest dungeon , while installing latest net framework... and the installer of framework isn't even half way done.....
am I the only person in this world who didn't like DD?
and I think it had to a small extent the xcom problem of basically falling apart once you lost your really good members
lemme compare it to games with time limit
I hate time limits
like the first Pikmin
yeah
I feel so pressured to do things perfectly
one of the reasons I really don't like dead rising 2
that's how I felt playing DD
I actually didn't liked it at first , except for the aestetic ...(no idea how aesthetic is written)
but with mods is soo much better
aesthetic
emm...
maybe the answer you wanted was Visual Studio Community?
np!
meow~ Im so silly
well duh of course we're gonna get a GDQ channel
nice!
feel free to ping me tbh
👀
emm .. okie~ but well I don't have anything to say hehe
just sayin
ewe
Papers also asked me for help in DMs
and he's not here now, so he can't prove me wrong

well Im installing the visual studio ,so~ for now im just playing hk
LexiP: this should fix the issues you were having with the installer
okie finally the installer thingy ended , which ... package should I choose ? dunno if those even are the package to be honest
work loads maybe?
just tried it. got another unhandled exception. every new one is one i haven't seen before lol. "path cannot be the empty string or all whitespace"
okie Gradow
the... multi platfrom one , or the windows only one?... or both?
I supose its the windows ~ because it says c# instead of the other that says html and etc
yeah, Windows
sorry
thanks for the feedback, LexiP!
did it get stuck in the same place?
or did it progress any further?
it progressed to asking me what my install folder was. the error came up at the same time as that dialog box.
did it ask the correct path tho?
can't is in another pc
but reall 18 gb for the program
is that normal?
lol it was my fault hehe
it did ask for the correct path. that's when the error popped up
selected the wrong thing
okie hehe 5gb ~ a lot better
nope. both come up at the same time.
thanks for your time btw
so weird... Can you send me a pic of the messagebox with the path?
the other dialog box?
oh, yea.
what the hell? i just reopned it again and no error this time.
why are computers
does it work?
seems to now, yea. w00!

thank you so much for putting up with this bullshit for this long!
glad to see it finally works!
thank you for your help troubleshooting it
oh wow, it's picking up all the ones i'd already installed w crossroads
yup
no problem at all, thanks for putting up with my wacky computer nonsense!

can anyone help me with installing mods through the installer? I dont know what it means by bundles
while i've got you here, i have a little more wacky computer nonsense i forgot to ask about... >.>
sure
on the mod installer it says import mod bundles but i dont know what those are
i installed "more saves", and flipping between the pages only shows me the same saves i've already got.
ok
oh that makes sense. i thought maybe i was misunderstanding how it works
it's all good, i'll just get rid of my pre-GT save.
well ... I think im gonna wait till the end of the day to install the visual studio
what's wrong?
is ther anywhere where i can find out whatall of the mods do? Becauseim not sure which mods i would want to install
veru had a cheat sheet
thanks
eww
well gotta be leaving for a while , see you all later~
o/
just curious, what was that other mod you guys were discussing the other day? i think it started with an f. firefly or firebug or something.
ohhh
that also works as its own mod
neat!
A small video showing some of the effects from my new Hollow Knight mod, Redwing. Coming early 2018, this mod adds several new fire and light based effects t...
is there any balance changes? it seems a little OP lol
dunno yet
I suggested to Angle to add those effects as new charms
but for now it seems they are always active
charms would be neat
yeah
but for that we'd need do add new charms instead of changing existing ones (like blackmoth and ligthbringer do)
which is feasible
we just need to coax KDT into helping us
and by coax I mean blackmail him with 1TB of anime tiddies
oh.. oh!
how do you know lol
forget what i said then, i definitely have 0% anime porn on my computer. yep. i think they bought it. >.>
I'm not talking without my lawyer
Lexi - yeah, dunno what you're talking about, but it'd be great to share that non-existent anime porn

i have 200 GB of maskfly genocide on my computer
basically the same
now I can blackmail veru into unblocking me
veru did you see I actually spent more than 2 seconds rebalancing Bonfire?
and it was still all for naught?
now I can proudly say it's purposefully unbalanced

and not a mere accident
is bonfire worth playing?
Can you break the game in multiple different ways?
haha, alright. that seems to be the consensus.
Niko beat them hitless yesterday
wat
Or the day before
also idk where to share anything plus its mostly of a certain niche variety because reasons
Wut u mean LexiP?
They dont seem as fast in the video
yea I just saw it
not sharing not lewd not anime not anywhere on not the internet
they dont seem as fast
I need to gitgud
n-no.. 😳
thats what you should say
I'm not hornet tho
Also what niche variety?
I really miss having Zote respond on all channels
_gitgud
yep

uhh.. >.>
LexiP you're free to share whatever you want as long as it's not lewd not anime not on the internet and has Zote in it
oh i thought this server was sfw
You can send them to Papers tho
or
They'd love it
papers? waah
send what to me?
oh papers is a person lololol



I'm not sure what to think about this
you can send me some pics whenever you want 
I think I can add quickdash into blackmoth pretty soon, Papers
56 did the deed
hey Loreseeker
yes?
oh yea Gradow, sometimes in blackmoth when I get hit while dashing I start flying off the screen and have to open up the inventory to come down
I don't think that's right
And I have no idea how to fix that short of rewriting the whole dash fsm
oh yea i forgot to mention not to totally change subject from anime...... , w grubberly elegy, dashing into enemies, i get hit constantly lol
Oh
Rewriting the whole dash fsm doesn't even sound bad
Most of it is in code already anyway
It's not that bad tbh
ok
I can look into that
wish I knew how to work with all this fsm stuff
I love anime
it's a trap
are you talking about Godseeker?
A tarp
uh, like, 90% of the time i use the godmode dash to hit an enemy and i just take damage anyway
which i assume means i just don't understand hitboxes.
like, what is that big dude pre-false knight. i had to go smack the smaller bugs a number of times to heal in order to be able to kill the big dude
that's actually pretty useful
oh
that guy
he broke post-lifeblood
for some reason you can't dash through him
you can still kill him without getting hit
yeah
you cant dash through them even in vanilla?
since you normally wouldn't have shade cloak by then, it's fine
i mean, i was having that problem with most enemies.
oh
yeah, that's still good input
but you can dash through the city guards and they have shields
me and angle were talking about the intended behaviour of grubberfly
should it or shouldn't it be invincibility
what will you do with it otherwise?
Dash a lot
invincibility sounds good
i might delete that save and either play blackmoth as is or randomize it so i don't start with grubberfly
or i'll just play lightbringer lol
it otherwise ruins attacking since the nail itself seems to be garbage. it took like 10 strikes to kill one of those tiny orange flies lol. i'm spacing on enemy names rn
do i just install the lightbringer API or is there another one on this list i need to add?
readme gay
yeah i've already got modcommon.
then you're set
i just wasn't sure of lightbringer API was all of lightbringer or just like, the ability for lightbringer to work.
maybe get debug mod or something but eh i think you're pretty solid now
yup!
debugs aren't entirely my thing. i'm not creative enough and i hate being too OP
is there a way to shut off lightbringer or do i have to full restore to play my other saves?
same w blackmoth. if i wanted to play just lightbringer on its own, w0t do
i made it toggleable iirc
just go to options -> mods
i didn't set the toggle to fix charm cost values tho
what means iirc? :3
if i recall correctly
oh thanks :3
thanks 56
just a side q should i turn on randomizer for lightbringer or play it vanilla first
whatever you want
you unlock the ability to randomize after the first playthrough right?
i think the newest version just auto unlocks rando
fair nuff. i was just curious if LB had like.. a loosely inteded progression basically.
well most likely it has it
go to blue lake from the other side and get all the cool charms™
oh for rando and lifeblood you'd have to kill muzznik early if you don't get lucky
updated hksm to work on switch so you can cheat on switch now 
nice
although I think the real use is being able to swap between
because the save formats are the same except switch is plaintext
who tf is muzznik o_O
original name for gruz mother
ooo
oh SOMEHOW they put the flukenest bug back in with the switch release 🤔
which bug
multi kill
killing a enemy with multiple damage sources duplicates their drops
oh right
cool
also I wouldn't recommend playing LB+Rando2
unless you're doing it on easy
wow colosseum wave skips
precisely because of Muzznik
rando logic assumes you can get to sly and salubra
but in LB that's not easy
just git gud
also grad i only have easy on, i'm not great with sequence break-y stuff
are you saying i s shouldn't go fight gruz mother early as i usually do?
well
I didn't knew you could sequence break in Hk
you most definitely should
but save first
oh boy Sironix are you in for a surprise...
.>
the only sequence breaks i can do is get to the top of crystal peak w/o monarch, and kill myself and use my soul to get to salubra early.
I still can't believe I actually got the Magolor Unn skip
even tho it's the easiest of all Mag skips
cool :3 I used to have lots of fun sequence breaking super metroid when I was smaller
I'd highly suggest playing rando2 on hard then
it requires skips
and you can just ask people for tips on the skips
I'm actually planning on doing an any% rando2 run tomorrow
my last 107% rando2 run took way longer than it should because of me being stupid
smh
with rando 2 you mean like .. the normal randomizer mod or is it something else?
oh
it's the randomizer mod
but if you check the gdrive or the installers you'll notice there are two of them
sean is remaking the mod from scratch for lifeblood
so that's the one you should play tbh
oh okie thanks~
oh yeah, forgot to update the link to the modinstaller
oops
fixed it
let's do eet
wait those counts as spike tunnels? I assumed it meant the tight spaces you need to cdash through
like to get glowing womb
or to get to waterways via the shaft to the abyss
My favorite setting is acid skips because it does literally nothing
spike tunnels is that but it also includes the cpeak w/ djump and no dash thing too iirc
oh
I can do that skip
isnt that a mag skip
No it's easy
i didn't realize how easy it is to get to the brooding mawlek without the claw, now i'm stuck in a state of perpetual death yay
nice
nice hard difficulty
Thanks
It's hard to balance hard because difficulty is 100% reliant on where mantis claw is
just always put claw at elegy 
And obviously I don't want to just always put it in abyss or something
tbf I couldn't get it if I didn't get ddark from iselda
but it was only 150 geo
a steal I tell you
To beat the aspid arena
Those guys are OP
What is this?
I feel like I missed something
raid inc
who
DMS
who
the person who can't spell
What kind of idiot doesn't know who that is?
that 5iq shitposter?
yeah
Verulean?
dab master sixty-nine
no he has 69iq
Dank master swag
numbers are the only name
56 that's you
yes
i have 3 numbers tho
1 number meta imo
I must evolve
set your name to 3.1415926535897932384626433832795028841971693993751
its only one number technically
But that's not a 753/56 meme
753.1415926535897932384626433832795028841971693993751
753.56
I needed ddark to beat the baldur, no?
no
oh yeah, that baldur doesn't close
baldur doesn't close in rando
oops
I should make it close
gradow big think
I'll get around to it
make it so you have to do baldur skip
kdt only typing first 50 decimals smh my head
even in easy
yes
sorry im not a savant that can copy+paste 1000 digits
literally just memorize them
I can only remember the first 11 digits
wow not even the first 87 smh my head
not even the first 753
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605
here you go
woke
top meme
Finch in binary is way too long so can't do that
You bitch
ok sean
rip
nice spam
thats weirdly worded though
uh question
better delete your message so we dont know its you sean
Better yet I'll delete dyno's message
there's a huge map w a bunch of red stuff in the upper corner when i got the panic compass on and it's slowing down the game by a decent amount, is there a way to shut that off w/o removing the charm?
i haven't gotten gathering swarm yet
should i just remove this charm or is it worth having on?
idk if its even functioning properly. the left side of the miniscreen is fine, but the right side is like, solid red.
That doesn't sound right
should be a red border around the miniscreen
nice
Wow that's fucked
post-apocalyptic HK
is it toggable, sean? Or did you make it always active?
Always active when compass is on
just remove compass tbh
compost
i'd prefer it to be toggle-able, but i don't really need it i suppose
i sorta don't get the point of it lol.
Too bad it's red death
But it was your idea
yeah
but I never expected it to actually work
I specially didn't expect it to work as good as it did
part of me wants to know, part of me is like "eh i'll wait til i get it", but either way i'm curious because i really never use gathering swarm in vanilla
sooo goood
O_O
is there a way to avoid brooding mawlek's infected spooge blast without having a dash? cuz there isn't always an opening >.>
i could just NOT fight it this early, but i'm stubborn
being good
hmmst
if i were getting soul for attacking this thing, good, but i'm using lightbringer so x.x
attacking downwards didn't help -_-
if you're using lightbringer you might have to come back later
nvm i got good and did it
and what i mean by that is that i lucked out with timing on a heal
RIP me forgetting he just gives a mask shard 😂
what is the best version to play mods
Current
can i play boss rush on it
no
:angery:
You can play it, you just have to update it first

so, i just need to install it and no problem

LexiP: can't you pogo it?
yeah install it np and it'll work 
@real cypress just install gng
The real meme here is thinking people care about the enemy panel at all
Especially on lifeblood
there's an enemy panel?
No
there's a lifeblood?
There's a?
@compact sedge meme
huh I didn't know this was a thing in debugmod
believe it or not
like getting exp from enemies and such~
oh
well
im a bad coder
so that's not happening any time soon
but that'd be cool
hehe
git gud 😠
Currently it levels up from fighting nkg
doesn't healthmanager have a die function
Yeah
but I know what you want and that would be cool sironix
can't you just hook that and send maxhp and name
doesnt life have a die function
ur mum has a die function
well , you could add a level up exp variable , and take the damage that lil grimm does and transform it into exp
Im so bad with words atm I dunno why hehe
heres an idea, make every charm synergize with grimmchild
and that I don't care about
and have it combo with the knight
that would be cool kdt
like adding new attacks to lil grimm
lil grim has life? like... does it gets hurt?
if I ever give grimmchild XP I'd also wanna give it a little XP indicator
and the ability to improve its stats
make it like the bon fire mod
you can make gui with the inventory code
you just make a class that has invItems that define what happens when you select stuff and where it is
Couldn't you just add a function that tracks the amount of kills you achieve and every 20 or so the Grimmchild gains 1+ attack, and just yoink the tk2d sprites for the dream particles that appear in the background and make regular enemies spawn those upon death as a façade
With my surface level knowledge of Csharp that may be possible
so kill a bunch of trash
you could make it like if it gets hit x times it falls to the ground and sleeps for a while , and with the ,armor focus charm , it could withstand more hits







