Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Editing the scripts

MoonlitDeath edited this page Mar 27, 2020 · 1 revision

If you want to edit the extract script to either only unpack certain files I will show you how here. Also make sure you do this in a new folder with your Dat and toc file and the scripts only in it.

Say you only want to change the card sleeves or want to unpack everything but get errors when repacking all 10k card images lol, I will show you how to change specific things here.

First you need to right click the Extract script and you should have an option to edit it in IDLE. If that option is not there, make sure you installed the actual python program and added it to your PATH in the settings. I personally use 32 bit 3.8, you can use the 64 bit, but you will need at least version 3.8 for the scripts to work.

If you want to unpack only certain files, or want to exclude and leave out some like if your script crashes because of a memory error when repacking (usually its because of the card zibs) can edit things like this-

You will want to write the actual name of the files there just like that. Make sure each name is in quotes and with a , at the end. If you want to edit only the card sleeve for instance, write "card", there instead of "zib", in the INCLUDE section and it should only unpack the folder the card sleeve is in. Once you edit it, just use the Compress script and it should repack everything for you (you shouldn't need to have anything else unpacked)

Writing like this for instance-

That will leave out all the zibs so it unpacks everything else. Or you can add them to the actual Include section while leaving Exclude blank and it should just unpack those only.

that will unpack just the folder that the card sleeve is in so you don't have to unpack everything. Once you are done editing, you can just use the Compress script and it will pack it right back into your game.