By using our website, you agree to the use of our cookies.
By using our website, you agree to the use of our cookies.

How to Install for GHUB

No Recoil Macro Lua Script Logitech

Csmacro How To Use Logitech Lua Script Tutorial Download 1

Step 1: Download/Downgrade G-Hub

First off all we need to have G-Hub installed.
If you have the latest version you must downgrade your G-Hub.
For checking the version of G-Hub go to your G-Hub Settings like in the picture below.

If you version is 2022.1.3492 (like in the picture or HIGHER) you MUST downgrade your G-Hub.

Version Check

How to Downgrade Logitech G-Hub Version?

1.First step is to unable the auto-update from settings.

Unable Update

 

2. Uninstall G-Hub.
(Recommend is to use Revo Uninstaller. Delete in advanced mode all Reg files and other stuff.)

3. Restart your Computer

4. Download Downgrade Version of Logitech G-Hub from the link belows and go directly again to settings and unable auto update.

If you have a newest Logitech Mouse like G Pro or Pro X etc. Use the link below.

Download G-Hub Version: 2021.11.1775

If you have G102, G203, G402, G502 use the link below

Download G-Hub Version: 2020.10.6293 

After install and closing the "Enable Automatic Updates"

Next steps are to install our script

Check your windows version. Press WindowsIcon+R and write winver.

 

Win Version Check

Choose the folder which is for your  Windows version.
(Note: It can happen that the other version works better for you. 
So first try the correct folder. If it's not work correct try the other version)

Choose Win Version Folder

Copy the script (Script folder) and paste it to a local drive.
(If you have only one local drive it's ok.)

Copy No Recoil Script

Pastefiles 1

Now rename the file to world.
(or what ever you want but do not use words like hack, script, cheat)

Rename Script

Now open the file with notepad and change the nil value from the weapon you want to use to a mouse button number.
(If you have a logitech g keyboard please click here for keyboard assignment)

Mouse Button Number Assignment

After you have done the weapon assignment save the script and  Copy the code line below:

data = dofile[[D:\world.lua]] 

Open Logitech G-Hub as administrator and Click on "Profile" section (See picture below)

11

Go the bottom left and click on "Scripting"

A2

For creating a new Lua Script account press the blue button.

3a

Delete all codes and paste the code line which we have copied.

Copy Paste Code Line

Now change the code line if you add the script to a different local drive letter. For example if you copy-paste the script local drive C:
Change from the code line the D: to C: like below

data = dofile[[C:\world.lua]]

Same for the file name. If you give a different file name change it as well. (.lua is the file format do not delete it)

Now save with ctrl+s
With pressing the mouse button you have assign you can
Activate now the weapon.

Last step is to check that our profile is set as persistant. Go to Details of your profile and if not press the button to set it as Persistant. That's it! Enjoy!

Persistant

Mouse Button
Mouse button 5.
Mouse button 4.
Mouse button 3.
Mouse button 7.
Mouse button 8.
Mouse button 9.
Mouse button 6.