21
edits
Script 10k (talk | contribs) (reflective textures) |
(Fixed a broken link.) Tags: Mobile edit Mobile web edit |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
'''Extract TXMP''' (Texture maps) | '''Extract TXMP''' (Texture maps) | ||
:1) You will need to cd (change directory in the terminal) to | :1) Make a folder for the textures to go into ("tex_folder" below). | ||
: | :2) You will need to 'cd' (change directory in the terminal) to AE/AEInstaller/vanilla/. | ||
:onisplit -extract:png | :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 | :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: | :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 | ||
'''Modify TXMP''' | '''Modify TXMP''' | ||
:1) Currently, many of Oni's texture maps are 64x64, or 128x128; unmodded, Oni supports textures up to 256x256, but the current patched version of Oni for Windows supports 512x512, and the patched version of Oni for | :1) Currently, many of Oni's texture maps are 64x64, or 128x128; unmodded, Oni supports textures up to 256x256, but the current patched version of Oni for Windows supports 512x512, and the patched version of Oni for macOS supports up to 1024x1024. | ||
:2) Use your favorite graphic editor to make your changes. | :2) Use your favorite graphic editor to make your changes. | ||
'''Create TXMP*.oni files''' | '''Create TXMP*.oni files''' | ||
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 79: | Line 79: | ||
:ARGB8888 = 16,777,216 colors, alpha 256 colors (Note: this one requires the Oni engine to be patched and not many have the patched version) | :ARGB8888 = 16,777,216 colors, alpha 256 colors (Note: this one requires the Oni engine to be patched and not many have the patched version) | ||
:The <EnvMap> refers to what texture is used to simulate reflectivity. There are | :The <EnvMap> refers to what texture is used to simulate reflectivity. There are 4 envmap files that are used for characters: | ||
:TXMPstrikerarmor | :TXMPstrikerarmor | ||
:TXMPenvksface | :TXMPenvksface | ||
:TXMPenvksarmor | |||
:TXMPSUPER_REFLECT | :TXMPSUPER_REFLECT | ||
Line 87: | 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 | (from here: https://web.archive.org/web/20160226055825/http://oni.bungie.org/forum/viewtopic.php?pid=19297#p19297, to be edited and completed) | ||
[[Category:Modding tutorials]] | [[Category:Modding tutorials]] |
edits