LethalPoster Paintings from url

版本 v1.0.0·更新於 2024-05-18

Short mod to allow downloading files for LethalPaintings & LethalPosters, rather than creating a mod to add them.

模組介紹 作者原文

LethalPoster-Paintings-from-url

Description:

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...

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.

Installation:

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

Usage:

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:

  • paintingurls: list of Urls for paiting files to download - space separated (ex:...) - must be using femboytv/LethalPaintings templates and be.png
  • FivePostersUrls: list of Urls for atlas textures with 5 posters files to download - space separated (ex:...) - must be using femboytv/LethalPosters templates and be.png
  • TipPostersUrls: list of Urls for the textures for the Tips for the job poster files to download - space separated (ex:...) - must be using femboytv/LethalPosters templates and be.png

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.

  • As an exemple, if you wanted to use google drive as a provider:
  • just generate a share link, get the file id (the random string after file/d/ in the link url) and put it after this url:

Should work wonders.

Also, additional config options. I have set those in the defaults, so nothing needed, but hey if you really need to overwrite them:

  • FivePostersFolder: 5 posters folder to download into - must be what femboytv/LethalPosters excepts. Default will be Location+LethalPosters/posters/
  • TipPostersFolder: Tips for the job posters folder to download into - must be using femboytv/LethalPosters excepts. Default will be Location+LethalPaintings/paintings/
  • PaintingsFolder: Paintings folder to download into - must be using femboytv/LethalPaintings excepts. Default will be Location+LethalPaintings/paintings/

Support / Toubleshooting:

  • First: If it dosent work properly first time, and you don't see the posters / paintings, it might be LethalPaintings / LethalPosters loading before this mod. Both mods are not in the bepinex dependencies to alleviate this, + the naming should prevent this. But in doubt, try to restart your game. Files will be in place for the second run so it won't be an issue.
  • Second: Mod should log everything of importance in the bepinex console, so l

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

femboytv-LethalPaintingsfemboytv-LethalPosters

檔案與校驗

檔案名稱
LethalPoster_Paintings_from_url-1.0.0.zip
檔案大小
123.3 KiB