in playscii.py since pySDL2 will search the same thing. You's set
os.environ['PYSDL2_DLL_PATH'] = '.'
let me puzzled and used some time to find why I can `import sdl2` but playascii complains that `could not find any library for SDL2 (PYSDL2_DLL_PATH: .)`
Traceback (most recent call last): File "site-packages\sdl2\dll.py", line 113, in <module> File "site-packages\sdl2\dll.py", line 54, in __init__ RuntimeError: could not find any library for SDL2 (PYSDL2_DLL_PATH: .)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "playscii.py", line 25, in <module> File "c:\python34\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module File "site-packages\sdl2\__init__.py", line 2, in <module> File "c:\python34\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module File "site-packages\sdl2\dll.py", line 115, in <module> ImportError: could not find any library for SDL2 (PYSDL2_DLL_PATH: .) [95952] Failed to execute script playscii
You can distribute your game alongside Playscii, using the Windows EXE / a modified Mac app bundle / Python source, by including your game in the games/ subfolder, so there's no export process per se.
On one side it is playscii on the other rexpaint I put two crosses to demonstrate the error in the specific character in the playscii that is not only in the dos charset (the same charset of the rexpaint) also the most charsets have errors in their characters, I was trying to replicate the banner I made in rexpaint at playscii and it was almost impossible, can you fix the charsets? I loved your program ;-;
Is there a way to save a project which is in C64 Petscii format as a compatible file? (As in, I should be able to take said file and put it on a C64 as SEQ and it would be displayable like standard C64 C/G files)
Hi there, sorry for the late response. I've been researching how to do C64 SEQ file export (and maybe import as well) and was having trouble finding info about the file format. I'm making some progress though. It will be available as an import "plugin" like the DOS ANSI file export etc. I'll either post the plugin file here or make it the main part of the 0.9.11 update. No ETA.
SEQ files themselves is just simply SEQuential data, nothing special there. For the C/G formatting, I don't think there should be anything special. It should just be each character to represent a C64 PETSCII character (space, cursor key, graphics, etc). Since you already have the PETSCII character set, the only thing I would figure is to see if those characters actually map up with the character codes.
Beyond that, I can't imagine much more difficulty. Just would need to make sure when you export that it actually does blank spaces. Since Playscii is a static image, you might need to recognize cursor keys for importing. However, exporting this shouldn't be needed. This should only be needed for the animated (movie) C/G SEQ movie files.
If it will help, I can see about tossing you a few files from my BBS collection your way to inspect. I can include both static and animated.
Inside, you will find a few C/G pic files (that on a C64 or in DirMaster, are correctly viewable). In addition, I made BMP images of each, so you can see what they should look like when viewed properly. I also included one C/G animated movie, just in case you find that interesting or useful (prob not as much for Playscii, but whatever).
Zero? I don't understand why I'd sue anyone?! I made Playscii so that people could make things with it, the code is open source and there's no license whatsoever regarding the art you create with it. Do whatever you like!
Is there any way to change the folder you save documents to? I prefer to save documents on a different disk than the C drive, which in my case is an SSD (I just have program files and whatnot on there)
But it seems like that doesn't properly detect when the user has a non-default Documents dir location? That's frustrating, sorry. It looks like there's a module (called winshell) I could use to detect this. I'll add that to my TODO list.
In the meantime, if you're running Win7 or later and don't mind a bit of command line fiddling you could make a symbolic link between your default Documents dir's Playscii/ subdir and your desired Documents dir. https://technet.microsoft.com/en-us/library/cc753194(WS.10).aspx
Neat and technically possible, but unlikely to be worth the massive effort - probably 9-12 months of full-time work. Playscii's UI is mouse and keyboard centric, it's coded in Python which isn't easy to get running on Android, and it uses regular OpenGL instead of OpenGL ES (the mobile flavor).
Well I think that $5 would be a great price for a portable version and hopefully make the development time worth it. Few other developers I really like do that. Desktop versions free, mobile costs. Either way hopefully you decide to, would enjoy doing this to and from work on public transportation.
Edit: Also, if you could port it as is, with the ability to zoom in and out that would be awesome. Though I would use this on my phone, on my tablet as is would be fine. Check out SunVox if you get a chance. Has one of the best interfaces for this sort of thing on mobile.
← Return to tool
Comments
Log in with itch.io to leave a comment.
I love Playscii, I've used it for a while. I cant wait for it to gain some traction.
it is bad to set
in playscii.py since pySDL2 will search the same thing. You's set
let me puzzled and used some time to find why I can `import sdl2` but playascii complains that `could not find any library for SDL2 (PYSDL2_DLL_PATH: .)`
I'm not sure I understand what you're asking or suggesting. Is there a small code change I should make?
Can't run
Traceback (most recent call last):
File "site-packages\sdl2\dll.py", line 113, in <module>
File "site-packages\sdl2\dll.py", line 54, in __init__
RuntimeError: could not find any library for SDL2 (PYSDL2_DLL_PATH: .)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "playscii.py", line 25, in <module>
File "c:\python34\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line
631, in exec_module
File "site-packages\sdl2\__init__.py", line 2, in <module>
File "c:\python34\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line
631, in exec_module
File "site-packages\sdl2\dll.py", line 115, in <module>
ImportError: could not find any library for SDL2 (PYSDL2_DLL_PATH: .)
[95952] Failed to execute script playscii
Is the file SDL2.dll missing from the program directory? I think it's included in the right spot with the Windows build.
Is there any way to export games made using playscii
You can distribute your game alongside Playscii, using the Windows EXE / a modified Mac app bundle / Python source, by including your game in the games/ subfolder, so there's no export process per se.
Another thing you see is on the character set
On one side it is playscii on the other rexpaint I put two crosses to demonstrate the error in the specific character in the playscii that is not only in the dos charset (the same charset of the rexpaint) also the most charsets have errors in their characters, I was trying to replicate the banner I made in rexpaint at playscii and it was almost impossible, can you fix the charsets? I loved your program ;-;
Hey brow, i cant export to png ;-; any solution? it said permission denied.... i tried to star as admin but nothing
Is there a way to save a project which is in C64 Petscii format as a compatible file? (As in, I should be able to take said file and put it on a C64 as SEQ and it would be displayable like standard C64 C/G files)
Hi there, sorry for the late response. I've been researching how to do C64 SEQ file export (and maybe import as well) and was having trouble finding info about the file format. I'm making some progress though. It will be available as an import "plugin" like the DOS ANSI file export etc. I'll either post the plugin file here or make it the main part of the 0.9.11 update. No ETA.
SEQ files themselves is just simply SEQuential data, nothing special there. For the C/G formatting, I don't think there should be anything special. It should just be each character to represent a C64 PETSCII character (space, cursor key, graphics, etc). Since you already have the PETSCII character set, the only thing I would figure is to see if those characters actually map up with the character codes.
C64 Petscii codes and Symbols
Beyond that, I can't imagine much more difficulty. Just would need to make sure when you export that it actually does blank spaces. Since Playscii is a static image, you might need to recognize cursor keys for importing. However, exporting this shouldn't be needed. This should only be needed for the animated (movie) C/G SEQ movie files.
If it will help, I can see about tossing you a few files from my BBS collection your way to inspect. I can include both static and animated.
Some samples would be great actually, thanks!
I can't seem to find a way to post files here (suspect you can't), so here is a link to download a small collection.
C64 C/G Picture collection
Inside, you will find a few C/G pic files (that on a C64 or in DirMaster, are correctly viewable). In addition, I made BMP images of each, so you can see what they should look like when viewed properly. I also included one C/G animated movie, just in case you find that interesting or useful (prob not as much for Playscii, but whatever).
Hope this helps!
Zero? I don't understand why I'd sue anyone?! I made Playscii so that people could make things with it, the code is open source and there's no license whatsoever regarding the art you create with it. Do whatever you like!
This is the coolest thing I've seen since TheDraw 4.63 for DOS :)
Is there any way to change the folder you save documents to? I prefer to save documents on a different disk than the C drive, which in my case is an SSD (I just have program files and whatnot on there)
I'm using this code to detect the user's Documents dir: https://stackoverflow.com/questions/6227590/finding-the-users-my-documents-path/...
But it seems like that doesn't properly detect when the user has a non-default Documents dir location? That's frustrating, sorry. It looks like there's a module (called winshell) I could use to detect this. I'll add that to my TODO list.
In the meantime, if you're running Win7 or later and don't mind a bit of command line fiddling you could make a symbolic link between your default Documents dir's Playscii/ subdir and your desired Documents dir. https://technet.microsoft.com/en-us/library/cc753194(WS.10).aspx
What about an android port?
Neat and technically possible, but unlikely to be worth the massive effort - probably 9-12 months of full-time work. Playscii's UI is mouse and keyboard centric, it's coded in Python which isn't easy to get running on Android, and it uses regular OpenGL instead of OpenGL ES (the mobile flavor).
Well I think that $5 would be a great price for a portable version and hopefully make the development time worth it. Few other developers I really like do that. Desktop versions free, mobile costs. Either way hopefully you decide to, would enjoy doing this to and from work on public transportation.
Edit: Also, if you could port it as is, with the ability to zoom in and out that would be awesome. Though I would use this on my phone, on my tablet as is would be fine. Check out SunVox if you get a chance. Has one of the best interfaces for this sort of thing on mobile.
Hey know this is free/nyop, but I gave up my last $0.50 to show you some support ;).
As ever, thanks for this. It's lovely, and makes me wish I sucked less at ASCII art.