Skip to content
/ wfax Public

World Flipper Asset Extractor CLI

License

Notifications You must be signed in to change notification settings

blead/wfax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Flipper Asset Extractor CLI

This project is implemented as a slightly more automation-friendly alternative to existing tools. It takes many inspirations and references from https://github.com/ScripterSugar/wdfp-extractor. Thank you for your hard work.

Installation

Binary Releases

See Releases.

go install

go install github.com/blead/wfax@latest

Build from Source

git clone https://github.com/blead/wfax
cd wfax
go build

Usage

Fetch new (diff-only) raw assets for version 1.600.0 into ./dump directory:

wfax fetch --diff-only --version 1.600.0 ./dump

Fetch raw assets from custom API and CDN endpoints (file URIs are also supported):

wfax fetch --custom-api file:https:///assets/asset_lists/en-android-full.json --custom-cdn file:https:///.cdn ./dump

Fetch character comics (--comics 1) with 10 maximum concurrent requests into ./comics directory:

wfax fetch --comics 1 --concurrency 10 ./comics

Extract assets with 2 spaces indentation from ./dump into ./output:

wfax extract --indent 2 ./dump ./output

Extract character image assets for eliyabot:

wfax extract --eliyabot --no-default-paths ./dump ./output

Extract equipment image assets for eliyabot:

wfax sprite --eliyabot ./dump ./output

Pack extracted files in ./output into raw assets in ./repack:

wfax pack ./output ./repack

For more detailed information, use wfax help.

Supported Assets

The main focus currently is extracting text files so other assets are not fully supported.

  • Ordered Maps
  • Action/Enemy DSL files
  • Image assets for EliyaBot
  • Comics