UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Feature request #3855 check texture name length
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Feature request
  • Category
    Map Compiler (ufo2map)
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/370 Item 370] imported from sourceforge.net tracker on 2013-01-28 20:18:20

texture pathname length is limited to 32 characters, relative to base/textures path.

see https://sourceforge.net/support/tracker.php?aid=2087479

it would be nice to have ufo2map check for texture names longer than that
===== Comments Ported from Sourceforge =====

====== blondandy (2008-09-02 10:56:10) ======

Logged In: YES
user_id=1760416
Originator: NO

I thought i already fixed a bug around this and implemented a test. 64 chars should be ok now.

I probably missed something.

Please provide details of the symptoms.
====== blondandy (2008-09-06 21:40:03) ======

Logged In: YES
user_id=1760416
Originator: NO

r19011

just tested it.
1. -check gives warning
2. -fix aborts with error, as saving back would corrupt .map file
3. compile gives warning




====== sf-robot (2008-09-22 02:20:43) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
====== richlv (2008-11-22 09:19:12) ======

confirming in revision 20288.
though the message is not prefixed in anyway - would it be possible to prefix it with " " in -fix/check modes ?
====== blondandy (2008-11-22 09:28:51) ======

i will take a look at the " " prefix.
====== blondandy (2008-11-23 07:31:50) ======

I have had a think and a look at the code. The " " or "* " prefix applies to check/fix messages. check/fix messages are not given on compiling. It should not be converted to a check/fix message, as it needs to be output on compiling. I have done a hack at r20333

old behaviour
check: a warning is printed
fix: a warning and execution is aborted, to prevent saving a truncated name back to the .map file.
compile: a warning is printed.

new behaviour: prefix with " " on check or fix.

Please retest.

====== richlv (2008-11-27 09:59:13) ======

confirming the last change in revision 20422, thanks :)
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif