Page 1 of 4 1234 LastLast
Results 1 to 30 of 108

Thread: texture/dds converter

  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default texture/dds converter

    Well, I "finished" the first version for my texture/dds converter.
    Please post any bugs or suggestions here ;)

    See the read-me for instructions.

    I want to thank Casuir for testing a preliminary version of this tool :)

    [12-21-06]
    Version 0.1
    Last edited by alpaca; 12-14-2007 at 21:03.

    Member thankful for this post:



  2. #2

    Default Re: texture/dds converter



    Four hours, near on the dot!

    Works for me

    Read inside the spoiler for how it works


    Spoiler Alert, click show to read: 

    Extract .rar file into a folder














    Remember to run the game with the:

    [io]
    file_first = true

    lines in your .cfg file, so the game looks at outside files before the packs.
    Last edited by Epistolary Richard; 12-21-2006 at 21:50.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3

    Default Re: texture/dds converter

    edit: sry..now i have python....
    my bad ;)
    Last edited by methoz; 12-22-2006 at 17:32.

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: texture/dds converter

    You have to install python. Read the readme

  5. #5

    Default Re: texture/dds converter

    Wow great job!

    Now, I tried to test it and changed the following texture into DDS:

    late_northern_captain_england.texture

    I put it all black just for fun and then put it back as .texture file.
    Now, that's where the changes won't apply

    If I re-convert the changed-and-converted .texture file into .DDS again, it's back to normal again... ! Like I didn't change a thing...!


    Any ideas?
    And keep up the great work!
    -"My horse for a kingdom!"

  6. #6

    Default Re: texture/dds converter

    Arr err sorry don't find the "edit" button

    Anyway, I managed to convert the .TGA files into .DDS putting DXT5 in DDS Converter. So when I convert it back, the changes seem to have applied.
    So that cool, now the only thing is that changes don't show up in game !!

    I need a >

    -"My horse for a kingdom!"

  7. #7
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: texture/dds converter

    Yes, the tool only supports DXT1 and DXT5 as virtually all files in the game are one of these two formats.
    If somebody asks for another format I might add support for it, but for now it seems to be good enough.

    And for the changes to show up you need to use --io.files_first or something, not sure about the syntax.

  8. #8

    Default Re: texture/dds converter

    As I say:

    [io]
    file_first = true

    in the .cfg file.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  9. #9
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default 12-22-2006 Tool: .texture/.dds converter

    A new entry has been added to Links and Downloads Manager

    Description: This tool allows it to convert .texture files that were unpacked with CA's unpacker into the .dds format.
    It also works the other way around, but only if the .dds files are in DXT1 or DXT5 format (virtually all files in the MTW2 release use one of these)

    To check it out, visit Tool: .texture/.dds converter

  10. #10

    Default Re: texture/dds converter

    I keep on getting a CTD everytime i try and change the files so i dunno what the hell is up.

  11. #11

    Default Re: texture/dds converter

    Quote Originally Posted by Epistolary Richard
    As I say:

    [io]
    file_first = true

    in the .cfg file.
    Oops my legendary distraction made me miss this, thanks !

    So in what .cfg file do you write these lines?

    In medieval2.preference.cfg ? ...

    When I do this, the changes still don't apply in the game and after exiting the game and checking back that file, those lines just got "erased by the game" or something...somehow, because it's no more in there, like I never wrote it! Started the operation again like three times and still the same result....

    or did I miss something again ...?
    -"My horse for a kingdom!"

  12. #12
    Member Member Musashi's Avatar
    Join Date
    Nov 2002
    Location
    The Mists of Legend
    Posts
    811

    Default Re: texture/dds converter

    set file read-only.
    Fear nothing except in the certainty that you are your enemy's begetter and its only hope of healing. For everything that does evil is in pain.
    -The Maestro Sartori, Imajica by Clive Barker

  13. #13

    Default Re: texture/dds converter

    Quote Originally Posted by Musashi
    set file read-only.
    Thank you, that did the trick so far...
    So far, because... changes still don't apply in the game...
    Like you can see here:

    I have the [io] file_first = true added and the .texture file is changed...



    What am I doing wrong...?
    -"My horse for a kingdom!"

  14. #14

    Default Re: texture/dds converter

    What am i missing here i followed all the steps?

    1. i put the texture file in my new created folder i made too convert.
    2. i converted it too DDS(worked)
    3. then i reconverted it back to TEXTURE. and i renamed it, then put it back in it's original location.
    4. then i put the [io]
    file_first = true

    in the .cfg file. and saved it
    5. then i run the game, i pick the unit i re skinned and when it is loading it CTD on me every time.

    So can anyone help me out here?

  15. #15

    Default Re: texture/dds converter

    Have you deleted the two geography files?

  16. #16
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: texture/dds converter

    Well it worked for me!



    The only thing I seem to have done different, is that I run a batch file (.bat) to load the game. Like it said in the unpacker readme.
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  17. #17

    Default Re: texture/dds converter

    Mmm you know what? I removed the original loading screens and put a new one name as loading_screen_1 (so there's only one loading screen in game) the game still loads the original ones!

    So there's a twist with the

    [io]
    file_first=true

    or what...?
    -"My horse for a kingdom!"

  18. #18
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: texture/dds converter



    The brightly coloured aztecs!

    Rik I would try to run it with the .bat file, and see if it works :)
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  19. #19

    Default Re: texture/dds converter

    Call me stupid, but what .bat file? The only one I see is from the "lands to conquer" mod, not from M2TW... :(

    Do I need to make one, and how do I do that?
    Could you please explain?
    -"My horse for a kingdom!"

  20. #20
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: texture/dds converter

    1. open notepad
    2. type in "medieval2.exe --io.file_first"
    3. save in your "SEGA\Medieval II Total War" directory
    as skinstart.bat
    4. double click and M2TW should start and use your skins
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  21. #21

    Default Re: texture/dds converter

    Thanks a lot:) , I created the .bat file and the game loads, but the textures still ain't showing up....

    I retextured the "late_northern_captain_england.texture" as you see on the pic above, but it's still the original one that's showing up....

    arr... ?
    -"My horse for a kingdom!"

  22. #22
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: texture/dds converter

    you may have retextured the battle map one instead of the strat map one
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  23. #23

    Default Re: texture/dds converter

    heheh lol damn I love you, Sir Robin!
    Heh... now to find where the strat map ones are!

    But thanks a lot for your time and patience, man! Really appreciated!
    -"My horse for a kingdom!"

  24. #24

    Smile Re: texture/dds converter

    Quote Originally Posted by Casuir
    Have you deleted the two geography files?
    Where are they located?

  25. #25

    Default Re: texture/dds converter

    read the unpacker readme

  26. #26

    Default Re: texture/dds converter

    Quote Originally Posted by Casuir
    read the unpacker readme
    list me the two files and i can find them myself i do not need no read me.

  27. #27
    Hiding in a bush near you Member Sir Robin the Brave's Avatar
    Join Date
    Dec 2006
    Location
    Ol' Blighty (England)
    Posts
    72

    Default Re: texture/dds converter

    they are in the data section, they are:

    datadescr_geography_new.txt
    datadescr_geography_new.db

    ok? :)
    Brave Sir Robin ran away.
    Bravely ran away, away!
    When danger reared its ugly head,
    He bravely turned his tail and fled.
    Yes, brave Sir Robin turned about
    And gallantly he chickened out.
    Bravely taking to his feet
    He beat a very brave retreat,
    Bravest of the brave, Sir Robin!

  28. #28

    Default Re: texture/dds converter

    Quote Originally Posted by Sir Robin the Brave
    they are in the data section, they are:

    datadescr_geography_new.txt
    datadescr_geography_new.db

    ok? :)
    ]

    okay dude thanks

    and if i screw up again i will be back:P

  29. #29
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: texture/dds converter

    will119 I hope when you get back you'll have acquired better manners.

  30. #30

    Default Re: texture/dds converter

    Quote Originally Posted by alpaca
    I hope when you get back you'll have acquired better manners.
    I'll try but no promises

    but anyways i got it people:P a lot easier than before.

    [IMG][/IMG]
    Last edited by will119; 12-23-2006 at 23:21.

Page 1 of 4 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO