Skip to content

Python script to dump sprites and textures from the Where's My Water? series of games.

License

Notifications You must be signed in to change notification settings

E12Dragon/WMW-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WMW-Extractor

Python script to dump sprites and extract Waltex textures from the Where's My Water? series of games.

Requirments

WMW-Extractor needs Pillow, Numpy, lxml, opencv-python and colorama to be installed. If you do not already have these libraries installed, you can use the below command.

pip install -r requirements.txt

How to use

  • Run main.py
  • Select function to use
  • If converting/extracting all files place them inside the "in" directory (is created when main.py is executed)
  • Files are dumped in the respective out folders which are placed in the same directory as main.py

Notes

  • Waltex files are converted into pngs prior to sprite cutting. The extracted pngs as whole textures are dumped in the out-waltex folder.
  • WMW2 has some large texture atlases which are split into multiple texture files but only have one imagelist file. The script should select the correct list of sprites to use given the texture otherwise you are prompted as to which split you are using.

Credits

  • A big thanks to campbellsonic and ego-lay-atman-bay for doing the hard working and creating a script that processes waltex files.
  • Thanks to LolHacksRule for their noesis script that reads important bytes of waltex files and the "width hack".

About

Python script to dump sprites and textures from the Where's My Water? series of games.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages