Closed waveblitzd closed 2 years ago
Oh wow, I didn't realize anyone was still using this! Thanks for giving feedback. Would you mind sharing the .ogg audio file you're trying to upload, as well as the game you're trying to upload it to?
Same goes for https://github.com/ambiguousname/jackbox-custom-content/issues/6. If you could just share the sample images, I'd be happy to take a look.
Any screenshots of the dialogue box before you click "Ok" to try to create the content would also be useful. Selecting and creating content from .ogg files seems to work on my end, so any details you can provide would be super duper appreciated.
Github doesn't support .ogg files apparently, so here is a link to the download: https://drive.google.com/file/d/1eMFxrC7io17tDb7r-guQqOUhbskBNc1w/view?usp=sharing . I put it through a .mp3 to .ogg converter if it helps to solve the issue, and the game is quiplash 3.
for my turning points images, they're a bit silly and out of aspect ratio but other than that there's nothing up with the files from what I could tell. they're in .jpg format.
for some reason this isn't restricted to content I've created myself, some of the sample content included with the .zip had the "file does not exist" error occur when importing it
(oops, forgot to include quiplash 3 images) aaand the displayed error as well
Unfortunately, after a bit of a testing, I haven't been able to replicate this myself, which makes me think that the problem is dependent EITHER on how python uses os.path.exists
in different systems (and their subsequently different file storage solutions), or how your file system is set up.
Python shooouuulllddd work regardless of OS system (especially if you're using ./
in front of all your file searches), and I've tested a few different file setups that work for me regardless (even dumb stuff, like adding //
to each file name).
So, I have a few follow ups that should hopefully provide more insight:
os.path.exists
functions to account for that.Thank you so much for your patience while I try to figure out what's going wrong!
comment: after attempting a solution of moving the folder from downloads to an SSD, the error still persists.
Alright, I'm still working on potential fixes/debugging, and my brain is somewhat drained for the day, so here are my last few stabs at figuring out what's wrong before I go to sleep and continue working on this tomorrow.
Instead of moving the whole external content folder somewhere else, I'd try moving a file out of there, maybe to your Desktop and importing it from there.
If you have python installed, you could try testing out how os.path.exists works on your computer in multiple cases:
> python
>>> os.path.exists("C:\\Global\\Path\\To\\Filename")
Should return True
>>> os.path.exists("./external content/path/to/file")
Should return True
If any return false, it's probably a sign that I have to re-write the os.path.exists calls (something I'm working on right now, I should have a testable executable tomorrow).
You could also try uninstalling and reinstalling the whole thing if you haven't done already? Delete the executable and custom_content.json, delete the external content folder, and then validate the files through Steam (I assume you're using Steam).
Additionally, are there any files that get imported successfully?
it appears none of the files imported successfully. the ones included in the custom content were given the error as well. appears that moving the content to a location that isn't in the jackbox directory works. seems to be the implied issue
*after reinstalling the zip. moving the custom content to desktop worked just fine
Just caught this, and that's great to hear! I think I know what's causing the issue, and I will create an appropriate fix for testing tomorrow. Thanks for your continued patience.
no problem! love your program, makes it much easier to customize the game
Alright, I believe the attached executable should fix the problem. Try importing a .ogg file from the external content folder in the games directory.
If all is well, I'll upload the patch as a release.
Here's the .ZIP file which contains the .exe: Jackbox Party Pack Custom.zip
it worked! sorry for a late response
Great, and no problem! I will close both issues and make a new release.
The program says that the selected custom file does not exist whenever I select my .ogg audio file.