BEEmod / BEE2-items

Standard Items for the BEE2.4
132 stars 46 forks source link

Voice causing Problems #4436

Open screddy412 opened 2 months ago

screddy412 commented 2 months ago

BEE2 Application Version

4.45.2

BEE2 Package Version

4.45.0

What operating system are you running on?

Windows 10 (64bit)

Description of the bug

The Voice options are buggy, when i choose none after i choose glados ( rebuild a level with the glados voice ), the voice is still glados and not disabled. i tried to fix it by myself by uninstalling BEE2 or portal 2 but after exporting it with a disabled voice, it gives me a rebuilding error when trying to rebuild a test chamber, and to fix this problem i have to choose any voice to fix the error.

Expected behavior

after exporting to portal 2 after i choose none ( after i reinstalled portal 2 ), it gives me an rebuilding error when rebuilding a testchamber

Steps to reproduce

  1. select and export with a voice
  2. rebuild a test chamber with the voice enabled
  3. export the disabled voice
  4. rebuild and still got a voice enabled even tho i disabled it

Logs and Reports

VBSP failed.

[I] compiler_launch.<module>(): Arguments: ['C:/Program Files (x86)/Steam/steamapps/common/Portal 2/bin/vbsp.exe', '-entity_limit', '1750', '-game', 'C:/Program Files (x86)/Steam/steamapps/common/Portal 2/portal2/', 'C:/Program Files (x86)/Steam/steamapps/common/Portal 2/sdk_content\\maps/preview.vmf']
[I] compiler_launch.<module>(): Running "vbsp", version 2.4.45.2 64-bit:
[I] vbsp.main(): BEE2.4.45.2 64-bit VBSP hook initiallised, srctools v2.3.17.dev5+823ca80.dirty.2024.04.17.
[I] cond.core.import_conditions(): Imported all conditions modules!
[I] vbsp.main(): Map path is "C:/Program Files (x86)/Steam/steamapps/common/Portal 2/sdk_content\maps/preview.vmf"
[I] vbsp.main(): New path: "C:/Program Files (x86)/Steam/steamapps/common/Portal 2/sdk_content\maps\styled\preview.vmf"
[I] vbsp.main(): PeTI map detected!
[I] vbsp.main(): Loading settings...
[I] vbsp.load_map(): Parsing Map...
[W] texturing.load_config(): Could not parse texture generator type "bullsye.white.floor"!
[W] texturing.load_config(): overlays: Unknown texture names faithfling, faithland
[W] texturing.load_config(): special: Unknown texture names edge_special, pedestalside
[W] options.load(): Extra config options: {'glass_scale': '0.15', 'staticpan': 'instances/BEE2/clean/static_panel/'}
[I] cubes.parse_conf(): Parsed 7 cube types, 1 dropper types and 4 addons.
[I] fizzler.read_configs(): Loaded 14 fizzlers.
[I] barriers.parse_conf(): Parsed 3 barrier types, 2 frame types, and 5 hole types.
[I] vbsp.load_settings(): Settings Loaded!
[I] vbsp.load_map(): Reading Map...
[I] vbsp.load_map(): Loading complete!
[E] logger.except_handler(): Uncaught Exception:
  + Exception Group Traceback (most recent call last):
  |   File "compiler_launch.py", line 56, in <module>
  |   File "trio\_core\_run.py", line 2303, in run
  |   File "vbsp.py", line 1623, in main
  |   File "trio\_core\_run.py", line 963, in __aexit__
  | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "utils.py", line 662, in _task
    |   File "precomp\voice_line.py", line 61, in load
    |   File "trio\_path.py", line 38, in wrapper
    |   File "trio\_threads.py", line 471, in to_thread_run_sync
    |   File "outcome\_impl.py", line 213, in unwrap
    |   File "trio\_threads.py", line 397, in do_release_then_return_result
    |   File "outcome\_impl.py", line 213, in unwrap
    |   File "trio\_threads.py", line 416, in worker_fn
    |   File "trio\_path.py", line 57, in wrapper
    |   File "pathlib.py", line 1019, in read_bytes
    |   File "pathlib.py", line 1013, in open
    | FileNotFoundError: [Errno 2] No such file or directory: 'bee2\\voice.bin'
    +------------------------------------
[8904] Failed to execute script 'compiler_launch' due to unhandled exception!

Additional information

No response