Scans all defined images and unpack them to the disk.
(c) Leonid Kozarin kozalo@nekochan.ru [http://kozalo.ru], 2017.
License: MIT.
- Put this file into your
/game/
directory. - Run the game.
- Go to the mod selector in the settings.
- Run the Image Puller mod.
- Click until you reaches a menu.
- Select characters you want and click "Закончить выбор".
- Select sets for the times of day you want and click "Закончить выбор".
- Select a set of sprites depending on the distance between the characters and the player.
- Wait...
- Click on the button named "Выйти".
- See
/Pulled images/
directory.
Follow the steps 1 and 2 from the instruction above. But you have to write some code yourself between them.
Class koz_ImagePuller is pretty universal (at least I hope). But it depends on you to initialize it properly for a certain game.
I see two ways:
- You may call the
pull()
orpull_async()
method somewhere in the code of the game manually. This is a more reliable way.
$ koz_ImagePuller().pull()
or
$ koz_ImagePuller().pull_async()
- You may try to delay the execution of the
pull_async()
method within an initialization block.
This way is less reliable and may not work, but easier.
$ koz_ImagePuller().pull_async(delay=10)
If you want to pull images for only certain characters, pass a list of tags as the only
argument.
Another way to constrain the pulling is to use the exclude
argument, which also gets a list of tags which must be skipped.
There are other filters such as has_components
, exclude_components
, and container_ids
as well.
The first two ones are responsible for filtering over standard Ren'Py image modifiers.
The last parameter lets you constrain pulling from containers up to determined list of indexes.
- The puller doesn't extract all sprites on a large amount of data (#1)