Skip to content

Map importing on linux breaks (map files/folders are case sensitive) #381

@unenergizer

Description

@unenergizer

As the title suggest, importing maps is broken on Linux (debian). File paths and files are case sensitive. When importing files from the steam version of GTA3, the importer fails. However, if I manually rename each folder and file, it starts to work. As you can imagine, its a lot of files to rename.

Image

I've renamed all the folders and .ide files up until this point.

Thank you for all you hard work on this project. I hope this is an easy fix for you guys.

Edit:

I changed the map_data.py file to get the script to quit breaking. Here is what I changed.

III_IDE = ( 'data/maps/generic.ide', 'data/maps/industne/industne.ide', 'data/maps/industnw/industnw.ide', 'data/maps/industse/industse.ide', 'data/maps/industsw/industsw.ide', 'data/maps/making/making.ide', 'data/maps/temppart/temppart.ide', 'data/maps/indroads/indroads.ide', 'data/maps/comntop/comntop.ide', 'data/maps/comnbtm/comnbtm.ide', 'data/maps/comse/comse.ide', 'data/maps/comsw/comsw.ide', 'data/maps/comroad/comroad.ide', 'data/maps/landne/landne.ide', 'data/maps/landsw/landsw.ide', 'data/maps/subroads/subroads.ide' )

III_IPL = ( ('data/maps/industne/industNE.ipl', 'industne', ''), ('data/maps/industnw/industNW.ipl', 'industnw', ''), ('data/maps/industse/industSE.ipl', 'industse', ''), ('data/maps/industsw/industSW.ipl', 'industsw', ''), ('data/maps/comntop/comNtop.ipl', 'comntop', ''), ('data/maps/comnbtm/comNbtm.ipl', 'comnbtm', ''), ('data/maps/comse/comSE.ipl', 'comse', ''), ('data/maps/comsw/comSW.ipl', 'comsw', ''), ('data/maps/landne/landne.ipl', 'landne', ''), ('data/maps/landsw/landsw.ipl', 'landsw', ''), ('data/maps/overview.ipl', 'overview', ''), ('data/maps/props.ipl', 'props', ''), ('data/maps/cull.ipl', 'cull', '') )

After that, a counter counts up to 100 but no models are displayed. It does create a collection of folders in the scene graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions