DragonFF icon indicating copy to clipboard operation
DragonFF copied to clipboard

PS2 Vehicles Collisions Don't Import

Open MadGamerHD opened this issue 8 months ago • 2 comments

when i import a ps2 vehicle model the error pop up cant decode it

output - Python: Traceback (most recent call last): File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\gtaLib\col.py", line 358, in load_memory self.models.append(self.__read_col()) File "C:\Users\name\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\gtaLib\col.py", line 314, in __read_col magic_number = header.magic_number.decode("ascii") UnicodeDecodeError: 'ascii' codec can't decode byte 0xde in position 0: ordinal not in range(128)

MadGamerHD avatar Jun 21 '25 11:06 MadGamerHD

It is identical to the PC version, you can safely replace it.

by-tndy avatar Jun 21 '25 18:06 by-tndy

Solved by https://github.com/Parik27/DragonFF/commit/e9f10bab8681dce79490d57406637455baf0ba40

Psycrow101 avatar Jun 21 '25 20:06 Psycrow101