#archived-modding-development
1 messages · Page 310 of 1
thats a nice reaper
haha thats a paladins champ right
u mean the guy from Dota 2
you mispelled heroes of newerth
You lack the ability to spell hyper light hammerwatch
Ttacco sad our schedules don’t match that well
I’m about to commit sleep
Also before I go iconoclasts or crosscode
sean its ur time to promote 🅱conoclast
crosscode it is then 
go commit not awake
thank you for the motivation
play deaths gambito
Heard it wasn’t as good as it was hyped up to be
truely is the dark souls of hollow knights of salt and santuaries
Tbh chasm is the best soulsike
really makes you think
chasm sucks
obligatory proc gen
If anyone else wants to be able to type scene names that throw a compiler error if you misspell them I finally got the regex right to make this https://pastebin.com/21PjAbm4
Alright I’ll talk politics tomorrow gnitt Ttacco
can you make a class that gets them by reflection using the name of the variable as a string
yeah you better run gnite
It's just constants idk the usefulness of reflection on them
And reflection is runtime too so less useful imo
the joke is then it'd just be the same as it was before
if you had the string correct to find it, then you have the string 🤔
Sean 56 just said he wants to softlock to check that bullshit you posted
Can you like not
Yeah I'm in the stream I hear it
He's already bad enough without fucking up on purpose
It's not even that interesting idk why he wants to see it so badly
Oh the WorldNavigation class doesn't have anything from godmaster at all in it
Serves me right for expecting TC to not suck at maintaining their shit
Now I need more constants
nameof is fucking godlike
Idk why I'm just now realizing this
what's that do?
It's a fake function
The compiler turns nameof(whatever) into "whatever"
so
nameof(PlayerData.salubraNotch1) -> "salubraNotch1"
It's just a way of having compile time errors on strings
I wish nameof did private fields too
i wish 56 finished a run 😔
in some alternate reality 56 grabbed the geo
then died to uumuu


how far do you think ill make it into glass soul 106% before quitting
any fury
virgin fury vs chad 2 lb masks
get joni's
and lb heart
what about sanctum
what about hive
slowest run in existence
aight lets see how this goes
wtf you summoned him
I'm honored
that's why you just play rando
then it wouldnt be 106 would it
Glass Soul is so last year
shut up nerd
glass soul is hip now
my favourite stream,er VysuaLsTV playewd it
no collectgor scream skip 😔
ok tbf menu drops in 1221 are infinitely better than cp
than the qol ones rather
can you somehow remove the lag frames btew
56
idk
yes
when I try to load enemy randomizer my game crashes when it gets to 94% loaded
you need more ram
what room is 94% even
huh, my memory only gets to 88% then
when it's normally around 50%
download more ram
wtf why does she leave the arena
scroll down a bit i posted another one
but whyyyy
greymournerirl
all I am doing is setting her set as set idle and changing the state's action so that it stays in that state for 3 seconds
I can fix the video where she leaves the room but I have no clue how to fix the second video
does it happen every time you hit her before she changes phases?
dont think so
ok then I have no clue
cant you just force her to be at those coordinates
yea that's why I can fix the problem in the first video
but the second videos shows her messing up after the transition
that's from the last version, no?
yeah
yea
i still think bees are beyond broken
also did you nerf the bats or are they bugged
she shoots 2 but one of them stays at her height so you just jump over it
and the other one goes down
they should be doing a spiral pattern, first they separate from each other then they join back in
kinda like that
🅱ersion mismatch
I am using the version he sent
weird
actually this is still not what's supposed to happen but it's still different from what you are getting
https://streamable.com/cy4ds
I'll test that out but maybe it's because I am using Update() instead of FixedUpdate() to control the physical properties of the bats
lol using that savefile without recording made it work perfectly
It's definitely because I am not using FixedUpdate() then because I think the lag/game speed is changing the outcome
nice
@cunning lagoon
Try this
I tested it with 10 youtube videos open and it still worked
aight ill check it out in a while
Is 32 GB RaM EnoUgH To RUn An EneMy rAnDomizEr MoD????!????
i love dashmaster now
glad you finally know what a good charm is
whens updash in vanilla
but saying you hate downdashing is like saying "i like pizza except for the pineapple" and thats the best part of it
🤔
legit down dashing is really good, not counting the 20 times i dashed down midway the path of pain and i had to restart just to get rid of it
saying you hate downdashing is like saying "I like living except the being alive part" and thats the worst part of it
pogoing shoudl refresh your dash cooldown
then i could ditch dashmaster forever with no remorse
it do be like that
also legit i cant get rid of it anymore once i added sprintmaster
sharp shadow is a 2nd must have
real shit i enjoy the being able to dash a lot element of dashmaster
been using it a lot more often now that i get it on randos and whatnot
would it be an unpopular opinion if i said base game dashing speed shouldve been like that
or would that be a bit too op
and im more than used to not downdashing because of pop
it makes you marginally faster
so i actually like jkit
jkit
it would be beyond op
no dash cooldown is the best
i wouldn't be against it though
but pogos should actually refresh your dash cooldown
well maybe not as fast, but imo vanilla should be a bit faster
it feels so sluggish to pogo and not be able to dash for like
how much is it
maybe .5s?
oh yeah i love seeing other players just dash pogo dash pogo dash pogo
makes the game look alot faster
yeah it just feels much nicer to play
everything is so smooth when you can just dash through everything
even better with sprintmaster
Use this one when you test, I fixed a few things in it
Oh yea Kurosh can you tell me if the new transition looks better or the old one where she was in the air
There's 4 of these stupid things from the same user on the first page of the forum
i mean its better than "fuck this game is the laziest piece of shit i hope the devs die in eternal flames and anguish while their children gets totured" etc etc
That’s a nice profile picture ya got there kuro
is this a repost now
My question is should I join the Santa hat gang
no
True Santa doesn’t exist ha bet y’all didn’t know what 😎
Edgy started the Santa hat gang iirc
Edgy May I join

