Jack, I am trying to make hand-edited portraits that match the original style, focusing only on the worst offenders. When I try to repack gui.pkg, it only creates a .pkg file of 129kb and a .pkg_manifest of 1kb. I can't figure out how to get it working. What do you suggest?
Hi sure I'll be glad to help. So you have it unpacked, and you can view all the pretty artworks in Hades\Content\Win\Packages\GUI\textures\atlases
and you done edited what you wanted edit. Go back to the packages directory: Hades\Content\Win\Packages\ and rename the existing GUI.pkg to something like GUI.pkg.bak, then click on the address bar and type CMD, in the command prompt execute this command:
deppth pk -s GUI -t GUI.pkg
and it should pack it up.
Note idk if it's case sensitive, if you unpacked it as gui or Gui, rename that folder to GUI first and try it.
Let me know if it works out for you.
And I tried to upload my mod to basedmods but I think the file is too big and it keeps failing, and I got busy with other stuff so eh... maybe in the future.
What you described is what I was doing, and I still get the only a GUI.pkg of 129kb. Case sensitivity doesn't appear to affect anything- I tried upper, lower, both, no change.
One thing I had to do, that you didn't mention, is create a folder called "manifest" inside of the GUI\ folder, or else it returned an error. Maybe that's part of the problem?
After I created the "manifest" folder, this is what I type and the message I get:
C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts>deppth pk -s gui -t gUi.pkg
Packing C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui to target package gUi.pkg
Scanning Manifest
And that's all it says. I've tried moving around the pngs between all the files, but it doesn't pick anything up. This is the first time I've ever used Python so maybe there's something obvious an experienced python user would know. Pillow and lz4 are both installed.
Before I added the "manifest" folder, this is the message I got:
*Packing C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui to target package gUi.pkg
Scanning Manifest
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in run_code
File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\deppth.exe_main.py", line 7, in <module>
File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\cli.py", line 39, in main
args.func(args)
File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\cli.py", line 61, in cli_pack
pack(source, target, entries, logger=lambda s: print(s))
File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\deppth.py", line 93, in pack
for filename in os.listdir(manifest_dir):
^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui\manifest'
hmm... when you extract GUI.pkg file it should create a manifest folder and all the json that is in the package file.
I'd suggest you back up your changes, and extract GUI.pkg file again, and see what happens. And make sure it's the original GUI.pkg and not the overwritten one that is 129kb. once extracted check the manifest folder, it should have 121 files with the same names as the png in .json
I'm certain that's your problem somehow those files didn't get extracted or was deleted? Extract the og gui file and replace the art with your backed up changes and you should be good to go.
Jack, I am trying to make hand-edited portraits that match the original style, focusing only on the worst offenders. When I try to repack gui.pkg, it only creates a .pkg file of 129kb and a .pkg_manifest of 1kb. I can't figure out how to get it working. What do you suggest?
Hi sure I'll be glad to help. So you have it unpacked, and you can view all the pretty artworks in Hades\Content\Win\Packages\GUI\textures\atlases
and you done edited what you wanted edit. Go back to the packages directory: Hades\Content\Win\Packages\ and rename the existing GUI.pkg to something like GUI.pkg.bak, then click on the address bar and type CMD, in the command prompt execute this command:
deppth pk -s GUI -t GUI.pkg
and it should pack it up.
Note idk if it's case sensitive, if you unpacked it as gui or Gui, rename that folder to GUI first and try it.
Let me know if it works out for you.
And I tried to upload my mod to basedmods but I think the file is too big and it keeps failing, and I got busy with other stuff so eh... maybe in the future.
What you described is what I was doing, and I still get the only a GUI.pkg of 129kb. Case sensitivity doesn't appear to affect anything- I tried upper, lower, both, no change.
One thing I had to do, that you didn't mention, is create a folder called "manifest" inside of the GUI\ folder, or else it returned an error. Maybe that's part of the problem?
After I created the "manifest" folder, this is what I type and the message I get: C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts>deppth pk -s gui -t gUi.pkg Packing C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui to target package gUi.pkg Scanning Manifest
And that's all it says. I've tried moving around the pngs between all the files, but it doesn't pick anything up. This is the first time I've ever used Python so maybe there's something obvious an experienced python user would know. Pillow and lz4 are both installed.
Before I added the "manifest" folder, this is the message I got:
*Packing C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui to target package gUi.pkg Scanning Manifest Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in run_code File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\deppth.exe_main.py", line 7, in <module> File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\cli.py", line 39, in main args.func(args) File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\cli.py", line 61, in cli_pack pack(source, target, entries, logger=lambda s: print(s)) File "C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\deppth\deppth.py", line 93, in pack for filename in os.listdir(manifest_dir): ^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\Users\Sadastor\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\gui\manifest'
hmm... when you extract GUI.pkg file it should create a manifest folder and all the json that is in the package file.
I'd suggest you back up your changes, and extract GUI.pkg file again, and see what happens. And make sure it's the original GUI.pkg and not the overwritten one that is 129kb. once extracted check the manifest folder, it should have 121 files with the same names as the png in .json
I'm certain that's your problem somehow those files didn't get extracted or was deleted? Extract the og gui file and replace the art with your backed up changes and you should be good to go.
Thanks for your help. Here is my mod.
https://modhq.org/Hades