Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.5.2] [0.13] Joypad Mod - USB Controller, Split Screen [ over 42k downloads(!)]

joypad controller split screen

  • Please log in to reply
900 replies to this topic

#1

freeshiny

Posted 08 May 2012 - 02:13 AM

*
POPULAR

Compatibile with 1.5.2!

UPDATE - see http://www.minecraft...0#entry22283260

Hi all,

I've created a mod allowing you to control Minecraft with a joypad. It works both in SSP and SMP, and you can use it while simultaneously controlling regular MC with keyboard + mouse, allowing for something like split screen. You can hook up multiple joypads, as many as your PC can handle Posted Image.

Get it here: http://retro-hack.bl...reen-on-pc.html



Spoiler:

Screenshots:

Posted Image



Posted Image
Spoiler:
This is my first mod, so bear with me. I plan to improve and maintain it, so feel free to check it out and comment.

For now it supports basic controls, menu navigation and inventory screens.

Please note that this is different than the joy2key or xpadder method, as it allows you to control multiple Minecraft windows at a time (each with one joypad). Joy2key and xpadder only emulate keyboard and mouse.

Cheers!

UPDATE!

Version 0.12.1 is out.

Quote

Changelog:
- fixed the "shift click" functionality (0.12.1)
- ported all bugs and features to Minecraft 1.4.6 (0.12.0)


Download it here: http://retro-hack.bl...joypad-mod.html

Configs
Default config should be suitable for wired XBox 360 Joypad and a Logitech Chillstream

If you wan't to customize it you can do it by visiting the game options.


Posted Image

The only thing you might have to edit by hand are the deadzones. You can change them by opening the file named "options.txt" located besides your screenshot directory. Then you find the lines containing the the word "axis". Like for example:
joy_joy.cameraX+:axis/3/0.9/0.05
Deadzone is the last value. Change it to somting higer, like 0.15 or 0.25 and save the file. Start the Minecraft and see if it's better now.

Troubleshooting:
Spoiler:

Helping:
If you have some time, writing a tutorial for the newbies about using the mod would be very helpful. I'll link to it or include it in the mod package and give you the full credit. Bonus points for Linux and Mac instructions, too.

Also, youtube videos about the general mod installation and troubleshooting are deeply appreciated.

Thanks
I'd like to thank everyone who contributed to the mod success, especially the selfless folks on the forums who provided others with the ton of support and information.

Any feedback appreciated!

Edited by freeshiny, 05 May 2013 - 10:11 PM.


Register or log in to remove.

#2

brentbehling123

Posted 08 May 2012 - 02:21 AM

so you can use a xbox controller

#3

freeshiny

Posted 08 May 2012 - 02:23 AM

Yes, you can if it is seen in the windows control panel. I think xbox joypad is.

#4

Ryuzakii1234
  • Location: Washington
  • Minecraft: Ryuzakii1234
  • Xbox:Jerbear1234

Posted 08 May 2012 - 02:55 AM

It blackscreens when loading a world even when loading SMP

Here is my cmd window all the way up until the crash
Spoiler:


#5

Xxx_ShadowxxX

Posted 08 May 2012 - 04:04 AM

Thank you so much i have been watiting for this for 1 year and a half now this allows people to play with there friends without having a high end pc

#6

freeshiny

Posted 08 May 2012 - 05:41 AM

View PostXxx_ShadowxxX, on 08 May 2012 - 04:04 AM, said:

Thank you so much i have been watiting for this for 1 year and a half now this allows people to play with there friends without having a high end pc

You still have to have a high-end PC, but only one, not two. So it is kind of an improvement Posted Image

View PostRyuzakii1234, on 08 May 2012 - 02:55 AM, said:

It blackscreens when loading a world even when loading SMP

Here is my cmd window all the way up until the crash
Spoiler:

This happens because your first joypad has no axes, or at least that's what it reports. Go to options.txt and change the joyNo to 2, that will switch to your Xbox controller.

#7

theboombar

Posted 08 May 2012 - 08:18 AM

Tried it on GigaTech SA-500X Joypad. After remaping buttons in options.txt, works like a charm.
Good job :)

#8

freeshiny

