Skip to content

Fixed PNG file sizes

Pre-release
Pre-release
Compare
Choose a tag to compare
@WarlockD WarlockD released this 26 Jun 17:24
· 38 commits to master since this release

Looks like the png files for textures were WAY to big. Fixed it as I had the wrong offset calculation again.

Anyway to use:

Underdecomp data.win [-png] [-mask] [-constOffsets] [-oneFile] [-search] [chunktype|search_term]
  • -png to extract all the sprites and backgrounds into individual files
  • -mask extracts the calculated mask that is stored in the sprites if it exists.
  • -constOffsets will add a comment to all assignments that have a simple constant left value. The offset is to the data.win's start so you can use this to mod the data.win.
  • -oneFile combines all the xml/json data into one mega file. EXPERIMENTAL
  • chunktype can be blank for eveything or one of these:
    objects, backgrounds, code, sprites, fonts, scripts, rooms, sounds, paths, eveything
  • -search will find code/sprites/rooms/etc that have text containing in [search_term] and output it to the directory the exe is at

For example, if you want all the sprites and the pngs from them, type:

Underdecomp data.win -png sprites

It will extract everything to the folder where the exe is at.