#archived-modding-development

1 messages · Page 44 of 1

copper nacelle
#

¯_(ツ)_/¯

serene spindle
#

thanks

#

Is there any way to convert the API files?

copper nacelle
#

convert?

young walrus
#

Like... port it for mac

serene spindle
#

Yeah

leaden hedge
#

the api files themselves wouldn't need to be converted

#

just api would need to ported

copper nacelle
keen mesa
#

What's HellMode?

copper nacelle
#

@keen mesa
-1/3 max SOUL
-1/2 soul gain
-1/2 nail damage
-2x incoming damage
-healing is deep focus speed by default
-(TO BE ADDED) nerfed flukenest

keen mesa
#

That just sounds rude

young walrus
#

sounds pretty fun actually

#

this an API mod then?

copper nacelle
#

yes

#

not doing API seems painful

young walrus
#

agreed

keen mesa
#

What's the Save Manager do?

copper nacelle
#

edit saves

#

you can give charms and abilities and nail upgrades and heath

#

and take it away

keen mesa
#

Ohh cool, so I could just give myself 106% basically with a brand new save? lol

#

SOunds like it might not play nice at times.

copper nacelle
#

you can also use debug mod to do stuff like that which is fun

#

you can also clones enemies and make enemies have 9999 health

keen mesa
#

=o

#

Okay where do I save this API d/l and more saves thing?

rain cedar
#

I don't even know what use cloning enemies has other than fucking around

copper nacelle
#

fighting 2 bosses at once

#

for additional challenge

rain cedar
#

So... fucking around?

copper nacelle
#

except I've heard that doesn't work

hollow pier
#

double empress muzznik when

copper nacelle
#

yeah basically

#

:/

rain cedar
#

And nah you can clone bosses

hollow pier
#

double nkg???

rain cedar
#

Might be a bit weird when they die

#

Idk

buoyant obsidian
#

yeah cloning bosses is easy, dream bosses will boot you from the fight though when one dies

keen mesa
#

Where do I save this API d/l and more saves thing?

ornate rivet
#

if you clone a boss like hornet and beat one the other one becomes invincible

copper nacelle
#

oof

ornate rivet
#

yea

copper nacelle
#

maybe that's just hornet? Because she becomes invincible after defeating her for real

ornate rivet
#

maybe

rain cedar
#

You just put mods in your game folder @keen mesa

copper nacelle
#

^

#

it's in the steam/steamapps/common/Hollow Knight folder if I remember the path right

serene spindle
#

Is there any possiblity that someone will port the API files so that they will become mac compatible

hollow pier
#

what if you beat both bosses at once

keen mesa
#

ty!

rain cedar
#

Porting to mac is in theory pretty simple

buoyant wasp
#

problem is mostly that the modders don't own a mac that can run HK afaik.

serene spindle
#

Alright

#

I own a mac

#

What should I do

buoyant wasp
#

learn .net? 😃

keen mesa
#

Oh I put it into managed

#

Mods folder

buoyant wasp
#

@keen mesa there's a video

#

pinned

buoyant obsidian
#

Ship the Mac to a modder ;)

rain cedar
#

We could probably port it to mac by just compiling against the vanilla mac dll instead of windows, honestly

keen mesa
#

ty

rain cedar
#

I doubt any of the changes in it are relevant to the bits we're changing

buoyant wasp
#

i'd have to look at how monomod does relinking

serene spindle
#

Thanks

buoyant wasp
#

to see if it screws with stuff that is platform specific

#

something i'll look at this evening after dinner

#

we'd definitely need all the managed dlls though

serene spindle
#

Okay

rain cedar
#

It's weird to me that the mac version is even using dlls

serene spindle
#

Why is that?

buoyant wasp
#

I might be able to just download them from my humble bundle install

rain cedar
#

Because that's not a mac thing

leaden hedge
#

you have to do specific stuff to fight two bosses without it breaking

buoyant wasp
#

cause traditionally dlls are windows files, but unity+mono does dlls on macs, which is just...weird

leaden hedge
#

ala ngg

rain cedar
#

Just repinning the mods list since dreamshield was above it

keen mesa
#

Are there any mods I should be aware of? Ones that may bork my game, completely game the change or require new saves?

buoyant obsidian
#

Lightbringer will mess with your damage on your save files, so back them up.

keen mesa
#

Think that was the case with Glass Soul and Lightbringer, afaik boss rush removes the normal game, and trhen randomizer I guess generates new random games every play?

rain cedar
#

As a general rule you should be backing up both your saves and game files

young walrus
#

^

keen mesa
#

Yeah fer sure

young walrus
#

yeah. don't open saves with mods active

#

just don't do it. lol

buoyant obsidian
#

If you have Steam backing up your game files isn't really necessary

young walrus
#

except debug mod probably

buoyant obsidian
#

but always back up saves, even in vanilla tbh

keen mesa
#

Yeah

#

So, I want to have that Mods folder in the games folder right? For the MoreSaves do I leave that in the Mods folder or move it? Trying both but it doesn't seem like it's working to add pages.

copper nacelle
#

I'll try compiling the API against the Mac files

#

in a bit

#

cause I've got a Hackintosh set up

serene spindle
#

Thank you

copper nacelle
#

yw

#

not sure if it'll work but I'll give it a shot after I eat

young walrus
#

just watch the video in pins @keen mesa

keen mesa
#

I watched the mod video for boss rush

young walrus
#

it's how you install all API mods

keen mesa
#

Already added the API and it showes it in the top

#

But the MoreSaves mod is not working for me.

young walrus
#

more saves is not an API mod

copper nacelle
#

wut

rain cedar
#

Isn't it?

copper nacelle
#

yes it is

young walrus
#

oh

#

more saves

copper nacelle
#

yeah

#

the best mod

young walrus
#

was thinking the save editor

keen mesa
#

Do I want the .dll here or in Mods?

copper nacelle
#

@keen mesa put the mods in Mods

young walrus
#

mods

rain cedar
#

Just put it in your documents folder tbh

young walrus
#

the folder structure should put everything in the spot it needs to go

keen mesa
#

Okay so remove it from Managed, leave it in mods.

serene spindle
#

Once again, thanks 56.

copper nacelle
#

it doesn't matter if it's in Managed, only that it's in Mods

#

@serene spindle yw

young walrus
#

it won't run unless it's in Mods

keen mesa
#

Okay, how do I get it to work ingame?

young walrus
#

even a sub folder in mods, won't run it

copper nacelle
#

just open the game and it should be active

keen mesa
#

Wasn't for me

copper nacelle
#

show the Mods folder

#

also, API was active, right?

keen mesa
#

It shows it in the top left if that's what you mean

#

Ingame

copper nacelle
#

yeah

#

show a screenshot of the Mods folder

#

also relaunch the game if you haven't already

young walrus
#

does the more saves one show top left too?

#

it should if it's running

copper nacelle
#

^

keen mesa
#

Will check that

#

No only shows modding API

copper nacelle
#

did you relaunch the game

buoyant wasp
#

do you know where your saves folder is at? (if so, go grab ModLog.txt)

copper nacelle
#

also try another mod to see if it's just more saves

keen mesa
#

Relaunched several times

#

What's another good mod to have?

copper nacelle
#

HellMod intenseface

buoyant wasp
#

eh, just go grab ModLog.txt

copper nacelle
#

^

buoyant wasp
#

someone with the path handy post it por favor 😉

keen mesa
#

I know where the saves are, what am I getting?

copper nacelle
#

ModLog.txt

#

%localappdata%\Team Cherry\Hollow Knight

#

that was painful to type on mobile

keen mesa
#

[INFO]:[API] - Adding GitHub SSL Cert to Allow for Checking of Mod Versions
[INFO]:CN=*.github.com, O="GitHub, Inc.", L=San Francisco, S=California, C=US
[INFO]:GameLoading
[INFO]:[API] - Trying to load mods
[ERROR]:[API] - Error: System.MissingMethodException: Method not found: 'Modding.ModHooks.get_Logger'.
at Modding.ModLoader.LoadMods () [0x00000] in <filename unknown>:0
[INFO]:Saving Global Settings

leaden hedge
#

you're using the release version of the api

#

that moresaves is on a bleeding edge version

copper nacelle
#

couldn't you also use the old version of more saves

#

also what did you change

#

cause I haven't updated since ever

keen mesa
#

Bleeding edge?

copper nacelle
#

not yet released, on GitHub probably

#

you might have to compile it

keen mesa
#

I wouldn't know how to do that

copper nacelle
#

you could ask KDT for it maybe

leaden hedge
#

ask wyza

keen mesa
#

Well, atleast I have the current API for other things right? Idk what I would need to change or do but the more saves isn't necessary atm just yet

buoyant wasp
#

look for from:wyza has:file

#

in search

#

here

#

the most recent API version is there

#

Now that the races are over, I'll post the most up to date one i have tonight

#

and update gdrive

young walrus
#

same for rando too yeah?

buoyant wasp
#

yeah

young walrus
#

just structure was changed with it yeah?

#

that and the claw requirement for fury

buoyant wasp
#

logically, i don't think much, if anything, changed. @rain cedar would have to say. I know mostly it was internal changes to make it cleaner

copper nacelle
#

clean code
absolutelynotme_irl

rain cedar
#

I changed a few things but I couldn't say what

young walrus
rain cedar
#

Also "cleaner", not clean

keen mesa
#

Can;t get the from:wyza thing to work

copper nacelle
#

@keen mesa from:[LW] Wyza#1018 has:file

young walrus
#

looks like it was sent on 12/02

keen mesa
#

The from: thing doesn't work for me for some reason but has: does

buoyant wasp
leaden hedge
#

are you in stream mode

#

close obs

keen mesa
#

Yes

#

OBS is closed

#

But in stream mode

young walrus
#

then exit stream mode

#

or just take what wyza just posted

#

lol

keen mesa
#

Ahh okay, didn't know that affected it

#

This is good for learning though

leaden hedge
#

stream mode blocks id numbers

#

which is technically need to search

#

but not really

keen mesa
#

Gotcha, ty

leaden hedge
#

its a bit of an odd rule

keen mesa
#

For some reason I have to have it hard-off, the automatic thing isn't working

#

Either way, ty

#

Now it shows nothing in the top left corner.

#

When I put it into Managed.

copper nacelle
#

you are replace the existing assembly c sharp

#

right

keen mesa
#

Yeah

copper nacelle
#

*replacing

keen mesa
#

Mod API not showing in top left and moresaves not working anymore than it was ahah.

#

I guess besides figuring this out, is it possible to my my controller for the game when the app window is not selected?

copper nacelle
#

maybe with borderless gaming

#

idk tho, can't test because no controller and not at home

keen mesa
#

Borderless is same as full

leaden hedge
#

use native input

keen mesa
#

Okay, ty

surreal helm
#

is the boss rush in the pinned google drive link the most recent version?

copper nacelle
#

@serene spindle going to try compiling it on mac now

#

wait

#

do I need to compile with mono or can i just take the assembly-csharp and stuff

#

should I use

#

.NET Core or Mono

rain cedar
copper nacelle
#

ik

#

but

#

do I need to compile it with Mono on Mac

#

or can I move the files to windows

#

or should I compile with .NET Core on Mac

rain cedar
#

I would just move the files to windows

#

Don't really have a technical reasoning for that, though

#

Wyza might

copper nacelle
#

alright

#

thanks

leaden hedge
#

that version should be current enough

copper nacelle
#

ahh

#

wtf

#

the mac files are organized weirdly