Posted 08 May 2012 - 08:43 AM

I have personally tested it on Logitech Chillstream (XInput) and Logitech Dual Action (USB HID), and it worked as should.

#9

gaminglord
  • Location: USA Ohio

Posted 08 May 2012 - 02:39 PM

I can't get this mod to work, was wondering if anyone can help me. I'm fairly sure I installed it correctly, but after the mojang screen loads, I get the dirt background for a while, then it blackscreens. This is also what I get in the cmd window:

Spoiler:

I deleted meta-inf in the jar file and put all the class files in the minecraft jar file in the bin folder of the custom directory, but no dice. Thought it odd though that I had to download each class file individualy instead of as a entire collection in a zip or rar. Makes me wonder if there's a file that was deleted or something that I'm missing. Anyway, can somebody help please? I'd be most appreciative.
Posted Image

#10

HatlessCreature
  • Minecraft: vlada_

Posted 08 May 2012 - 04:23 PM

It took me quite some time remaping in options.txt, but it finally works! Thanks for this awesome mod :D
Some joypad presets would be nice, just to cut the setup time.

#11

DJClaudePSN
  • Minecraft: DJClaudePSN

Posted 08 May 2012 - 04:28 PM

Thank you so much for this! I always wanted to play with my little brother Minecraft, and now I can!

- - --- >  READ THE THREAD OR BEWARE THE REPORT BUTTON I AM GOING TO PRESS!   <--- - -Posted Image


#12

freeshiny

Posted 08 May 2012 - 04:46 PM

View Postgaminglord, on 08 May 2012 - 02:39 PM, said:

I can't get this mod to work, was wondering if anyone can help me. I'm fairly sure I installed it correctly, but after the mojang screen loads, I get the dirt background for a while, then it blackscreens. This is also what I get in the cmd window:

Spoiler:

I deleted meta-inf in the jar file and put all the class files in the minecraft jar file in the bin folder of the custom directory, but no dice. Thought it odd though that I had to download each class file individualy instead of as a entire collection in a zip or rar. Makes me wonder if there's a file that was deleted or something that I'm missing. Anyway, can somebody help please? I'd be most appreciative.


Hi,

The output you provided does not look like the mod is installed correctly, in fact is looks exactly as if you had replaced just some of the files but not all of them.

I gave the Google Drive a try, and that is what I've got in return - an unpleasant and confusing interface. What you need to do is go to the link, then select File > Download. It'll then download the whole zip to your PC.

Sorry about the inconvinience, I'll consider uploading it to dropbox or somewhere else.

EDIT
I've changed the links to Mediafire: http://www.mediafire...yi48bpubcproog0

Anyone who has configured their joypads could post the name of the joypad and the configuration options so I'd update the first post with the info. Thanks.

#13

Ryuzakii1234
  • Location: Washington
  • Minecraft: Ryuzakii1234
  • Xbox:Jerbear1234

Posted 08 May 2012 - 05:32 PM

Wow Thanks I got it working :D it still was a little messed up trying to login to a server but after loading a single player game first then going to SMP it worked perfectly but now I'm wondering if i can make it use my Left/Right Triggers (Instead of the bumpers) for placing and breaking blocks which uses Z Axis

#14

freeshiny

Posted 08 May 2012 - 05:39 PM

View PostRyuzakii1234, on 08 May 2012 - 05:32 PM, said:

Wow Thanks I got it working Posted Image it still was a little messed up trying to login to a server but after loading a single player game first then going to SMP it worked perfectly but now I'm wondering if i can make it use my Left/Right Triggers (Instead of the bumpers) for placing and breaking blocks which uses Z Axis

I'm glad it worked out for you. Unfortunately there is currently no way to assign actions to axes (and trigger on Xbox joypad uses an axis), other than movement and camera control, but that is high on my TODO list.

#15

linkinpark1
  • Location: im in your blades stealing your edges
  • Minecraft: longshot136

Posted 08 May 2012 - 07:09 PM

so wait if i had 2 ps3 controllers me and my cousin could split screen?
Posted Image

#16

gaminglord
  • Location: USA Ohio

Posted 08 May 2012 - 07:49 PM

