A script to restore and view the Yakuza: The Dragon's Path comic
0
stars
0
forks
source link
"Yakuza: The Dragon's Path" Comic Restorer
- A tool that fixes errors in the Yakuza Experience site and lets you read the comic
- Fits all comic panels into single pages (instead of them being split into 8) for convenience
- Adds dark mode support and cleans up the design of the site
- Saves required sounds and images locally for 100% offline functionality
Requirements
- Python 3, preferably added to the system PATH
- Basic file management, terminal and Python usage skills
Setup and usage
- Download the project repository
- Click the green
<>Code
button and press Download ZIP
- Extract the ZIP file in a directory of your choice
- Obtain and put required files in the appropriate folders:
- Edit the
config.py
configuration file to your liking:
- Preparing assets for offline use may take a while. If you don't need that functionality, set the
local_resources
entry to False
- Set
css_tweaks
to False
if you want to view the site exactly as it used to look, without visual tweaks and improvements
- You should leave other entries set to their default values, unless you know what you're doing
- Open a terminal in the main project directory
- On Windows 11, you can right click empty space in the folder and press
Open in Terminal
- On earlier versions of Windows, you can select File Explorer's address bar, type in
cmd
and press enter
- Install required python packages with
pip install -r requirements.txt
- Run
python3 dp_restorer.py
to prepare files, apply fixes and launch the comic in your browser
- Please read the section below!
Notes and known issues
- This only fixes the comic, other features of the Experience site remain non-functional
- Sounds don't work consistently due to permission issues on modern browsers
- You may need to click on comic panels or mute and unmute to make them play
- For reference, most of the panels should have sound
- If the site doesn't work, refresh a couple of times and try clearing your cache
- To re-generate the comic in case of any issues, delete the
data/generator_lock
file and run the script again