You are not logged in.
Pages: 1
Hello. I have three sprites from polishedcrystal that I want to convert to .png format. Is there any way to do that? Thank you.
Offline
first, find where the image you want to convert is. In the example, I will use a file in gfx/pics. In cygwin, type in the following.
python gfx.py png gfx/pics/yourpokemon/frontorback.2bpp
You can also do this to convert png into .2bpp and also covnert .2bpp to .2bpp.lz by doing this
python gfx.py .2bpp gfx/pics/yourpokemon/frontorback.png
Offline
first, find where the image you want to convert is. In the example, I will use a file in gfx/pics. In cygwin, type in the following.
python gfx.py png gfx/pics/yourpokemon/frontorback.2bpp
You can also do this to convert png into .2bpp and also covnert .2bpp to .2bpp.lz by doing this
python gfx.py .2bpp gfx/pics/yourpokemon/frontorback.png
I've gotten Cygwin and python gfx.py, but now it denies the image I'm trying to convert. What's the problem this time?
Offline
I have no idea what you said means haha. Can you post the output that Cygwin is giving you?
Offline
I have no idea what you said means haha. Can you post the output that Cygwin is giving you?
I took a screenshot of the output and it's on my computer, but I don't know how to upload the screenshot.
Offline
$ python gfx.py png "X:\Downloads\bill.2bpp"
-bash: /cygdrive/c/Users/quintoncole/AppData/Local/Microsoft/WindowsApps/python: Permission denied
Offline
The Cygwin environment is quite separate from the Windows environment. Cygwin should not try to access applications installed under Windows (like applications in your Windows user's AppData directory)
Cygwin should use applications installed in the Cygwin environment. By default, this is found at C:\cygwin64\bin
If you don't see python in that directory, you can install python by selecting the python package in the Cygwin setup wizard
I'm guessing you manually modified your Cygwin PATH to include your user's AppData/Local/Microsoft/WindowsApps/ directory. You may need to undo this in order to avoid further issues, even after properly installing python in Cygwin
Offline
Sorry to necro, I'm trying to do this thing but I get this error
File "gfx.py", line 69
tiles = sorted(enumerate(tiles), key= lambda (i, tile): i % width)
^
SyntaxError: invalid syntax
Offline
Pages: 1