Changes between Version 1 and Version 4 of Ticket #4549


Ignore:
Timestamp:
Dec 16, 2019, 11:34:26 PM (4 years ago)
Author:
Itms
Comment:

Working version.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4549

    • Property Cc historic_bruno added; Itms removed
    • Property Keywords wip removed
    • Property Milestone BacklogAlpha 24
    • Property Owner set to Itms
    • Property PatchPhab:D2475
  • Ticket #4549 – Description

    v1 v4  
    1 NVTT 2.1.0 was (finally) released some time last year. Actually fixing the build is a single line addition, porting the patches (at least those that seem useful) is a bit more work.
    2 
    3 TODO: Actually use 2.1.1.
     1NVTT 2.1.1 was released in 2017.
    42
    53It would also be nice to possibly unbundle NVTT, since there aren't any patches that are actually needed (memory leak fixes, compression fixes, etc) anymore.
    64
    7 https://github.com/leper/0ad/tree/nvtt-2.1.0 imports the new release, removes patches merged upstream, fixes the build, fixes some warnings, and ports a few patches (not all though).
     5https://github.com/na-Itms/0ad/tree/nvtt imports the new release, updates the needed patches, fixes the build of NVTT and 0 A.D.
    86
    9 This seems to work on Linux (but that ignores distributing binaries or other machines than mine really), though I must admit that I didn't convert many textures since I did this.
    10 
    11 Testing on Windows and OSX and BSD and other Linux distros would be needed (at least the first of those needs someone to actually build libraries). Also someone porting the other patches would be nice (if you want to do that in my branch ask for access).
     7Tested on Windows and Linux (build and mass-convert textures). Windows developers might get memory issues if they try to mass rebuild the textures, the `--large-address-aware` flags helps with that.