Modifying textures: Difference between revisions

don't have time to review the whole page, but here's some fixes and updates for the current AE
(reflective textures)
(don't have time to review the whole page, but here's some fixes and updates for the current AE)
Line 2: Line 2:
   
   
'''Extract TXMP''' (Texture maps)
'''Extract TXMP''' (Texture maps)
:1) You will need to cd (change directory in the terminal) to the edition/install folder.
:1) Make a folder for the textures to go into ("tex_folder" below).
:2) To extract all the TXMP use the following command:
:2) You will need to 'cd' (change directory in the terminal) to AE/GameDataFolder.
:onisplit -extract:png destination_directory_for_image_files level0_Final.dat
:3) To extract all the TXMPs, use the following command:
:onisplit -extract:png tex_folder level0_Final.dat


:For example:
:For example:
:PC users: onisplit -extract:png ..\..\TXMPfiles ..\..\GameDataFolder\level0_Final.dat (Or you can use -extract:tga to get the files in Targa format)
:PC users: onisplit -extract:png tex_folder level0_Final.dat (Or you can use -extract:tga to get the files in Targa format)
:Mac users: mono onisplit.exe -extract:tga ../../TXMPfiles ../../GameDataFolder/level0_Final.dat (Mac users must use the Targa format .tga)
:Mac users: mono onisplit.exe -extract:png tex_folder level0_Final.dat
:3) Now all the TXMPs from Oni (over 2,000) will be located in the Oni/TXMPfiles
:3) Now all the TXMPs from Oni (over 2,000) will be located in the Oni/TXMPfiles
   
   
Line 16: Line 17:
   
   
'''Create TXMP*.oni files'''
'''Create TXMP*.oni files'''
:1) Once again, you will need to cd (change directory in the terminal) to the edition/install folder.
For most image files you can use the following command:
:2) For most image files you can use the following command:
:PC: onisplit -create:txmp destination_directory options source_image_file
:PC: onisplit -create:txmp destination_directory options source_image_file
:Mac: mono onisplit.exe -create:txmp destination_directory options source_image_file
:Mac: mono onisplit.exe -create:txmp destination_directory options source_image_file
Line 88: Line 88:
:Once you make your texture that has an alpha channel, use the XML file to convert it back to .oni file.
:Once you make your texture that has an alpha channel, use the XML file to convert it back to .oni file.
(from here: http://oni.bungie.org/community/forum/viewtopic.php?pid=19297#p19297, to be edited and completed)
(from here: http://oni.bungie.org/community/forum/viewtopic.php?pid=19297#p19297, to be edited and completed)
[[Category:Modding tutorials]]
[[Category:Modding tutorials]]