serene spindle
#

How so?

copper nacelle
#

they're in different spots

#

hollow_knight.app --> Resources --> Data --> stuff

#

not that weird but kinda weird

serene spindle
#

I know what you mean

copper nacelle
#

Windows can't access HFS+ nor ext4, ext3, btrfs, etc

#

macOS can access linux filesystems if you get FUSE and has built in NTFS support

#

Linux can access HFS+ and NTFS

serene spindle
#

I though macs were supposed to be more closed-ended...

#

lol

copper nacelle
#

in addition

#

you can change GTK keybindings completely

#

you can change mac keybindings in ~/Library/KeyBindings/DefaultKeyBinding.dict

#

but I don't think you can change global windows bindings without AutoHotKey or something of the sort

serene spindle
#

I have changed them before

copper nacelle
#

the global windows hotkeys?

serene spindle
#

GTK keybindings

copper nacelle
#

ik

#

I have all keybindings set as Emacs

#

GTK bindings are Emacs

#

Mac global bindings are emacs

#

My keyboard firmware has a layer that is emacs bindings now

#

but I haven't made a script in AutoHotKey for windows yet

serene spindle
#

I downloaded it

#

What now?

copper nacelle
#

wait no

#

you don't need to do anything those are already the Mac files

#

I just left them on this discord because I didn't wanna email myself it or anything

copper nacelle
#

@buoyant wasp do I need dotnet 3.5 or is 4 alright

buoyant wasp
#

3.5 only, technically it's not even 3.5 it's Mono's 3.5

#

but compiling against 3.5 should work

#

monomod relinks it after the build

copper nacelle
#

so should I get mono 3.5

#

or "change the target to .NET framework 4.6.1"

#

or download the targeting pack

buoyant wasp
#

you shouldn't need to change anything

#

you should be able to just clone the API repo

#

and build

copper nacelle
buoyant wasp
#

what program is that?

copper nacelle
#

VS Community edition

buoyant wasp
#

interesting, not familiar with that theme

copper nacelle
#

there are themes?

buoyant wasp
#

dunno, the window title just looks weird 😃

copper nacelle
#

¯_(ツ)_/¯

#

I've been using emacs for everything else so I don't know much about customizing VS

#

other than adding a Vim extension because vim is life

buoyant wasp
#

you shouldn't need to install mono at all

copper nacelle
#

should I get the targeting pack?

#

or should I just compile from the command line w/ mono

buoyant wasp
#

eh, you could, but it'd be a pain cause you'd have to go manually do a bunch of postbuild tasks

copper nacelle
#

for the former or the latter?

buoyant wasp
#

manually building on the command line.

#

just try the targetting pack

copper nacelle
#

alright

#

I also found dotnetfx35 (3.5 framework SP1)

buoyant wasp
#

still weird that VS2017 didn't install it

#

thought it was the in there by default

copper nacelle
#

VS includes everything that isn't 3.5 iirc

buoyant wasp
#

lol

#

must have been because i had 2015 installed at some point

copper nacelle
#

apparently it should have downloaded the targeting pack w/ VS

#

but

#

it didn't cause it hates me

#

got the pack I think

#

nope

#

and VS is unable to open links because it still hates me

#

I checked all the boxes

#

and found another targeting pack download

#

if this doesn't work

buoyant wasp
#

is this windows?

copper nacelle
#

I will die

#

yes

#

I was in Hackintosh, but rebooted back into Win10

buoyant wasp
copper nacelle
#

it doesn't let me open the thing tho

#

just trying to open the solution causes

#

so I found the targeting pack I think

#

and am installing all the other ones just in case

buoyant wasp
#

you may have to just install the .net 3.5 framework entirely

copper nacelle
#

tried that also

#

gave some weird error

buoyant wasp
#

lol

copper nacelle
#

and it now says to reboot

#

and I didn't install the other targeting pack

buoyant wasp
#

yeah, no surprises there

#

i wish we could target 4.5

#

but we can't cause the game is compiled against 3.5

copper nacelle
#

that'd be amazing

buoyant wasp
#

we tried

copper nacelle
#

rip

#

if this targeting pack and the other 7 don't work

buoyant wasp
#

idk, cause sean was able to download and build with no issues, so i know it works outside of my environment 😦

copper nacelle
#

vs just hates me

#

tfw it says reapply the multi Targeting pack

#

ASDHAKLJSDHAKLJSD HILUAWHEIOULQWHILUQW HJELIAJSIDOJNASD

#

I changed it to 4.6.1

#

and am going to try changing it back

#

.NET 3.5 is not in targeting frameworks ree

#

AHA

#

apparently windows update was needed

#

and I turned off windows update

#

:/

#

turned it on and now it's installing

#

time for life

buoyant wasp
#

lol

copper nacelle
#

D: is nice

#

D: has space

buoyant wasp
#

might want to get bigger disks 😉

copper nacelle
#

C: is actually 128

#

and D: is 1TB

#

and I've got another 1TB sitting on my desk that I need to install

#

but also

#

lazy

buoyant wasp
#

don't think you've partitioned it enough

copper nacelle
#

24 more GB

#

no

#

one partition is EFI (needed for booting)

#

one partition is Linux

#

another is other linux which I need to remove

#

another is hackintosh

#

and one is windows

#

wait wtf

#

there's an extra partition that shouldn't exist

sick arch
#

monkaS

copper nacelle
#

Saknom?

#

monkaS?

sick arch
#

twitch emote, basically frightened face lol

copper nacelle
#

lol

buoyant wasp
#

@rain cedar I don't think your version check is working for 1.5.1

copper nacelle
#

@buoyant wasp how do you change the targeting version

buoyant wasp
#

Project->Properties->Build

copper nacelle
#

mine was in Application apparently

#

¯_(ツ)_/¯

buoyant wasp
#

oh, right

#

sorry

#

brain

