msikma / pokesprite-gen

Spritesheet generator for efficiently including PokéSprite images in websites
MIT License
11 stars 3 forks source link

Detailed install guide or links #2

Open koenigderluegner opened 3 years ago

koenigderluegner commented 3 years ago

Hello, I tried installing this repository to generate a newer version of the spritesheet, but I can't get it to work. I'm mainly using npm, but it seems for this repository it's required to use yarn. With a fresh install of yarn and different approaches with install and whatnot I wasn't able to figure out how to set it up.

I always got the error that pokesprite-gen-lib wasn't found until I added it to package.json of packages/cli. After that I get an error that dada-cli-tools is corrupt and cannot be used. Is there anything im missing?

isabroch commented 3 years ago

@koenigderluegner Hi, it looks like you figured this out? I saw you made a new pull request on their spritesheet. Any chance you could explain how you got it working? I've been butting heads with it for a while.

isabroch commented 3 years ago

For those who come here in the future:

koenigderluegner has forked the repo (https://github.com/koenigderluegner/pokesprite-gen/tree/fix-broken-build) and made some fixes that allow it to be run locally - most importantly replacing the dada-cli-tools yarn package (which is corrupt) with a link to the git version.

If after you run npm i, you try the command it says the command does not exist, run npm link. Then, open a new terminal instance and the command should work.

To get the latest version of pokesprite generating, you must change the version of the pokesprite-images dependency in lib/package.json.

khyeborg commented 1 year ago

Hi, I'm trying to generate a gen7x spritesheet, but I'm not sure how to. Any help would be appreciated :)

msikma commented 1 year ago

Hi all, I made this package long ago and then kinda stopped working on it because it seemed to me that the overwhelming majority of people weren't interested in using the sprites as a spritesheet.

I haven't actually used this package myself in quite some time and I used a personal package (dada-cli-tools) for it which I shouldn't have, since that's really for personal use and I break it occasionally. So it probably needs some reworking. I'll put it on my todo list to look into when I have some time!

khyeborg commented 1 year ago

Thank you so much! Appreciate your response and effort!

msikma commented 1 year ago

Sorry about the trouble. In the meantime I think you could try the koenigderluegner fixes that isabroch mentioned above, although I haven't personally tried it.

codemonkey85 commented 1 year ago

@msikma For what it's worth, I'm currently working on a web project to view / edit Pokémon save files, and I'm using https://github.com/msikma/pokesprite-spritesheet for the sprites (it's made things pretty easy). I'd personally love and appreciate an updated sheet. 😄