Comments

Log in with itch.io to leave a comment.

Glad these are free, but having a lot of trouble getting individual images for each sprite. Any help would be appreciated!

Much thanks to whomever makes these!

These are great! Although you are missing the crop file of the original pack. I made one for your pack, to be used with the 0x72's python script:

https://gist.github.com/alexandre97costa/cc423fe95a58c81114d3be87911ef4d0

I know I'm very late to this thread but what script are you talking about?

Hi! When I downloaded the pack, it came with a crop script (to separate all the individual sprites into separate files). Idk why the pack doesn't include the script anymore, but I uploaded it here:

https://gist.github.com/alexandre97costa/a1d7ceae3833712eb84bab8b2c689dfb

lmk if you have any trouble using it <3

(1 edit)

Thanks a TON. I actually haven't used python before and am kind of confused on how to run the script.


Update: I have no clue what I am doing and am not sure why python is claimed to be easier than java. I am super lost. I downloaded Python v3.11 and tried copy and pasting your code but it seems to automatically run it and cause errors. Help would be much appreciated. Even if its just telling me the correct place to run these scripts. Thanks again!

Okay so, the python script you can copy and paste into a txt file, and then change the txt to py. Alternatively, you can download it directly from my link. 

It has 2 uppercase variables, IMG_PATH and TILES_PATH. These are where your image is and where the "crop file" is. Notice how the crop file has no extension. This is because the original file also had no extension. If you want, save the crop file as txt and change the TILE_PATH accordingly. I would recommend keeping the file in the same folder of the python script, for simplicity. The IMG_PATH is the same deal, just change it to match the location (and name) of your image.

You then need to have a folder named frames (see line 15), as the script will store the output there.

Then to run the script! Open the folder where your script is located. In the File Explorer, there's an area with the breadcrumbs that lead to that folder (aka the folder location). You can click on that (the text will turn into Something/Like/This), and replace that text with "cmd", without quotes. This should open the Command Prompt in that folder! Then just write "python your-script-name.py" into it and you should see it output a series of lines. If every one of the lines starts with OK, that means that the script did everything right and your crops are in the frames folder.

(+1)

thanks very much!!