• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Game Modifications › Custom Texture Projects v
1 2 3 4 5 ... 13 Next »

TextureExtraction Tool v1.5
View New Posts | View Today's Posts

Pages (5): 1 2 3 4 5 Next »
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
TextureExtraction Tool v1.5
07-04-2022, 06:44 AM (This post was last modified: 06-13-2023, 09:55 PM by Venomalia.)
#1
Venomalia Offline
Member
***
Posts: 216
Threads: 10
Joined: Dec 2020
Is a Command line tool for extracting GC and Wii textures from disc and is compatible with Dolphin's texture hash. It allows you to extract textures from a game without having to play through the game with dolphin first. The tool can be used for any game, but the extraction rate depends on what formats the game uses and if the tool supports them. the tool can also unpack all supported formats. The most common formats are already supported, new features and formats will be added over time.

I am open for suggestions.


Downloads
[Image: DolphinTextureExtraction-tool?&style=for-the-badge]  [Image: DolphinTextureExtraction-tool?include_pr...-the-badge]


How to use: (Show Spoiler)
INFO: currently RVZ images are not supported, Please unpack them with dolphin into a folder.
Right click on a game -> Properties -> Filesystem -> right click on "Disc - [Game ID]" -> Extract Files...
[Image: L78xeP6.png]

Command-line UI
Launch DolphinTextureExtraction tool.exe and Follow the instructions of the application.

Drag and Drop
Drop a folder on the DolphinTextureExtraction tool.exe,
output to the same place only with a "~" in front of the folder.

Command-line
  • Syntax: EXTRACT "Input" "Output" -mip
    Extracts all textures and their mipmaps textures.
  • Syntax: HELP
    For a list with all commands.
Log & Results: (Show Spoiler)
When the tool is run in Ui mode it shows the results at the end, these are also at the end of the log file.

[Image: dbSl928.png]
  • Extracted textures: All extract texture mipmaps not included
  • Unsupported files: All found textures and archives that are not supported.
  • Unsupported files types: The types of the unsupported textures and archives.
  • Unknown files: All found files that could not be determined exactly.
  • Unknown files type: the types of unrecognized files.
  • Extraction rate: is calculated on the basis of the file size.
The Unknown files have no textures in most cases.
All detected files that not contain textures are not displayed in the result and log.

Known results (supported games)

Credits


[Image: GitHub-grey] [Image: Discord-blue?logo=Discord&logoColor=fff] [Image: Wiki-grey] [Image: DolphinTextureExtraction-tool?color=orange] [Image: total?color=907&label=Downloads] [Image: DolphinTextureExtraction-tool?color=990&label=Stars]


[Image: Ko--Fi-Support-red?logo=ko-fi] [Image: GitHub-Projects-lightgrey?logo=github]
Website Find
Reply
07-04-2022, 12:32 PM
#2
iwubcode Offline
Member
***
Posts: 230
Threads: 2
Joined: Oct 2019
I've mentioned it elsewhere but I really can't wait see where this goes. Hopefully after BREFT, BRRES, etc are done a number of Wii games will be supported too.

Thanks again for your work on this!
Find
Reply
07-04-2022, 10:21 PM
#3
Snowblind Offline
Non-stop depixelator ✓ᵛᵉʳᶦᶠᶦᵉᵈ
***
Posts: 129
Threads: 10
Joined: Dec 2020
That's brilliant, Venomalia. Thank you for putting effort into that.
I will test it as soon as I have some spare time.
[Image: Textures-6A5FBB?style=flat-square&logo=n...olor=white] [Image: Patreon-F96854?style=flat-square&logo=Pa...olor=white] [Image: Discord-5865F2?style=flat-square&logo=Di...olor=white] [Image: YouTube-FF0000?style=flat-square&logo=yo...olor=white]
Website Find
Reply
07-06-2022, 01:34 PM
#4
Bighead Offline
Oversized Cranium
*******
Posts: 1,985
Threads: 15
Joined: Aug 2011
Being able to dump textures from any game without having to first play them would be an incredible step forward. Can't wait to see how this progresses, great work so far!
Donate - Custom Texture Tool - Xenoblade Chronicles HD - New Super Mario Bros. Wii HD - Paper Mario: TTYD HD (Contributor) - Skies of Arcadia HD
Website Find
Reply
07-09-2022, 08:02 PM (This post was last modified: 07-13-2022, 04:21 AM by Venomalia.)
#5
Venomalia Offline
Member
***
Posts: 216
Threads: 10
Joined: Dec 2020
Update 0.6.0.0
   
  • NUTC Namco Universal Texture Container support
  • TXE Dolphin 1 Texture support
  • LZSS Compression support
  • Console is a little clearer and now in color
  • Speed increased, Multithreading made the whole program 40-60% faster.
