Stardew Valley
warning Scheduled Downtime - On 3 August 2021 starting from 09:30 (GMT+1) until approximately 13:30 (GMT+1) our site and forums will be undergoing maintenance.

File information

Last updated

Original upload

Created by

barteke22

Uploaded by

barteke22

Virus scan

Safe to use

About this mod

Customisable overlays that show fish in current area when holding a fishing rod (or crab pot), and give preview during the fishing minigame.

Requirements
Permissions and credits
Changelogs
Donations
This mod only displays information about the fish (and fishable items) available in your area, as well as a preview during the fishing minigame. It does not alter any mechanics and has been coded to be as compatible with other fish-related mods as possible. It's very customisable, check out the screenshots.

Uses Data\\Fish + Fishing Simulation combo, for best mod compatibility. This method simulates the fishing minigame at a configurable interval (per UI Update) after getting the generic fish data. The higher the interval, the more accurate (and less glitchy looking) the information, but also higher performance cost. This should be near 100% accurate for anything (vanilla or modded) that uses the fishing minigame (getFish method).

Project story:
Spoiler:  
Show



Installation:
  1. Download and Install the latest version of SMAPI. Made for 3.10+, earlier versions might not work.
  2. [Optional] Download and install Generic Mod Config Menu (GMCM). If you want an easy way to customise the overlays on the fly, with in-depth explanations.
  3. Download this mod from Files, and unzip the FishingInfoOverlays folder into your Mods folder.



Compatibility:
  • Tested with SVE, Ridgeside Village, Stardew Aquarium, Fishing Made Easy Suite. Anything that adds fish via simple mechanics should work, and mods that modify difficulty via simple ways like Content Patcher should be fine.
  • Location bar: By default it checks the Fish Data and simulates the location's getFish (fishing minigame's success method) 100 times per UI Update. Meaning that any fish obtainable through the location's getFish should be found. It should work unless a mod completely overhauls the vanilla fishing.
  • Minigame: Uses Reflection to get the active BobberBar's current fish and its position (plus some extra bits). It should work unless a mod completely overhauls the vanilla fishing, though it might still work if said mod updates BobberBar's variables.
  • Singleplayer, multiplayer and split screen (local coop).


Issues:
  • Some items and locations had to be hardcoded to work and appear on preview: Golden Walnuts, Spines, Skulls, CalderaPainting (furniture), Railroad and IslandFarmCave (locations). Can't really do anything, as the game uses Game1.player directly there instead of the provided 'who'. As a side effect of this the overlay became a bit psychic on Ginger Island - predicting if next click on one of the nearest water tiles will grant certain items.
  • Minor flicker/jumping when using magic bait in some locations. It's because some items are less than 1% chance then.


Config (without GMCM, or manual):
Spoiler:  
Show



The source code is available here if I ever vanish from Nexus, I tried keeping it as simple as I could, so feel free to take over/reupload if it breaks and I'm gone for too long. Item names are already localised, you can find the GMCM translation base here (i18n) - feel free to PM me your translations (or upload them yourself).