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

1qaz

Potential Patron
Joined
Jul 17, 2021
Capture.PNG
 

neo5577

Potential Patron
Joined
Aug 18, 2021
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).
where can i download ? i m logged in but no download
 

Deleted member 311826

Potential Patron
Joined
Sep 13, 2021
Hi,

Resorep doesn't launch. When I run via CMD I'm getting this error:


Code:
2021-09-19 03:22:00.159 INFO  com.ray.wing.resorep.Main:31 - Application startup
Exception in thread "main" java.lang.IllegalStateException: Cannot load configuration class: com.ray.wing.resorep.Main
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:403)
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:249)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:125)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)
        at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
        at com.ray.wing.resorep.Main.main(Main.java:32)
Caused by: java.lang.ExceptionInInitializerError
        at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:122)
        at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:110)
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:393)
        ... 7 more
Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @610694f1
        at org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:464)
        at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:336)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
        at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
        at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
        at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291)
        at org.springframework.cglib.core.KeyFactory$Generator.create(KeyFactory.java:221)
        at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:174)
        at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:153)
        at org.springframework.cglib.proxy.Enhancer.<clinit>(Enhancer.java:73)
        ... 10 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @610694f1
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
        at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
        at org.springframework.cglib.core.ReflectUtils$1.run(ReflectUtils.java:61)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        at org.springframework.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:52)
        at org.springframework.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:243)
        at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
        at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329)
        ... 22 more

I have installed the Microsoft Visual C++ 2015 Redistributable and jre8.


Thanks!
 

fuck4399

Potential Patron
Joined
Oct 17, 2021
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).
I miss texmod, this one is so complicated.
 

gamer1221

Potential Patron
Joined
Oct 27, 2021
Hi,

Resorep doesn't launch. When I run via CMD I'm getting this error:


Code:
2021-09-19 03:22:00.159 INFO  com.ray.wing.resorep.Main:31 - Application startup
Exception in thread "main" java.lang.IllegalStateException: Cannot load configuration class: com.ray.wing.resorep.Main
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:403)
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:249)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:281)
        at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:125)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)
        at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
        at com.ray.wing.resorep.Main.main(Main.java:32)
Caused by: java.lang.ExceptionInInitializerError
        at org.springframework.context.annotation.ConfigurationClassEnhancer.newEnhancer(ConfigurationClassEnhancer.java:122)
        at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:110)
        at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:393)
        ... 7 more
Caused by: org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @610694f1
        at org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:464)
        at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:336)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91)
        at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
        at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
        at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
        at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291)
        at org.springframework.cglib.core.KeyFactory$Generator.create(KeyFactory.java:221)
        at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:174)
        at org.springframework.cglib.core.KeyFactory.create(KeyFactory.java:153)
        at org.springframework.cglib.proxy.Enhancer.<clinit>(Enhancer.java:73)
        ... 10 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @610694f1
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
        at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
        at org.springframework.cglib.core.ReflectUtils$1.run(ReflectUtils.java:61)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        at org.springframework.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:52)
        at org.springframework.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:243)
        at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
        at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329)
        ... 22 more

I have installed the Microsoft Visual C++ 2015 Redistributable and jre8.


Thanks!
So I was getting a similar error when running it in CMD, and I saw the part about springframework and I was starting to think it could be something weird.

However I continued doing more research and found out that on the main page of Resorep download file there was a section to the right of the page with a button that said "Get Support". I clicked on it and on the tab "Usage instructions For mod users" I saw the following:
  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.
------------------------------------------------------- MY SOLUTION BELOW ->
NOTE that they clearly specify the 1. C++ 2015 version and 2. JAVA SE 8 versions. Most likely this app may not be able to run with other versions so you have to make the effort to install this versions. Here is where the problem is. If you are a developer yourself and or have installed Java to run apps or to code, then most likely you have come across setting environment variables in windows. Meaning you could have multiple java SE runtimes installed but this specific app may only work with one specific type, in my case it worked with

Java SE Development Kit 8u261 - jdk-8u261-windows-x64.exe.​

And I also had to make sure that the right environment variables were set in Windows. Here is where my other big issue came for me. I recently reinstalled windows in my PC and realized that you could have two types of Windows accounts in your PC, one is the Admin account and one is the regular user account. You can look more into this but basically is a way to minimize the risk of some apps running on their own when you don't want them to, by having to ask yourself for the admin account password. However if you are or decide to go in that route by having 2 accounts or more in your pc. Then you need to keep in mind the environment variables section as some variables are set at the "System level" meaning with your admin account. and other "User Variables" are set by the user which do not ask you for a password to set them. For me for some reason I had to set the path variable to include %JAVA_HOME%\bin in the "Environment Variables for your account" pop up for windows.

Normally if you go in the windows search bar and type "environ" without the quotes, you will get two things, notice they are different. The one at the top is "Edit the system environment variables" the second one is "Edit environment variables for your account". Again I get these 2 options since I have two accounts in my Windows PC, one is and Admin account with a strong password that will ask me for the password whenever I want to install something or put something in my C drive, the other account is my regular account that I will use to play games etc..., so when I try to install games from my non-admin account it always ask me for my admin password. and hence here I get two options. The first option will ask me for the password since the system environment variables are for all accounts, and the user environment variables will not ask me for a password as they are not for all accounts, jus the one I am currently in.
1635311271384.png


Once you open the first or second option and then enter the Environment Variables section, you can see which account you are editing variables for by looking at the top left corner of that window:
1635311755908.png
vs
1635311920701.png

In the Admin one you can set the System Variable:
JAVA_HOME to where you installed the jdk version I mentioned above.
1635311962276.png

In your regular user account variables you can set the Path user variable to include %JAVA_HOME%\bin
1635312213100.png


After those are set, you should be able to go into CMD and type: Java -version
and should get the java version "1.8.0_261"
Then you can navigate to the folder where you have the resorep.jar file by typing: cd followed by the path where the jar file is in,
then you can type : dir to see that the jar file is listed there
then you can type: java -jar resorep.jar to run the app, and it should run, at least it did for me :).

1635312714103.png


One more thing, once you make sure you are running your jar with the right Java version, as shown with the cmd screenshot, you don't have to go through CMD all the time to run the app, you can easily create a .bat file that will do this step for you and you can just click on this new file. This guy explains it pretty well:
 

Attachments

  • 1635311783296.png
    1635311783296.png
    2.5 KB · Views: 213
Joined
Nov 24, 2021
hi im having this problim AccessDeniedExeption: dx11proxy64.dll -> c:program files (x86)\DODI-Repacks\Batman arkham knight\binaries\win64\d3d11.dll
.please help and yes i pirate this i broke bitch like big broke bitch look i already bought on ps4 and xbox one
 

Icantevenname

Potential Patron
Joined
May 22, 2016
Dunno if this has already been answered, but when I try to run this with command, it says "Error: Could not find or load main class" then the address of the jar file.
 

BigPooper

3D Artist
Joined
Dec 29, 2021
This is a late entry, I'm trying to use this in conjuncion with blacksmith for modding Assassins Creed Origins. I can find the textures with Resorep (which is great) but I can't find the relevant textures in Blacksmith, I understand that Blacksmith is not your concern. Really I'm wondering how Resorep rips textures and if it could be made to show a file location? I know that's more work and this thread is 5 years old.
 

astorfuzz

Potential Patron
Joined
Jan 15, 2022
resorep wont launch, i get this text
CouldNotLoadArgumentException[ Angegebene Datei/URL konnte nicht geladen werden: C:\Users\****\Downloads\Resorep 1.7.0 US\Win 10\resorep.jar]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: File too large
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
... 5 more

Solved: reinstalled windows
 
Last edited:

seanseansean

Potential Patron
Joined
Oct 18, 2021
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).
mines wont open, i have everything installed but when i double click it nothing happens but my curser does the loading animation
 

sunnyrio

Potential Patron
Joined
Mar 19, 2022
So once this is hooked, do I never have to open the jar file again? Or should I launch it every time I play the game? Or every time I add more textures?
 

sunnyrio

Potential Patron
Joined
Mar 19, 2022
Either something is using the dll file (make sure all games are closed), or you need more permission on that file (Windows is over protective) - you could try taking ownership of that folder.
 

Kingboi

Potential Patron
Joined
Apr 13, 2022
Resorep works normally now and I put the dds files in the modded folder but the skin does not change? please help
 

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.