Trying to make C-Stick Smash 3DS to tilt

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by artur3004, Jul 6, 2016.

  1. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    I rely on the c-stick set as tilt to play with my style - no problem with wii u but the 3ds won't allow changing the cstick his settings:cry:

    As I know there is no mod out that changes that, so I thought "Why not creating it by myself?"decrypted the rom and extracted romfs... amongst other files got a big file named "dt" - propably there is the code for it. Opened it with HxD... well.. at least it's decrypted, but I still don't understand whats's written down...

    I'd appreciate if someone could help me to fulfill my cstick tilt dream!
     
  2. NoThisIsStupider

    NoThisIsStupider GBAtemp Regular

    Member
    130
    50
    Dec 6, 2015
    Canada
  3. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    Did it now. So I only have to find the proper file, which contain the command doing smash attacks in battle with the c stick and replace smash with tilt, while beeing grounded...
    I thought I can search after HID pad states, but I didn't find on 3dbrew.org any information about the c stick his pad states... (I think I'm serching in the wrong place) I know I'm far from beeing skilled enough, but I want this and I'm trying hard, can someone help me, please?
     
    Last edited by artur3004, Jul 7, 2016
  4. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,678
    752
    Aug 22, 2015
    United States
    Hell
    Your best bet would be to poke around the /param/ folder. Use param from https://github.com/Sammi-Husky/Sm4sh-Tools/releases to open the files. You will probably want to look for a group with enough entries to be default controls. Maybe the substick_parameter.bin deals with the c-stick, but I wasn't able to get anything to change in game after a modification...
     
  5. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    I also thought that substick_parameter.bin maybe contains c-stick data, need to find out how to edit the file, a hex editor only shows garbage to me
     
  6. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,678
    752
    Aug 22, 2015
    United States
    Hell
    Use param from the sm4sh tools link in my last post.
     
  7. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    ...Then I need just to find out which values needs to be changed... And what these values means...
     
  8. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,485
    5,364
    May 27, 2016
    United States
    New York
    The wii u has right stick tilt attack doesn't?
     
  9. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    yeah... so? I need that in smash 3ds
     
  10. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,485
    5,364
    May 27, 2016
    United States
    New York
    Caan you not extract that information and compare it to do what you need? Compare the control settings from the wii u game files to the 3ds game files. :unsure:


    Just a idea, it could help.
     
  11. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    I doubt that these data could be usefull, even if, I first need to dump, decrypt and extract the game... Or somebody could provide me the files
     
  12. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,678
    752
    Aug 22, 2015
    United States
    Hell
    Sadly wii u params are at best similar to 3ds (at least from experience). And any param files found there will likely contain information for every controller type.
     
  13. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,485
    5,364
    May 27, 2016
    United States
    New York
    You would have to dump the game or someone could exmaine the files and tell you. To be honest it would be safe to check instead of messing around with stuff we don't understand. (Not saying that you don't understand) But the game does support various controller imputs including 3ds so is just a idea for precautious reasons. Maybe ask someone who has a dump to examine the controller inputs and compare to the 3ds to see if there is something able to be done. Or do it your way, honestly i was just giving ideas.:)
     
  14. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    [​IMG]
    substick_param.bin
    any guess?
     
  15. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,966
    3,249
    Nov 18, 2012
    United States
    Las Vegas
    To be honest this is probably handled in code or in the xtal scripts used for menus, at least that would be my guess. Might be able to get it just using save edits? Not sure how they store controller settings.
     
  16. Sonic Angel Knight

    Sonic Angel Knight GBAtemp Legend

    Member
    10,485
    5,364
    May 27, 2016
    United States
    New York
    Well is a known fact some games have hidden content that can be accessed by save data editing. Stuff that is there in game but not accessable by normal means either by programmer removing access but keeping leftover content or by dummy out data, or just forgetting to add those kinds of things and putting them together before complete build. So i like that idea that is possible. :)
     
  17. artur3004
    OP

    artur3004 GBAtemp Fan

    Member
    486
    124
    Mar 31, 2015
    Gambia, The
    As I know - Circle Pad pro and c stick uses same protocoll - but circle pad pro isn't supported by smash 3ds... so it's pretty sure setted by the game, not save