XInput GamePad Support Mod [Pre-1.3]

Hi,
can you please explain how did you make the other terraria window to stay highlighted (on top) in your mod when trying to play splitscreen?
I want to play the latest terraria version that has integrated gamepad support splitscreen, if that is possible.
Thanks
 
Hi,
can you please explain how did you make the other terraria window to stay highlighted (on top) in your mod when trying to play splitscreen?
I want to play the latest terraria version that has integrated gamepad support splitscreen, if that is possible.
Thanks
I set this.InactiveSleepTime = 0; in Main.Update()

You'll have to decompile, edit the code, and recompile the game.
 
I set this.InactiveSleepTime = 0; in Main.Update()

You'll have to decompile, edit the code, and recompile the game.

I decompiled the game but the only reference to InactiveSleepTime in the whole code is this:

Code:
public TimeSpan InactiveSleepTime
        {
            get
            {
                return TimeSpan.Zero;
            }
            set
            {
            }
        }

Unfortunately, I have no idea how to set it to the way in which you have it.

Ok I found another in Microsoft.Xna.Framework.Game.dll/Microsoft.Xna.Framework/Game/

Although I doubt changing anything in that would do much besides throw me an error.
 
Last edited:
Definitely better than the game's own controller support, but what would we expect? Please Meowmaritus, we need your knowledge once more.
 
Ayy, i have a question about this. Is it possible to run the mod without gamelauncher or install gamelauncher without admin?
(or play normal terraria splitscreen)
 
Question here from a complete dunce - where can I always find the latest versions of the required programs for this mod?

As a persistent RSI sufferer I'd love to give it a try with my 360 controller.

Or am I going to hit a brick wall regarding compatibility with the latest (Steam) release of Terraria?
Has it came out? cuz im sick of this "cannot find image" script error.. lol
 
otm8fQY.png

This is a mod that I've been making for over a year now and I've worked really hard to get the PC version of the game to play well with a controller. It includes robust controller-friendly features that make it more intuitive to use than simple mouse/keyboard emulation, with custom button graphics, new mechanics, contextual prompts, joystick support for menus, rumbling, many different cursor modes (including an enhanced version of automining from Terraria: Console Edition), and more! I've spent a long time tweaking the mod to make it play well. I'm always open to suggestions from anyone and always report any bugs you find or errors you get.

See the original TO thread for older changelogs and other information.




How to play split-screen multiplayer with this mod

  • Fixed crash due to missing manifest resources.
  • Changed the DRM check menus very slightly.

  • Mod Changes:
    • Fully renamed all resources of the mod to the new name, XGSM, rather than XBCM.
    • Changed profile save directory to ".\My Documents\My Games\Terraria\Meowmaritus\XInput GamePad Support Mod\Profiles"
    • Removed UsePS3Controls from Settings section of config profiles
    • Added ButtonIconType to Settings section of config profiles. Possible Values:
      • "Xbox360"
      • "XboxOne"
      • "PS3"
      • "PS4"
    • Updated existing button icons to look nicer.
    • Added button icons for Xbox One and PS4.
    • Very minor bug fixes.
  • Installer Package Changes:
    • Made installer much nicer.
    • Added better information.
    • Added licenses.
    • Added option to choose whether to install each component of the mod separately, including PDBs.

  • Fixed Cursor Mode Select crashing the game.
  • Removed option for multiple controllers in a single profile.
  • Added ability to select profiles on a per-player basis:
    • Replaced Reset Profile To Default control with Select Profile Control (Default: Y):
      • Press at main menu to cycle through profiles in the profile folder.
      • Each client can choose separate profiles.
  • Massively improved scaling/readability of contextual button prompts. (It should actually be tolerable on 800x600 resolution now.)
  • Changed many minor details:
    • Added SFX when pressing config buttons on main menu.
    • Lowered rumble strength while quick-quitting the game.
    • Pressing Start to set the controlling player no longer shows a dialog message but instead simply changes the number displayed (and it changes the actual controlling player as well).
    • Button context prompts now glow when you input them on the controller.
    • Changed wording of a few text strings.
  • I recommend deleting all previous configuration files before using this version to avoid any headaches, although it should, in theory, automatically replace them with default settings when you select them in-game.

  • Added support for the GOG version of Terraria.
  • Re-added Auto-Mine(All) cursor mode.
  • Added Controller Mode toggle:
    • Press Back on the main menu to toggle between Auto and On.
    • Auto: Enables Controller Mode when controller is used, disables when mouse/keyboard is used.
    • On: Controller Mode stays enabled the entire time.
  • Renamed a few button contexts.
  • Removed Lockon control.
  • Added Cursor Function control:
    • Does different functions depending on the selected cursor mode:
    • Ranged (w/Targeting): Lockon
    • Auto-mine (Tiles), Auto-mine (Walls), Auto-mine (All): Holds cursor right in front of player (for placing torches).
  • Completely removed XbcmConfig app for the time being (I'm working on a new one and this version's changes would require a lot of work for the current app that I don't want to do, so I'm waiting until I have the new one). In the meantime, you can manually edit the config files in ".\Documents\My Games\Terraria\Xbox Controller Mod\Profiles\".
  • Profiles now have options for all 4 controllers in them for splitscreen.

  • Profile selection now works.
  • Massive performance boost while interacting with tiles.
    • Old System: Checked for nearby Tiles and NPCs at 60 Hz.
    • New System. Checks for nearby Tiles only if you've moved at least one tile distance since the last update. Checks for nearby NPCs only if you've moved at least one pixel since the last update. Only updates at 15 Hz.
  • Several changes made to config app:
    • Now has a message when you first open it, telling that it sucks and providing some support info.
    • Now has messages upon saving your profile and changing profile selection so that you know it actually saved. (Before you had no idea whether it saved or not, honestly.)
Hey, so im having an issue setting this up.. Something about not being able to find an image file. Im linking the post I miss posted in the in game help forums, but I know you mr. dude, and can help me out. so heres the link.. I have image files uploaded in it as well, and if anyone else wants to comment feel free.. I just wanna share, or split a screen with my gf, cuz it seems like it would be bad :red: for local co-op, and for us playing with other friends. Thanks for your time man. http://forums.terraria.org/index.php?threads/xinput-cant-find-image-files.48204/
[doublepost=1471482927,1471482765][/doublepost]http://forums.terraria.org/index.php?threads/xinput-cant-find-image-files.48204/ cant find images error (running 1.3 (latest on steam as of july, 2016)
 
Hey, so im having an issue setting this up.. Something about not being able to find an image file. Im linking the post I miss posted in the in game help forums, but I know you mr. dude, and can help me out. so heres the link.. I have image files uploaded in it as well, and if anyone else wants to comment feel free.. I just wanna share, or split a screen with my gf, cuz it seems like it would be bad :red: for local co-op, and for us playing with other friends. Thanks for your time man. http://forums.terraria.org/index.php?threads/xinput-cant-find-image-files.48204/
[doublepost=1471482927,1471482765][/doublepost]http://forums.terraria.org/index.php?threads/xinput-cant-find-image-files.48204/ cant find images error (running 1.3 (latest on steam as of july, 2016)
Sorry but this version of the game won't work without the original content files from Terraria 1.2.4.1, which you'll have to find from somewhere online.
 
Well i need help i got gamelauncher and installed the mod and when i launch it it just says that some files are missing can you put like a video on how to install it please or fix the error

-TheFireyGamer101

Lol idk ------>:mad: `:passionate:
:pumpking:
 
It's an 1.2.4.1 mod,isntalling gamelauncher wont make you able to play this mod,its discontinued due to gamepad support on 1.3
 
I connected a dualshock 4 wireless driver to my computer and loaded up Xinput but it acts like the controller isn't even connected,can someone help?:confused:o_O
 
Can somebody help me with this problem? Im playing in the correct version and i try everything!

Problem:

Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Images\PlayerPulley". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\Images\PlayerPulley.xnb". File not found.
em Microsoft.Xna.Framework.TitleContainer.OpenStream(String name)
em Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
--- Fim do rastreamento de pilha de exceções internas ---
em Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
em Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
em Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
em Terraria.Main.LoadContent() na c:\Game Projects\XGSM\1.2.4.1\GreenCat77.XGSM\Terraria\Main.cs:linha 5287
em Microsoft.Xna.Framework.Game.Initialize()
em Terraria.Main.Initialize() na c:\Game Projects\XGSM\1.2.4.1\GreenCat77.XGSM\Terraria\Main.cs:linha 5078
em Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
em Microsoft.Xna.Framework.Game.Run()
em Terraria.Program.Main(String[] args) na c:\Game Projects\XGSM\1.2.4.1\GreenCat77.XGSM\Terraria\Program.cs:linha 71
 
Back
Top Bottom