Skip to content

dereklee0310/RussianFishing4Script

Repository files navigation

[中文版]

RF4S

RF4S: Russian Fishing 4 Script

A simple fishing bot for Russian Fishing 4, supporting spin, bottom, marine, and float fishing.

Python badge Windows badge

Tip

Join the Discord server if you want to suggest new features, report bugs or get help on how to use the script.

Getting Started

Prerequisites

Download and install Python 3.12.

Important

Ensure Python is added to PATH during installation.

Warning

Python 3.13+ is not supported.

Installation

  1. Open cmd or PowerShell (not Python)
  2. Clone the repository and navigate into the project directory:
git clone https://github.com/dereklee0310/RussianFishing4Script.git
cd RussianFishing4Script

Tip

Or, download this repository and unzip it if you don't have git installed on your pc.
Then run open cmd or PowerShell (not Python) and navigate into the project directory:

cd "path\to\the\project"

path\to\the\project should look something like ...\...\RussianFishing4Script-main

Warning

The download path cannot contain non-English characters.

Dependencies

In cmd or PowerShell, type the command below to install required packages and create a default configuration file:

.\setup.bat

Tip

Create a virtual environment to avoid version conflicts if you already have Python installed.

Setup

  • Enable Mouse ClickLock in Windows mouse settings and set the time before locking to "Long".
  • Make sure your game language is the same as the setting in config.yaml (default is EN).
  • Set interface scale to 1x.
  • Set display mode to window mode or borderless windowed.
  • Make sure your reel is fully loaded, or equip a rainbow line and use -R flag (see configuration guide).
  • Add tea, carrot, and coffee to your favorites if you want to use -r or -c flag.
  • To use a feature that replaces an item for you, you must add items to your favorites for replacement.

Usage

Before you start...

  • Move your character to the fishing spot before running the script
  • For Spin/Marine/Float/Wakey Rig Fishing: Pick up the rod you want to use.
  • For Bottom Fishing:
    • Add tackles to quick selection slots.
    • Cast them and place them nearby so the bot can access them via shortcuts (1 ~ 3).

Note

Currently, only bottom fishing mode support multiple rods.

Let's Run it!

Run the script with default configuration:

python tools\main.py

For more advanced usage, see configuration guide.

Important

If you want to run it in a new terminal window, don't forget to navigate into the project directory:

cd "path\to\the\project"
python tools\main.py

Note

The script stops once the keepnet is full. Stop it manually by typing Ctrl-C in your terminal.

Tools

Craft Items

Craft items until materials run out (press Ctrl-C to quit):

python tools\craft.py

Craft 10 items:

python tools\craft.py -n 10

Discard crafted groundbaits:

python tools\craft.py -d

Important

Select materials before you run the script.

Harvest Baits

Harvest baits (press Ctrl-C to quit):

python tools\harvest.py

Replenish hunger and comfort while harvesting:

python tools\harvest.py -r

Open control panel while waiting (reduces power consumption):

python tools\harvest.py -s

Toggle moving forward

Toggle Auto-Move (Wto pause, S to quit):

python tools\move.py

Move while holding Shift:

python tools\move.py -s

Automate Friction Brake

Automate Friction Brake (G to reset, H to quit):

python tools\auto_friction_brake.py

Calculate tackle's stats and friction brake

Show your reel's real drag and leader's real load capacity based on wear:

python tools\calculate.py

Configuration

See configuration guide.

Troubleshooting

How to stop the script?
  • Type Ctrl-C in your terminal.
Can't stop the script?
  • Some keys might have been pressed down (e.g. Ctrl, Shift, Mouse button, etc.),
    press them again to release it and type Ctrl-C as usual.
Stuck at casting 128%?
  • Check that the game language and script language settings are the same.
  • Make sure your reel is fully loaded, or equip a rainbow line and use -R flag.
Didn't lift the rod after the retrieval is finished?
  • Make sure your reel is fully loaded, or equip a rainbow line and use -R flag.
  • Change the game window size.
  • Reduce the value of SPOOL_CONFIDENCE in config.yaml.
  • Keep away from light sources or turn off the boat light.
Script is running but nothing happen?
  • Open a new terminal window as administrator and run it again.

Changelog

See changelog.

License

GNU General Public License version 3

Contributing

Any contribution, bug report, or idea about new features is welcome.

Contact me

dereklee0310@gmail.com