#Wormhole (KSP Launcher & Mod Manager)

1 messages · Page 2 of 1

foggy cobalt
#

i hate that

#

a.

clever remnant
#

🙂 🙂 🙂

foggy cobalt
#

opacity doenst prevent you from click on them

#

b.

#

i want them to be under the tile

clever remnant
#

you can also do display

foggy cobalt
#

hb u do it

#

too big brain for me

clever remnant
#

i cant rn lol

#
@keyframes anim_buttons_out {
    0% {
        display: block;
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    100% {
        display: none;
    }
}
foggy cobalt
#

hb for this

#

xd even carbon could handle the syntax

clever remnant
#

?

#

o

foggy cobalt
#

where to place buttons

clever remnant
#

alr

#

inside the component

foggy cobalt
#

i dont react very well to this code

#

AHHAHAHAHAH

#

AHAHAHAHAHAHAHHAHAHHA

#

HAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHAHAHAHHA

clever remnant
#

i see what you did there

#

and it was stupid and youre horrible at jokes and a terrible person and i hate you

#

jk

foggy cobalt
#

ye xd

#
<><Instance data={info} key={info.name}/>
                        <button onClick={refreshInstances}>Refresh</button>
                    </>
#

like this

clever remnant
#

wdym refresh

foggy cobalt
#

just

#

rando

#

dw

clever remnant
#

o god no

#

Instance.tsx not Instances.tsx

foggy cobalt
#

?

#

oh

clever remnant
#

components/Instance.tsx

foggy cobalt
#

OOOO

#

thats what thats for

clever remnant
#

lmfao

#

bro doesnt know how to structure a react codebase

foggy cobalt
#

i dont react

clever remnant
#

i preact

foggy cobalt
#

i dont preact

clever remnant
#

you... vue?

foggy cobalt
#

vite

#

in which

#

i use

#

vue

clever remnant
#

VITE ISNT A JSX FRAMEWORK

foggy cobalt
#

i disagre

#

e

clever remnant
#

youre disqualified

#

vite is a build tool

foggy cobalt
#

ik

#

IOPKADWOKOWPDKAW

clever remnant
#

like webpack + webpack dev server

foggy cobalt
#

IKKUKKIKIKIKIKKIKKIIKK

#

how to comment in preact

clever remnant
#

{/* hi mom */}

foggy cobalt
#

wtf

#

is

#

that

#

ajdIAWIDJAWD

#

nonono

#

nonn

#

nonon

clever remnant
#

same as vue i think

foggy cobalt
#

so bad

#

i dont comment

#

so

#

idk

clever remnant
#

i comment when necessary

foggy cobalt
#

i dont comment when necassary

clever remnant
#

well thats bad

foggy cobalt
#

no

#

its

#

effeinct

clever remnant
#

eff-fish-int?

foggy cobalt
#

yes

clever remnant
#

what about eff-fish-float? eff-fish-double?

foggy cobalt
#

nat

#

more of a

#

unsigned double long chat[]

clever remnant
#

bro wtf is that

foggy cobalt
#

kinda guy

#

its something ive actually used

#

i hated it

clever remnant
#

wow

#

char* > std::string

foggy cobalt
#

i write c so idk

#

plz tell where tiles are

#

i cant find them

clever remnant
#

ha c++

#

wdym tiles

foggy cobalt
#

instance doesnt

#

have

clever remnant
#

tiles?

foggy cobalt
#

please explain witch craft

clever remnant
#

where the edit bar is?

foggy cobalt
#

?

clever remnant
#

routes/Instance.tsx

foggy cobalt
#

yeah

#

thats where i am

clever remnant
#

wdym tiles tho

foggy cobalt
clever remnant
#

components/Instance.tsx

#

if you want a look at one with buttons, check components/Mod.tsx

foggy cobalt
#

i guess i could copy that

#

good point

clever remnant
#

should make an auto-detect instances button

foggy cobalt
#

i mean

clever remnant
#

to auto-fill vanilla from steam

#

rn its just dev placeholders

foggy cobalt
#

yeah ik

#

im making the system to add

#

wanna vc

#

i cant

#

type

#

this much

#

xd

clever remnant
#

no cant vc sorry

foggy cobalt
#

u can mute

clever remnant
#

i gtg actually

#

😦

foggy cobalt
#

:c

#

okok

clever remnant
#

cya

#

maybe tomr

#

gn

foggy cobalt
#

alr cya

foggy cobalt
#

@clever remnant i spent a depressing amount of time adding a search bar

#

it works pretty well i think

#

i need to do some research on how to do this correctly

#

no lag though so thats cool

#

uh did some other stuff that i forgor about

#

def pull xd

#

i go sleep

clever remnant
#

🙂

foggy cobalt
#

@clever remnant

#

xd what did you do

#

also ye i need to move search code to rust

#

i’ll do that today

#

no like actually what did you do

#

oh

#

what is this

#

are you going ckan gui/cli approach

foggy cobalt
#

moving to rust is so hard

#
            case "get_install_dir":
                return "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Kerbal Space Program 2";

#

goddam

#

nice code

clever remnant
#

Lol

#

Bro I'm at school rn

foggy cobalt
#

nie

#
#[tauri::command]
async fn test_distance(a: &str) -> usize {
    return levenshtein_distance(a, "hello").await;
}
#

how do you aviod this

foggy cobalt
#

ahhh

#

tauri bad

#

@clever remnant did u push

clever remnant
#

?

foggy cobalt
#

u push?

clever remnant
#

i pushd many things yes

clever remnant
foggy cobalt
#

it was a pain

clever remnant
#

ok

foggy cobalt
clever remnant
#

yes

foggy cobalt
#

..

#

ok

#

ill try to merge

clever remnant
#

glhf

#

:p

#

oops

foggy cobalt
#

alr

#

i merged

#

😓

#

ur code has error tho

clever remnant
#

o ok

#

where

foggy cobalt
#

ok fixed

#
async fn install_mod(mod_id: i32) {
    let installer = ModInstaller::new(find_install_dir());

#

not importing ModINstalelr

#

into the file

#

ModInstaller

clever remnant
#

ok

foggy cobalt
#

it builds tho

#

so thats nice

foggy cobalt
#

@clever remnant i ported search to rust

clever remnant
#

🙂

foggy cobalt
#

that was extremely painful

clever remnant
#

yey

#

lol

foggy cobalt
#

i push

#

alr

#

pushed

#

i mean it was already instant

#

so idk why i did that

#

but in the future when there are more mods

clever remnant
#

lol

foggy cobalt
#

so now there is cli correct?

clever remnant
#

not really

#

most of its unimplemented

#

bc im procrastinating on making instances function

foggy cobalt
#

xd

#

im gonna finally color that top bar

clever remnant
#

important things yes

foggy cobalt
clever remnant
#

yoo

#

milestone

foggy cobalt
#

yessir

clever remnant
#

cloc says 7666 lines of code + 1332 blank lines + 39 comments

foggy cobalt
#

we can count blanks :D

#

dw about it

#

wait i can get the lines of code

clever remnant
foggy cobalt
#

xd

foggy cobalt
#

yeah

#

thats it

#

i couldnt find the arg

#

thx

foggy cobalt
#

@clever remnant what to do next

#

almost 100th commit

foggy cobalt
#

alr

#

ive summoned enough willpower

#

im going to start the instancing

clever remnant
#

Thank youuu

clever remnant
foggy cobalt
#

ye

#

im trying to figure out how to run mkdir in the installer msi

#

xd idfk

#

i got

#

fren

#

to make logo

#

for wormhole

#

when she finish maybe have good rough draft

foggy cobalt
#

xd i think we should fix some vulerabilities

foggy cobalt
#

@clever remnant what were you thinking for colors for the logo

foggy cobalt
#

we got xss attacks xdd

foggy cobalt
#

fixed

#

santizing it now

foggy cobalt
#

ok

#

what colors now

clever remnant
#

Idk

foggy cobalt
#

ok...

clever remnant
#

I fixed the xss

#

And a bunch of other things

foggy cobalt
#

...

#

xd what did you change!!

#

my solution was perfect

#

plz dont change it

#

we tested it a lot with ama yesterday

#

@clever remnant plz push

#

i wanna start work on the setup scripts

clever remnant
#

O ok

#

I pushed a while ago btw

#

Also I'm so tired I almost wrote pargin instead of padding/margin lol

foggy cobalt
#

fr

#

im killing myself making a "boot" page

#

for the status on the stuff

#

💀

#

@clever remnant i think i made a mistake

#

bro

#

you broke the xss attack code

#

xdd

#

no.

#

i did it in a very specific way

foggy cobalt
#

i fixed the code

#

again

#

no change

foggy cobalt
#

xdd

#

i keep reading through the code

#

and i keep finding that you reverted like

#

all of my yesterday changes

#

did you just like

#

not merge???

foggy cobalt
#

maybe i just didnt push

#

idfk

#

@clever remnant i fixed the merges again

#

idk why you keep fucking up this stuff

#

plz just dont change everything again ;-;

foggy cobalt
#

@clever remnant

#

oh mine also failed

#

nvm windows compiles

clever remnant
#

Sorry I haven't been responding

#

Everything compiles except Linux arm64, I'm setting up cross for that but it'll take a bit

#

Also make sure that dompurify is installed

#

Otherwise it breaks and doesn't compile

clever remnant
#

hey @foggy cobalt ya know that page named "SpaceWarp?"

#

maybe we should remove that, make the instances page the landing page, and add a settings page

foggy cobalt
#

sure

foggy cobalt
#

also @clever remnant if you could get lazy loading to work for the App.tsx

#

really need it

#

it’ll speed up loading by like 10x

#

also will stop the bundle size error

#

you dont reset the page number when you switch ksp 1 to ksp 2

foggy cobalt
#

i fixed

#

kinda

#

still kinda broken

#

if you are on a page larger than 2 in the ksp 1 tab

#

and switch to ksp 2

clever remnant
#

ok

foggy cobalt
#

it shits itself

clever remnant
#

alr

foggy cobalt
#

i set it to 1 when you switch

clever remnant
#

lol

foggy cobalt
#

but still kinda broken

clever remnant
#

ok

gray lion
#

does this auto update mods?

foggy cobalt
#

not yet

clever remnant
#

o yea @foggy cobalt sorry i havent really been able to do a lot lately - i think most work can be done over the weekend for me, i have school during the week lol

#

i am working on it rn tho

foggy cobalt
#

^

#

yeah i have a lot work to

clever remnant
#

ok

clever remnant
#

you can now launch ksp1 with wormhole!

#

you cant install mods yet, but one step at a time

#

also mod installation for ksp2 is now fixed - no more random folders; and it's completely automated!

foggy cobalt
#

nicee

#

@clever remnant if you can write in the write function for the config file for the mods

#

so when you install a ksp2 mod it updates

clever remnant
#

i dont really understand lol

foggy cobalt
#

ill do it dw

#

if i can get the new code to run

clever remnant
#

i just pushed btw

#

persistent instance data

#

also multiplatform cache support

#
#[cfg(target_os = "windows")]
fn get_platform_data_dir() -> String {
    return std::env::var("APPDATA").unwrap();
}

#[cfg(target_os = "linux")]
fn get_platform_data_dir() -> String {
    return std::env::var("HOME").unwrap() + "/.local/share";
}

#[cfg(target_os = "macos")]
fn get_platform_data_dir() -> String {
    return std::env::var("HOME").unwrap() + "/Library/Application Support";
}

pub fn get_data_dir() -> PathBuf {
    return PathBuf::from(get_platform_data_dir()).join("Wormhole");
}
foggy cobalt
#

hh

#

yeah

#

thats write

clever remnant
#

?

foggy cobalt
#

im stroking

#

good job ^

clever remnant
#

ok lol

#

ty

clever remnant
foggy cobalt
#

the npm is broken

#

i cant install the path-browserify module

clever remnant
#

dont use path browserify

#

why do you need it anyway

foggy cobalt
#

idk you tell me

clever remnant
#

i legit dont remember lmao

#

its fine anyway

#

ill make a patch that removes it

#

ok pushed

foggy cobalt
#

ok

#

i think its working now

#

building

clever remnant
#

alr

clever remnant
#

ive pushed more - including installing mods in ksp1!

foggy cobalt
#

wwow

#

i figured out the issue

#

🧠

#

you use pnpm not npm

#

ok

#

fixed install button

clever remnant
#

Lol

foggy cobalt
severe mulch
#

can't imagine how wrong it can get

#

I don't think I've had a single issue with CKAN in the years I've been using it exclusively to download and manage mods

#

and I've had like 15 different modded installs with hundreds of mods

#

🤷‍♂️

foggy cobalt
#

yeah i think they just bad

#

i need to put on homepage of wormhole

#

testimonial

clever remnant
#

lol

clever remnant
#

@foggy cobalt

#

thats my roadmap btw

elder geyser
# clever remnant <@533428547705110549>

Keep in mind, there is a reason there is a checkbox for "request addition to CKAN" on spacedock, as mod authors might not want their mod findable by wormhole, I get its slightly odd, but there is history surrounding this

clever remnant
#

ok, i can look into that

#

i do see a problem with that tho, there's no info about that in the api response i dont think

#

i dont see any

elder geyser
#

it's odd

clever remnant
#
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ModInfo {
    pub name: Option<String>,
    pub id: Option<i32>,
    pub game: Option<String>,
    pub game_id: Option<i32>,
    pub short_description: Option<String>,
    pub downloads: Option<i32>,
    pub followers: Option<i32>,
    pub author: Option<String>,
    pub default_version_id: Option<i32>,
    pub shared_authors: Option<Vec<Value>>,
    pub background: Option<String>,
    pub bg_offset_y: Option<i32>,
    pub license: Option<String>,
    pub website: Option<String>,
    pub donations: Option<String>,
    pub source_code: Option<String>,
    pub url: Option<String>,
    pub versions: Option<Vec<ModVersion>>,
    pub description: Option<String>,
}
#

^^^ this was made real api responses

foggy cobalt
#

i’ll help out in a bit

foggy cobalt
#

doesn’t need to be space dock obv

clever remnant
#

@foggy cobalt I have been working on instances... It's mostly implemented now (I think).

foggy cobalt
#

:O

#

omg

#

ookoko

#

for ksp2?

#

@clever remnant bad

#

wait

#

that was my fualt

#

🧠

clever remnant
#

lol

#

i think instances are done!

#

@foggy cobalt

foggy cobalt
#

for wchih

#

whcih

#

whcih

#

which

clever remnant
#

both

foggy cobalt
#

instance for mods?

#

or just game instances

clever remnant
#

both

foggy cobalt
#

lemme try

clever remnant
#

it hasnt been tested tho 👀

foggy cobalt
#

wait did you pshu

clever remnant
#

ye

#

o wait

#

i havent made a way to set the active instance

#

lmao

#

also

#
pub fn validate_instances(instances: Vec<Instance>) -> Vec<Instance> {
        let mut final_instances = Vec::new();

        for instance in instances {
            if instance.install_path.exists() {
                let api_dll = match instance.game {
                    KSPGame::KSP1 => instance
                        .install_path
                        .join("KSP_x64_Data/Plugins/x86_64/steam_api64.dll"),
                    KSPGame::KSP2 => instance
                        .install_path
                        .join("KSP2_x64_Data/Plugins/x86_64/steam_api64.dll`"),
                };

                let size = api_dll.metadata().unwrap().len();

                let needed_size = match instance.game {
                    KSPGame::KSP1 => KSP1_STEAM_API_SIZE,
                    KSPGame::KSP2 => KSP2_STEAM_API_SIZE,
                };

                if size == needed_size {
                    final_instances.push(instance);
                }
            }
        }

        return final_instances;
    }
foggy cobalt
#

download broke

clever remnant
#

ye

#

thats bc i havent made a way to set the active instance lol

#

im fixing that

foggy cobalt
#

you should encrypt the KSP1_STEAM_API_SIZE

#

so people cant change it

clever remnant
#

nah bro

foggy cobalt
#

:D

clever remnant
#

too much for my small brain

#

just pushed

#

@foggy cobalt

foggy cobalt
#

o

clever remnant
#

instances should be set by default

#

bruh nvm

#

it crashed lol

#

stack overflow error

foggy cobalt
#

is it an updater?

clever remnant
#

ye it bumps versions

#

in the crates

#

so i dont have to do it by hand

#

cuz i do publish the cli and common crates in crates.io sometimes

#

theres 0.1 and 0.2 rn

#

but theyre not full releases

foggy cobalt
#

ah

#

xd stackovreflow

#

nice

clever remnant
#

ye

#

im gonna lldb it

#

although i have to install it on windows 😦

foggy cobalt
#

xdd

#

i dont think you can lldb rust

clever remnant
#

i found that on the rust forums so i think yes

#

can i have some help with this function tho? it seems to be the root cause

#
pub fn set_default_instances() {
        let ksp1_instance_json_path = find_ksp1_install_dir().join("instance.json");
        let ksp2_instance_json_path = find_ksp2_install_dir().join("instance.json");

        let instances = Instance::load();

        if !ksp1_instance_json_path.exists() {
            let ksp1_default = instances
                .iter()
                .find(|i| i.game == KSPGame::KSP1)
                .unwrap()
                .clone();

            let ksp1_default_json = InstanceJson {
                id: ksp1_default.id,
            };

            let ksp1_instance_json = serde_json::to_string(&ksp1_default_json).unwrap();

            let mut file = File::create(ksp1_instance_json_path).unwrap();

            file.write_all(ksp1_instance_json.as_bytes()).unwrap();
        }

        if !ksp2_instance_json_path.exists() {
            let ksp2_default = instances
                .iter()
                .find(|i| i.game == KSPGame::KSP2)
                .unwrap()
                .clone();

            let ksp2_default_json = InstanceJson {
                id: ksp2_default.id,
            };

            let ksp2_instance_json = serde_json::to_string(&ksp2_default_json).unwrap();

            let mut file = File::create(ksp2_instance_json_path).unwrap();

            file.write_all(ksp2_instance_json.as_bytes()).unwrap();
        }
    }
#

i have no idea what caused it tho

foggy cobalt
#

you can lldb

#

intellij gives it auto

clever remnant
#

yea

foggy cobalt
#

just checked

clever remnant
#

ok

#

but i use vscode lol

foggy cobalt
#

xdd

clever remnant
#

I FIGURED IT OUT

#

WITHOUT LLDB

#

the Instance::load() call

#
pub fn load() -> Vec<Self> {
        let instances;
        let instances_path = get_data_dir().join("instances.json");

        if instances_path.exists() {
            let mut file = File::open(instances_path).unwrap();
            let mut content = String::new();

            file.read_to_string(&mut content).unwrap();
            instances = serde_json::from_str(&content).unwrap();
        } else {
            instances = Instance::defaults();

            Instance::save_all(&instances);
        }

        Instance::set_default_instances();

        return instances;
    }
#

it calls itself

foggy cobalt
#

xd

#

wait where

clever remnant
#

look at the two things

#

load: Instance::set_default_instances();
set_default_instances: Instance::load();

#

it works now

#

gonna push

foggy cobalt
#

okok

clever remnant
#

pushed

#

also theres another bug

#

that im fixing rn

foggy cobalt
#

xd

#

so how do i use the instancing

clever remnant
#

i havent added a way to switch yet lol

#

the only way rn is to launch one

#

which will then get auto-selected and mods will download to that one after

foggy cobalt
#

hm

clever remnant
#

bug fixed and pushed btw

foggy cobalt
#

i think we should switch up the browse menu to be a select thing

#

instead of download

#

same as ckan

#

because to have a full progress bar at the end is best

clever remnant
#

well

#

we do have an open grid slot next to the search bar in the browse menu

#

i can try to rig that up

foggy cobalt
#

sure

#

hm

#

im gonna start on ram caching for the browse pages

clever remnant
#

alr

#

ok i think i added the dropdown

clever remnant
#

pushed!

#

lmfao it just changed 800 lines because crlf -> lf

foggy cobalt
#

xd

#

i think your github contributations are a little extrmee

clever remnant
#

lol

foggy cobalt
#

:D

clever remnant
#

what file?

#

what?

#
for file in bep_in_ex_dir.read_dir().unwrap() {
                                let file = file.unwrap();

                                instance_mod.paths.push(
                                    "BepInEx/plugins/".to_string()
                                        + file.file_name().into_string().unwrap().as_str(),
                                );
                            }
foggy cobalt
#

idk

#

oh

#

it worked

#

:D

clever remnant
#

lol ok

foggy cobalt
#

ok i add caching to the mods

#

so when you restart or something it shows installed

clever remnant
#

ok

#

cool

#

nice

#

🙂

foggy cobalt
#

also are you using the %appdata%

clever remnant
#

ye

foggy cobalt
#

for storing stuff

clever remnant
#
// common/src/util.rs

#[cfg(target_os = "windows")]
pub fn get_platform_data_dir() -> String {
    return std::env::var("APPDATA").unwrap();
}

#[cfg(target_os = "linux")]
pub fn get_platform_data_dir() -> String {
    return std::env::var("HOME").unwrap() + "/.local/share";
}

#[cfg(target_os = "macos")]
pub fn get_platform_data_dir() -> String {
    return std::env::var("HOME").unwrap() + "/Library/Application Support";
}

pub fn get_data_dir() -> PathBuf {
    return PathBuf::from(get_platform_data_dir()).join("Wormhole");
}
foggy cobalt
#

yeah

#

im going to make it so that "mods" is inside instances

#

because obv

clever remnant
#

ok

#

theres a bunch of files tho in {wormhole}/instances/{id}/

#

a lot of code depends on that

#

so caution

foggy cobalt
clever remnant
#

after you install mods youll see it

foggy cobalt
#

i did install a mod

#

xdd

#

oh wait

#

???

clever remnant
foggy cobalt
#

oh

#

nvm

#

hm

clever remnant
foggy cobalt
#

very strange

clever remnant
#

interesting

foggy cobalt
#

lemme try again

#

ok

#

so

#

xd

#

i got a couple errors

#

first

#

you cant install more than like 5 mods at a time or it breaks

#

second

clever remnant
#

ok

foggy cobalt
#

if i try to switch instances at the top dropdown

#

it crashes

#

deletes the plugins folder

#

xdd

clever remnant
#

:p

foggy cobalt
#

but

#

it did make the 0 folder

#

which does contain the stuff

clever remnant
#

its not a bug... its a... feature... yeah

foggy cobalt
#

xdd

clever remnant
#

ok

#

should fix that

#

pushed

foggy cobalt
clever remnant
#

pushed another patch for that

foggy cobalt
#

O

#

you should ignore the spacewarp folder

#

when copying

clever remnant
#

meh

#

it still holds stuff

foggy cobalt
#

?

clever remnant
#

and its ignored in the bepinex plugins dir

foggy cobalt
#

we are trying to instance mods

#

not spacewarp

#

that sounds like breaking changes 100

clever remnant
#

yea

#

its not instancing spacewarp

foggy cobalt
#

it is

clever remnant
#

its not tho

foggy cobalt
#

when you copy spacewarp

#

your instancing it

#

also

#

also

#

just don

clever remnant
#

im not tho

foggy cobalt
#

you are

clever remnant
#

that shouldnt happen

foggy cobalt
#

xd

clever remnant
#

i think ill fix that tomr

#

im kinda burnt out of this for today

#

ive done a ton of work lol

severe mulch
#

may I ask why that shouldn't be a thing? it would make sense to be able to install different versions of SpaceWarp

#

for testing mod compatibility for example

clever remnant
#

bc it will always fetch the latest release regardless

#

rn theres no way to change the spacewarp version

foggy cobalt
#

^

#

also that still sounds like breaking changes 100

#

but

#

we will have a fun time adding a bunch of compatibility shit

clever remnant
#

yea lol

clever remnant
#

@foggy cobalt I think I fixed the bug; I'm also working on the adding instances functions and buttons and modals.

foggy cobalt
#

okokok

#

gogo

#

im just working on the caching for the browsing

clever remnant
#

Alr

#

Btw I gtg for bed so cya tomr

foggy cobalt
#

its a little hard beacuse we might have to add the ability to change mods show later

clever remnant
#

Gn

foggy cobalt
#

alr cya

idle sable
#

Wait so you are remaking the wheel instead of using the technology we have? Are we like stuck in the middle age? Why make it so complicated…

#

I hope u have fun with ur hobby as I do not see it being used

#

Like IE deprecated vs modern browsers

foggy cobalt
#

xd what

#

chill bro

#

just making something fun

#

Why make it so complicated...

#

xdddd

#

this is nothing compared to ckan

#

nothing is complicated here

#

the main point of the project is to make it more effienct. ckan uses 600+mb of ram

#

ours uses around 120

#

plus it doesnt look like crap

molten kraken
#

btw can this thread author or any mod pin the first message since it contains the repo link lol

foggy cobalt
#

@clever remnant

foggy cobalt
severe mulch
idle sable
clever remnant
#

Yea bro I can't pin messages lol

clever remnant
#

Also post-1.0 I'm gonna redo the UI with svelte instead of preact, as it's easier to work with.

#

It'll be a while before then, but after that the UI should look even better.

#

But as of now, very unbiased source (obviously), but I think the UI is pretty good.

foggy cobalt
clever remnant
#

Btw @foggy cobalt I made a bunch of patches just now on instances

#

Also can you push the caching code please?

foggy cobalt
#

:D

#

not done yet

#

been too busy

#

you can push your for now

clever remnant
#

Alr dw

foggy cobalt
#

ye

clever remnant
#

I did

foggy cobalt
#

spring break rn

#

ill get to work on stuff again

clever remnant
#

Finally 😄

foggy cobalt
#

had like 3 exams xdd

clever remnant
#

Spring break for me too

foggy cobalt
#

yeee

clever remnant
clever remnant
#

Ok I'm gonna start the svelte rewrite since it'll improve performance (no virtual dom) and improve dx

foggy cobalt
#

oh okay

#

makes sense

foggy cobalt
#

@clever remnant can you make a new branch for the svelte rewrite

#

i have some time rn i can help out

clever remnant
#

i will yeah

clever remnant
#

Ok so @foggy cobalt first stuff is pushed to the svelte branch, but it won't compile since it wants the static adapter and won't work with the auto adapter. I'll have to figure out how to fix this (I know I've dealt with this before).

foggy cobalt
#

kk

#

makes sense

clever remnant
#

Yea you can prerender dynamic routes. I did it for my personal portfolio (also built with SvelteKit).

foggy cobalt
#

interesting

#

ill look it over now

clever remnant
clever remnant
#

ok @foggy cobalt it should now be in spa mode

#

aaaaaaand it compiles!

foggy cobalt
#

yeeeee

#

i’ll be free in a bit

#

ahhhh

clever remnant
#

it's 100% working so im gonna merge the branches btw

#

just finished testing

foggy cobalt
#

ok

#

ok

#

redstone

#

you need to remind me every time

#

that we are using pnpm

#

not npm

#

@clever remnant how did we go from 120mb to 330

#

xdd

clever remnant
#

lol

#

thatll be fixed dw

foggy cobalt
#

xd

#

im gonna add page caching

#

i need to finally setup this caching system in the backend

clever remnant
#

Alr

foggy cobalt
#

i saw

#

doesnt have instancing klueless

#

ew

#

doesnt have ksp1 support

#

ew

#

lmfao

#

very nice ui

#

jesus its so laggy

remote hazel
#

to be fair it is still in alpha, and they're in the process of rewriting it

foggy cobalt
#

ikik

#

making it in c# unless they write it in maui it wont be cross platform

#

and maui is pretty freaking uneffienct

remote hazel
foggy cobalt
#

^ yeah but im talking about app frakeworks

#

thats why wpf is only windows

remote hazel
#

ooh i see

#

uh, how functional is Wormhole btw? I've downloaded it, and when I tried to start the install of spacewarp it just closes. Same thing happens when I click browse mods

foggy cobalt
#

dont donwload it

#

we havent had a release in like a month

#

its so outdated

remote hazel
#

oh lmao, i see

foggy cobalt
#

can you build it?

#

i could make a pre-release

remote hazel
#

yeah i can try. what would one use to build it? i'm only familar with building c++ and c#

foggy cobalt
#

rust tauri

#

thats the framework we use

#

completely cross-platform natively

remote hazel
#

aight I'll take a look, thanks!

foggy cobalt
#

if you need any help just say

#

im sure i can help

foggy cobalt
#

make sure to look at this ^

remote hazel
#

yep i've already pulled the repo

foggy cobalt
#

kk

remote hazel
#

is there a specific path i should run the build command in?

#

wait nvm i forgot to install tauri lol

#

@foggy cobalt

foggy cobalt
#

:D

#

you uh

#

hm

#

i forgot what that error was from

#

dw about it for now

#

its not in a release stage

#

:D

remote hazel
#

aight lol, did the build fail though? I honestly can't tell lmao. But the fact I can't find an exe anywhere tells me it probably failed lol

foggy cobalt
#

what command did you do?

#

no

#

tauri isnt a npm command

remote hazel
#

oh

foggy cobalt
#

its a rust command

#

cargo tauri dev

#

^

#

or cargo tauir build

#

you need to do cargo install tauri-cli

remote hazel
#

from where can I install cargo?

#

oh, i think i got it

foggy cobalt
#

cool!

foggy cobalt
#

i dont remember what

#

i think its when you switch from browsing ksp1 mods to browsing ksp2 mods

#

need to fix that

clever remnant
#

I am still working on this btw

#

Just reviving the thread lol

foggy cobalt
#

lol same

#

i have spring break next week so it should be easier for lol

#

or i mean

#

tomorrow

clever remnant
#

Alr

clever remnant
#

Still working on this...

#

Lol

foggy cobalt
#

xd

#

ill have some more time in a bit

clever remnant
#

lol ok

#

btw @foggy cobalt i did do some work on wormhole - i redid a lot of ui

foggy cobalt
#

wow nice

#

i really haven’t had time xd

clever remnant
#

lol

clever remnant
#

o yea

#

@foggy cobalt 1.0 is out!

#

Can we ping open to test mods for it or does it not count?

foggy cobalt
#

hm

#

well i cant ping either way so 🤷

#

@severe mulch i summon thee

clever remnant
#

ok

#

lol

foggy cobalt
#

hm i just tried it out and the search button for both ksp1 and ksp2 crash wormhole

clever remnant
#

o

#

lemme try to fix that xD

#

thats a bug

clever remnant
#

well nodejs decided to be dumb and kill my lockfile

#

now to wait 6 hours while wsl does pnpm i and then commit/push

foggy cobalt
#

lol

clever remnant
#

@foggy cobalt 1.0.1 is out

foggy cobalt
#

oo

clever remnant
#

and its now released

#

bc i forgot to hit upload