View Postfreeshiny, on 08 May 2012 - 04:46 PM, said:

Hi,

The output you provided does not look like the mod is installed correctly, in fact is looks exactly as if you had replaced just some of the files but not all of them.

I gave the Google Drive a try, and that is what I've got in return - an unpleasant and confusing interface. What you need to do is go to the link, then select File > Download. It'll then download the whole zip to your PC.

Sorry about the inconvinience, I'll consider uploading it to dropbox or somewhere else.

EDIT
I've changed the links to Mediafire: http://www.mediafire...yi48bpubcproog0

Anyone who has configured their joypads could post the name of the joypad and the configuration options so I'd update the first post with the info. Thanks.

That worked, turns out I had the minecraft.class file in the wrong spot thanks to that darn google thing. Still I reinstalled the mod just to be safe. Though now I'm having a different issue. My brother and I were trying multiplayer, and we discovered some SMP related issues:

Anything that uses a GUI can't really be used, with exception of the basic crafting and inventory screen. For example:
I can't craft tools in the crafting bench, Can't smelt in the furnace, or take or place things in a chest. Sometimes it may appear to do these things (Except for the furnace), but after a while it'll return all the things back to their proper places. Also, I can't seem to bind to the sneak function with my gamepad, which is slightly bothersome in trying to shift click things, or sneak. I'll post the configuration I'm using, along with the type of gamepad I'm using.

The gamepad is a Saitek Cyborg Rumble P3600, and the configuration:

Spoiler:

I should mention that the GUI's seem to work in single player however, so this is bothersome. Sneak however still doesn't work.

EDIT:
Also failed to mention I didn't get to test this with brewing in SMP, sorry.
Posted Image

#17

freeshiny

Posted 09 May 2012 - 06:28 AM

Hi, there definitely are some gui screen issues in SMP. I'll look into them after I get back from work later today.

As for the sneaking, it's a known omission, I'll work on it too.

Thanks for the config, I'll update the main post. I'm thinking of an auto setup system where based on a controller name my mod would set the mapping automatically from the list of available ones. But that's for the future, lets iron bugs out first. Thanks again.

#18

gaminglord
  • Location: USA Ohio

Posted 09 May 2012 - 10:54 AM

I'll look forward to your bug fixes. I would like to say thank you though, for making this mod. My brother's laptop is definitely not ideal for running minecraft, and he currently can't afford a decent computer, so the promise of this program lets me hope for us two to be able to play the game together again, and without him lagging horribly. It's a wonderful mod that you're working on here, and I hope you continue to progress with it, with the support of the community.
Posted Image

#19

Onesilentlight

Posted 09 May 2012 - 04:44 PM

WOW!!! This is an answer to my Minecraft Prayers!! This is the ONLY feature of the XBOX version I wanted, Split-Screen Multiplayer. But my PC is so much more powerful than the xbox, and has all the latest features of the newest Minecraft, and.. I already own it, and don't have to buy it again on xbox. I am so glad you have shared this info with all of us!!
  I have installed your mod on my PC now, and it seems pretty cool! I'm not sure what the issue is with the right stick, but I can't seem to get my view to be still, it's always moving slowly in one direction. Right now I'm gonna try getting two windows working at the same time with two controllers (I'm using xbox controllers hooked to PC with the Microsoft wireless reciever).

P.S. I ran into the same problems as you! I set up Minecraft in tiled windows on one server, and then was like... OH.. it will only let me use one window at a time.. and even If I map the controllers in X-Padder, I still only have one mouse...

Thanks so much for working on this, I would have never thought to do it this way, nor do I have the programming skill to get it done! I'm really really looking forward to your updates, this is gonna make my minecraft parties alot more fun for my friends who don't own laptops, I've got a 60" Monitor which is like 4-30" Monitors when in 4-way split screen.

#20

Slidedrum
  • Location: Markov Geist
  • Minecraft: milkdonny

Posted 09 May 2012 - 04:52 PM

nice i will be useing this when i get a chance.  i made a similar mod but it was verry clunky and crashed when you pressed the start button Posted Image .  does this have full analog movement?
Posted Image
if you would not mind doing me a favor and pressing that little + button? thanks!