Short mod to allow downloading files for LethalPaintings & LethalPosters, rather than creating a mod to add them.
If - like me - you don't fançy slapping your friend's butt for all to see on thunderstore...
Using it amounts to simply slaping an url pointing to a .png file (in the right templated format) in the config, it will download it at load. Will keep it there for next time, so you save bandwith and dont have to download heaps of pictures each time.
Bear in mind it only checks if the donwloaded file is a .png, no other fancy protection besides your common sense - i dont have to remind you to not blindly trust someone elses link right?
Didn't find a mod already made to do so, so i did it, probably badly idk it's my first mod like ever so good luck, have fun.
It's very odd, especially concidering the amount of web boombox mods out there. But hey maybe it's well hidden or something idk.
Use R2modman.
or to do it yourself :
Get one of the gitlab releases, and dump the DogeCore_LethalPoster_Paintings_from_url folder into bepinex/plugins, and voilà.
Required folders are created if absent. Config files will only exist after one first launch of the game, so prepare to restart it at least once.
Might wana also read https://lethal.wiki/.
All is in the config. Just slap your urls in the right variable and you'll be done.
For R2Modman users, look in the config editor for somthing along LethalPoster-Paintings-from-url.cfg, and edit away.
Or fetch and edit the file in your *BepInEx\config\* folder.
In the config, those are the actual lists of images to dl :
Mod should accept any link that points to a image download, or an image link, as long as it's available without login. If not, lookout for the logs in the console, it will tell you what's wrong.
To note : it does not clean anything between changes, so if you want to remove stuff, you'll have to do it yourself by manually deleting the files in the folder.
Also, additional config options. I have set those in the defaults, so nothing needed, but hey if you really need to overwrite them :
Credits and thanks goes to Femboytv for LethalPaintings & LethalPosters : https://thunderstore.io/c/lethal-company/p/femboytv/ / https://femboy.tv
For the rest: made by DogeCore - 2024
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Original author acknowledgement optional but appreciated.