Nuclear Throne

Nuclear Throne

Not enough ratings
Two mice in local co-op tutorial
By Jay
How to play local coop with two mice instead of a mouse and a controller.
   
Award
Favorite
Favorited
Unfavorite
Requirements
  • Windows operating system (Tested on 7, 8.1 and 10)
  • A spare mouse

Tools you will need: (Remove *'s from links)

meg*a.nz/#!DkYniIxB!FT6iyWGNAWU4kxChrWqQizveyA09sdZrd2u1o_w4lUA
PPJoy 0.8.4.6

me*ga.nz/#!j5hzTBJY!rU2YLhGXNXvGTOeqY4W1apKzMtMaXx9NBrZ-DTA_ag4
GlovePIE 0.45

me*ga.nz/#!Op5HkSxJ!-fztAvWSTh08sthXEn-F37ZZIkOZRNlsmQMeBn79zXM
XBOX360 Controller Emulator (preconfigured)

me*ga.nz/file/X8B2XZbD#lspd0kLnlFKnxcP2ns3ls_QGVCixcF6ki85c5moJ9Tg
my glovepie script nt2mice.pie for desktop computers
OR
me*ga.nz/file/DgJmSTDZ#KbF2jcO0daOmQwIH4d44EZNPiPbqyybjWh8M9XrmRNQ
nt2mice_laptop.pie for laptops

For separate keyboards:
http://www.hidmacros.eu/luamacros.zip
luamacros

me*ga.nz/file/vs5zkTab#hsFlt56L6urm8Q5YmgQJnKN1ZneWdGOYQRvgvvLLwzE
my luamacros and autohotkey scripts


https://www.youtube.com/watch?v=2NPXh_eSb7A
Setup
To be on the safe side unplug all controllers if you have any.

Installing PPJoy.

Step 1
Run ppjoy setup.

Step 2

Step 2 concerns only 64 bit operating systems. If you're using a 32 bit OS, skip to step 3


The setup will display a window saying your OS does not allow installation of unsigned drivers. Click OK
Then a window will pop up saying configuration data is updated. On clicking OK YOUR COMPUTER WILL REBOOT
After the reboot, run setup again.

Warning! PPJoy drivers are not digitally signed. Installing PPJoy will put your computer into "test mode" that allows installation of unsigned drivers.

Step 3

Follow instructions of the installer

During setup a couple of scary red messages will pop up, informing you that the driver is not signed, click "install anyway"

After setup finishes, uncheck "run PPJoy joystick driver" and reboot again to be on the safe side.

Now you should have PPJoystick Driver category in your start menu.

Run "Configure Joysticks"

Click "Add"

In the next window under "Parallel port" select "Virtual Joysticks". Controller number - controller 1

Click "add"

Select "PPJoy Virtual Joystick 1 under "configured joysticks"

Click "Mapping"

In the next window select "Modify the mapping for this controller", click "Next"

Select 4 axes, 8 buttons, 0 POV hats

All the rest should be set by default, click "Next" several times, then "Finish", then "Done".

Installing XBOX360 Controller Emulator

Unzip files from xinputemu3.zip to Nuclear Throne Root folder (On Steam: right click Nuclear Throne in your Steam library and go to Properties. Go to Local Files tab.
Click Browse local files. This will open the Nuclear Throne files folder.)

Setting up GlovePIE

Unzip glovePIE to any desired location.

run PIEFree.exe

Click "File" => "Open"

Select the "nt2mice.PIE" script from where you saved it

If you're playing on a laptop select "nt2mice_laptop.pie" instead, unless you want to play with touchpad.

Playing the game

DO NOT PLUG IN PS/2 MOUSE WHILE COMPUTER IS ON

Plug in the other mouse.

Click on "Run" button in glovePie (one of the mice will stop responding after that. The one that keeps responding will be player 1 mouse. You can use F2 key to switch mice around.)

Launch Nuclear Throne

If everything is all right, the second mouse should be operational (Not in the menu though, but that's how NT handles it. You select characters with "move left" and "move right" keys)

So every time you want to play with 2 mice, you
  • 1. launch GlovePIE
  • 2. Open nt2mice script
  • 3. Press "run"
  • 4. Launch the game

To return your computer controls to normal state, simply press "stop" in GlovePIE.

Controls
Basic setup uses Numpad keys for second player to give maximum room on a single keyboard.
You have to turn NUMLOCK ON for numpad keys to not move player 1.

If your keyboard does not have a NumPad, you can use OKL; keys or map your own keys (explained further).

Don't forget to disable gamepad autoaim.

General controls:

F2: Switch mice around

Player 1 controls:

Left bracket: Player 1 mouse sensitivity -

Right bracket: Player 1 mouse sensitivity +


Player 2 controls:

NOTE: Keep NumLock ON If you want to use numpad keys

Aim: Second Mouse

Fire: Left Mouse Button

Special: Right Mouse Button

Swap Weapon: Mouse wheel / Mouse middle button / Numpad 0 / N

Pick Up: Numpad + / '

Up: Numpad 8 / O

Down: Numpad 5 / L

Left: Numpad 4 / K

Right: Numpad 6 / ;

- : Player 2 mouse sensitivity -

= : Player 2 mouse sensitivity +


Separate keyboards:

If you have two keyboards, you can use the same keys for each player's controls (Keyboard 1's WASD controls player 1, Keyboard 2's WASD controls player 2, etc.)

1. Extract contents of nt2key.rar archive.
2. Run nt2key.exe
3. extract LuaMacros
4. Run LuaMacros.exe
5. Click "open" (leftmost button), select nt2key.lua from nt2key folder
6. Click "run" (triangle button)
7. Press any key on your Player 2 keyboard

Now Keyboard 2 controls player 2 with standard controls.
Customization
Key Binding

As of Update 95 you can map your own keys for Player 1 from ingame menu.

To assign your own keys for Player 2, simply open nt2mice.pie or nt2mice_laptop.pie (whichever you use) with any text editor, or just load it in glovepie and edit in the main window (script must not be running). Don't forget to save.

You can add lines like "ppjoy.digital2 = Keyboard.X" to nt2mice.pie, where
ppjoy.digital0 stands for fire
ppjoy.digital1 stands for special
ppjoy.digital2 stands for weapon swap
ppjoy.digital3 stands for weapon pickup
(in this example X key will swap weapons). It is pretty self-explanatory.

Movement is slightly more complex, there have to be two keys in one line
You can add lines like "PPJoy1.Analog2 = - Keyboard.X + Keyboard.Z" to nt2mice.pie, where
PPJoy1.Analog2 stands for up-down movement
PPJoy1.Analog3 stands for left-right movement
(in this example X key will move character down, Z key will move character up)

You can also edit or remove existing lines.

You can find proper key names in me*ga.nz/#!3oxR3JQR!2U3r_BdwuHvoTOoy_Q1XD4afRqM644qz7JH6yRXlKfo
Glovepie documentation (paragraph 11.6 and below)

Don't forget that mapping a key that is already in use by player 1 or the game is a bad idea.


Sensitivity

To adjust mouse sensitivity permanently you'll have to open the nt2mice.pie script the same way as above.

Then change the values at the end of line 2 for Player 1 mouse; and line 3 - for Player 2 mouse

Change "1.0" in each of these lines to lesser or higher value to increase or decrease sensitivity.
Example: 1.5 will increase sensitivity by 50%
0.9 will decrease sensitivity by 10%



Troubleshooting
There's been reports of an issue where after loading the script in glovePIE all buttons on both mice stop responding. If this happens, press ALT+F4. It will close glovePIE window, which will revert your controls back to normal. Reasons for this behavior are unknown, and so are the reasons for it fixing itself. It possibly goes away after you reboot your PC with both mice connected. If you can provide clues on this situation, it would be much appreciated.
Contacts
With some minor tweaking this tutorial should be applicable to any game that supports 360 controllers.


Tutorial by Rigel. Send your feedback, questions and suggestions to:
fakeidmail@yandex.ru
5 Comments
starry eyes May 31, 2021 @ 5:43am 
why
starry eyes May 31, 2021 @ 5:43am 
**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Gyro Jan 26, 2018 @ 12:03am 
thats cool and all but everyone knows that mice guys always finish last
Jay  [author] Jul 11, 2016 @ 3:26pm 
@GlitchyRobot It does, but you may have to switch xinputemu for x360ce (and configure it of course). I tested it with gungeon.
GlitchyRobot Jul 11, 2016 @ 3:17pm 
Does this work for other games?