Discuss Scratch
- danwoodski
-
100+ posts
Panther2EXE
Upon request, here is a new Panther2EXE thread!
*Based on Jens' Scratch2EXE*
Download:
No Buttons - The flag, stop, and exit buttons are gone. Pressing enter can still be used as a substitute for clicking the flag.
Windowed (shows in a window about the same size as the preview pane/not fullscreen)
Also note that there is a glitch in the windowed format that asks if you want to save the image file when you click the close button. If you know how to fix this, please let me know how below, because it's very annoying. For now, I recommend creating your own close button using the custom close block (see block library) and telling users to use that instead.
Normal - Fullscreen, with the buttons at the top.
Usage Instructions *Please Read*
Panther2EXE is exactly the same as Scratch2EXE, only it compiles using Panther's files instead of Scratch's. However, it still wants files in the .sb format. So, you have to change the file extension of your panther project to .sb. Don't worry, it doesn't change any of the file's contents. To do this, you have to make it so you can see the extension after the file name, if it isn't showing already (e.g., your project would show as project.pt instead of just project), by going to control panel -> appearance and personalization -> Folder Options -> View tab -> Uncheck the box that says ‘hide extensions for known file types’. Now all you have to do is go to your project's file, and rename it so it's project.sb instead of project.pt. Now you should be able to find your project in Panther2EXE.
If these instructions were too confusing or you have other questions or comments, please post below!
*Based on Jens' Scratch2EXE*
Download:
No Buttons - The flag, stop, and exit buttons are gone. Pressing enter can still be used as a substitute for clicking the flag.
Windowed (shows in a window about the same size as the preview pane/not fullscreen)
Also note that there is a glitch in the windowed format that asks if you want to save the image file when you click the close button. If you know how to fix this, please let me know how below, because it's very annoying. For now, I recommend creating your own close button using the custom close block (see block library) and telling users to use that instead.
Normal - Fullscreen, with the buttons at the top.
Usage Instructions *Please Read*
Panther2EXE is exactly the same as Scratch2EXE, only it compiles using Panther's files instead of Scratch's. However, it still wants files in the .sb format. So, you have to change the file extension of your panther project to .sb. Don't worry, it doesn't change any of the file's contents. To do this, you have to make it so you can see the extension after the file name, if it isn't showing already (e.g., your project would show as project.pt instead of just project), by going to control panel -> appearance and personalization -> Folder Options -> View tab -> Uncheck the box that says ‘hide extensions for known file types’. Now all you have to do is go to your project's file, and rename it so it's project.sb instead of project.pt. Now you should be able to find your project in Panther2EXE.
If these instructions were too confusing or you have other questions or comments, please post below!
Last edited by danwoodski (May 19, 2013 17:20:56)
- PullJosh
-
1000+ posts
Panther2EXE
Great program! I used it to turn my panther project into a screensaver.
- danwoodski
-
100+ posts
Panther2EXE
Hmm…first double check that you have a Scratch2EXE folder inside your main documents folder. If that doesn't work, let me know which version you're using (windowed, no buttons, or normal) and we can go from there.
- BoyKetchup
-
96 posts
Panther2EXE
How does the finished EXE access files? I made a quiz program, but I don't know where to put the files so the finished EXE will find them.
- danwoodski
-
100+ posts
Panther2EXE
The EXE should run without needing any additional files - Panther2EXE basically takes all the required files and packages them into 1 file so it can be run easily on any windows PC. How does the finished EXE access files? I made a quiz program, but I don't know where to put the files so the finished EXE will find them.
- BoyKetchup
-
96 posts
Panther2EXE
Sorry, that's not what I meant. Panther has blocks that allow it to access files. My Quiz program is able to interpret quiz files (“.qz”) into a quiz you can take. My question is, when the file blocks are converted, where do they access the files? Does it get them from the folder the EXE is in? Here is the download for my quiz project so you know what I mean.The EXE should run without needing any additional files - Panther2EXE basically takes all the required files and packages them into 1 file so it can be run easily on any windows PC. How does the finished EXE access files? I made a quiz program, but I don't know where to put the files so the finished EXE will find them.
Panther Project (Google Drive)
Above is the Panther Project that interprets .qz files.
Quiz File
Click the link above to go to the download page for a basic .qz file. For it to work, put it in the Panther program folder.
- danwoodski
-
100+ posts
Panther2EXE
Ah, sorry, I misunderstood you…my best guess would be that it would be the folder the exe is in, but I'm not 100% sure (try it out and let me know if that isn't the case)Sorry, that's not what I meant. Panther has blocks that allow it to access files. My Quiz program is able to interpret quiz files (“.qz”) into a quiz you can take. My question is, when the file blocks are converted, where do they access the files? Does it get them from the folder the EXE is in? Here is the download for my quiz project so you know what I mean.The EXE should run without needing any additional files - Panther2EXE basically takes all the required files and packages them into 1 file so it can be run easily on any windows PC. How does the finished EXE access files? I made a quiz program, but I don't know where to put the files so the finished EXE will find them.
Panther Project (Google Drive)
Above is the Panther Project that interprets .qz files.
Quiz File
Click the link above to go to the download page for a basic .qz file. For it to work, put it in the Panther program folder.
Also, it may be easier if you used the get file from url instead for the quiz files and just upload them to dropbox, for example. Just upload the file into the public folder in your dropbox, click copy public link and paste the url into your project (note - you'll need to change the https to http). I just tested it out with your quiz file and it seemed to work.
Last edited by danwoodski (March 24, 2014 00:58:13)
- DigiTechs
-
500+ posts
Panther2EXE
If I'm right, you can change the filetype from .exe to .zip by renaming it. Once you've done that, open it with a zip archiver and then place your .qz files in there. When you read them in the program, you'll want to use something which will return the directory in which the Image file is; which when ran, will be a temporary directory containing an uncompressed version of the contents of the executable. Your .qz files will be in there when you read them using Panther.
- BoyKetchup
-
96 posts
Panther2EXE
It keeps telling me the zip file is invalid. I can't extract it or put files inside of it. If I'm right, you can change the filetype from .exe to .zip by renaming it. Once you've done that, open it with a zip archiver and then place your .qz files in there. When you read them in the program, you'll want to use something which will return the directory in which the Image file is; which when ran, will be a temporary directory containing an uncompressed version of the contents of the executable. Your .qz files will be in there when you read them using Panther.
I see what you mean though. I saw the read-me file, I Just don't know what kind of archive it puts it in. If you can, try contacting the creator of scratch2exe, he probably knows. I couldn't find any forums for the original program. I did find where it extracts the files to when it runs, and was able to make a quiz work, but I need it to come with the program and not have to be put in some obscure tmp folder.
Last edited by BoyKetchup (March 24, 2014 20:22:33)
- DigiTechs
-
500+ posts
Panther2EXE
That's weird. BYOB might use something else instead. It might be worth looking at the Chirp documentation, I think that's what the BYOB ‘compiler’ was based upon.
- BoyKetchup
-
96 posts
Panther2EXE
I just finished writing some batch files that auto install the ‘compiled’ panther project, along with the quizzes. It works, and I programmed it to update itself! In other words, problem solved!
- rockymountainboy
-
18 posts
Panther2EXE
i did everything it told me to do and even tried putting the panther2exe in the documents file and it doesnt work.it keeps saying compile error code: 1
plz help cause it is better than byob because it has the read file command and mesh command and would love for it to work.
plz help cause it is better than byob because it has the read file command and mesh command and would love for it to work.
- danwoodski
-
100+ posts
Panther2EXE
Wow, it's been a long time since I've looked at this… i did everything it told me to do and even tried putting the panther2exe in the documents file and it doesnt work.it keeps saying compile error code: 1
plz help cause it is better than byob because it has the read file command and mesh command and would love for it to work.
Do you have a folder called Scratch2EXE inside your documents folder? That is the most common issue.
- rockymountainboy
-
18 posts
Panther2EXE
thanks its working nowWow, it's been a long time since I've looked at this… i did everything it told me to do and even tried putting the panther2exe in the documents file and it doesnt work.it keeps saying compile error code: 1
plz help cause it is better than byob because it has the read file command and mesh command and would love for it to work.
Do you have a folder called Scratch2EXE inside your documents folder? That is the most common issue.
