Skip to content

[mk64] Cannot import course display list #698

@DLDrago

Description

@DLDrago

I get the following error when trying to import course display lists for Mario Kart 64:

  File "/home/dldrago/.config/blender/5.1/scripts/addons/fast64/fast64_internal/mk64/f3d/operators.py", line 77, in execute
    importMeshC(
    ~~~~~~~~~~~^
        data,
        ^^^^^
    ...<5 lines>...
        f3d_context,
        ^^^^^^^^^^^^
    )
    ^
  File "/home/dldrago/.config/blender/5.1/scripts/addons/fast64/fast64_internal/f3d/f3d_parser.py", line 2330, in importMeshC
    parseF3D(data, name, transformMatrix, name, name, drawLayer, f3dContext, True)
    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dldrago/.config/blender/5.1/scripts/addons/fast64/fast64_internal/f3d/f3d_parser.py", line 1973, in parseF3D
    f3dContext.processCommands(dlData, processedDLName, dlCommands)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dldrago/.config/blender/5.1/scripts/addons/fast64/fast64_internal/f3d/f3d_parser.py", line 1587, in processCommands
    self.addVertices(command.params[1], command.params[2], vertexDataName, vertexDataOffset)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dldrago/.config/blender/5.1/scripts/addons/fast64/fast64_internal/f3d/f3d_parser.py", line 697, in addVertices
    raise PluginError(
    ...<6 lines>...
    )
fast64.fast64_internal.utility.PluginError: Vertex buffer of size 16 too small, attempting load into 0, 32

Specifically, I was trying to load d_course_mario_raceway_packed_dl_1770 from Mario Raceway's "course_data.c". Trying this in "course_displaylists.inc.c" throws the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mk64Has to do with the Mario Kart 64 side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions