Labyrinth of Refrain: Coven of Dusk Puppet Workbench

Programs that are related to this or that game.
Post Reply
TKLF
ultra-n00b
Posts: 2
Joined: Fri Jan 13, 2017 7:14 am
Been thanked: 2 times

Labyrinth of Refrain: Coven of Dusk Puppet Workbench

Post by TKLF » Fri Oct 12, 2018 2:38 am

Puppet Workbench
tl;dr - Script that allows you to replace the images for portraits for your party (puppets) by repacking .dds to .dds.phyre files used by the game.

First time posting here, but here's a kinda-crappy and dirty Python script I made for repacking .dds files to specific .dds.phyre files for use with the PC version of the game.
The README in the zip should have all you need to know on how to use, etc.
Only tested on Win7 64bit.

1. You need Python 3.7.0 and Pillow library installed
2. Photoshop with Nvidia's DDS plugin
3. .dds files must be vertically flipped and must match intended .dds.phyre file's width/height
4. Run script (or drag-drop dds onto it), pass the correct arguments depending on the file you want to replace so the script knows what file it is

Conceptually it's just taking the .dds image data and moving it back into the .dds.phyre of the same type, then changing a path inside the file, and should work for pretty much every .dds.phyre for the game (the script only handles a select number of them, though). Manually doing it by hand is a hex-editor and copy-paste.
Also don't really have the technical expertise to help troubleshoot any issues that come up, so uh, good luck! lol.
Download: https://mega.nz/#F!PkM0xSJK!q-ptV6ZphyqHJFTNhnqX3A

Cheers, mug

EDIT:
puppetWorkbench v0.6c - Fixed files being generated with wrong size
puppetWorkbench v0.7b - Combined gender/class param so you get to type less for the same effect, what fun
puppetWorkbench v0.7c - Updated README and minor semantic changes to code (no effect on performance)

TKLF
ultra-n00b
Posts: 2
Joined: Fri Jan 13, 2017 7:14 am
Been thanked: 2 times

Re: Labyrinth of Refrain: Coven of Dusk Puppet Workbench

Post by TKLF » Sun Oct 21, 2018 12:03 am

Puppet Facebench (what a name...)
This one's not so much a pack/repack script but helpful in the long run, I guess.
Companion script to Puppet Workbench that just lets you slap together a CharaFace_Icon sheet through "chips".
The README in the zip should have all you need to know on how to use, etc.
Only tested on Win7 64bit. Like Puppet Workbench, requires Python 3.7.0 and Pillow library.
Can be extracted to the same folder as Puppet Workbench with no drawbacks.

Complete set for editing in your waifus or whatever, have fun.

Download (same as above): https://mega.nz/#F!PkM0xSJK!q-ptV6ZphyqHJFTNhnqX3A
Also see the templates.zip for the chip templates and whatnot.

Post Reply