Jump to content


Photo

Spluff


  • Please log in to reply
15 replies to this topic

#1 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 11:55 AM

Spluff

Dunc needed a tool that extracted ALL textures so he could optimize them. I made Spluff.

With Spluff you can type in a folder (or multiple) that you wish to extract from your MO mods and it will place it in the output folder (see below). You can choose which folders to get and whether to extract from BSA's only, loose files only or both.

 

JgOYcwy.png

 

This can also be used as a sort of library for those inclined to use it in their own apps, the api is sort of self-explanatory. There is no cli currently, but if anyone wants to use it that way I can certainly make one.

If you've ever used ReLinker, that tool uses this one to extract BSA's and loose files.

Prerequisites:

  • Mod Organizer - does not work with other managers;

Download it here. The tool will ask you for some things and will try to guess them properly. If the values between square brackets are correct, simply press ENTER without inputting any value. The output files will be stored in a new mod folder named "Spluff Output". To revert the changes from this tool simply disable or delete the folder.
 
Good Practices:

  • Spluff will run with the latest profile used in MO;
  • Close MO before running it.

If you have specific issues or suggestions post it directly to the issue tracker. I'm always happy to receive questions and feedback. Happy extracting!


Edited by Ganda, 21 August 2016 - 02:22 PM.

  • 1

#2 dunc001

dunc001

    Thane

  • Members
  • PipPipPipPipPipPip
  • 438 posts

Posted 21 August 2016 - 12:20 PM

Another quality description in the OP :P

Basically this is Ganda's solution to a question I posed as to whether I could extract all the textures (and meshes) from the MO virtual data directory (so basically all the winning textures and meshes in the left pane priority order) to one consolidated folder, preserving the folder structure, so I could then run Ordenador on just those textures which are actually being used in game rather than my complete /mods folder which currently stands at a little over 130gb! I would then create a new 'mod' containing the optimised textures and load it last so it overwrites everything, providing all the winning textures. Arguments aside as to whether there is any real benefit to optimising (or problems arising) this tool does exactly what it set out to do.

I'm hoping it will give rise to an automated way of running every winning mesh through a combination of NifScan and NifHealer so you have a one click find and fix for all broken meshes, but that's a story for another day...

Edited by dunc001, 21 August 2016 - 12:21 PM.

  • 0

#3 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 12:23 PM

Another quality description in the OP :P

Basically this is Ganda's solution to a question I posed as to whether I could extract all the textures (and meshes) from the MO virtual data directory (so basically all the winning textures and meshes in the left pane priority order) to one consolidated folder, preserving the folder structure, so I could then run Ordenador on just those textures which are actually being used in game rather than my complete /mods folder which currently stands at a little over 130gb! I would then create a new 'mod' containing the optimised textures and load it last so it overwrites everything, providing all the winning textures. Arguments aside as to whether there is any real benefit to optimising (or problems arising) this tool does exactly what it set out to do.

Yh, I truly suck at this o.0 do you mind if I include this in the op?
 

I'm hoping it will give rise to an automated way of running every winning mesh through a combination of NifScan and NifHealer so you have a one click find and fix for all broken meshes, but that's a story for another day...

Shhhhh, cmon dude, don't go spreading that...


Edited by Ganda, 21 August 2016 - 12:24 PM.

  • 0

#4 DarkladyLexy

DarkladyLexy

    Jarl

  • Pack Authors
  • PipPipPipPipPipPipPipPipPip
  • 942 posts

Posted 21 August 2016 - 12:26 PM

nice got to give this a go since i am trying out a few ideas for stabilization of SRLE Extended LOTD.

 

Edit: Ok it creates the Spluff Output folder inside Mod Organizer but it is empty.

does it matter if I use the 64-bit or 32-bit?


Edited by DarkladyLexy, 21 August 2016 - 12:41 PM.

  • 0

#5 dunc001

dunc001

    Thane

  • Members
  • PipPipPipPipPipPip
  • 438 posts

Posted 21 August 2016 - 01:23 PM

Yh, I truly suck at this o.0 do you mind if I include this in the op?


Sure, be my guest.
 

Shhhhh, cmon dude, don't go spreading that...


Every man should have a dream ;)
  • 0

#6 Greg

Greg

    High King

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 1,418 posts

Posted 21 August 2016 - 03:28 PM

nice got to give this a go since i am trying out a few ideas for stabilization of SRLE Extended LOTD.

 

Edit: Ok it creates the Spluff Output folder inside Mod Organizer but it is empty.

does it matter if I use the 64-bit or 32-bit?

Mod Organizer 1.x can't hook 64-bit applications, so always use the 32-bit version of applications inside Mod Organizer.



#7 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 03:30 PM

Edit: Ok it creates the Spluff Output folder inside Mod Organizer but it is empty.

does it matter if I use the 64-bit or 32-bit?

Can you show me what you typed in?

 

Mod Organizer 1.x can't hook 64-bit applications, so always use the 32-bit version of applications inside Mod Organizer.

No need to run this inside MO, I would even advise you not to.


  • 0

#8 DarkladyLexy

DarkladyLexy

    Jarl

  • Pack Authors
  • PipPipPipPipPipPipPipPipPip
  • 942 posts

Posted 21 August 2016 - 04:27 PM

https://www.dropbox.....24.54.png?dl=0

 

I may have set things up wrong.


  • 0

#9 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 04:30 PM

https://www.dropbox.....24.54.png?dl=0

 

I may have set things up wrong.

No no! Okay, I truly suck at descriptions xD As soon as I'm finished posting something else I'll fix that here. the folders to extract are like textures, scripts, etc. Check the image i put up! you can also define subfolders like:

 

textures\terrain\lodgen


  • 0

#10 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,572 posts

Posted 21 August 2016 - 05:31 PM

Its from the perspective of a "virtual" Skyrim\Data\ folder

 

I think its just an issue of terminology but I was confused by that also.



#11 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 05:34 PM

Hishy, fix it!


  • 0

#12 Darth_mathias

Darth_mathias

    Dragon King

  • Pack Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,782 posts

Posted 22 August 2016 - 10:49 AM

so what should I actaully put in the first line to extract the textures from my Mod Organizer mods folder I am a little confused?


  • 0

#13 dunc001

dunc001

    Thane

  • Members
  • PipPipPipPipPipPip
  • 438 posts

Posted 22 August 2016 - 04:51 PM

If you want all winning textures then simply put textures in the first line, leave the second at 0, set your paths and go
  • 0

#14 Darth_mathias

Darth_mathias

    Dragon King

  • Pack Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,782 posts

Posted 23 August 2016 - 12:59 AM

If you want all winning textures then simply put textures in the first line, leave the second at 0, set your paths and go

ok thanks Dunc that did also used the 32 bit version and it would help if one spells things correctly.


  • 0

#15 Gaghar

Gaghar

    Prisoner

  • Members
  • 6 posts

Posted 01 September 2016 - 02:33 PM

Awesome tool. Thank you very much :)


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users