DaggerXL texture replacement project
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: DaggerXL texture replacement project
Very nice NPC flats epicurius7, these you posted here are of a higher resolution than those contained in the DFTexture pack from the opening post btw.
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- AlexanderSig
- Posts: 324
- Joined: Wed Jul 19, 2017 10:35 pm
Re: DaggerXL texture replacement project
Made a short guide on how to convert the textures for DFUnity. Only takes about 15-20 seconds for each texture. Very easy but repetitive. Hopefully someone will have the time and patience to convert these and share them with us.
Just remember to save it as .png and include the "-0" at the end.
About contacting the older authors... some of them have not been active for many years, I don't expect us to be able to get in touch with all of them but I can't imagine any of them having any problem with their work being enjoyed like this.
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: DaggerXL texture replacement project
I might try this...
So if a texture in the DXLTexPack is named " 009-0 " I will change it to " 009_0-0 " and save it as a " .png " in a photoshop for example. Is that right?
using TextureReplacers.txt notes so...
in this case, tavernint1.tga to 360_0-0.png
tavernint_wood.tga to 360_4-0.png
etc. etc. etc.
So if a texture in the DXLTexPack is named " 009-0 " I will change it to " 009_0-0 " and save it as a " .png " in a photoshop for example. Is that right?
using TextureReplacers.txt notes so...
in this case, tavernint1.tga to 360_0-0.png
tavernint_wood.tga to 360_4-0.png
etc. etc. etc.
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- AlexanderSig
- Posts: 324
- Joined: Wed Jul 19, 2017 10:35 pm
Re: DaggerXL texture replacement project
That's rightKing of Worms wrote:I might try this...
So if a texture in the DXLTexPack is named " 009-0 " I will change it to " 009_0-0 " and save it as a " .png " in a photoshop for example. Is that right?
using TextureReplacers.txt notes so...
in this case, tavernint1.tga to 360_0-0.png
tavernint_wood.tga to 360_4-0.png
etc. etc. etc.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: DaggerXL texture replacement project
If it's overwhelming you can use a simple script to rename all the files at once.King of Worms wrote:I might try this...
So if a texture in the DXLTexPack is named " 009-0 " I will change it to " 009_0-0 " and save it as a " .png " in a photoshop for example. Is that right?
using TextureReplacers.txt notes so...
in this case, tavernint1.tga to 360_0-0.png
tavernint_wood.tga to 360_4-0.png
etc. etc. etc.
It is also very possible to automatize format conversion with a script for gimp or similar.
An alternative is to do a trick with a plugin for advanced management of layers: you import all the files from a folder as layers and then export all the layers as single images.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: DaggerXL texture replacement project
This is a script in Python 3.
Paste the code in a text file (in the same folder with TextureReplacers.txt as extracted) and rename it from name.txt to name.py, then launch it in a python shell. If you are under windows you need the python interpreter.
Paste the code in a text file (in the same folder with TextureReplacers.txt as extracted) and rename it from name.txt to name.py, then launch it in a python shell. If you are under windows you need the python interpreter.
Code: Select all
import os
# get new name
def ImageName(archive, record):
name = archive + '_' + record + '-0.tga'
return name
# create local folder
folder = 'DaggerfallUnity'
if not os.path.exists(folder):
os.makedirs(folder)
# stream file
with open('TextureReplacers.txt') as file:
for line in file:
# check line
if line[:1] != '[':
continue
# get archive
archive = line[9:12]
print ('archive:' + archive)
# get record
closureIndex = line.find(']', 15, 17)
record = line[14:closureIndex]
print ('record:' + record)
# get path
path = line[closureIndex+2:len(line)-2]
print ('path: ' + path)
# rename
if os.path.exists(path):
newPath = os.path.join(folder, ImageName(archive, record))
os.rename(os.path.abspath(path), os.path.abspath(newPath))
else:
print ('failed: path not found')
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: DaggerXL texture replacement project
Thanks Lacus, script is working.
I just need to decide what to do with textures which have more options. For example. Terrain folder has 3 subfolders:
High Res PSD - 18 files - 74mb
High Res TexPack - 56 files - 56mb
Medium Res TexPack - 49 files - 3mb
I think I should create one pack from this folder, and use the files with best quality if there is a choice.
I will merge the folders in a way Medium gets overwritten with High res and than overwrite this all with the PSD files as a last step. Given I will make all the names right prior to this, it should leave us with the highest quality where possible, while utilizing all the remade textures in this 3-pack.
I will manually check the appearance of the textures now, to see the difference....
I just need to decide what to do with textures which have more options. For example. Terrain folder has 3 subfolders:
High Res PSD - 18 files - 74mb
High Res TexPack - 56 files - 56mb
Medium Res TexPack - 49 files - 3mb
I think I should create one pack from this folder, and use the files with best quality if there is a choice.
I will merge the folders in a way Medium gets overwritten with High res and than overwrite this all with the PSD files as a last step. Given I will make all the names right prior to this, it should leave us with the highest quality where possible, while utilizing all the remade textures in this 3-pack.
I will manually check the appearance of the textures now, to see the difference....
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- AlexanderSig
- Posts: 324
- Joined: Wed Jul 19, 2017 10:35 pm
Re: DaggerXL texture replacement project
Found some more stuff. Someone made all the signs and they look fantastic.
Wish I could find out the original author but couldn't find any mention on it on the newer DaggerXL forums, so this may have been completely wiped out when the older DaggerXL forums shut down.
Good thing I saved it!
https://drive.google.com/open?id=0B3579 ... jVqMnJ3Z0U
These files are very high res (2048x1024) for such a small object. May be better to scale them down a little?
Wish I could find out the original author but couldn't find any mention on it on the newer DaggerXL forums, so this may have been completely wiped out when the older DaggerXL forums shut down.
Good thing I saved it!
https://drive.google.com/open?id=0B3579 ... jVqMnJ3Z0U
These files are very high res (2048x1024) for such a small object. May be better to scale them down a little?
- jman0war
- Posts: 315
- Joined: Fri Jan 22, 2016 2:41 am
- Contact:
Re: DaggerXL texture replacement project
LOL that was one of my early DF texures.AlexanderSig wrote:Found some more stuff. Someone made all the signs and they look fantastic.
Wish I could find out the original author but couldn't find any mention on it on the newer DaggerXL forums, so this may have been completely wiped out when the older DaggerXL forums shut down.
These files are very high res (2048x1024) for such a small object. May be better to scale them down a little?
But i would not put that in my game today.
It deviates too far from original.
Find my Vibrant Terrain Flats mod at Nexusmods: https://www.nexusmods.com/daggerfalluni ... ?tab=files
- AlexanderSig
- Posts: 324
- Joined: Wed Jul 19, 2017 10:35 pm
Re: DaggerXL texture replacement project
Do you happen to have the original layered .psd files? So that I could use the icon part of the texture but with another wood texture underneath for my model project?jman0war wrote:LOL that was one of my early DF texures.AlexanderSig wrote:Found some more stuff. Someone made all the signs and they look fantastic.
Wish I could find out the original author but couldn't find any mention on it on the newer DaggerXL forums, so this may have been completely wiped out when the older DaggerXL forums shut down.
These files are very high res (2048x1024) for such a small object. May be better to scale them down a little?
But i would not put that in my game today.
It deviates too far from original.