copper nacelle
#

it's all good

#

I just copy paste the managed folder in and rename it to Vanilla, right?

buoyant wasp
#

yup

copper nacelle
#

Build started

buoyant wasp
#

shouldn't take long

#

maybe 10-20s

copper nacelle
#

succeeded

#

ayy

#

time to test

buoyant wasp
#

in theory, there should be an OutputFinal folder

#

that has it

copper nacelle
#

yeah

#

HollowKnight.Modding-master\HollowKnight.Modding-master\OutputFinal\hollow_knight_Data\Managed

buoyant wasp
#

yup

copper nacelle
#

now to zip and test on Mac

keen mesa
#

So now the game crashes when I do quit to menu after adding that file earlier

copper nacelle
#

rip

buoyant wasp
#

i just uploaded 1.2.2.1-26, you can try and grab that.

copper nacelle
#

the mac hollow knight logo is nice

#

did they switch the controller image?

#

it's a PS4 controller on mac

buoyant wasp
#

dunno, on mine it switches based on the controller i use

buoyant obsidian
#

wow the Mac image is real nice

#

Windows is .jpeg as fuck

copper nacelle
#

yeah

#

the output should only be an Assembly-CSharp.dll and a folder called Mods, right?

#

and an .xml Assembly-Csharp thingy

buoyant wasp
#

pretty much, yes

keen mesa
#

Where do I find the file? Was it added to the API list..?

buoyant wasp
#

it's just the same place as the existing API

#

we just update the most recent game version,

copper nacelle
#

moment of truth

buoyant wasp
#

so if you go download [1.2.2.1] Modding API.zip, it'll be v26

copper nacelle
#

nothing in the corner grimm

buoyant wasp
#

well, at least it started 😉

#

i kind of figured it wouldn't have even done that

copper nacelle
#

yeah

buoyant wasp
#

K, PlayerDataDump updated, overlay updated, Modding api updated.

copper nacelle
#

nice

rain cedar
#

@buoyant wasp Yeah it's not, didn't bother to test it and haven't gotten around to fixing it either

buoyant wasp
#

np

#

just thought i'd tell you

keen mesa
#

New message now, last time it was just the typical crash thing

serene spindle
#

How goes the mac port?

young walrus
#

#patience

serene spindle
#

Yeah

#

You're right

buoyant wasp
#

@keen mesa - I'd just use steam to verify the game cache

copper nacelle
#

@serene spindle I compiled and ran it but it doesn't work

#

hollow knight just boots normally

fair rampart
#

so

#

i found a bug

#

in boss rush

#

Im able to move after the select screen appeared

fair rampart
#

ok so if u shoot vengful spirit just as u kill them, u gain control

leaden hedge
#

you can do it by dashing too

fair rampart
#

oh

#

thanks

#

i'll be sure to try that

leaden hedge
#

not that getting storage does anything for you 🤔

hollow pier
#

does vs do some buggy thing offscreen

#

is that why it kills greenpath guy in one hit

leaden hedge
#

baldurs are buggy

#

not vs

hollow pier
#

o

buoyant wasp
#

if you want to see amusing

#

go equip glowing womb

#

and walk up to them

hollow pier
#

ss once killed a moss knight in one hit for me

#

I hit them offscreen

buoyant wasp
#

uhm, double hit of SS would easily kill a moss knight

#

offscreen or on

hollow pier
#

o

#

is that random

buoyant wasp
#

double hits?

hollow pier
#

yes

buoyant wasp
#

it's really if they go far enough in the same direction as the fireball long enough that they run out of iframes from it

#

i mean, you use it on bosses all the time

hollow pier
#

knight might've lunged backwards

leaden hedge
#

moss knights need to backdash to double hit

hollow pier
#

dunno

buoyant wasp
#

there you go, still totally do able

leaden hedge
#

I think fireballs get kinda weird offscreen though

buoyant wasp
#

but since you can kill them with 3 level 1 fireballs and a nail hit, level 2 only needs to hit twice

#

*with shamman

leaden hedge
#

i'm not sure when they dissipate, and when the hitbox gets disabled / their velocity gets set to 0

hollow pier
#

set camera mod when

leaden hedge
#

you can already do it with debug

serene spindle
#

@copper nacelle

#

Thanks

hollow pier
#

test vs when

leaden hedge
#

but its like schrodinger's cat

hollow pier
#

can I zoom all the way out and play with a tiny mc

leaden hedge
#

observing it will probably change the result

#

yes you can zoom all the way out

hollow pier
#

hot

#

can I have a mod that just blows up the knight

copper nacelle
#

yes

hollow pier
#

gib

#

but it doesn't alter nail range

buoyant wasp
#

debug mod does that too

#

"Kill Self"

hollow pier
#

can I have a mod that blows up enemies

#

giant crawlid when

buoyant wasp
#

there is a scale mod by @buoyant obsidian for the giants

fair rampart
#

why does every dream boss in boss rush have an eye brow EXCEPT white defender????

hazy sentinel
#

doesn't GPZ also have no eyebrows

hollow pier
#

sacrificed it so he could be battled again

#

it's how the game works

hazy sentinel
#

it's because the sprites for the dream version and the standard boss fights are indistinguishable from each other so KDT added some A N G E R Y eyebrows to the dream bosses so you can tell them apart

hollow pier
fair rampart
#

oh crap

#

you're right

#

GPZ doesnt have either

#

ohh

#

i get it

fair rampart
#

Halp

#

The screen's completely white during the hollow knight battle

buoyant wasp
#

hehehe

#

you're done

fair rampart
#

;-;

buoyant wasp
#

not kidding, you just softlocked, so unless you can kill him and radiance blindfolded, you're stuck

fair rampart
#

welp

#

back to first boss

buoyant wasp
#

someday @leaden hedge will figure out how to fix it

fair rampart
#

why does this happen?

