Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Discuss modding questions and implementation details.
Post Reply
TazzTheFox
Posts: 2
Joined: Tue Mar 11, 2025 4:00 am

Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Post by TazzTheFox »

I'm new to modding for Daggerfall Unity and want to use Stable Diffusion to create modernized versions of some in-game assets. I’ve started by generating new versions of the Wereboar and Werewolf sprites using Image-to-Image Stable Diffusion (kind of a proof of concept), using the original sprites as a guideline—these aren’t simple AI upscales like some other mods will do. Obviously will use photoshop to touch these up at a later date if I am able to even figure out how to get these in game.

I have Unity installed and set up with Daggerfall Unity, but I'm not sure what steps to take next. Any help or guidance would be greatly appreciated! For the record these two images took like 10 minutes to do and it is possible to do this in bulk.
Attachments
00068-1763719142.png
00068-1763719142.png (512.35 KiB) Viewed 25342 times
00043-757604781.png
00043-757604781.png (453.43 KiB) Viewed 25342 times

User avatar
Jehuty
Posts: 4140
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Post by Jehuty »

I have moved this topic to Modder Discussion.

User avatar
MrFlibble
Posts: 459
Joined: Sat Jan 27, 2018 10:43 am

Re: Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Post by MrFlibble »

I'm more of an AI sceptic at this point, but the images look pretty good and rather authentic to the low-res originals.

I'd recommend to crop the UI frame though and just leave the character sprites and the background.

Can you show what your AI can do with human character images? Just remember though, there are hundreds of clothing and armour items for PC paperdolls, and while the AI might produce a good image of the composite result, you will need to do a lot of uniform cropping for the new paperdolls to actually work in-game.

User avatar
King of Worms
Posts: 4824
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Post by King of Worms »

Looks good.

You get this ingame by placing the files in "...DaggerfallUnity_Data\StreamingAssets\Textures\IMG"

correct naming is
BOAR00I0.IMG.png
WOLF00I0.IMG.png

TazzTheFox
Posts: 2
Joined: Tue Mar 11, 2025 4:00 am

Re: Question: Stable Defusion to recreate game assets using sprites as Image to Image guideance.

Post by TazzTheFox »

MrFlibble wrote: Fri Mar 14, 2025 10:20 am I'm more of an AI sceptic at this point, but the images look pretty good and rather authentic to the low-res originals.

I'd recommend to crop the UI frame though and just leave the character sprites and the background.

Can you show what your AI can do with human character images? Just remember though, there are hundreds of clothing and armour items for PC paperdolls, and while the AI might produce a good image of the composite result, you will need to do a lot of uniform cropping for the new paperdolls to actually work in-game.

This was to be expected and With Impaint and Photoshop I think it can be possible to make authentic looking paper dolls and backdrops. Yes it's a lot of work for the amount of flat assets that exist but Im pretty confident that anything can be replicated using Stable Diffusion.

I will give more examples in the near future.

King of Worms wrote: Sat Mar 15, 2025 6:15 pm Looks good.

You get this ingame by placing the files in "...DaggerfallUnity_Data\StreamingAssets\Textures\IMG"

correct naming is
BOAR00I0.IMG.png
WOLF00I0.IMG.png
Thank you!

Post Reply