Yes for once in my life I ask you permission for something 🤔
hmmm
@copper nacelle if I wanted to take that pure knight mod and compile it separately, how would I do that. I want to use that white cloak in randos
copy the sprite changing code and sprites
re-add the sprites as embedded resources
there's code in Initialize which gets the sprites
What program do I need to decompile the lightbringer dll
Kk
pure knight is a different one that papers made
i think aeraloth made the lightbringer sprites?
Oh. Dunno what that is
cant find the sprites 
does hitting revek with a nail art count for the parry reke 3 times goal
does it parry
i dont think so but he goes away for like 5 seconds as if you had parried hiom
that happens if you hit or parry
and you can hit but not parry with just nail
i think hitting counts
so this would count?
yo do you know what the shrine of b elievers is
i didnt know this shit was in the game rofl
yeah i just entered it
Then smack keins totem
D:
mick can you hit revek with a nail art for the parry 3 times glal
also how do you get the use city crest goal if ther is no gate
it only disappears from the right iirc
definitely not the case
It disappears if you have it
I just go to the spot as if it were there
So if coming from the right, gotta have dive
And I'd count nail art parries I suppose
Wasn't what was intended, but don't see why not
you're welcome
no you're
I still don't get why Enemy Randomizer can't get past 94% loaded without crashing my game
my RAM only gets up to like 80-90%
vram
i have no idea what I'm looking at here with visual studio and dnspy
okay nvm. had the wrong dnspy build
now to find the code that initiates the sprite sheet
What are you trying to do?
trying to separate the white cloaked sprite sheet from lightbringer
and probably change the sprite sheet as well so there's different color options for rando
That's not code it's just in resources
but i want a separate mod
You need unity studio not dnspy
But it's not in resources
Why are you using dnSpy
cuz i didn't have the source
well coded game
nice
Would there be any way i can mod the switch version of hollow knight?
No
Thank you
what's the joke i don't get it
@dark wigeon Crash when trying to open any of the charm_show_if_collected FSMs in Menu_Title
On the most recent version
is that windows 7
Yes
I guess the good thing about this not being a mod is I can just debug it in visual studio and see exactly where it crashes
Nevermind I can't even get it to run at all in visual studio
Because AssetTools.NET is AMD64
This library doesn't even exist wtf
Only 3 results
Oh wait I didn't look at the first result enough I thought it was just the fsm viewer repo
When I have hornet shooting a bunch of needles all at once, a random gap between some of the needles appears, will using FixedUpdate() instead of Update() fix this?
Probably
ok
I recompiled AssetTools.NET
Incredible
I'll try what you said
I don't get the line it died on in release but at least I get the actual error
It's something
Oh yeah
I had the fix for that in the old zip I pinned
I just replaced _ with space or something
It worked in Debug | x64
nice
It dies with spaces too
If I had to guess it doesn't like starting with numbers
Yep that worked
nice
is the example mod still around?
I think Saleh said they don't fully work
It gives the general structure
Basically just inherit from Mod and treat Initialize as your constructor
You can completely remove the Name field as it's not being used anymore
Wow nice
Also it's in x64 because there were a bunch of out of memory exceptions which aren't really a problem unless you're modding a game which uses a 4gb resources.assets file like subn
Graig test DoH mod or switch to offline
hmmmmmmmmmmmmmmmmmmmmmmm
Oh and the repo for assetstools hasn't been updated with the new assethelper thing I added for the fsmviewer so that's why you see those errors.
Righto
gj
k I dunno what I'm doing now. lol
I think I've isolated the code sections I need, though I know I have extra shit still. But I dunno how to debug and build this project into one dll
how'd you even get that screen
or to have it all be one project?
I think mine's fucked
Yeah idk how you would even have multiple projects
Sounds fucked
But you just right click the project and click properties
i don't need this lightbringer shit anymore
Can you even compile in vs code?
cuz the open editor is the saved version
I don't think you can
If you have the C# plugin you can but I don't remember how
You want VS Community 2017
important info tbh
Also the UsedImplicitly thing is just for a plugin that you probably don't have
like i said.... I know i have extra shit
And using Jetbrains.Annotations
and I know about what 2% of this is
The proper VS is pretty good about telling you what's unused
.NET desktop development
Yeah just the first one
No
i've seen y'all talk about 4.7 or something
The Unity in HK needs 3.5
You want .NET 3.5 but the VS installer doesn't have it
I use 4.7.1 for other projects though
so what will the level editor be capable of?
like in terms of aesthetics specifically
oo
gotcha
Going between 3.5 and 4.7.1 is weird
For the most part I don't notice anything
But there's just odd functions missing here and there from 3.5
Like Enum.TryParse doesn't exist which is a pain in the ass
Yeah I agree with tryparse, it's the one thing that annoys me when trying to port assets tools to 3.5 for unity
I can copy and paste a function for it but still annoying
It would be fine if you could make static extension methods
Which would be a compiler feature so it could work backwards to 3.5
Idk why that's not a thing
Iirc it was cause they added extension methods because of LINQ
and LINQ didn't need static extension methods
so they didn't bother bc more dev time and stuff
Also I thought the newer versions of unity were supposed to be .net 4 but the editor is still 3.5 or something?
What about hk's editor which is like 2017.1 or .2 or something
Experimental support for .NET 4.6
Hm ok
okay. this program looks much better
will it even build?
lol
anybody want to save a drowning Mick and screen share? lol
sean find the spliced runs folder
Just call me whenever
Hey I improved on the thing mick posted a lot
It's togglable now and loads images from a folder called CustomKnight instead of embedded resources
I also fixed the ridiculous time it took to load textures
how
@young walrus for whenever you're up
It's magic
I'll push it to git and you can look at it
okay
Nah I did some wacky shit with the www class
Does it actually load faster w/ WWW or does it just load in the background
I expected the second one but it actually loads in like 1-2 seconds
wtf
Oh I have some redundancies with declaring the WWWs
Because I had the stuff in a try/catch and deleted that
Oh well
But yeah this mod is pretty cool because you can even do stuff like change the images then turn it off/on and it updates
nice
Is InvertKnight a shader or another texture?
Then you could use this for that instead
Neato
ahh
but this is their load function
which does the same thing i do
is reading from embedded resources just garbage
1-2 seconds is slow but the other way is like 20+
99% of the work thats doing is decompressing png files
when I swapped lightbringer to textures I dumped using Texture2D's raw image thing it ended up loading in the same time
Does the mod installer have support for putting extra shit in the zip?
yes i think so
maybe embed resources suck
Idk
Ok whatever it's probably not a feature
Cue people asking what CustomKnight is because installing it does nothing
are you writing files to peoples computers?
perhaps
56 reveals he put a virus in lightbringer
I don't know if the drive one has it
Lightbringer is malware? 
how far we have fallen
Forkbombbringer
Tfw InvertKnight obsolete
ui
Oh it inverts UI too?
yes
Not completely obsolete then
Lol


Can't you just apply certain color shaders to the sprite sheets?
Like.... Make it all hot pink
Yeah I guess you could
It'd just be one
and replacing the shader does weird stuff for some reason
We have the white sprite sheet
So any color shader on that would change the cloak and face
it already has a shader to render the sprites
although it might have an _Color variable
So I'll throw one on in photo editing program. But then you'd have to keep a ton of sheets
when I tried replacing the shader so I could do mask based colour replacement, tk2d just shit the bed
and rendered random places instead of the correct sprites
You probably can't replace shaders unless they have the exact same properties
make a new material from the shader and replace the material
I don't think you can even do sprite.material.shader = shader2
I think you have to replace materials
yeah it wouldn't really make sense to
What the fuck I made the loading instant
No I mean it legit takes <.25s
56 wins nobel prize
compiler was probably adding extra stuff that it didn't need
I'm gonna try changing it back until it's slow
Okay it's not the log
It's marking it readable
If you make the texture readable unity fucking dies
Same
oh actually btw, if you do want to run shaders on the knights sprites
you can just do Graphics.Blit
its only for dumb stuff like a rainbow cape where you'd need an actual shader running constantly on it
too bad shader replacement doesn't work FeelsBadMan

Wait at this point just loading InvertKnight sprites would be faster
that's kinda depressing
weren't you using a cpu method to invert them
Yes
ye obivously that'd be slow
Wait how would you use a shader w/ Graphics.Blit
public static void Blit(Texture source, RenderTexture dest, Material mat);
This is actually unironically kinda cool looking
i told you this when you were doing invert knight
yes
you could do it in like 0 seconds with a material in graphics.blit
Dude. I'd play with shit like that
i don't like it
Sorry
at least now people won't complain about lightbringer killing their game because they can't wait 30s
pog
I made it black and white and I like it a lot
Just like the noise skins in lethal league
send picture
^
looks cool
wtf where is this
Affects nail slash too right?
Yeah everything on the spritesheet
game knowledge
Queen's gardens
Naisu
like where specifically
afrter marmu
i never noticed that giant plant
actually Graphics.Blit is apparently not that slow to do realtime
ah yes the giant plant is what gives it away
so I guess you could actually do it
run a shader on the outputed sprite
Because illiteracy is bliss
There's a server for shaders if you're super interested KDT
may or may not be relevant to what you're doing
I know how to make shaders, its more that for somereason tk2d wouldn't play nice
KDT you said shader forge is good for starting out right
you were right dds is god
now that it doesn't take 40 years dds makes a difference of 200ms just changing one image
ty
np
hmmmmmmmmmmmm
no
no
wtf rude
oh btw if you're doing stuff with shaders you need to do Application.version and find that on this page https://unity3d.com/get-unity/download/archive
and apparently you need to compile your shaders twice, once on windows and once on linux/mac
they stopped putting both HLSL and GLSL shaders in at some point and only do whatever that platform uses
that is sub 40ms
the only reason you need to find the specific version btw, is because unity messed with shaders in assetbundles a bunch of times so it ruined compatibility
looks good
i mean what
png still works ig
what format did you save it as
dds
DXT1 / DXT5 / BC7 ?
DXT1
well thats why you have no transparency
assuming you're using LoadRawTextureData
if i made the thing toi skip the overcharm animation would youn add it to wol
ok
what if i somehow managed to remove the lag frames when opening menu
unless its intentional in which case u have the dumb
i just changed the conditions where you can open the menu
You could probably fix the lag frames by changing the dumb pd stuff to cache the reflection
Maybe not
The problem is it's running a bunch of string comparisons from the mod pd hooks
I guess I could put all mine into a switch
Should get optimized into a hashtable and run way faster
pog
I tried to override GetBoolInternal and now I have float
Nice
Same
The worst I've fucked up the player was pfloat with airwalk and no collision
nice
wow you found simple key skip
4 soul vessels
Happened when I left via noclip while loading in I think
Very nice
I think it was when I loaded a state while dead
zote
Ok this is highly ascended
How did you fuck it up this badly?
I have grimm's tent, elderbug looking at it
But also elderbug w/ the flower
And Nymm
Are you just like always returning true?
Idk
[UsedImplicitly]
public static int GetIntInternal(string @int)
{
return PlayerData.instance.GetAttr<int>(@int);
}
[UsedImplicitly]
public static bool GetBoolInternal(string @bool)
{
return PlayerData.instance.GetAttr<bool>(@bool);
}
Idk what any of this is
What is GetAttr?
extension method for this
I guess it doesn't work
But I use this like everywhere in lightbringer
Check if it's supposed to have some side effect
Does GetMethod look for static stuff or just instance?
shit
return this.GetMethodImpl(name, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public,
Idk what GetMethodImpl is
It's what the other GetMethod calls too i think
Ok
Why?
I think it should be nullable
The return value?
No the generic param
Can a generic param even be null?
I can do int?
o
Which I'm almost 100% sure wouldn't compile
Why
Idk git gud
The actual fuck
[INFO]:int: System.ArgumentException: invalid utf-16 sequence at 14087020 (missing surrogate head) Parameter name: string
Just trying to log them throws
Oh
You need an instance variable
It works now
and no inventory lag
speedbroke imo
Just modify it directly in the function for api tbh
It's not gonna break anything and nobody will complain or want it disabled
true
also i think you should be able to see what dash slash is without having to buy it
like every other shop
Effort
fair
for now i'm just going to leave it in cutscenes cause effort and not even put it on the drive
kurosh

jfc this is so great
Yeah I copy paste two functions
There's already a yes/no prompt in the scene
Yeah I already know for sure that putting it in api is like .2 effort
yes
It's probably a good idea to cache a yes/no prompt on mod load for other stuff
But there isn't one in kings pass
I cache five things and they're all from kings pass
That room has a lot of stuff in it

I mean loading another scene would like double the mod load time
It's not noot to want to avoid it
When I put in the reflection caching should I leave the extension methods or no
urite
I should remake more fsm as components
But then you don't get to see it if you have too little geo
fuck
I might try to fully remake the shiny items again
Would make this a lot easier
And it should be way easier now with the good fsm viewer
which benches are the ones that don't save if you don't have certain items?
only waterways and basin?
No there's more for sure
RandomizerMod2.0/BenchHandler.cs
why
I selected the url and hit copy
I hate mobile everything
mobile sucks
You can still get fucked if you actually go into godhome
It's not a bench it's the hard save
oh
I want to randomize godtuner but that complicates everything
I have to like think about how you could get there with or without opening the waterways via key
And also having another key if you got there
I guess if you can get to godhome you can get two keys so it's not actually complicated
the new enemies are broken
ok yeah you can make it wings only
this area is fucking hell
It's so many things
ok so claw is not what kills zote
i checked claw and i have the actual item and vk was there
nice hat kuro
thanks
hi i bonfire mod still in developement and where can i get link to it
whats up with everyone wanting to play enemy rando now
if we do that then youll have to start coding omega hu
fuck no reddit can't beat my score
would reddit even try timed hardmode no hit
very sad
it’s sad but the sadder part is they probably won’t know how to use the modinstaller
what if, in order to use the modinstaller you have to beat kuro's pop wr
Then you install mods manually.
you mean 2 minutes and 16 seconds
i thought it was hallow night
What if you best it by going OOB
dark souls
well, he did say you have to beat my wr
kuro i didnt say anything
to beat my wr you ahve to have your run verified
to have your run verified you need to run under the nmg ruleset
hmm beat what now?
just ask horheristo to beat your run, he'll beat you in a day max 😎
Damn such a cool dude
using glitches is like using glitches on a video game prove me wrong
Glitchess
im tired
😩
Would using the any% AG mod be a good starting point for making the minimum load time mod?
Also also, does the Custom Knight mod on the drive right now include the invert knight setting? or only the white cloak stuffs
The ag mod is literally just an extra
yield return new WaitForSeconds(1);
And nah it just includes the white cloak
k cool. I mean, it loads faster than mine, so still useful
naisu
It's literally just an invert filter applied on the white cloak one
Looks neat though
yeah. I'll probably put some filters on other ones to see what they're like too
would be cool to have like.... a Hex code you could input in the game to apply a filter
plus have options for like.... that black and white noise one you had yesterday
The noise one is more than double the file size
Too powerful for discord
Zipping it reduces it from 14.7 to 14.6
Incredible
get nitro
no
you could have 100 piece rat
he meant 100+ piece
10x10 rat
256 piece rat
you can probably make it load a material from an assetbundle to do post processing on the texture, for stuff like recolouring sections or applying noise, bloom etc
that'd be like 5 or 6 lines of code though
ow
whomst
?
help
there is someone who thinks dashing on PV is better than jumping
I am going to lose my mind
k
Isn't CoT the area with the most amount of benches
nah. greenpath probably
I can think of at least 4 for CoT
that's still a good amount of benches
benches are everywhere
king's pass has no benches tc pls fix
people are just weenies
That same guy has so many posts on the first page of the HK steam forum
Grade A whiner
why do exist we
applause
pale lurker mod next boioz
"Figured out" how to continue....
is that your new mod mick
400 IQ
is this lsdknight
the customknight mod isn't being called on file start though
Those colours are great
this looks like a 56 ping
Ez, get 15 yo prodigy to teach you
what
ping 56
He is master coder
look at one of the mods that already exist
finna grab the modinstaller from moddb
and ask any questions you have here
why tho
use this
oh
make golden knight
i
i gave it my installation path
and it said it was incorrect
ur machine is broken
ur machine works now
what is custom knight
the mod right now only makes cloak white
Art mods is memes
yup
do you wanna have a bad time?
hell mod is basically bindings mod but not
qol?
quality of life stuff
redwing?
redwing is a bad mod
for grimmchild upgrades you also want infinite grimm
You don't have to do infinite Grimm
i thought infinite grimm would be a never ending grimm fight
it allows you to fight NKG a second time but he has infinite health and slowly speeds up
you can just config the Grimmchild yourself
yeah but infgrimm is more fun
what is boop mod
annoying
honestly I have no idea
oh
bonfire mod makes it so that you can spend geo to level up
and it's really op and not recommended
All things Charm Overhaul does
so more charm
It adds charm combos


dhome