.nut or NUTC are mainly found in Namco Games. I have tested Donkey Konga 2 and Star Fox Assault.
my result in Star Fox Assault are 3000 textures in total 60mb in under 10s.

next i take care of BREFT, BRRES support the typical wii data types.
[Image: Ko--Fi-Support-red?logo=ko-fi] [Image: GitHub-Projects-lightgrey?logo=github]
Website Find
Reply
07-10-2022, 05:43 AM
#6
djneo Offline
Above and Beyond
*******
Posts: 1,307
Threads: 30
Joined: Jan 2016
Wow, this looks really promising indeed Smile

Thanks for your work!
specs:

Windows 10
Intel i7-9900K @ 4.9Ghz
32 GB RAM
Nvidia 1080ti
Website Find
Reply
07-15-2022, 05:41 AM
#7
Venomalia Offline
Member
***
Posts: 216
Threads: 10
Joined: Dec 2020
Update 0.6.5.0
  • REFT Wii Effect Texture Support
  • AFS File Archive Support
  • bres Wii Resource Archive Support
  • TEX0 NW4R Texture Support
  • Cleanup Option
  • makes multitrading more stable
Many more games are now supported. The known results in the main post also include some results from iwubcode, which he sent me.
TEX0 with pallets are currently not supported, do not be surprised if they are simply skipped.

because it was brought to my attention,
It can always happen that Windows Defender or another program detects the tool as a Trojan or virus, unfortunately I have no great influence on it.
virustotal.com shows at least no abnormalities.
[Image: Ko--Fi-Support-red?logo=ko-fi] [Image: GitHub-Projects-lightgrey?logo=github]
Website Find
Reply
07-15-2022, 10:33 AM
#8
blue link1 Offline
Junior Member
**
Posts: 11
Threads: 0
Joined: Jun 2022
Awesome, this is quite useful
Find
Reply
07-29-2022, 07:51 PM
#9
Venomalia Offline
Member
***
Posts: 216
Threads: 10
Joined: Dec 2020
Update 0.7.6.2

New Formats
  • RKV2 Star Wars: Force Unleashed Archive, Thank To iwubcode
  • tex Star Wars: Force Unleashed Texture, Thank To iwubcode
  • RTDP Arc Rise Archive
  • WTMD Arc Rise Texture
  • PTLG Strikers Texture
  • NARC Sin and Punishment Archive.
  • TXTR Retro Studios Texture.
  • LZ77 Lempel-Ziv 77
  • GZIP GNU zip

Other changes
  • TEX0 Add Single pallet support.
  • Memory consumption optimization.
  • improved file recognition.
The known results are now here, if you want to add your results feel free to do so.
[Image: Ko--Fi-Support-red?logo=ko-fi] [Image: GitHub-Projects-lightgrey?logo=github]
Website Find
Reply
08-08-2022, 01:41 PM (This post was last modified: 08-08-2022, 02:11 PM by squidgy617.)
#10
squidgy617 Offline
Junior Member
**
Posts: 2
Threads: 0
Joined: Aug 2022
This is amazing work. I've been researching how Dolphin generates it's texture names and this tool might be exactly what I need for some of the projects I'm working on.

I'm not sure what the best way is to provide you with input on issues we find, but I've identified that images in BRES files that use a shared palette (such as many Brawl mods) do not export correctly - they will export only the first image of each image set. I'm not sure if support for that will ever come since I'm not sure the base game ever uses the shared palette method, but it is a valid format for a BRES file so I figured I would mention it.

I noticed it's actually skipping textures that would end up with a duplicate name, which could actually be the issue, since all the textures would have a duplicate name without the tlut being hashed. Maybe you could add a flag to not skip duplicate textures?

Appreciate the work, excited to see how far this gets.
Find
Reply
« Next Oldest | Next Newest »
Pages (5): 1 2 3 4 5 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode