SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Reply
 
Thread Tools Search this Thread
Old 03-25-2019   #1
Hero0fSega
RetroPie Master
 
Hero0fSega's Avatar
Default Custom Controller Configs?

Hello! I was wondering if there was a way to make custom controller configurations? I have a GameCube Controller Adapter (D-Input) and I want it so when I plug it in and start up SRB2 Kart (or normal) it will also boot up my own configuration. Please help me out! Thanks in advance!
Hero0fSega is offline   Reply With Quote
Old 03-26-2019   #2
Lach
nanananananananananananan a
Moderator
 
Lach's Avatar
Default

Can you please clarify what you mean by "my own configuration"? You can probably use a batch script (.bat) to either execute custom configuration files (.cfg) upon booting the game, or execute other programs alongside it.
Lach is online now   Reply With Quote
Old 03-26-2019   #3
Rumia1
Backseat Developer
 
Rumia1's Avatar
Default

To be more specific as to the method Lach just posted...

If your goal is to make specific configurations for controllers that use different button layouts, you could make an autoexec.cfg file and different txt files with different controller configurations in them using this as a guide.

Generally you'd name a TXT file after a controller and in that TXT file write something like
Code:
setcontrol forward hatup
setcontrol backward hatdown
setcontrol jump joy1
etc.
and you'd repeat the process for whatever other controls you need set. Once that's done you could create a txt file and rename it to AutoExec.cfg, then type in something like
Code:
bind z "exec gamecube.txt"; bind x "exec xbox360.txt"
and add one for each configuration you need. This would effectively make it so that on boot you could press one of the keys listed in the binds area to load a different controller configuration. Sadly, if you're looking for an automated way to do this, we have none yet but thankfully you'd only have to set it up once.

Lastly, make sure your TXT files don't have any spaces in the filenames or else it won't work.
__________________
Quote:
Originally Posted by Cirno
Egguman-senpai...
Rumia1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.