nexuiz data-folder path length limit?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • i recently noticed that Servers like NL Simba or DCC CTF download a nxmdls-dave-elf-spy-vixen-robot-soldier-v2.pk3.

    the problem is that, for me at least, it goes downloading that file each time a map changes or reloades.

    also, it sometimes leads to a black map (no textures?), and there are still diamond rainbow entities to be found.
    so i guess Nexuiz cant load from that particular PK3.

    deleting the file(s), or cleaning and reinstalling the SVN Build didnt help, as well as renaming the data folder.

    so i come to believe that the path name might be too long.

    it is 129 chars for the whole path to the pk3.
    (C:\Documents and Settings\.............\My Documents\My Games\nexuiz\data\dlcache\nxmdls-dave-elf-spy-vixen-robot-soldier-v2.pk3)

    is there a path length limit in Nexuiz of, say, 128 chars?


    (Win XP, latest SVN build)

    [/b]
    fronten
    Advanced member
     
    Posts: 96
    Joined: Thu Apr 20, 2006 9:52 pm

Mon Aug 31, 2009 7:06 am

  • Indeed there is one (MAX_QPATH) of 128, and I am not sure what negative side effects one would get from increasing it.

    However, I have no idea why the limit applies to THIS too... I changed the limits inside the downloading system to MAX_OSPATH (1024).
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Aug 31, 2009 2:13 pm

  • i moved that particuar file up a level from data\dlcache to data, which seems to fix the issue.

    (still the bug remains..)
    fronten
    Advanced member
     
    Posts: 96
    Joined: Thu Apr 20, 2006 9:52 pm



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest