TextureSwapper
This mod is based on Custom Paintings and allows for the ability to replace Various Textured Items (Sellable or Static) either by end users or other plugins.
About this mod Author’s original text
Texture Swapper (R.E.P.O.)
Texture Swapper is an in-depth Texture and more swapper mod to the game R.E.P.O designed to be expandable and easy to use. Such was based on RandomPaintingSwap by GabziDev and credit to them for the orignal idea and code.
More Info
Recommend to check out Texture Swapper on GitHub for more up-to-date info about features and guides on using the mod.
Adding Custom Images
- In the plugins folder where you placed the TextureSwapper-x.dll file, create a folder named texture_swapper_queries.
- Place your images inside this folder. These images will be used to randomly replace the paintings in the game.
Do note that the texture_swapper_queries also looks into each plugin installed and into the config folder as well.
Supported Media Format
The following is the currently supported formats to swap textures and other assets with more to be added in the future:
Image Formats
-.png
-.jpg.jpeg
-.bmp
-.tiff
-.psd
-.webp (Converted to.png internally)
-.svg (Converted to.png internally)
-.gif (Note that all gifs are converted to webm's as such provides better performance with playback and file size
Video Formats
-.webm (Only VP8 Codec works due to issues with Unity)
-.mp4 (Check unity for supported codecs)
Data Format Information
Info about the data format to making queries will be documented within the future.
Future Plans
- Add support for APNG
- Check media format size to better match swapping of textures to texture loactions
- Allow for swapping textures onto other textures i.e. replace the fridge images without needing asset replacement
- Swap to using VLC or another media player to allow for more supported Codec and Media formats
- Documentation about default queries provided, the format for making query files and info about creating addons for services
- Add Support for Youtube and other Video Platforms
Known issues
- DOSE NOT WORK IN SINGLEPLAYER
- Random network incompatibilities
- Some Image URL's are not valid due to how the URL pattern currently works
- Local files are copied to cache instead of being used directly
- Only a single instance of a VideoPlayer can occur
- Some swapped textures are UV / Sprite Sheeted, leading to issues with the images swapped to being cropped
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: