[RELEASE] Smash-Selector

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Cydget, Jun 17, 2016.

?

Did this work for you?

  1. Yes

    43.0%
  2. No

    27.2%
  3. I didn't try yet

    20.2%
  4. I wont try it due to the required luma3ds

    9.6%
  1. Cydget
    OP

    Cydget GBAtemp Fan

    Member
    491
    133
    Oct 1, 2015
    United States
    [​IMG]
    Latest release: 2.4
    What is Smash-Selector?

    Smash-Selector is a program that allows you to enable/disable the SaltySD file it includes (in turn enabling/disabling mod loading), as well as select different modpacks to load, along with several other features. It supports any Luma version of 7.0 and above.
    What can it do?
    This section documents the features of Smash-Selector and what they do.
    Launch game: Apply the selected settings and launch Smash.
    Enable/Disable SaltySD: Changes the name of the SaltySD file to enable or disable it, which in turn changes whether mods are loaded or not
    Hitbox Display: Enable/Disable the hitbox display functionality of SaltySD.
    Download modpack from URL: Download a modpack from a server. More details below.
    Check SaltySD hash: Hashes SaltySD using the Murmur Hash 2 algorithm and compares it to a pre-made hash from the server.
    Controls Modifier: Modifies the controls configuration for Smash. Supports changing the n3DS buttons.
    Check for updates: Checks if an update is available and prompts the user to accept and install the update if there is one.
    Region/Game Type: Change the region and location (cartridge or CIA) to launch Smash from. This should be automatically detected, but if you use multiple installs and got one you don't want to use selected this option can still be changed.
    Version Slot: Change the mod slot to load mods from.
    Usage
    On first start, your game options will be automatically detected, and if you used the original version of Smash-Selector (the one that used /saltysd/smash# slots) they will be automatically moved to the new format.
    During regular use, to enable/disable mods change the SaltySD enable/disable option. To change the slot to load mods from, change the "Version Slot" option.
    To make a new slot, make a new folder in the saltysdMODS folder at the root of your SD card. Name this folder "Slot_#", where # is the number after the number of slots you have; for example, if you have 6 slots (and thus folders named "Slot_1" through "Slot_6") make a folder called "Slot_7" and put your mod files in it. A graphic for an example of your saltysdMODS folder is provided below:
    Code:
    G:\saltysdMODS
    |
    |
    +---Slot_1
    |   |   desc.txt
    |   |
    |   \---animcmd
    |       \---fighter
    |           \---captain
    |                \--game.bin
    |
    +---Slot_2
    |    \--desc.txt
    |
    +---Slot_3
    |    \--desc.txt
    |
    +---Slot_4
    |    \--desc.txt
    |
    +---Slot_5
    |    \--desc.txt
    |
    +---Slot_6
    |    \--desc.txt
    |
    \---Slot_7
         \--desc.txt
    
    To download a modpack, enter a link to a modpack in the keyboard that pops up. The new modpack will automatically be saved to your next free slot.
    Making a downloadable modpack
    As examples, USM-eM Alpha 4 can be downloaded with the following URL: http://tinyurl.com/n4t6oaf and the latest release of Smash Turbo'd can be downloaded from this URL: http://tinyurl.com/Turbod .
    Providing a custom code.ips in your modpack
    Smash mods don't work!
    Here's a couple common solutions to Smash mods not loading up:
    -Try backing up your save data and extdata (using Checkpoint or a similar tool) and then erasing it by pressing A+B+X+Y on Smash startup. Then try relaunching Smash.
    -If you copied the mod files using a Mac, try using a Windows or Linux PC. Mac seems to have some issues.

    3DSX Download (Rosalina only)
    CIA Download


    Credits
    Swiftloke: Co-developer
    LinkSoraZelda: Banner
    ih8ih8sn0w: RE work for controls
    Aurora Wright: Luma3DS
    ShinyQuagsire23: SaltySD
    Hamcha: Code for detecting Luma version (taken from Luma Updater)
    Ordim3m: The idea to use IPS files for SaltySD included in Smash Selector's romFS
    Freenode #cakey: Being awesome
    Nintendo Homebrew #dev: Being awesome
    USM-eM beta testers: beta testing
    Old version
     
    Last edited by Swiftloke, Oct 31, 2017
  2. Zachers

    Zachers Advanced Member

    Newcomer
    66
    18
    Jan 3, 2014
    United States
    Georgia
    Nice thread! This is very useful.
     
    Anonymous456 likes this.
  3. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,673
    749
    Aug 22, 2015
    United States
    Hell
    This might motivate me enough to setup luma as a secondary cfw, great work!
     
    Anonymous456 likes this.
  4. alonzondavis

    alonzondavis GBAtemp Regular

    Member
    102
    2
    Jun 16, 2016
    United States
    So would need Luma3ds cfw to use this, is rxtools obsolete or could I use that instead?
     
  5. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,673
    749
    Aug 22, 2015
    United States
    Hell
    rxtools is very outdated (and you should really consider switching to a more modern and supported cfw), but either way, it requires an unofficial build of luma3ds
     
    olec04 likes this.
  6. alonzondavis

    alonzondavis GBAtemp Regular

    Member
    102
    2
    Jun 16, 2016
    United States
    Downloaded. So rename it to boot.elf and run through menuhax? or has that method to load cfw changed as well recently?
     
  7. Yudowat

    Yudowat That one guy that shows up occasionally

    Member
    550
    172
    Jun 12, 2015
    Australia
    Glad it finally has a thread! It is really a very useful tool :)

    — Posts automatically merged - Please don't double post! —

    Arm9LoaderHax is the latest way to load a CFW. But menuhax will work too. Follow this guide to get you set up. https://github.com/AuroraWright/Luma3DS/wiki/Installation-and-Upgrade
     
    olec04 likes this.
  8. Cydget
    OP

    Cydget GBAtemp Fan

    Member
    491
    133
    Oct 1, 2015
    United States
    If you dont have a9lh installed, you could try downloading and installing the latest released luma3ds using these instructions https://github.com/AuroraWright/Luma3DS/wiki/Installation-and-Upgrade and then you could copy over the files from the non official release on top of those.
    The non official release leaves out some of the files necessary for menuhax I think. So just install the non official one over the official one.
    EDIT: sniped
     
    Last edited by Cydget, Jun 17, 2016
  9. Yudowat

    Yudowat That one guy that shows up occasionally

    Member
    550
    172
    Jun 12, 2015
    Australia
    Actually he would just use the files from the zip he downloaded in place of the files the guide tells you to download.
     
  10. LinkSoraZelda

    LinkSoraZelda GBAtemp Advanced Maniac

    Member
    1,980
    627
    Aug 12, 2015
    United States
    Land of the Rising Orange
    To clarify, this means no more Salty update CIAs?
    This basically does the same thing but using CFW's capabilities? I have each region's Smash game on my system, can I select which one loads the mods from? Also, does this mean the load times are gone or does it still parse through each file to check if it's there?
     
  11. Yudowat

    Yudowat That one guy that shows up occasionally

    Member
    550
    172
    Jun 12, 2015
    Australia
    Yep, no more CIAs, use the official update file and luma does the rest. If @Cydget would like to donate the full source code, I might be able to make a version for you that lets you load a specific region. Shitty load times are now a thing of the past as well, and new file additions are possible too.
     
  12. Cydget
    OP

    Cydget GBAtemp Fan

    Member
    491
    133
    Oct 1, 2015
    United States
    This does mean no more Salty update CIAs. As for if this will work for every version your system thats going to be a no. This determines the region to download and region to launch the game based on what Region your 3ds is from. So it will work with what ever version your 3ds is.
    EDIT: I might make an update that allows to select version, but that might take a bit of time I'll send @Yodowat the source since he wants to take a stab at it. This is not really high on my priority list, so I might just not do it.

    — Posts automatically merged - Please don't double post! —

    I might make an update that allows to select a region, but that might take a bit of time I'll send @Yodowat the source since he wants to take a stab at it. This is not really high on my priority list, so I might just not do it.
     
    Last edited by Cydget, Jun 17, 2016
  13. LinkSoraZelda

    LinkSoraZelda GBAtemp Advanced Maniac

    Member
    1,980
    627
    Aug 12, 2015
    United States
    Land of the Rising Orange
    That's actually great! And the region thing is fine; I wasn't sure exactly which copy of Smash it chooses. I'm American but play the Japanese version, so I'm fine.
    Luma's unofficial ROM hacking capabilities alongside management apps like this pretty much make the 3DS the best console to do rom hacks on.
     
  14. Yudowat

    Yudowat That one guy that shows up occasionally

    Member
    550
    172
    Jun 12, 2015
    Australia
    I overlooked how Smash-Selector loads a code.bin... However, you can put a code.bin for every region renamed 00040000000EDF00.bin for US, 00040000000EE000.bin for EUR and 00040000000B8B00.bin for JPN into luma/code-sections/ then use smash-selector to change what smash folder it loads (smash1, smash2...) then load the region you want from the home menu. I will work on it tonight though. Also, here is a link to the code.bin for the 3 main regions (it is an older version of saltySD however.)

    https://mega.nz/#!osxgnaLZ!ZSuW2HVt_I98o3RNiEVFBB8nVavmz0B1O1M0TRi-8j8
     
    Last edited by Yudowat, Jun 17, 2016 - Reason: forgot link :P
    LinkSoraZelda likes this.
  15. shinyquagsire23

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,966
    3,249
    Nov 18, 2012
    United States
    Las Vegas
    Just to clarify a bit, SaltySD now hooks the RF/resource file loading to add new files, and in the process polls every single file in sdmc:/saltysd/smash at startup to get file sizes for existing files and to add new files once at startup. Both hooks also poll for new files on each resource load attempt, however this now happens off the main thread and in the resource threads, so it doesn't add too much overhead.
     
  16. Yudowat

    Yudowat That one guy that shows up occasionally

    Member
    550
    172
    Jun 12, 2015
    Australia
    Last edited by Yudowat, Jun 17, 2016
    shinyquagsire23 likes this.
  17. knavesmith

    knavesmith Member

    Newcomer
    15
    2
    Jun 11, 2016
    United States
    I'm probably being dumb and forgetting something really obvious...

    I'm having trouble getting to the Main Menu of my CIA version of Smash 3DS. (Ripped from a USA Game Cartridge that I have since lost)

    When I launch Smash, it will boot normally and reach the title screen. I can tell SaltySD was properly installed because I can see my installed mods if I let the screen idle until it gets to the part where it plays a sample match with 4 players. However, when I press a button to advance past the title screen, the loading icon will play for a brief second, freeze, then close the game and restart my system with the usual "An error has occurred, forcing the software to close. The system will now restart" error. This happens even if I load a "modded" version where I add nothing to the game ( \saltysd\smash\ folder is empty save for the desc.txt file) However, if I boot my game as default Smash ("Press X to select trash 4"), it will load into the main menu and allow me to play normally.

    I am running a N3DS XL with A9LH + Luma3DS-61684ecb on 11.0.0-33U firmware.

    What could be the issue here?
     
  18. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    1,673
    749
    Aug 22, 2015
    United States
    Hell
    Did you install an unmodified update cia?
     
  19. knavesmith

    knavesmith Member

    Newcomer
    15
    2
    Jun 11, 2016
    United States
    Yes, I have. I even tried reinstalling the 1.1.6 update CIA then trying again but to no avail.
     
  20. Sachi

    Sachi GBAtemp Regular

    Member
    250
    103
    Jan 13, 2016
    United States
    you probably corrupted your menu files in saltysd then