buoyant wasp
#

¯_(ツ)_/¯

fair rampart
#

Okay

buoyant wasp
#

something about the transition for the dream bosses

#

sometimes leaves you stuck in the white screen

fair rampart
#

oh

#

hmm

#

can u fight a non-dream boss before him?

buoyant wasp
#

yeah, but that doesn't necessarily mean it will fix it

#

cause it isn't just the dream boss->him

#

it's dream boss->any boss

fair rampart
#

oh

#

;-;

leaden hedge
#

yep, and I don't even run any code there

#

until after the transition out of dream boss arena

buoyant wasp
#

we just need to figure out what that white screen is

#

is it a scene?

#

is it an overlay?

#

then you can just check for it's existence

#

after the teleport

#

and remove it if it exists

fair rampart
#

lol

#

also btw is it normal that all the saves have been reset?

#

i mean, they arent ACTUALLY reset over on the saves file

leaden hedge
#

yes

fair rampart
#

ok so

#

idunno wut i did with debug

#

mod

#

how do i make it show up again?

buoyant wasp
#

F1

fair rampart
#

didnt work

rain cedar
#

And you haven't rebound the 'toggle all' key off f1?

fair rampart
#

not sure

leaden hedge
#

debug mod was broken for me

fair rampart
#

i havent touched the menus at all

#

but i might've done it accidentally

#

wel, i did touch them just to give myself fireball and cloak

leaden hedge
#

whenever I closed and reopen it (with f1), it stops responding but showed left pane and console

fair rampart
#

bu thats all

#

same

leaden hedge
#

but thats on none released api

rain cedar
#

Hm, that's pretty weird

#

Maybe there's errors in the output

fair rampart
#

it isnt responding

#

ok

#

where can i see those?

rain cedar
#

"Partially showing but not responsive" is pretty different from "Not showing" btw

#

ModLog.txt in your save folder

fair rampart
#

yeah my bad

#

should've clarified more

buoyant wasp
#

if you have more saves installed

fair rampart
#

should i just take it to paste.bin?

buoyant wasp
#

it breaks debug mod

rain cedar
#

Just drag the file onto discord

fair rampart
#

okay

buoyant wasp
#

because more saves renders it's button canvas on top of debug mod's canvas

fair rampart
buoyant wasp
#

and prevents clickthroughs

rain cedar
#

That wouldn't affect keybinds

buoyant wasp
#

ah, true

rain cedar
#

Alright, I see the problem

#

But I'm also not sure how to fix it

#

The GameManager reference is somehow becoming null

#

internal static GameManager GM => _gm ?? (_gm = GameManager.instance);

#

That should never be null

#

Unless I'm misunderstanding the ?? syntax

buoyant wasp
#

no, you have it right

serene spindle
#

@copper nacelle

#

Can you share what you have so far?

fair rampart
#

How does the code know what GM means?

leaden hedge
#

thats the variable name

rain cedar
#

That code I posted is how it knows

buoyant wasp
#

If it isn't showing the text @serene spindle, then it isn't working at all. You're gonna have to be patient considering that 56 isn't even one of the developers of the API. Especially considering it's around the holidays and folks are generally pretty busy this time of year

fair rampart
#

gamemanger is the class?

rain cedar
#

That's basically equivalent to:

internal static GameManager GM
{
    get
    {
        if (_gm == null) _gm = GameManager.instance;
        return _gm;
    }
}```
serene spindle
#

Yeah

rain cedar
#

And yeah GameManager is a class

fair rampart
#

yea

serene spindle
#

Maybe I should save up and get a pc.

rain cedar
#

You can just run windows on your mac

#

Don't waste money you don't have to

serene spindle
#

Using bootcamp I know

buoyant wasp
#

or buy some patience

serene spindle
#

It isn't that great

#

lol

buoyant wasp
#

the API took months to develop by several developers. you can wait a few days

rain cedar
#

I guess if _gm is still null after setting it to GameManager.instance I could try something like

_gm = GameObject.FindObjectOfType<GameManager>();
#

As a failsafe

buoyant wasp
#

yeah, though it's weird that it wouldn't find it

rain cedar
#

I'll have to look into what GameManager.instance actually is internally

buoyant wasp
#

why do you think it's null?

#

not seeing a NRE in the modlog

serene spindle
#

@wyza, they don't call me the fullpatient Atheist now do they 🙂

rain cedar
#

The error is scene name invalid

serene spindle
#

I tried Using bootcamp for h1z1, and it ran at 15 fps

rain cedar
#

Well that's just because macs have shit hardware

#

Not because bootcamp is bad

fair rampart
#

also how unoptimized the game itself is

buoyant wasp
#

yes, but that doesn't mean that GM is necessarily null, GM.GetSceneNameString could be returning null or blank

rain cedar
#

I suppose so

serene spindle
#

Yes, I could use bootcamp, but I could also play blindfolded. The point is, at least I have enough patience to not use bootcamp 🙂

rain cedar
#

Not right to assume TC code works

#

I'll look into that too

buoyant wasp
#

cause honestly a null GameManager instance just doesn't make sense

#

not saying it isn't happening, just that it's weird, even for this game

serene spindle
#

I'm really sorry for my severe lack of patience. I'll stop bothering everyone about it.

fair rampart
#

@serene spindle what are your current specs?

serene spindle
#

MacBook Pro (Retina, 13-inch, Early 2015)

#

2.7 GHz Intel Core i5

#

8 GB 1867 MHz DDR3

fair rampart
#

hmm

#

u should get a pc

serene spindle
#

Intel Iris Graphics 6100 1536 MB

rain cedar
#

Integrated graphics really aren't meant for gaming

serene spindle
#

It sucks

#

I spent $900 dollars on this aluminum covered turd.

rain cedar
#

Wow that's really cheap for a mac

#

Isn't it?

serene spindle
#

nah

rain cedar
#

I thought they were like 2k

serene spindle
#

I know someone who works at apple

rain cedar
#

Is this like "My dad works at nintendo" or do you actually know someone and got a discount from it?

serene spindle
#

My dad knew someone

#

I spent this with my own money though

rain cedar
#

Neato

serene spindle
#

What would be better in terms of performance for its price? A gaming desktop or a gaming computer?

hazy sentinel
#

what would be better is building your own

#

but desktops are generally more worth it than laptops

serene spindle
#

Could you recommend something that I can build on my own?

fair rampart
#

most pc parts fit the same

rain cedar
fair rampart
#

so the building part won't be different on the parts

buoyant wasp
#

though i'd ask a friend who has put one together to help with the CPU. it's not rocket science, but if you screw it up, you generally don't get a do-over 😉

#

or just be careful

rain cedar
#

Yeah, trying to push that in wrong and bending the pins would be an expensive mistake

buoyant wasp
#

yup

#

you can't unbend the pins, it's just done

serene spindle
buoyant wasp
#

I'm going to walk away now and pretend i never saw that

serene spindle
#

lol

rain cedar
#

"Intel Core 2 Duo"

#

What the heck

fair rampart
#

i ahve intel 2 duo

serene spindle
hazy sentinel
fair rampart
#

xd

serene spindle
#

Are these good specs?

fair rampart
#

not sure

serene spindle
#

@fair rampart

#

What specs do you have?

fair rampart
#

My pc sucks so dont count on it

serene spindle
#

Or I should say, what would you recommend?

fair rampart
#

I recommend u look up 500$ builds

hazy sentinel
#

$50000 builds imo

fair rampart
#

Ok so what u want is:

#

A gtx 1050

#

(Thats the gpu)

serene spindle
#

I know

fair rampart
#

And 8gb ram

serene spindle
#

k

fair rampart
#

Umm

#

Lets go to general

hazy sentinel
#

intel integrated graphics best gpu

fair rampart
#

Since this is modding

buoyant obsidian
#

With the way trends are looking I wouldn't recommend making a budget build

serene spindle
#

yeah

#

That's what I had in mind

buoyant obsidian
#

since in the past budget meant playable at low quality

#

nowadays it means you can't run some games at all

serene spindle
#

Well

buoyant obsidian
#

if you're into games that require twitch reflexes at least

serene spindle
#

Not really

leaden hedge
#

unbending pins isn't even that much of a pain

#

unless you like completely fuck them

buoyant wasp
#

the pins generally break if you try to bend them back

#

they are too thin now

#

it's partially why intel started moving away from the pins being on the cpu

#

i think

sick arch
#

is there a way to update the modding api

#

it says theres a new version available

#

not sure if i need it

hazy sentinel
#

should just be on the GDrive

sick arch
#

so i just download it again?

hazy sentinel
#

yeah

#

says there was a modification yesterday

sick arch
#

okay cool, thanks

buoyant wasp
#

huzzah, always nice to see something new work right out of the box 😃

#

(new version notifications)

sick arch
#

is there anywhere that says whats added?

#

kind of interested

buoyant wasp
#

depends on what version you were on before

#

the github page has releases that talk about mostly what's in each release. In general, the API doesn't do anything for players. so changes in it only really affect modders in most cases

sick arch
#

okay cool

buoyant wasp
#

in the case of -26, it was mostly just some fixes for some bugs found in a few places with newer code. oh and i guess sean added some text handling hooks for the localization mod

sick arch
#

sweet, the modding works great so you guys are obviously doing things right hollowknice

buoyant wasp
#

hehe. Yeah, it's been nice to let it be stable for a bit. Haven't really touched it much this month because mostly, it's just working as intended, which is always nice.

sick arch
#

during a speedrun, is it fine to leave debug mod in

buoyant wasp
#

not if you are submitting no

#

you can't run modded at all

#

even the API is disallowed

sick arch
#

thought so because of cheating, was just making sure

young walrus
#

and it changes game functions

buoyant wasp
#

well, the API, in general, doesn't change gameplay, but it does slightly alter how the mouse works, which can affect runs

#

so it's just disallowed

young walrus
#

has to be vanilla game in every aspect. unaltered

buoyant wasp
#

@leaden hedge - where did you come up with the logic to determine how to draw the FSMs? did you just math it out and solve it or did you have some external resource that pointed at out to automagically make diagram of connected items that isn't known until runtime?

leaden hedge
#

each state has a position object

#

that determines x,y,w,h

#

and transitions which determines the lines to draw

buoyant wasp
#

oh, so the FSM itself describes how to draw it

#

well, that's handy

#

was thinking about rewriting it out of the web and into pure .net. the UWP app works pretty well, but it's not as responsive as i'd like when dragging bigger fsm's around

leaden hedge
#

if I was going to rewrite I'd write an ingame editor

#

so you could add / remove state actions and states to loaded fsm

#

mainly has the benefit of being able to real time testing

#

but would also have correct links to other prefabs / objects

buoyant wasp
#

yeah.....that'd be a pain

#

mostly just want to get it to a point where it's buttery smooth. Not saying that an editor wouldn't be slick in game, but don't really want to deal with the game's UI engine 😉

#

or solving the prefab issue

#

since I still never was able to figure out how to get the prefabs themselves

copper nacelle
#

also the athlon you were looking at would be better replaced by anything else

serene spindle
#

k

#

Thanks

copper nacelle
#

and the 480/580 are also very affordable and iirc have significant performance gains over the 380

#

yw

#

also getting an SSD is a huge performance difference

#

No fps gain but everything from loading to launching is so much faster

serene spindle
#

The code won't work on mac, will it?

#

Thanks

#

I'll try to figure it out with my gaming mac🙂

copper nacelle
#

it seems to not be fully compatible at the very least

young walrus
#

"gaming mac"

copper nacelle
#

because it still launches, but no API stuff shows up

young walrus
#

nice contradiction

copper nacelle
#

@young walrus H A C K I N T O S H

buoyant wasp
#

@copper nacelle - do you get anything in the ModLog.txt or output.txt when you run with this mac version?

copper nacelle
#

I'll check

copper nacelle
#

@buoyant wasp there is a modlog.txt

#

unity.Team Cherry.Hollow Knight\ModLog.txt

#

has

#
[INFO]:[API] - Adding GitHub SSL Cert to Allow for Checking of Mod Versions
[INFO]:CN=*.github.com, O="GitHub, Inc.", L=San Francisco, S=California, C=US
buoyant wasp
#

That's it?

copper nacelle
#

yeah

#

wait

#

shit

#

no

#

hollow knight turned on when the computer turned on so it didn't finish starting

#

@buoyant wasp after loading into a game

[INFO]:[API] - Adding GitHub SSL Cert to Allow for Checking of Mod Versions
[INFO]:CN=*.github.com, O="GitHub, Inc.", L=San Francisco, S=California, C=US
[INFO]:GameLoading
[INFO]:[API] - Trying to load mods
#

that's the modlog

#

checking output

#

output is next to all the assets, right?

buoyant wasp
#

Usually yeah

#

Dunno if they moved it on Mac though

copper nacelle
#

can't find any output

buoyant wasp
#

Gotta be somewhere

#

Even vanilla has output by default

copper nacelle
#

hm

#

I'll try find via Terminal

#

no *output*

#

nor *txt*

buoyant wasp
#

~/Library/Logs/Unity/Player.log

serene spindle
#

debug.log?

buoyant wasp
#

According to google

copper nacelle
#

yeah that's a log

buoyant wasp
#

Apparently they can't be bothered to be consistent in unity

copper nacelle
#

lol

serene spindle
#

Yeah

copper nacelle
#

a lot of FSM not preprocessed

serene spindle
#

Mac uses mono develop

copper nacelle
#

and could not find FSM: alert_range

buoyant wasp
#

Just drop the whole file here

copper nacelle
buoyant wasp
#

And I'll look at it when I get to my desk

copper nacelle
#

I think the biggest issue that I can see at a glance

#

is

#

Directory 'hollow_knight_data\Managed\Mods' not found

#

I'll try symlinking the mods dir to that dir

stiff notch
#

can i ask question plz?

copper nacelle
#

yes

stiff notch
#

sooo

#

i installed boss rush mod

#

really cool and all

#

firstly, my other save files are not erased i hope? :/

copper nacelle
#

they are not erased

#

but backing them up before doing mods stuff is a good idea

#

the mouse cursor on mac stays the HK cursor even when alt-tabbed :/

stiff notch
#

oh yeah. should've though of that.

#

secondly

#

why is this mod so different than the one on the youtubez?

#

...

copper nacelle
#

KDT made a new boss rush

buoyant wasp
#

Oh... Yeah the directory thing is a problem. But fixable

stiff notch
#

only be able to choose 1 of 3 mediocre options is really frustrating

copper nacelle
#

do you know what it considers the root dir?

#

because a quick symlink should solve that

stiff notch
#

got to second wave of bosses without spells or dash, now it's just a lost cause 😦

copper nacelle
#

I'll just make 4 symlinks

#

lol

serene spindle
#

Are you able to customize your level for your nail?

buoyant wasp
#

@stiff notch - The old boss rush was removed because the author issued a DMCA for all his mods

copper nacelle
#

oof

buoyant wasp
#

@serene spindle debug mod can do that

#

as far as the root folder, no i don't know offhand. I agree a symlink will work

serene spindle
#

cool

buoyant wasp
#

but that's not a good long term solution 😃

copper nacelle
#

yeah

stiff notch
#

@Wyza googling DMCA

young walrus
#

copyright claim

#

no longer publicly available

stiff notch
#

isn't it the point of mods to make them public?

buoyant wasp
#

one would think so

young walrus
#

dude just up and left

#

suddenly, for no reason

#

it was weird

buoyant wasp
#

very

young walrus
#

so we made another one

#

from scratch

#

so.... it's naturally different

stiff notch
#

yeah.

#

yeah well i like the menu and all

buoyant wasp
#

which is why most of what we've done since then is all been specifically under the MIT license

copper nacelle
#

why MIT over GPLv2?

stiff notch
#

but not being able to choose upgrades to a certain extent is really punishing for newbs 😦

young walrus
#

you get 3 choices

#

and you can pick up two if you don't take dmg during the fight

buoyant wasp
#

3 choices actually

young walrus
#

yeah, that's what i said

buoyant wasp
#

uh huh 😛

stiff notch
#

not taking damage and you get all 3?

copper nacelle
#

no

#

2/3

buoyant wasp
#

no damage = 2

stiff notch
#

...

buoyant wasp
#

damage taken = 1

#

but you still get 3 choices per fight

young walrus
#

death = 0

buoyant wasp
#

so

stiff notch
#

isn't that also punishing for newbs? :p

#

win more mechanic

young walrus
#

no

buoyant wasp
#

it's already way too easy

young walrus
#

you become super OP

#

^^

copper nacelle
#

yeah

young walrus
#

what wyza said

stiff notch
#

well

copper nacelle
#

I suck at the game and I got elegy + nail upgrades and fucking shredded the bosses

stiff notch
#

i didn't try not to take damage :p

#

and the game is hilariously hard now :p

buoyant wasp
#

just keep practicing, you'll get to the point where you can no-damage 4-5 of the first 9 bosses without trying

#

by the time you get to the 2nd tile you'll be broken OP in most cases

stiff notch
#

well, if i tried, sure.

#

didn't know it worked that way

copper nacelle
#

wtf

#

it doesn't create new logs on startup on mac

#

it just appends

#

at least for Player.log

buoyant wasp
#

lol, epic

stiff notch
#

well, balancing idea: only give players 1 upgrade each boss, but time threshold or no damage gives more (than 3) choices?

copper nacelle
#

but it's already easy if you get lucky at all

#

if you don't get lucky then it can be hard, but most of the time it's easy

young walrus
#

flukenest

#

instant win

buoyant wasp
#

eh, more choices means i'm just going to get better much earlier

stiff notch
#

welllllll

#

i got flukenest

#

but never got vengeful soul 😄

copper nacelle
#

lol

young walrus
#

heh

buoyant wasp
#

keeping in mind that we already have to recycle the choices

hollow pier
#

is this bonfire

buoyant wasp
#

because there aren't enough upgrades/items to fill 3 slots for all the bosses

copper nacelle
#

DirectoryNotFoundException: Directory 'hollow_knight_Data\Managed\Mods' not found. :/

hollow pier
copper nacelle
#

after like 5 symlinks

#

does it care about caps because I forgot to make the D caps

stiff notch
#

i was really disappointed in lvl1 grimmchild tho lol 😄

buoyant wasp
#

unix does, so unity probably does

stiff notch
#

woah woah

#

so you can only get each upgrade once?

copper nacelle
#

linux does, but iirc HFS+ doesn't give two shits

leaden hedge
#

I could give you no items

stiff notch
#

i mean

leaden hedge
#

and boss rush would be easy

#

this game is just easy

copper nacelle
#

alright, I'll try again with caps

stiff notch
#

if i miss out on cloak once, i'll never get it later? :p

buoyant wasp
#

the first 22 bosses will always only drop 1 of each unique upgrade

#

you'll have what, 4 chances at repeats at the end

#

because there are 66 upgrades

stiff notch
#

mhm

#

that clears up a LOT

buoyant wasp
#

if you didn't do it that way, then you could end up where wings or claw never spawn

#

which you need at least wings or claw to beat the game

#

(so never pass those up)

stiff notch
#

well, if you keep in mind my first suggestion, you could limit out some "useless" charms and occasionally recycle unpicked options... and give priority to essential upgrades, like vengeful soul and cloak

young walrus
#

but... they're not essential

stiff notch
#

my first suggestion giving 5 choices instead of 2 picks

copper nacelle
#

DirectoryNotFoundException: Directory 'hollow_knight_Data\Managed\Mods' not found. grimm

#

after more symlinks

buoyant wasp
#

there are literally only 2 essential upgrades

#

either wings, or claw

#

and only because you need them to do the platforms for radiance

copper nacelle
#

the .exe is next to the hollow_knight_data folder on Windows, right?

stiff notch
#

so you can effectively dodge all dream bosses without dash?

copper nacelle
#

yes

buoyant wasp
#

you can also use dive

#

to get iframes

young walrus
#

yes

stiff notch
#

some people are not godlike babyrage

daring snow
#

lol you don't even have to be godlike

young walrus
#

fight Nightmare grimm with no upgrades and nail0

#

it's fun

buoyant wasp
#

i'll have to look when i get home after i cook dinner and see if i can't figure out how to get the right path correctly

young walrus
#

hehehe

stiff notch
#

sounds very fun :p

copper nacelle
#

wait but is the .exe next to the data folder

leaden hedge
#

fight nkg with no upgrades and 1 damage

#

and then make it ngg

copper nacelle
#

I'll try another symlink next to "hollow_knight" the executable

stiff notch
#

but still, aren't my suggestions worth considering?

copper nacelle
#

instead of the .app

buoyant wasp
#

my guess is that it's a combination between the fact that unix expects "/" paths

young walrus
#

nothing is worth considering

#

everything in life is garbage

#

it's all just random

stiff notch
#

it would flatten out the OP'ness of taking no damage

#

a tad

buoyant wasp
#

it's not that they aren't worth it, it's just that we don't want to make it easier

#

more choices = easier

#

even if you can pickup less items

copper nacelle
#

added two more symlinks just in case the issue wasn't the "/" paths

stiff notch
#

hm

#

ok i'm sure you guys tested that.

daring snow
#

just do a few randos and you'll have some game knowledge and become godlike noot

copper nacelle
#

randomizer is fun

leaden hedge
#

no need to test anything

daring snow
#

they are really good practice for testing your skills and getting better at the game

leaden hedge
#

the fight you get a lv2 spell

copper nacelle
#

I now am fifty times better at pogoing after crystal peak without claw

hazy sentinel
#

just do 30 106% playthroughs and you'll have some game knowledge

leaden hedge
#

the game becomes insanely easy

copper nacelle
#

isn't abyss shriek useless for the grounded bosses?

young walrus
#

no

leaden hedge
#

not really, if its all I got

#

I could still destroy bosses with it

young walrus
#

shriek shreds bosses

buoyant wasp
#

you just dash into it's face and take it like a man

copper nacelle
#

lol

stiff notch
#

haha

#

ok, trying again.

#

not taking on collector with lvl2 nail no spells -_-

buoyant wasp
#

haha, that's not hard, just mind numbingly tedious

hazy sentinel
#

"sword"

#

reeee

copper nacelle
stiff notch
#

what now?

copper nacelle
#

it's a nail

buoyant wasp
#

nail 0 collector, now that's evil

stiff notch
#

what i say then?

hazy sentinel
#

ah yes the fabled edit

#

let me just

leaden hedge
#

nail 0 collector on patch with no adds

hazy sentinel
#

spam post 600 of my screenshots here

copper nacelle
#

edit

hazy sentinel
#

that'll be nice

stiff notch
#

lol

leaden hedge
#

thatwas the worse

buoyant wasp
#

eww yeah

stiff notch
#

i was editing, you guys just beat me to it

buoyant wasp
#

no soul for spells

#

cancer in the finest form