|
|
||
|---|---|---|
| README.md | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
README.md
Introduction
This little tool downloads the Flyff Universe game page and splits in into several files used for decompilation and injection.
- First it downloads the HTML from https://universe.flyff.com/play.
- It executes the JavaScript to find out the
FilemapVersion. - Then it downloads the game client's WASM object alongside it's Emscripten runtime JS.
- The symbols that the game uses are exported into the Emscripten runtime JS, so this file is parsed to get as much information as possible.
- Using these symbols, it consolidates both imports and exports into a single JSON file, which is used by fugg-fix-mapping.
Build & Run
Make sure you have node and npm installed and in your PATH environment variable.
-
Clone the repository.
-
Run
npm install. -
Run
npm startto run the program. -
The following generated files are located in the
outfolder.functions.json: Contains the import and export mapping of the Emscripten runtime JS.index.html: A downloaded copy of the web page.client-original.js: The minified Emscripten runtime JS as served by the web page.client-beautified.js: The beautified Emscripten runtime JS so it's human readable.client-original.wasm: The extracted client binary used by the game.