F:\Steam\steamapps\common\CULTIC\CULTIC_Data>py.exe bloodcultistsounds.py Making a backup at F:\Steam\steamapps\common\CULTIC\CULTIC_Data\sharedassets0.assets.bak0005 Traceback (most recent call last): File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\bloodcultistsounds.py", line 17, in <module> env = UnityPy.load(src) ^^^^^^^^^^^^^^^^^ File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\__init__.py", line 10, in load return Environment(*args, fs=fs, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\environment.py", line 46, in __init__ self.load_file(arg) File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\environment.py", line 144, in load_file f = ImportHelper.parse_file( ^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\helpers\ImportHelper.py", line 137, in parse_file f = files.SerializedFile(reader, parent, name=name, is_dependency=is_dependency) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\files\SerializedFile.py", line 334, in __init__ self._container = ContainerHelper({}) ^^^^^^^^^^^^^^^^^^^ File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\files\SerializedFile.py", line 525, in __init__ self.container = assetbundle.m_Container ^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'm_Container'
Not sure if current UnityPy is incompatible with game version but just running the batch file closes itself, running it manually gives me a chance to read out the error message. Is it possible to run this still? I'm woefully illiterate in python
Hello. Script refuses to save new "sharedassets0.assets" because of a bug (?) in "CULTIC_Data\python_modules\UnityPy\environment.py" file, more specifically in line 158: self.fs.sep.join([out_path, ntpath.basename(f)]), "wb" which has to be: self.fs.sep.join([out_path, ntpath.basename(fname)]), "wb" because variable f is not defined (maybe this gets fixed in newer version of UnityPy).
Steps to fix this issue: Edit .bat file: delete or comment out (add rem at the beginning of line) this line: "rmdir /s /q python_modules" so it looks like "rem rmdir /s /q python_modules". This edit prevents deletion of python_modules folder, so you can edit bugged file. Run the .bat file normally Edit again, commenting or deleting first line, so it is "rem python37.exe -m pip install --no-cache-dir --target python_modules --upgrade UnityPy". This edit prevents (possible) overwrite of python_modules folder. Edit "CULTIC_Data\python_modules\UnityPy\environment.py" file as described above, don't forget to save. Run the .bat file.
Yeah, that's exactly what I thought. And since I didn't find that mod, I just googled "unity game modding" and made it myself :) Anyway, does everyting work well for you? Just checking, since it's my 1st attempt.
Yes, I've contacted them yesterday. It should be resolved within a day or two. Thanks. In the meantime, you can just download the file from ModDB. It's already approved there: https://www.moddb.com/mods/blood-cultist-sounds/downloads/blood-cultist-sounds-10
placed all the files in the correct location and ran the installer. didnt work. the installer has a few yellow lines of text then rapidly writes more faster than i can read and closes on its own. i just dropped the whole mod folders contents into the cultic data folder. do I just place the Blodcultistsounds folder there? or do i drop all its contents into the Cultic data folder?
11 comments
F:\Steam\steamapps\common\CULTIC\CULTIC_Data>py.exe bloodcultistsounds.py
Making a backup at F:\Steam\steamapps\common\CULTIC\CULTIC_Data\sharedassets0.assets.bak0005
Traceback (most recent call last):
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\bloodcultistsounds.py", line 17, in <module>
env = UnityPy.load(src)
^^^^^^^^^^^^^^^^^
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\__init__.py", line 10, in load
return Environment(*args, fs=fs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\environment.py", line 46, in __init__
self.load_file(arg)
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\environment.py", line 144, in load_file
f = ImportHelper.parse_file(
^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\helpers\ImportHelper.py", line 137, in parse_file
f = files.SerializedFile(reader, parent, name=name, is_dependency=is_dependency)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\files\SerializedFile.py", line 334, in __init__
self._container = ContainerHelper({})
^^^^^^^^^^^^^^^^^^^
File "F:\Steam\steamapps\common\CULTIC\CULTIC_Data\python_modules\UnityPy\files\SerializedFile.py", line 525, in __init__
self.container = assetbundle.m_Container
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'm_Container'
Not sure if current UnityPy is incompatible with game version but just running the batch file closes itself, running it manually gives me a chance to read out the error message. Is it possible to run this still? I'm woefully illiterate in python
self.fs.sep.join([out_path, ntpath.basename(f)]), "wb"
which has to be:
self.fs.sep.join([out_path, ntpath.basename(fname)]), "wb"
because variable f is not defined (maybe this gets fixed in newer version of UnityPy).
Steps to fix this issue:
Edit .bat file: delete or comment out (add rem at the beginning of line) this line: "rmdir /s /q python_modules" so it looks like "rem rmdir /s /q python_modules". This edit prevents deletion of python_modules folder, so you can edit bugged file.
Run the .bat file normally
Edit again, commenting or deleting first line, so it is "rem python37.exe -m pip install --no-cache-dir --target python_modules --upgrade UnityPy". This edit prevents (possible) overwrite of python_modules folder.
Edit "CULTIC_Data\python_modules\UnityPy\environment.py" file as described above, don't forget to save.
Run the .bat file.
Thank you so much.
Anyway, does everyting work well for you? Just checking, since it's my 1st attempt.
In the meantime, you can just download the file from ModDB. It's already approved there: https://www.moddb.com/mods/blood-cultist-sounds/downloads/blood-cultist-sounds-10
i just dropped the whole mod folders contents into the cultic data folder. do I just place the Blodcultistsounds folder there? or do i drop all its contents into the Cultic data folder?