[Tool] Resorep - DirectX 11 texture replacer (3 Viewers)

snark

2D Artist
3D Artist
Illustrator
Joined
Jan 25, 2025
Took a texture from the DXGI_FORMAT_BC1_TYPELESS folder and re-saved it with no modifications. In game it shows up as black.
I've tried every different combination when saving it and it always shows up as black, the OG unedited image displays fine. I am at a loss for words, does anyone have any clue what's going on?

Edit: Turns out the textures aren't black, they simply don't render at all, as if they're missing. I still don't know why.
 

Attachments

  • ffs.png
    ffs.png
    2.6 MB · Views: 162
Last edited:

hardhitter

Modder
Joined
Mar 19, 2025
Information
A tool to replace textures in DirectX 11 applications.
Aims to do the same thing as uMod tool did for DirectX 9.
Download link
Resorep | Undertow
Prepare the following files:
  1. Screenshot of Resorep window.
  2. ui.log, uisettings.ini, dllsettings.ini files in the "My Documents\Resorep" folder.
  3. Dll log file. Its path is specified in advanced settings dialog. To get a dll log - close a game, open Resorep, open advanced settings, enable mod creator mode, enable dll log, launch a game, see resorepDll.log file in the "My Documents\Resorep" folder.
  4. Screenshot of contents of a folder with game executable. Please enable table view - I need file sizes to be visible.
  5. If you are using Resorep with Black Desert and game is crashing or hanging, prepare a copy of "My Documents\Black Desert\Dump" folder.
Now copy all these files into some folder and create a ZIP archive of that folder. Upload this ZIP archive to some file hosting e.g. MediaFire Send me a private message with the following information:
  1. Link to ZIP archive
  2. Problem description.
  3. Your Windows version.
Remove all applications from hooked application list in Resorep UI if you can.
Perform a file search on a game folder. Find and delete all instances of the following files (only inside the game folder or any subfolders, not system-wide!):
game_d3d11.dll
ori_d3d11.dll
d3d11.dll
dllsettings.ini
After that you may try to use Resorep again carefully.
Limitations of current version
  1. No global hooking mechanism.
  2. Supports only one of many texture loading mechanism of DirectX 11.
  3. Supports only DirectX 11 applications.
  4. Has some unknown bugs.
List of supported games
  • Black Desert Online (64-bit DirectX 11 version)
  • Rise of the Tomb Raider (64-bit DirectX 11 version)
  • Sleeping Dogs Definitive Edition (64-bit DirectX 11 version)
  • Assassin's Creed Rogue (64-bit DirectX 11 version)
  • Batman Arkham Knight (64-bit DirectX 11 version)
  • Just Cause 3 (64-bit DirectX 11 version)
For more complete list please see Resorep Compatibility List
Many thanks to Lazyeye007 for the list.
Usage instructions
For mod users
  1. Download and install Microsoft Visual C++ 2015 Redistributable from Download Visual C++ Redistributable for Visual Studio 2015 from Official Microsoft Download Center
  2. Download and install Windows x64 version of Java Runtime Environment from Java SE Runtime Environment 8 - Downloads
  3. Launch resorep.jar - double click it in Windows Explorer.
  4. Make sure that your Windows user has write rights for game folder!
  5. Click the "+" button in the "Applications to hook" section.
  6. Choose the game executable. Not the game launcher but game itself.
  7. [Optional] Change "Load modded textures from" path if you wish.
  8. You may close the resorep.jar application now.
  9. Find and download modded textures (for BDO see the "Where to find modded textures for BDO" section).
  10. Unpack and copy modded textures into folder specified by "Load modded textures from" path.
  11. Launch the game.
For modders
  1. Download and install Windows x64 version of Java Runtime Environment from Java SE Runtime Environment 8 - Downloads
  2. Launch resorep.jar - double click it in Windows Explorer.
  3. Make sure that your Windows user has write rights for game folder!
  4. Click the "+" button in the "Applications to hook" section.
  5. Choose the game executable. Not the game launcher but game itself.
  6. [Optional] Change "Save original textures to" path if you wish.
  7. Launch the game.
  8. To reduce amount of captured textures, wait for the moment when the texture you are going to mod is about to be displayed for the first time.
  9. Enable the "Save original textures" checkbox when the texture you are going to mod is about to be displayed for the first time.
  10. Disable the "Save original textures" checkbox when the texture you are going to mod was displayed in-game.
  11. Open folder specified in "Save original textures to".
  12. Find the texture you are going to mod in one of the subfolders. There are different subfolders for different texture compression algorithms.
  13. Mod the texture (use Intel(R) DDS Plugin for Photoshop - Intel® Texture Works Plugin for Photoshop* | Intel® Software ). You may change the texture resolution as you wish as long as you keep original aspect ratio.
  14. Save the texture to other folder using the same compression algorithm and with mipmaps setting set to "Generate mipmaps". You may add arbitrary text to file name by placing ~ after number in file name and placing text after ~. E.g. "123456789~Example text.dds"
  15. Do not delete the original unmodded dds! It may be required later to autoupdate your modded textures in case of Resorep hashing algorithm change.
  16. [Optional step] If you want to encrypt your textures - drop me a private message
  17. Now when you have the modded texture use steps from the "For mod users" section.
Manual installation method:
  • Copy C:\Windows\System32\d3d11.dll to same folder as game's .exe file.
  • Rename copied d3d11.dll to ori_d3d11.dll (in the game folder, not in the system folder!)
  • Copy dx11proxy64.dll to same folder as game's .exe file.
  • Rename copied dx11proxy64.dll in game folder to d3d11.dll
  • Create dllsettings.txt file in same folder as game's .exe file.
  • Open dllsettings.txt file with Notepad.
  • Put the following text inside dllsettings.txt file:

Code:
version=1.7.0
modded_textures_folder=C:\Users\RayWing\Documents\Resorep\modded
mod_creator_mode_enabled=false
dll_log_enabled=false
dll_log_file=C:\Users\RayWing\Documents\Resorep\resorepDll.log
save_textures=false
original_textures_folder=C:\Users\RayWing\Documents\Resorep\original
application_to_hook=G:\Games\Steam\steamapps\common\NieRAutomata\NieRAutomata.exe|BIT64
  • Download, extract and put modded textures into some folder.
  • Change modded_textures_folder path to folder with modded textures.
  • Change original_textures_folder to some empty existing folder.
  • Change application_to_hook to path to your game's .exe file (add |BIT64 or |BIT32 at the end depending on application bitness, use |BIT64 if you are not sure).
  • Change folder in dll_log_file path to some existing folder.
  • Save and close dllsettings.txt file.
  • Change the dllsettings.txt file extension to dllsettings.ini
  • Run the game.
How to contribute
If you have some C/C++/Java skills and willing to contribute - PM me to get access to source code repository (hopefully it will become open source later).
question, im a bit new to the whole modding thing but totally new to this tool. can i use on different games at the same time if i redownload or do i have to unhook each game each time? Thank u for your time.
 


Write your reply...

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.