I don't know if people would want this, but me and Avi worked on it a while back and i could continue development if people want a separate from the browser desktop app?
We worked on this before payment and stuff was added so for now it would just be the web version, but i am much more versed in web development/javascript development now and could do a lot more to it!
#Magic Garden Desktop App
541 messages · Page 1 of 1 (latest)
I think that would be cool.
Firstly
I need it
Yes the desktop app does have discord account support
Yea that was important lol
What are yyour guyses githubs
its been ages since ive even used my acc
Buildding it rn is a bit funky so i would say just run it from an IDE or from the nodejs terminal
Myke247
It uses electron btw
should also be Brooky340
One sec lol i forgor my two factor
lemme recover it
OH IM EMBARESSED
what
I made this in MIDDLE SCHOOL
HAH
when I was still addicted to undertale
(WHICH IS IRONIC CUZ I JUST STARTED DELTARUNE and got back into it help-
oh I secured it hold on
lol
its been ages oml
I am using jetbrains fleet rn but vs code works too
I would reccommend vs code
or you can use the one in releases
but idk if it works lol
?????????????
In what way
Its a seperate app stilll
but
It is just faster
than using base chrome
and technically faster than discord
still the web version tho
I just meant any chromium based browser
ahh!
me when opera gx
I TRIED that
I use firefox on linuux
I have yet to set it up on my end
So basically i was thinking
it might be cool
if it had support for like mod files
so you just double click on a "Mod"
and it installs into the app
and mod devs would have a framework that interfaces with the app, and then the app interfaces with the game
idk that might be far ahead tho
Wait
It has discord rpc lol
i forgot about that
@crude hollow I like this app ver
How do we connect to other players for that boost if they dont have the app?
sorry lmaoooo! im new new to this game
so the interface is still uh-- new for me
Magic Garden?
Anyything before that?
Uh--no
I heard of it but never touched it
Never touched web ver
Ah
Well you can only become host on discord
Well
Uh
Unless your me
I'm the host now heeeeeeeeeeeeeehehehehh
the one that barely wants to be clicked 
AHHHHHHHHHHHHHHH I ALREADY HAVE BUGS TO FIX FRICK
Yup
lol
YEAH THATS RIGHT
Okay well i guess this is back in development
are these real people OR.... bots?
slight-- oh java?
I know what you meant
Slight, I havent done code in a hot minute
Welp, feel free to ad to this or make suggestions
Idk how much time i'll have to work on it
but
i will
can i dm u im curious abt something
sure
i don't need to be freinded to be dm'd
12, where do we find the room codes?
ALSO DOUBLE games
still in it on discord and app lmao
Technically...
THIS BENEFITS ME A LOT NOW WAIT!!!
Now at work away from my pc I can idle all day on app ver get weather procs and be happy while I can slip into rooms on mobile all work and sell
oml W
it says i cannot send a dm
It wil still save right?
yyup
you actually made my life so much easier
the reason I got 16 mythical eggs was for seed finder III because I rarely have the time for shop reset seeds I need
bamboo and cacti seeds were so low for me cuz of it
I'm uhh
A bit confused
on how
that's possible?
Wtf?
That's like
a whole script in game that stops that
I wouuld uhh
be careful with that lol
It seems fine
Correct
The room codes like the pic I sent in discuss? It’s from MGTools
I found out
Also it sorta works and sorta doesnt.
If I do something in the other the next one will have a pop up and say it was in another part
woah this is cool and its in electron??
yes it is in electron
I'll keep working on this over the weekend but I was wondering myke if you possibly wanted to help?
I may have some time to look into it today. 😛
Looks cool, I think that many people would like that, especially if it supports the mods on here
Glad to see people are interested
Im gonna def add the background stuff so it doesnt disconnet
and i think it would be interesting to add a custom package for interfacing with like nodejs or lua or python so people can more easily create mods
Especially if (with mykes permission) i implement the code that fixes certain things from MGTools
I’m about to release a major update for mgtools. And sure ! Absolutely have my permission. This is a public script I’m completely happy with others doing whatever they want with it. Although, to not both be working on it at the same time I’ve always built things on the side first, then integrated it so there isn’t 2 versions and each 1 has 1 of each of the new features haha
Oh ye!
SO COOL
@crude hollow There is another issue I need to address, when you type in a code to a room and its full, you cant go back or exit it. You have to close the app every time
I have this pinned to my task for ease
Also I thinkl when you fixed the menu on the top left you made the bottom cut off
Yes, i can fix a lot of these
But ctrl+r does reload the page (technically the web version)
I will have to add a lot more code injection & style injections for things to look correct
that's because there's an element that is added when it detects the desktop client for the bar at the top, but the game doesn't recognize that the bottom should be cut off
Okay i'm starting to implement some stuff for fixes
Awesome, I’m still planning to look at this and help, just trying to get this new UI and the script a nice stable version. Have a couple bugs to work out
Sorry I haven’t been able to look much yet
I have implementeed the background never disconnect thingy but i am thinking that i might just set it up to be longer before it disconnecvts that way you can't just afk in public lobbies you have to click/move the mouse cursor/type any key after like 3 hours or smthn
That's okay!!!!!! I also haven't been looking at it uuntil rn lol
am thinking of adding a custom "console" that has pre set commands to test stuff out but isn't the actual chrome console
we shall see...
i also have to fix alignment issues first tho
WHAT
I THOUGHT THIS WWAS BROKEN BUT APPARENTLY THE BOTTOM IS FIXED NOW?
okayyyyyy
well that fixed itself
lol the best kind of issue to have
yup!
hang on...
one sec lemme see something
nope!
It just fixed itself
weird
idk but that's nice
by the way i will commit to repo soon so youu can take a proper look at the current code
yeah but I wanna AFK in private lobbies without disconnecting tho 😭
That's fine, i meant public lobbies lol
But i guess that's only on discord
*i haven't finalized anything yet btw
ah but won't removing that option also mess up no disconnecting in private?
???
Isn't that what we want
no disconnecting at all?
that way if youu click off it doesn't disconnect
its been pushed
I have added the no disconnect code as well as added a custom dev console for easy access to custom function testing
Just pushed another update lol, had to make sure that yyouu couuld join a random room from the console
waiti think i misunderstood
thought you said you wanted to remove No Disconnect
No
my bad lol
but yeah the after 3 hours thing is like
I dont want that to happen to me when I let my PC on as I sleep in private lobby HAHA
cause I want the weather events to hit my private lobby XD
as I sleep
@craggy breach to access the dev console its ctrl+d btw (feel free to add more console commands while testing or reallyy adding anything)
Ohhhh
Yeah i can just add some custom settings
i need to do some laundry tho so see you in a little
Uhhhh when any obvious bugs are smooothed over
then i can just public it
on github
ovo really cool you're doing this
ye it was originally me and avi working together on it but we just kinda stopped development
This was before it was focused on magic garden
but now that magicgarden is here it works a lot better
@lavish prawn you can also build it and your problems should be fixed for now, just set up nodejs and vscode and you should just be able to clone it with github and build it
@craggy breach One sec btw i'm adding one more command but feel free to pull and look thruu the code lemme add the set player name command and then youu can edit it if you want!
Kay
Lemme commit it
Committed!
@craggy breach Do youu happen to know how to get the players current cosmetics?
I work Sundays unfortunately but Im sure I can figure it out
oki
oki
window.MagicCircle_RoomConnection.lastRoomStateJsonable.data.players[n].cosmetic
thx
cute
Making some progress on commands
@craggy breach or @short pilot Do either of you know how to do teleporting because whenever i try doing it with network requests it never works
this is still so awesome, any way i can help out? i have prior dev experience in js/ts
because you dont teleport locally through websocket messages, it only determines where others/the server sees you
oh
Yeah!
Do ye have a github?
If your wondering by the way i'm thinking of adding a bunch of console commands and then making it so you can create "extensions" or "addons" or "mods" that allow you to uuse something similar to the console commands to add stuff to the game
yes, my github is chrisgocode
Oki I'll add you in a little bit
adding you in 20 mins i wasn't at my computer last night lol
current idea for the icon
doing this now
Kay done!
Lol
You design an icon then loll
id be happy if someone else who knows wwhat they are doing did it
i like icon just dont want icon where kitty looks like its suffering LOL
you just want a game character cropped out ?
ok
its ok
i just realized
with the same stuff
i might be able to make an android app
(not with electron)
but
Oh nice, kotlin dev stuff is fun
I just cloned the repo and dev console is really cool, what other commands were you thinking of adding?
Uhh just anything that can interact with the game
like teleporting for example
*also make sure your on the latest commit
Ye lol
🤣
sounds good! i'll try to take a look this weekend since i'm busy with midterms at the moment. i also need to figure out how sending messages to the magic garden server works since this is my first time messing with it at all
oh yeah if u want the PSD just ask loll
Oki sounds good!
@young cliff & @craggy breach ima commit some stuff today as well as tomarrow but not as much over the weekend so if either of you wanna add some stuff that's ay okay
Sounds good, I have a goal for MGTools I’ve been struggling with so I’m hoping to get it fixed up and move on to other things very soon.
oh btw to the people that have access to the app i just realized if your not a beta tester you can still see beta features by joining a beta room with the command, pls don't accidentally leak anything lol
@craggy breach @short pilot How would you know if the idle prevention worked?
like would this still happen?
ayyy
i got this to work
we can add stuff to settings now
Should i add a seperate app settings tab or something else?
Just minimize and check in like 1 min lol
With the script or without it?
Which script?
The idle prevention
I’m not quite sure what you’re asking, do you mean a script that’s part of the game’s internal workings, or an external script?
an external script
//THX MYKE FOR YOUR CODE IMA PUT IT HERE!
try {
Object.defineProperty(document, "hidden", {
value: false,
writable: false,
configurable: false
});
Object.defineProperty(document, "visibilityState", {
value: "visible",
writable: false,
configurable: false
});
window.console.log('✅ [IDLE-PREVENTION] Document properties overridden');
} catch (e) {
window.console.warn('⚠️ [IDLE-PREVENTION] Could not override document properties:', e);
}
// Block idle detection events with capture phase (highest priority)
document.addEventListener("visibilitychange", (e) => {
e.stopImmediatePropagation();
e.preventDefault();
}, true);
window.addEventListener("blur", (e) => {
e.stopImmediatePropagation();
e.preventDefault();
}, true);
window.addEventListener("focus", (e) => {
e.stopImmediatePropagation();
e.preventDefault();
}, true);
window.console.log('✅ [IDLE-PREVENTION] Event listeners added with capture phase');
This one
*from mgtools
Was originally provided to me by Normie in #1419040476320759810 but sure 👍🏻 glad to see you’re making progress.
rejoin image
AYYY
Okay it works
My weird solution wworks
AND IT WORKS WHEN BUILT
YAYAYAY]
@regal crane you were the one who asked when it was coming out right
well
ima put a canary(beta beta) version here
There it is
i'll send the installer in a bit if wanted
I'm not on pc rn but ty
👍
oh @short pilot is there a way to figure out what the number of the player is that you are bc i have it set to 0 rn but that's not always the player that you are
AYYYYY
I JUST ADDED
magic-garden://r/test
THIS
SO IF YOU TYPE THAT AND GO TO THAT IN THE BROWSER
IT OPENS THE DESKTOP APP
AND GOES TO THAT ROOm
here is the built installer
mmm
i love problems
So you need to launch through the link i sent
Otherwise it errors lol
Sending a fixed one soon
There ^^^^^^^^^^^^^
okay
i gotta go to bed now
its 11:20 pm
so
gn
and i'll fix stuff tomorrow
Okay
i have mgtools notifications working but instead they are iin the windows notiification bar
ayyyyyyyyyyyyyyyy
@craggy breach Ima update the repo wiith the modified mgtools in it
but
uhh
it would be greatly apreaciated
if
you updated it to be ii little less glitchy
*feel free to mess around with electron
Yep I’m working on it np
btw if you have any queestions feel free to ask just know it might take a bit and make sure to ping me!
@craggy breach Im thinking that for the mgtools features we separate the ui to something thats styled after magic gardens ui but instead of being built in chakra we make it in mantine (or just bootstrap or smthn lol), https://ui.mantine.dev/
and that we rework the existing settings menu into the custom one
that way its unified and we can add more settings then there are now
like for performance or anything app specific or even mods
Im also thinking of making a public rooms system like mgtools but with a big database that checks if the room is still open, and basically the room code is a limit of 10 chars and doesnt accept innapropriate names eg swear words or offensive words through filtering
That way anyone can just make their room public but we shall see
What do you want to store in the database?
Just the room codes
nothing else
and only if the user opts in
not enabled by default
Ah okay, so to make them permanently visible? I see, sounds nice
Yep, basically it wouldnt log any information or anything just show the public rooms and the number of players
however with firebase its a limit of a gig
so if people start using it a lot it might reach the limit (but that would be insane lol)
Yeah, I guess you would have to store a looooot of codes to reach that xD
especially in plaintext xD
If it was encrypted? maybe
but
its frickin room codes
so
doesnt need to be
Arie's mod tool has this kind of thing its really neat
u should echeck it out
it has all rooms including the #play ones
MGTools does now as well
Just need to pull player counts when playing on browser, but the play rooms are joinable through the rooms icon.
Edit: Completed btw
Working on restructuring mgtools so it will be easier to fiddle with and navigate. 🙂
@craggy breach Is the firebase database in mgtools real or a placeholder one
Thats was used to retreive player rooms, but has been useless since the tool now use mg apis
Yes
Anything else or just player counts?
Basically, I think he didn’t realize he could use the API directly for this, so he built his own version with Firebase. I believe he also wanted to store player names to find a given player’s room
Ah
Oki
Just wanted to make sure before a make a big database for people to make public rooms with a system to delete empty rooms from the database
Btw should i add tags for rooms
like you can add custom tags for people to quick find rooms with that tag
Are you trying to make some kind of room manager?
A public room registry so people can join public rooms and make their rooms public if they want
Okay
*not exclusive to the desktop app just wanted to do it
I think it would be cool if it could be implemented into mg tools
Just thinking, if we use a Firebase DB, we could basically recreate a friends list, right? Store some player data plus their last ping to see who’s online, maybe their balance, and even let you join their room directly
but thats up to myke, and me making it safe
yup
I wanted to build something like that, but I’m not comfortable securely writing data from a script without a backend server
uhhh yeah, i would have to make actual security for that
I could
with like
freind codes averaging into an encryption key
and thats how you access the database or smthn
ohh
but i would have to make signups
and
Ye idk
That would be pretty complicated
i could probably do it
its just
Not sure if it would be too useful
haha that’s why I kinda dropped the idea, I’m not really sure how to do it either
You would have to make a seperate website for people to log into
and on that website it could generate a code
We should check with Myke how he handles database writes, he might have some ideas
then mgtools or the desktop app would allow you to log into the frend service with said code
and then
whalla
thats really complicated for just a feature ahah
Well
But we would have to either generate a key off of discord names/id (not good because if its in the script people could just fake it in the script and log in as you) or make a login system
therefore
website
with login system
Originally, I wanted to use the same Discord auth Magic Garden uses for login, but I had no idea how to set it up
not possible, would have to make a custom one sepearate one which would be similar to a website log in system
Or just use the token that Magic Garden’s auth already gives you
also making a new settings ui and how do you think it looks so far:
https://9000-firebase-mgdesktop-settings-1760389986004.cluster-3ch54x2epbcnetrm6ivbqqebjk.cloudworkstations.dev/?monospaceUid=476587&embedded=0
maybe possible
still concerned about security tho
Yeah, I’ve never really built this kind of script, so I’m not sure how to handle security either
@craggy breach What do we think about the public rooms convo that me and romann had?
I’ll check this out after work
thx
To comply with the new modding rules I will public the GitHub repo as soon as I can but please note that the app is still Very much not done with its first release and still has a good way to go
Also because I need more people to help bug test and this makes it more easily accessible
Yes exactly
So the only reason I haven’t done this yet tbh, because I mean we know it’s super simple to make a chat or something right? Is that I don’t want to take away players from being active in the discord.
Although like having a friends list, and joining off of them is something planned, a new version of MGTools will be out soon with all known bugs fixed.
Then the plan is modularization and enforced linting
Oki
@hereThe repo is public now:
https://github.com/Umm12many/magic-circle-desktop
DO NOT USE THE RELEASE THERE
IT IS OLLDLDDDD
Btw If anyone has coding expertise in JS or nodejs than you are welcome to help
Whish I could pin that but I can't.
Lol
@livid ivy or @craggy breach or @short pilot any of you guys up to helping me figure out how to hook into the settings menu with atoms? (and also how to use atoms lol)
I don’t think this menu is tied to the game, so we can’t really interact with it using atoms
Oh
why isnt the in-game settings menu interactable with atoms?
Like
OHHH
BECAUSE ITS THE CHAKRA UI THING
Is it because the game is seperate from most of the ui?
welp guess ill ask avi for help lol
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER, @livid ivy you are excluded from this rule because why not and its probably still easier to chat here (if you wanna), nobody else is excluded
https://discord.gg/p7XVa6fuw
(but we can also chat in the server it doesnt really matter)
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER, @livid ivy you are excluded from this rule because why not and its probably still easier to chat here (if you wanna), nobody else is excluded
https://discord.gg/p7XVa6fuw
*I'm doing the same thing myke is, in hopes that people can find mgdesktop
*(i'll stop if asked by a mod or avi)
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/jNnhzevA7
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/jNnhzevA7
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/PwYGtT4w7f
Moved servers for support and having seperate channels
The magic garden desktop app has officially moved to the MGTools Discord server so i can have a seperate support channel, have more collaborators, and be able to also have its own releases channel.
Thank you for coming with me so far, DO NOT ASK QUESTIONS HERE, DO NOT ASK FOR RELEASES HERE, THIS THREAD IS DEAD AND PLEASE USE THE SERVER,
https://discord.gg/PwYGtT4w7f
just adding a progress log here, i have been constantly adding to this, but MGTools (in a medium working state) is added to the app now, and i will be ccontinuing to update this
im hiding now


