Skip to content

Benny93/palworld-keyholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palworld F Key Pressed Script

Script to keep the F key pressed while crafting in palworld

https://www.pocketpair.jp/palworld

Example Image

Overview

Palworld F Key Pressed Script is a Python script that allows you to toggle the 'F' key on Windows by pressing F10. The script uses the pynput library to capture keyboard events and the pyautogui library to simulate key presses.

Setup

Prerequisites

  • Python 3.x installed on your system.

Installation

Use the standalone executable provided on the release page or here

Or build the script yourself following these steps:

  1. Clone the Repository:

    git clone https://github.com/Benny93/palworld-keyholder.git
    cd Benny93/palworld-keyholder
  2. Install Dependencies:

    Run the following command to install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the Script:

    Execute the script by running the following command:

    python main.py

    The script will start listening for F10 key presses. Press F10 to toggle the 'F' key.

  2. Exit the Script:

    To stop the script, press strg+c. This will release the 'F' key (if pressed) and exit the script.

Building a Standalone Executable (Optional)

If you want to distribute the script as a standalone executable on Windows, you can use PyInstaller.

  1. Install PyInstaller:

    pip install pyinstaller
  2. Create the Executable:

    pyinstaller --onefile main.py --name keyholder -p .\venv\Lib\site-packages\

    The standalone executable will be located in the dist folder.

About

Automates holding the crafting key down in palword

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages