ArduinoStrike icon indicating copy to clipboard operation
ArduinoStrike copied to clipboard

I'm having difficulties

Open jkmidiaofc opened this issue 3 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Your Question

help mee pls?

Additional details

Hello my friend, I'm new to PlataformaIO and I don't know how to use anything. Please, can you send me a video teaching me how to install and run it or teach me step by step? I tried to follow your step by step but I didn't get any results.

jkmidiaofc avatar Oct 18 '25 02:10 jkmidiaofc

👋 Hey there, my friend!

No worries — here’s a clear step-by-step guide on how to install and run ArduinoStrike using PlatformIO.
This tutorial is made for beginners — no prior Arduino experience required!


🧰 What You’ll Need

Item Purpose
💻 Windows PC To upload and run ArduinoStrike
🧩 Arduino Leonardo (or any HID-compatible board) The device used for recoil control
🔌 USB Cable To connect the Arduino to your PC
🧠 Visual Studio Code The editor used for development
⚙️ PlatformIO IDE The tool that compiles and uploads firmware

⚙️ Installation Steps

  1. Install Visual Studio Code
    👉 https://code.visualstudio.com/

  2. Install PlatformIO IDE

    • Open VS Code
    • Press Ctrl + Shift + X (or click the Extensions icon on the left)
    • Search for PlatformIO IDE
    • Click Install
  3. Clone the ArduinoStrike Repository

   git clone https://github.com/DeniedAccessLife/ArduinoStrike.git
   cd ArduinoStrike/PlatformIO
  1. Open the Project in PlatformIO

    • In VS Code, go to File → Open Folder...
    • Choose the folder ArduinoStrike/PlatformIO
  2. Connect Your Arduino Leonardo

    • Plug your board into the PC via USB
    • Make sure it’s detected (a COM port should appear in Device Manager)
  3. Check Board Settings

    • Open platformio.ini and make sure it has:

      board = leonardo
      
    • If you’re using a different HID-compatible board (like micro, promicro, etc.), change it accordingly.

  4. Build and Upload the Firmware

    • At the bottom of VS Code, you’ll see the PlatformIO toolbar.

    • Click:

      • 🛠️ Build to compile
      • 🔼 Upload to flash the firmware to your board

    💡 Tip: You can also double-click the file upload.bat inside the PlatformIO folder — it does the same automatically.


🧪 Testing Without an Arduino (Dry Run Mode)

If you want to test ArduinoStrike without connecting an Arduino, use:

ArduinoStrike.exe --dry-run

or simply:

ArduinoStrike.exe -d

In this mode:

  • No Arduino connection is made
  • All actions are simulated
  • Logs are saved to a file
  • Configs and hotkeys still work normally

Perfect for checking your setup before uploading to the board!


⚙️ First-Time Setup

When you launch the program for the first time, you’ll see an interactive setup wizard that helps you:

  • Enable or disable features (Bhop, RapidFire, RecoilControl, etc.)
  • Set sensitivity and zoom sensitivity
  • Bind hotkeys for actions

Your preferences will be saved in Config.json.


✅ All Done!

If everything went right:

  • Your Arduino board is flashed (LED blinking)
  • The program runs without errors
  • You can now test it in Counter-Strike 2

💬 Good luck! You’re almost there — just upload and play! 🚀

DeniedAccessLife avatar Oct 18 '25 10:10 DeniedAccessLife

Image

Hello good afternoon friend, sorry I'm still having difficulty I managed to install the platformIO and I think I managed to load the "platformIO" folder in the arduino strike folder but it opens like this and from here I click on that pause icon at the top of the screen and it gives this error I believe I'm still doing something wrong sorry for the inconvenience!

jkmidiaofc avatar Oct 18 '25 15:10 jkmidiaofc

I can guess what the problem is. You must run this command in the project directory. PlatformIO is looking for the packages.json file, but it can't find it.

Let's do it easier, you go to the ArduinoStrike directory and execute the upload.bat file.

DeniedAccessLife avatar Oct 19 '25 17:10 DeniedAccessLife