Discuss Scratch

jellyfishfisher56
Scratcher
500+ posts

Scratch mod launcher [coming back to this and trying out python]

jellyfishfisher56 wrote:

jellyfishfisher56 wrote:

9gr wrote:

Foxi135 wrote:

-snip-
svelte will work best, since its fast
yeah, i'd choose svelte.
i did something like this before, but i used lua like this at the moment
tbh lua is quite good, but is more for games than things like this
bump











sus
bump
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

hmm.. ill probably redo some parts of this thing to make it compatible. and also i was thinking of adding link to direct download to mod list.

edit: when im looking at this code i think it would be easier to start form beginning.

Last edited by Foxi135 (Feb. 15, 2023 19:03:18)

Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

one or two days ago i started from beginning and its going good so far! UI is going to change, ill try to include as many features i promissed as possible and generally it will be much easier to use (ill be also changing versioning scheme from absolute nonsense to major.minor.patch)
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

this program is a mess, so im trying to remake it in python with tkinter. so far i have no big issues, but idk how i will do the mod downloading part. i guess that's a problem for later, first i will have to make it launch other types of mods. i will work on it myself a bit first before putting it on github
here's the progress so far https://1drv.ms/v/s!Agax4qp_FsqoikAFG1m_sa7MX0Mp

what do you think?

i copied the info about Panther from wiki lol, i needed something to be there
BA4X
Scratcher
63 posts

Scratch mod launcher [coming back to this and trying out python]

Foxi135 wrote:

this program is a mess, so im trying to remake it in python with tkinter. so far i have no big issues, but idk how i will do the mod downloading part. i guess that's a problem for later, first i will have to make it launch other types of mods. i will work on it myself a bit first before putting it on github
here's the progress so far https://1drv.ms/v/s!Agax4qp_FsqoikAFG1m_sa7MX0Mp

what do you think?

i copied the info about Panther from wiki lol, i needed something to be there
i recommend you use sv-ttk for this so the ui is nicer
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

BA4X wrote:

Foxi135 wrote:

i recommend you use sv-ttk for this so the ui is nicer
i will have a look on it. thanks!
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

BA4X wrote:

Foxi135 wrote:

i recommend you use sv-ttk for this so the ui is nicer
like this?

btw, i made it launch Scratch 2.0 mods from swf!

also, im not sure about these things, i might need help
  1. how will i launch 3.0 mods? just “start mod.exe”?
  2. is it legal to include standalone Flash player and SqueakVM? what should i do if not?
  3. am i doing it the right way?
BA4X
Scratcher
63 posts

Scratch mod launcher [coming back to this and trying out python]

Foxi135 wrote:

BA4X wrote:

Foxi135 wrote:

i recommend you use sv-ttk for this so the ui is nicer
like this?

btw, i made it launch Scratch 2.0 mods from swf!

also, im not sure about these things, i might need help
  1. how will i launch 3.0 mods? just “start mod.exe”?
  2. is it legal to include standalone Flash player and SqueakVM? what should i do if not?
  3. am i doing it the right way?
yup! looks nice

2. yes, atleast for squeak
3. i have no idea what any of that code means XD
Maximouse
Scratcher
1000+ posts

Scratch mod launcher [coming back to this and trying out python]

Foxi135 wrote:

am i doing it the right way?
The subprocess module is a better way to launch programs than os.system.
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

BA4X wrote:

yup! looks nice
thanks!

BA4X wrote:

2. yes, atleast for squeak
ok

Maximouse wrote:

Foxi135 wrote:

am i doing it the right way?
The subprocess module is a better way to launch programs than os.system.
i changed it, did i implement it correctly?
def action_openmod(tabi,i,event):
m = modlist[i]
if m["method"] == "image":
a = "SqueakVM/Squeak.exe"
elif m["method"] == "swf":
a = ["flashplayer_32_sa.exe",m["file"]]
elif m["method"] == "custom":
a = m["path"]+"/"+m["file"]
print(a)
subprocess.Popen(a,cwd=m["path"])
MagicCrayon9342
Scratcher
1000+ posts

Scratch mod launcher [coming back to this and trying out python]

Can Linux support be implemented? Both Squeak and FlashPlayer are available for Linux. They both function the same way and all you'd have to do is change the program paths
Foxi135
Scratcher
100+ posts

Scratch mod launcher [coming back to this and trying out python]

MagicCrayon9342 wrote:

Can Linux support be implemented? Both Squeak and FlashPlayer are available for Linux. They both function the same way and all you'd have to do is change the program paths
linux support can be implemented, but first i want to implement downloading. idk when i will be done with the downloading feature, but when it will be done i will put it on github so i then could get help with the linux support.
sry it takes so long, but im working on like 3 things at once

Powered by DjangoBB