Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stubbs The Zombie models will not extract. #31

Open
kest-dev opened this issue Feb 7, 2021 · 0 comments
Open

Stubbs The Zombie models will not extract. #31

kest-dev opened this issue Feb 7, 2021 · 0 comments

Comments

@kest-dev
Copy link

kest-dev commented Feb 7, 2021

I've been trying to extract models from Stubbs The Zombie, but it results in this error.

extract_tags: stubbspc: a10_plaza
tags: characters\beat_cop\beat_cop.model
Traceback (most recent call last):
  File "F:\Downloads\meke (1)\mek_python\lib\site-packages\supyr_struct\blocks\block.py", line 52, in __getattr__
    return object.__getattribute__(self, attr_name)
AttributeError: 'PListBlock' object has no attribute 'vertex_data_size'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\Downloads\meke (1)\mek_python\lib\site-packages\refinery\core.py", line 1421, in extract_tags
    if self.extract_tag(tag_id, map_name, engine, **kw):
  File "F:\Downloads\meke (1)\mek_python\lib\site-packages\refinery\core.py", line 1610, in extract_tag
    meta = halo_map.meta_to_tag_data(
  File "F:\Downloads\meke (1)\mek_python\lib\site-packages\reclaimer\meta\wrappers\halo1_map.py", line 977, in meta_to_tag_data
    tris_start  = verts_start + tag_index.vertex_data_size
  File "F:\Downloads\meke (1)\mek_python\lib\site-packages\supyr_struct\blocks\block.py", line 60, in __getattr__
    raise AttributeError("'%s' of type %s has no attribute '%s'" %
AttributeError: 'tag_index' of type <class 'supyr_struct.blocks.list_block.PListBlock'> has no attribute 'vertex_data_size'
MosesofEgypt added a commit that referenced this issue Jan 19, 2025
Issues closed:
 #36
 #31
 #28
 #27
 #26
 #11

Fixes:
 exception thrown when extracting stubbs models

Additions:
 setting to control using open-sauce definitions for regular CE maps
 setting to control showing tag ids/metadata offsets in base 16 or 10
 sound playback in tag window(requires pyogg and simpleaudio)

Changes:
 reduced stacktrace when tag extraction fails
 better descriptions of what disabling safe-mode settings will do

Heuristic deprotection changes:
 significant speed increase(most maps deprotect in 15 seconds or less)
 renaming logic improved to select better names
 added ability to configure a root directory to put all renamed tags in
 added ability to prioritize model names over weapon/vehicle strings
 underscore appended to shader names to allow permutations to be used
 spaces in tag names replaced with underscores in most cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant