You must be logged in to post messages.
Please login or register

Game Modifications
Moderated by alincarpetman

Hop to:    
Welcome! You are not logged in. Please Login or Register.1 reply
Rise of Nations Heaven » Forums » Game Modifications » Blender BH3 importing script question
Bottom
Topic Subject:Blender BH3 importing script question
Triadasoul_7
Member
posted 02-05-21 02:34 PM EDT (US)         
I tried to use Ryder25's BH3 importing addon for Blender 2.8, 2.81, but every time I try to import any BH3 I get this kind of error instead of a model:


Traceback (most recent call last):
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\__init__.py", line 52, in execute
return file_importer.load(context, self.filepath)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\blender\bh3fileimporter.py", line 21, in load
self._file.read(filename)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3file.py", line 24, in read
self._read_chunk(reader)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3file.py", line 64, in _read_chunk
self._read_chunk(reader)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3file.py", line 64, in _read_chunk
self._read_chunk(reader)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3file.py", line 64, in _read_chunk
self._read_chunk(reader)
[Previous line repeated 209 more times]
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3file.py", line 57, in _read_chunk
bone.read(reader)
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3bone.py", line 17, in read
self.name = reader.read_string()
File "C:\Users\Dmitry\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\riseofnations\formats\bh3\bh3binaryreader.py", line 11, in read_string
data = self.file.read(str_length).decode('utf-8', 'strict')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 0: invalid start byte

location: <unknown location>:-1

does anybody know how to fix this issue?

[This message has been edited by Triadasoul_7 (edited 02-05-2021 @ 02:36 PM).]

AuthorReplies:
alincarpetman
HG Angel
posted 03-21-21 02:19 PM EDT (US)     1 / 1       
You must be logged in to post messages.
Please login or register

Hop to:    

Rise of Nations Heaven | HeavenGames