Open LightShade12 opened 2 weeks ago
Fixed now. Test with master
Thank you for such rapid response. However now there's a new error: TypeError: expected sequence size 8192, got 262144
here's the log:
[ERROR]--[GoldSrc::Texture:get_contents]: Could not find texture resource: !C2A54
[INFO]--[Shaders::goldsrc_shader:create_nodes]: Creating material '!C2A54'
[INFO]--[Shaders::goldsrc_shader_mode2:create_nodes]: Creating material '!C2A54_RM2'
[INFO]--[Shaders::goldsrc_shader:create_nodes]: Creating material 'SCROLLDUST2020'
[INFO]--[Shaders::goldsrc_shader_mode5:create_nodes]: Creating material 'SCROLLDUST2020_RM5'
[INFO]--[ContentManager:find_file]: Requesting +0WATERFALL1 file
[ERROR]--[GoldSrc::Texture:get_contents]: Could not find texture resource: +0WATERFALL1
[INFO]--[Shaders::goldsrc_shader:create_nodes]: Creating material '+0WATERFALL1'
[INFO]--[Shaders::goldsrc_shader_mode2:create_nodes]: Creating material '+0WATERFALL1_RM2'
[INFO]--[ContentManager:find_file]: Requesting REDHANGINGRUG file
[DEBUG]--[ContentManager:find_file]: Found in cstrike_itsitaly!
[INFO]--[Shaders::goldsrc_shader:create_nodes]: Creating material 'REDHANGINGRUG'
Traceback (most recent call last):
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\operators\goldsrc_operators.py", line 47, in execute
bsp.load_map()
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 106, in load_map
self.load_entities()
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 262, in load_entities
self.load_brush(entity_class, entity, "brushes")
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 342, in load_brush
model_object = self.load_bmodel(model_index,
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 173, in load_bmodel
self.load_material(face_texture_name)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 133, in load_material
shader.create_nodes(mat, rad_data)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\material_loader\shaders\goldsrc_shaders\goldsrc_shader.py", line 16, in create_nodes
basetexture = self.load_texture(material.name, model_name)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\material_loader\shaders\goldsrc_shader_base.py", line 46, in load_texture
model_texture.pixels.foreach_set(model_texture_info.data.ravel())
TypeError: expected sequence size 8192, got 262144
here's a longer log: This is for the same de_dust_2020 map import.
Please upload map and it's resources
Here is the map source: https://gamebanana.com/dl/546696 Here is map page: https://gamebanana.com/mods/83688
Blender version: 4.0 release Platform: Windows 10 SourceIO version: 5.4.0
Issue: When attempting to import custom goldsrc maps for cstrike 1.6, I get an error and the import fails.
Expectation: I hoped the map would load normally like other official maps
The log while importing de_dust_2_2020:
more log: only half of the models get imported: Import settings: