|
|
Line 1: |
Line 1: |
| {{Infobox Switch Homebrews | | {{Infobox Switch Homebrews |
| |title=DBI | | |title=DBI |
| |image=dbiswitch.png | | |image=dbinx.png |
| |description=The ultimate solution for NSP, NSZ, XCI and XCZ installation along with many more advanced features to enhance your Nintendo Switch experience! | | |description=The ultimate solution for NSP, NSZ, XCI and XCZ installation along with many advanced features. |
| |author=rashevskyv | | |author=duckbill |
| |lastupdated=2023/04/22 | | |lastupdated=2023/04/22 |
| |type=Utilities | | |type=Utilities |
| |version=551 | | |version=551 |
| |license=Mixed | | |license=Mixed |
| |download=https://dlhb.gamebrew.org/switchhomebrews/dbiswitch.7z | | |download=https://dlhb.gamebrew.org/switchhomebrews/dbinx.7z |
| |website=https://github.com/rashevskyv/dbi | | |website=https://github.com/rashevskyv/dbi |
| |source=https://github.com/rashevskyv/dbi | | |source=https://github.com/rashevskyv/dbi |
| |donation= | | |donation= |
| }} | | }} |
| {{#seo:
| | DBI is the ultimate solution to install NSP, NSZ, XCI and XCZ files along with many advanced features. |
| |title=Switch Homebrew Apps (Utilities) - GameBrew
| |
| |title_mode=append
| |
| |image=dbiswitch.png
| |
| |image_alt=DBI
| |
| }}
| |
| DBI is a ultimate tool that allows you to install NSP, NSZ, XCI and XCZ files and work with Nintendo Switch. It supports installation over MTP, USB, http (from your personal server), external USB and more. You can view images in jpg, png and psd formats and work with zip and rar archives as well as with cbr/cbz containers. | |
|
| |
|
| DBI also supports text files and allows you to view them in plain text or hex view. You can use it as a file manager to copy, move or delete files and folders or create new folders. DBI also allows you to work with saves (including backup and restore) and much more.
| | ==Features== |
| | *Install NSP, NSZ, XCI and XCZ files |
| | *Support installation over MTP, USB, http (from your personal server), external USB and more. |
| | *View images in jpg, png and psd formats and work with zip and rar archives as well as with cbr/cbz containers. |
| | *View text files in plain text or hex view. |
| | *File manager that can copy, move or delete files and folders or create new folders. |
| | *Save manager (including backup and restore). |
| | *Displays activity charts in games by dates for all available users for each specific game. |
| | *And more. |
|
| |
|
| == Installation == | | == Installation == |
| Copy <code>dbi.nro</code> and <code>dbi.config</code> to your SD card at <code>sdmc:/switch/DBI/</code> DBI can be then be launched in either applet mode (from Album) or application mode (title override), however it is primarily designed to be used in applet mode. | | Copy <code>dbi.nro</code> and <code>dbi.config</code> to your SD card at <code>sdmc:/switch/DBI/</code>. |
|
| |
|
| ''If you have successfully launched DBI in applet mode you will see a blue background, launching in application mode will display a black background.''
| | DBI can be then be launched in either applet mode (from Album) or application mode (title override), however it is primarily designed to be used in applet mode. |
|
| |
|
| ==Media== | | If you have successfully launched DBI in applet mode you will see a blue background, launching in application mode will display a black background. |
| '''WHAT IS DBI AND HOW TO USE IT - ([https://www.youtube.com/watch?v=N_SlBDdkIfo sthetix])'''<br>
| | |
| <youtube>N_SlBDdkIfo</youtube>
| | == User guide == |
| | The README for DBI is available [https://github.com/rashevskyv/dbi/blob/main/README_ENG.md#content here]. |
|
| |
|
| == Usage ==
| |
| === Interface === | | === Interface === |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-01.png
| | {| class="wikitable" |
| | | ! style="width:15%;"|Browse SD Card |
| * '''Browse SD Card''' — installation of <code>NSP</code>/<code>NSZ</code>/<code>XCI</code>/<code>XCZ</code> files from the memory card.
| | | Install NSP/NSZ/XCI/XCZ files from the memory card. |
| * '''Browse USB0 Drive''' — installation of <code>NSP</code>/<code>NSZ</code>/<code>XCI</code>/<code>XCZ</code> files from an external exFAT/FAT32 USB drive, such as a flash drive, hard drive, etc.
| | |- |
| * '''Install title from DBIbackend''' installation of NSP/NSZ/XCI/XCZ files from a PC via USB 2.0 or 3.0 cable using the included program dbibackend. ''Hotkey'' for this option: '''(Y)''' button.
| | ! Browse USB0 Drive |
| * '''Install title from Gamecard''' — this option appears when a game card is inserted into the Switch and allows for the installation of a game from the game card to the console's microSD card or internal NAND memory.
| | |Install NSP/NSZ/XCI/XCZ files from an external exFAT/FAT32 USB drive, such as a flash drive, hard drive, etc. |
| * '''Home server''' — starting with version v150, it is possible to install games over the network (HTTP) via WiFi without wires or a LAN-USB adapter. More details about this below.
| | |- |
| * '''Browse installed applications''' — view installed games, the total number of games installed, view time spent on a game and the number of times it has been launched, check for errors, transfer game data between internal memory, memory card, and back, selectively or continuously delete games and accompanying LayeredFS mods, view the presence of updates and DLC, manually remove DLC/updates/LayeredFS (LFS) mod, and the Reset Required version function to reset the system update check for a selected game. ''Hotkey'' for this option: '''(L)''' button.
| | ! Install title from DBIbackend |
| * '''Cleanup orphaned files''' — automatic cleaning of unnecessary deleted game files, if any.
| | |Install NSP/NSZ/XCI/XCZ files from a PC via USB 2.0 or 3.0 cable using the included program dbibackend (Hotkey for this option: Y button). |
| * '''Browse tickets''' — view and manually delete game system tickets.
| | |- |
| * '''Browse saves''' - view and delete game saves.
| | ! Install title from Gamecard |
| * '''Run MTP responder''' — enables the internal MTP server to connect the Switch to a PC or Android device (phone/tablet/etc., tested with Pixel 3, Xiaomi Mi A1, Lenovo Tab 4 7" TB-7304X), where you can view and work with the memory card (1: External SD Card) and internal console memory, view installed games (4: Installed games), backup game saves to a PC (7: Saves), and dump a game card (full/trimmed/certificate) to a PC/Android with an inserted game card (9: Gamecard). ''Hotkey'' for this option: '''(X)''' button
| | |This option appears when a game card is inserted into the Switch and allows for the installation of a game from the game card to the console's microSD card or internal NAND memory. |
| * '''Run FTP server''' - enables the DBI FTP server for accessing microSD files through port 5000 or installing files through port 6000.
| | |- |
| * '''Exit''' — exits the program. ''Hotkey'' for this option: '''(+)''' button.
| | ! Home server |
| | |Since v150, it is possible to install games over the network (HTTP) via WiFi without wires or a LAN-USB adapter. More details [https://github.com/rashevskyv/dbi/blob/main/README_ENG.md#home-server here]. |
| | |- |
| | ! Browse installed applications |
| | |View installed games, the total number of games installed, view time spent on a game and the number of times it has been launched, check for errors, transfer game data between internal memory, memory card, and back, selectively or continuously delete games and accompanying LayeredFS mods, view the presence of updates and DLC, manually remove DLC/updates/LayeredFS (LFS) mod, and the Reset Required version function to reset the system update check for a selected game (Hotkey for this option: L button). |
| | |- |
| | ! Cleanup orphaned files |
| | |Automatic cleaning of unnecessary deleted game files, if any. |
| | |- |
| | ! Browse tickets |
| | |View and manually delete game system tickets. |
| | |- |
| | ! Browse saves |
| | |View and delete game saves. |
| | |- |
| | ! Run MTP responder |
| | |Enable the internal MTP server to connect the Switch to a PC or Android device (phone/tablet/etc., tested with Pixel 3, Xiaomi Mi A1, Lenovo Tab 4 7" TB-7304X), where you can view and work with the memory card (1: External SD Card) and internal console memory, view installed games (4: Installed games), backup game saves to a PC (7: Saves), and dump a game card (full/trimmed/certificate) to a PC/Android with an inserted game card (9: Gamecard) (Hotkey for this option: X button). |
| | |- |
| | ! Run FTP server |
| | |Enable the DBI FTP server for accessing microSD files through port 5000 or installing files through port 6000. |
| | |- |
| | ! Exit |
| | |Exit the program (Hotkey for this option: + button). |
| | |} |
|
| |
|
| The bottom left corner of DBI displays the total amount of data currently on your SD card along with the full capacity. The bottom right corner gives you the same information for your NAND's usable space in HOS. | | The bottom left corner of DBI displays the total amount of data currently on your SD card along with the full capacity. The bottom right corner gives you the same information for your NAND's usable space in HOS. |
Line 53: |
Line 78: |
| Bottom center (dbi: XXX) is the DBI version number - you should always use the most recent version. | | Bottom center (dbi: XXX) is the DBI version number - you should always use the most recent version. |
|
| |
|
| === Buttons === | | ==Controls== |
| * '''(А)''' - select or confirm
| | '''General:''' |
| * '''(B)''' - cancel, exits the program '''from the main menu'''
| |
| * '''(X)''' - select file. On the main screen - hotkey for mounting MTP (menu item "[[#run-mtp-responder|Run MTP responder]]")
| |
| * '''(Y)''' - invert selection, select all if nothing is selected. On the main screen - installation via USB using dbibackend (menu item "[[#install-title-from-dbibackend|Install title from DBIbackend]]")
| |
| * '''(ZL)''' and '''(ZR)''' - scroll pages in menus, scroll through individual games when in detailed game menu
| |
| * '''(L)''' - '''on the main menu''' the hotkey for the menu option "'''Browse installed applications'''"
| |
| * '''(R)''' - change the displayed sort order of files/titles
| |
| * '''(L3)''' - click left stick to launch games from the application list or detailed game menu
| |
| * '''(+)''' on the right joycon - display context menus to allow you to perform operations such as deleting, resetting the required firmware version, mounting via MTP and more
| |
| * '''(-)''' on the left joycon - turn the screen on/off when MTP mode is activated/when installing titles
| |
|
| |
|
| === Browse SD Card / Browse USB0 Drive ===
| | A - Select, confirm |
| Select these options if you want to install games, updates and DLC from files present on your SD card or from an external USB drive. Press '''(A)''' to open the folder and '''(B)''' to return. After opening the folder containing your installation files use the '''(X)''' button to select single or multiple files for installation. The '''(Y)''' button inverts your selections and the color of the name of the selected files will change from white to light blue. | |
|
| |
|
| Press the '''(A)''' button to confirm. A window with installation options will appear:
| | B - Cancel, Exit the program (on main menu) |
|
| |
|
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-02.png
| | X - Select file, Hotkey for mounting MTP (on main screen) |
|
| |
|
| * '''Total transfer size''' - the total amount of data (NSP/NSZ/XCI/XCZ files) selected for installation
| | Y - Invert selection, Select all if nothing is selected, Install via USB using dbibackend (on main screen) |
| * '''Total install size''' - the amount of free space required to install the selected files
| |
| * '''Install target''' - select installation location: '''NAND''' - internal memory of the Nintendo Switch console, '''SD''' - SD card, '''AUTO''' - by default this will install to your SD card but if you don't have enough space the installation will fall back to NAND (internal memory)
| |
| * '''Delete after install''' - deletes installation files (NSP/NSZ/XCI/XCZ files) from the source after they have been successfully installed; for this to work, the "Read-only" attribute must be removed from files if present. By default files are not deleted. The option is visible only when installing from an SD card/external USB drive
| |
| * '''Turn off screen''' - turns off the screen during installation to conserve battery, after installation successfully completes the screen will automatically turn back on. This option only works in handheld mode
| |
| * Select '''Start install''' to begin the installation. After a successful installation "'''Installation Complete. Press B to return'''" will appear
| |
|
| |
|
| ''DBI will automatically and immediately remove old updates when installing a new update for a game, so you don't have to worry about the extra space they occupy.''
| | ZL/ZR - Scroll pages in menus, Scroll through individual games when in detailed game menu |
|
| |
|
| You can also navigate to your homebrew files and launch .nro files directly by highlighting them and pressing '''(A)'''.
| | L - Hotkey for the menu option "Browse installed applications" (on main menu) |
|
| |
|
| === Install title from DBIbackend ===
| | R - Change the displayed sort order of files/titles |
| If you cannot use DBI's MTP responder this is another convenient method for installing titles over USB. Installing over USB allows you to transfer files directly from your PC for example, which avoids the inconvenience and of having to first move the file to your SD card and then install it.
| |
|
| |
|
| ''Main menu hotkey for this option'': '''(Y)''' button
| | L3 - Click left stick to launch games from the application list or detailed game menu |
|
| |
|
| In order to use this option you will first require dbibackend (<code>dbibackend.exe</code> for Windows, or the <code>dbibackend</code> script for all operating systems). Launch dbibackend, select the files to install, select Start server, connect a USB-C cable from your PC to your Switch and select '''Install title from DBIbackend''' in DBI.
| | Plus - Display context menus (deleting, resetting the required firmware version, mounting via MTP and more) |
|
| |
|
| For proper operation of dbibackend on Windows, you need to install the "'''libusbK (v3.1.0.0)'''" drivers. They can be installed through the [https://zadig.akeo.ie/ Zadig program] by entering DBI into the "'''Install title from DBIbackend'''" mode and selecting the device that appears in the program.
| | Minus - Turn the screen on/off when MTP mode is activated/when installing titles |
|
| |
|
| From here you can select and install your files on the Switch in the same fashion as using Browse SD Card/Browse USB0 Drive.
| | '''Browse SD Card / Browse USB0 Drive:''' |
|
| |
|
| To quickly send files or folders with games for installation, right-click on them, select <code>Send from dbibackend</code> and the installation files will be immediately placed in dbibackend's queue. To configure this in Windows, press <code>Win + R</code>, enter <code>shell: sendto</code> and create a shortcut for <code>dbibackend.exe</code> in the folder.
| | A - Open the folder, Confirm/Start install |
|
| |
|
| There are alternative clients for working with DBIbackend, for example [https://github.com/cyb3rwarden/dbibackend/blob/0885ef67edf28cbca30fb2c193ad7ab9a62786f7/dbibackend/dbibackend.py headless implementation], [https://4pda.to/forum/index.php?showtopic=939714&st=6080#entry100701109 NSW-DBI 2.0.0 on nodegui] (requires installation of libusb driver for Linux or WinUSB (libusb) for Windows via Zadig).
| | B - Return |
|
| |
|
| You can pass commands to the script by running it from the command line and then specifying the path to the game or games you need to install. For example:
| | X - Select single or multiple files for installation |
|
| |
|
| <pre>python ~/dbi/dbibackend ~/Switch/File1.nsp ~/Switch/File2.nsp ~/Switch/File3.nsp</pre>
| | Y - Invert your selections (the color of the name of the selected files will change from white to light blue) |
|
| |
|
| <pre>dbibackend.exe "e:\Switch\Games\File1.nsp" "e:\Switch\Games\File2.nsp" "e:\Switch\Games\File3.nsp"</pre> | | ==Screenshots== |
| | '''Browse SD card/USB0 drive'''<br> |
| | https://dlhb.gamebrew.org/switchhomebrews/dbinx.png |
|
| |
|
| ==== Dependencies that may be required to run on MacOS or Linux ====
| | '''Install options'''<br> |
| <pre>brew install python-tk | | https://dlhb.gamebrew.org/switchhomebrews/dbinx2.png |
| pip3 install pyusb</pre>
| |
|
| |
|
| === Home server ===
| | '''Browse installed titles'''<br> |
| The '''"Home server"''' option will appear if the '''Network install sources''' section has been configured in '''[[#dbiconfig|dbi.config]]'''. You can specify the name of the option as required in the configuration file.
| | https://dlhb.gamebrew.org/switchhomebrews/dbinx3.png |
|
| |
|
| To install games over your network, edit the dbi.config file located in the <code>sdmc:/switch/DBI/</code> folder as required. For example:
| | '''Title context menu'''<br> |
| | https://dlhb.gamebrew.org/switchhomebrews/dbinx4.png |
|
| |
|
| <pre>; Network install sources | | '''Detailed game menu'''<br> |
| [Network sources]
| | https://dlhb.gamebrew.org/switchhomebrews/dbinx5.png |
| ; <display name>=<type>|<URL>
| |
| Home server=ApacheHTTP|http://192.168.1.47/Nintendo/Switch/</pre>
| |
|
| |
|
| Install any HTTP server with DirectoryListing enabled on your PC: Apache, Mongoose, Python SimpleHTTP, sheret, rclone, etc.
| | '''Running MTP responder'''<br> |
| | https://dlhb.gamebrew.org/switchhomebrews/dbinx6.png |
|
| |
|
| Example for nginx on Windows: Edit the file <code>/nginx/conf/nginx.conf</code>, registering the address of your Switch in <code>location</code>, instead of the <code>127.0.0.1</code> specified in the example (or your entire subnet like 192.168.1.1/24 or 192.168.0.0/16); it can be found on Switch in '''System Preferences''' > '''Internet''':
| | ==Media== |
| | '''WHAT IS DBI AND HOW TO USE IT ([https://www.youtube.com/watch?v=N_SlBDdkIfo sthetix])'''<br> |
| | <youtube>N_SlBDdkIfo</youtube> |
|
| |
|
| <div class="snippet-clipboard-content notranslate position-relative overflow-auto">
| | ==Changelog== |
| | | '''551 2023/04/22''' |
| <pre>location / {
| |
| root html;
| |
| index index.html index.htm;
| |
| }
| |
| location /Nintendo/Switch/ {
| |
| allow 127.0.0.1;
| |
| deny all;
| |
| autoindex on;
| |
| }</pre>
| |
| | |
| Save the config, run <code>nginx.exe</code>, allow the program to access the network, then copy the desired game to the local <code>/nginx/html/Nintendo/Switch/</code> folder on your PC, and on the Switch select “Home server”. You will now be presented with the usual interface for installing files and you can start installing files over the network. You can stop the web server via nginx -s stop.
| |
| | |
| For the server address in <code>dbi.config</code>, you can also use a domain name, for example, your remote VPS - suggested to use with HTTP Basic authentication e.g.: <code>http://user:password@host:port/Nintendo/Switch/</code>
| |
| | |
| For example:
| |
| | |
| <pre>ApacheHTTP|Network repo|http://127.0.0.1/Nintendo/Switch/
| |
| ApacheHTTP|WWW VPS repo|http://www.myveryownswitchvpsdomain.su/Nintendo/Switch/</pre>
| |
| | |
| Generate the htpasswd file, put it in /nginx/conf/, then adjust the nginx.conf file as follows:
| |
| | |
| <pre> location /Nintendo/Switch/ {
| |
| satisfy all;
| |
| allow 127.0.0.1;
| |
| deny all;
| |
| auth_basic "Password Protected Area";
| |
| auth_basic_user_file htpasswd;
| |
| autoindex on;
| |
| }</pre>
| |
| | |
| Login "switch", password "pwd":
| |
| | |
| htpasswd-file:
| |
| | |
| <pre>switch:{SHA}N/omUzCtg+qoee+x4ttjgIls9jk=</pre>
| |
| | |
| === Browse installed applications ===
| |
| In '''Browse installed applications''' you can see a list of installed programs, updates and DLC with their occupied space, version (display version and hex version), their titleID, the total game time and the number of launches and the presence of installed LayeredFS mods for the game (for Atmosphére).
| |
| | |
| ''Main menu hotkey for this option'': '''(L)''' button
| |
| | |
| At the top center, the total number of installed games and the sorting type is displayed.
| |
| | |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-03.png
| |
| | |
| On the left hand side in square brackets, information on the game installation location, installed file type and the presence of LayeredFS mods or cheats is denoted:
| |
| | |
| * '''N/S/M/G''' - NAND/SD/Mixed/Gamecart - Location of installed files, Mixed denotes that installed files were detected on both NAND and SD card
| |
| * '''b''' - BASE - the base game
| |
| * '''u''' - Update - update installed
| |
| * '''d''' - DLC - DLC installed
| |
| * '''l''' - LayeredFS mod - LayeredFS mods or cheats for the game were detected at <code>sdmc:/atmosphere/contents/%titleID%/</code>
| |
| | |
| You can quick launch a game directly from the list by highlighting it and pressing '''(L3)'''.
| |
| | |
| '''Please note!''' If the game is '''highlighted in red''' only an update and/or DLC is installed, the game itself is NOT installed.
| |
| | |
| ==== Title context menu ====
| |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-04.png
| |
| | |
| Displayed by clicking on '''(+)''' on the selected title(s).
| |
| | |
| * '''Delete title''' - delete selected titles
| |
| * '''Move title to MicroSD/NAND''' - move the selected titles to SD card or NAND, depending on where the title is currently located. If content is installed to both locations then both options will be displayed
| |
| * '''Reset required version''' - resets the system version check required to run the title (debug must be enabled in Atmosphere)
| |
| * '''Check integrity''' - checks the data integrity of the selected titles
| |
| * '''Expose contents via MTP''' - mount the content of the selected titles via MTP
| |
| * '''Dump to MicroSD''' - dump all available content (game, DLC, update) to a MicroSD card using the path specified in the config (default is <code>switch/DBI/dumps</code>)
| |
| * '''Content info''' - display additional information about the content (SDK version, required key generation, ID, patch information, and more)
| |
| | |
| If you press the '''(A)''' button on the title, the '''detailed game menu''' will open.
| |
| | |
| === Detailed game menu ===
| |
| The '''detailed game menu''' opens when you press the '''(A)''' button on a title while in the menu for browsing installed games ('''Browse installed applications''')
| |
| | |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-05.png
| |
| | |
| The game's icon, TitleID, name, author, version, supported languages, and the presence of an LFS mod are displayed in the detailed game menu, which can be accessed by pressing the '''(A)''' button on the game's tile while in the browse installed applications menu.
| |
| | |
| Additionally, the menu displays the total playtime, total launches, total occupied space, space in NAND and on MicroSD, total saves size, and the game's forced language.
| |
| | |
| Below that, there are three tabs that can be switched between using the '''(L)''' and '''(R)''' buttons:
| |
| | |
| * '''Content records'''
| |
| * '''Tickets'''
| |
| * '''Saves'''
| |
| | |
| ==== Content records ====
| |
| | |
| The information is displayed in the following format:
| |
| | |
| [Location] Type | version [version number] | Size
| |
| | |
| '''Location''' - '''NAND''' or '''SD''', depending on where the content is installed '''Type''' - '''Application''' for the base game, '''Update''' for updates, '''Addon''' for DLC, and the number of the DLC will be indicated next to it '''version [version number]''' - the content version in dec and [hex] (for example, 786432 is 0.12.0.0) '''Size''' - occupied space
| |
| | |
| By pressing the '''(A)''' button on the content, you can view its contents. The content can be copied by selecting the corresponding item in the context menu (which opens by pressing the '''(+)''' button). The content opens in "read-only" mode.
| |
| | |
| When you press the (+) button on the selected content, you can access the context menu, which includes:
| |
| | |
| * '''Delete record''' - delete the selected record
| |
| * '''Move records to MicroSD/NAND''' - move the selected record to NAND or the memory card, depending on where it is currently located. If parts of the title are located in both places, both options will be displayed.
| |
| * '''Reset required version''' - reset the required system version check for launching the title (debug must be enabled in Atmosphere). This will not help if the game was built on a new SDK version.
| |
| * '''Force language''' - allows you to forcibly launch the game with a selected language. By default, the game runs with the same language selected in the system, if it is not available in the game, depending on the console region. The selected language will be displayed next to the game icon in the '''Forced Language''' field.
| |
| * '''Check integrity''' - checks the integrity of the selected title data.
| |
| * '''Expose contents via MTP''' - mounts the content of the selected titles via MTP.
| |
| * '''Dump to MicroSD''' - dumps all available content (game, DLC, update) to the MicroSD card according to the path specified in the config (default: switch/DBI/dumps).
| |
| * '''Content info''' - displays additional information about the content, including the SDK version, required key generation, ID, patch information, and much more.
| |
| | |
| ==== Tickets ====
| |
| A '''ticket (or encrypted title key)''' is a unique encrypted information about the rights to launch game content that is installed in the system during the installation of each game (ending in '''000''' in the titleID)/update (ending in '''800''' in the titleID)/DLC.
| |
| | |
| Installed tickets for content are displayed, including:
| |
| | |
| * '''Personalized ticket''' - a ticket given when installing a game from the eShop, which is personalized and unique for each account.
| |
| * '''Common ticket''' - a general ticket that exists for updates and is also used as a workaround in pirated games.
| |
| | |
| The game databases on Nintendo servers are encrypted with the same key, but this key is encrypted with its own unique key for each game purchaser (generated on the console). Therefore, the key for decrypting the game can only be obtained from the personalized ticket on the console for which it was created. Thus, while personalized tickets differ for each purchaser, they all contain the same decryption key. Common tickets do not have encryption, only a signature.
| |
| | |
| By clicking the '''(+)''' button on the selected content, you can access a context menu where you can delete selected tickets.
| |
| | |
| In some cases, if a specific error occurs and you are sure of what you are doing, you can delete it for a specific game and its updates/DLC. However, it is generally better to leave the tickets alone to avoid errors when launching games.
| |
| | |
| ==== Saves ====
| |
| Viewing and deleting saves. If there is no save, it can be created through the context menu (button (+)) for the selected account. If there is a save:
| |
| | |
| * '''Backup''' - make a backup of the save. By default, it will be located in the <code>switch/DBI/saves</code> folder.
| |
| * '''Restore''' - restore the backup of the save.
| |
| * '''Save info...''' - detailed information about the save, such as type, size, account name, etc.
| |
| * '''Increase save size''' - increases the space allocated for the save by a specified value.
| |
| * '''Delete''' - delete the save.
| |
| | |
| === Cleanup orphaned files ===
| |
| Cleaning up lost files.
| |
| | |
| '''Cleanup orphaned files''' automatically cleans up unnecessary game files, files from interrupted/failed game installations, officially downloaded firmware updates and all unused game tickets if found.
| |
| | |
| === Browse tickets ===
| |
| View and delete game tickets. '''Ticket (or encrypted title key)''' is a special encrypted unique information about the rights to launch the content of the game, which is installed in the system during the installation of each game ('''000''' at the end of the titleID) / update ('''800''' at the end of titleID) / of each DLC.
| |
| | |
| * '''+''' means there is an installed game
| |
| * '''[c]''' ('''Personalized ticket''') - a ticket that is given when installing a game from the eShop, it is personalized, meaning it is encrypted with a unique key from your console.
| |
| * '''[p]''' ('''Common ticket''') - a common type of ticket that is used for updates and also used as a workaround for pirated games.
| |
| | |
| Game databases on Nintendo servers are encrypted with the same key, but this key is encrypted with a unique key for each purchased game (this key is generated on the console itself), so it is only possible to obtain the decryption key for a game from a Personalized ticket on the console it was created for. This means that all Personalized tickets purchased are different, but they contain the same decryption key for the game. Common tickets, on the other hand, do not have encryption, only a signature.
| |
| | |
| Sometimes if a specific error occurs and you know exactly what you are doing, it can be removed from a specific game and its update/DLC.
| |
| | |
| In most cases it is better not to touch anything here, in order to avoid errors when starting games.
| |
| | |
| ==== Tickets context menu ====
| |
| Displayed by clicking on '''(+)''' on selected tickets
| |
| | |
| The number of selected tickets is displayed at the top of the context window.
| |
| | |
| * '''Delete tickets''' - delete selected tickets
| |
| * '''Select same game''' - highlight all tickets related to the selected game
| |
| | |
| === Browse saves ===
| |
| View, backup and delete saves.
| |
| | |
| In general, saves are displayed in the following format:
| |
| | |
| <code>[Account] Game-Name Backup-date Size</code>
| |
| | |
| * '''Account''' - shows the name of the account for which the save was created, if the save type is Account, if the save type is other, it shows its type
| |
| * '''Game-Name''' - shows the name of the game for which the save was created
| |
| * '''Backup-date''' - shows the date when the backup was created, only displayed in the Backup tab
| |
| * '''Size''' - the size of the save or backup
| |
| | |
| Below, there are three tabs that can be switched using the '''(L)''' and '''(R)''' buttons:
| |
| | |
| * '''Installed''' - shows saves for all installed games
| |
| * '''Uninstalled''' - shows saves for all uninstalled games
| |
| * '''Backups''' - shows created backups
| |
| | |
| ==== Context menu Installed and Uninstalled ====
| |
| Displayed when '''(+)''' is pressed on selected saves
| |
| | |
| * '''Backup''' - creates backups of the selected saves
| |
| * '''Open''' - opens the save
| |
| * '''Save info...''' - shows information about the save (Id, type, size, creation time, etc.)
| |
| * '''Delete''' - deletes the selected saves
| |
| * '''Select same app''' - selects all saves related to the selected game
| |
| * '''Browse app(s)''' - goes to the [[#content-records|content record card]] of the selected games. You can switch between cards using the '''(ZL)'''/'''(ZR)''' buttons. Only available in the '''Installed''' tab.
| |
| | |
| ==== Backups context menu ====
| |
| Displayed by clicking on '''(+)''' on selected saves
| |
| | |
| * '''Validate saves''' - check the integrity of saves
| |
| * '''Restore''' - restore selected backup saves
| |
| * '''Open''' - open the selected save
| |
| * '''Delete''' - deletes the selected saves
| |
| * '''Browse app(s)''' - goes to the [[#content-records|content record card]] of the selected games. You can switch between cards using the '''(ZL)'''/'''(ZR)''' buttons. Only available in the '''Installed''' tab.
| |
| * '''Select same user''' - select all saves belonging to a specific user.
| |
| | |
| If multiple backups are selected for one game and user in the list, only the most recent backup will be restored.
| |
| | |
| === Run MTP responder ===
| |
| '''Run MTP responder''' activates the built-in MTP server in DBI for exchanging data with a PC or an Android device via USB-C OTG (phone/tablet/other devices). ''Hotkey to call this option from the main menu'': the '''(X)''' button (also used to exit MTP). After connecting the USB cable to the PC and starting the MTP server in DBI, the following window will appear on the PC:
| |
| | |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-06.png
| |
| | |
| 1: '''External SD Card''' - for viewing, copying and deleting files and folders from/to a PC and from/to your SD card. Drop a file larger than 4GB onto the SD card and DBI will automatically split the file into an archived folder which allows the Switch to see it as a single file, with this you can for example very easily add a >4GB .XCI for use in SX OS or add a >4GB movie for watching in NXMP or pPlay.
| |
| | |
| 2: '''NAND User''' - view and copy files and folders to a PC from the Switch's internal memory USER partition (this partition is read-only).
| |
| | |
| 3: '''NAND System''' - view and copy files and folders to a PC from the Switch's internal memory SYSTEM partition (the partition is read-only).
| |
| | |
| 4: '''Installed games''' - all installed games are displayed from both NAND (internal memory of the Switch) and SD card. To dump installed games to your PC in NSP format, just copy the folder with the name of the game from Installed games to your PC. A common ticket with completely cleared personal information is generated based on your personalized ticket. Your dump will be in separate files - the game itself, the update and any DLC files. If cheats or mods have been installed for the game, they will be located in the <code>Mods & Cheats</code> folder. You can also dump a single combined multicontent file containing the game itself, the update and all DLC, these files are located at the root of the '''Installed games''' directory.
| |
| | |
| 5: '''MicroSD install''' - Drop or copy your '''NSP'''/'''NSZ'''/'''XCI''' or '''XCZ''' files in this folder. When the transfer is complete the game will be installed on the '''SD card''' of your console. When installing NSZ or XCZ files, keep in mind that their actual size may differ greatly from their original size after installation: so if for example you start with 2GB free on your SD card and you do not have enough space to install an NSZ of 1GB in size, that is because NSZ and XCZ files are compressed and must be decompressed for installation.
| |
| | |
| 6: '''NAND install''' - Drop or copy your '''NSP'''/'''NSZ'''/'''XCI''' or '''XCZ''' files in this folder. When the transfer is complete the game will be installed on the '''internal memory''' of your console.
| |
| | |
| 7: '''Saves''' - Access to all save types stored in the internal memory of the Switch: accounts '''(Account)''', system programs '''(System)''', Background Content Asymmetric synchronized delivery and Transmission ('''BCAT''', for example: events in ACNH), temporary '''(Temporary)''', cache ('''Cache''', for example: addons in DOOM), system BCAT '''(SystemBCAT)''' and Device Saves '''(Device)'''
| |
| | |
| Backup, restore and manage save data for both installed and uninstalled games. You can make a backup of them by copying them to a PC and also delete saves that you no longer want or need - to do this open the folder with the name of the game you need, then delete the required save folder. In order to restore saves, copy them to the appropriate folder from your PC. DBI does not require pre-launching the game before restoring a save.
| |
| | |
| 8: '''Album''' - direct access to official Album screenshots and videos per game/title, similar to the official feature added in OFW 11.0.0.
| |
| | |
| 9: '''Gamecard''' - with a gamecard inserted into the Switch you can dump to .XCI or trimmed .XCI on the PC, along with the update built into it if present. The personal RSA certificate automatically removed and is dumped separately.
| |
| | |
| After activating the MTP server on the Switch a window will appear with your account nickname and its UID, as well as the number of game saves:
| |
| | |
| https://dlhb.gamebrew.org/switchhomebrews/dbiswitch-07.png
| |
| | |
| #: '''Custom Storage''' - If you have defined a custom virtual MTP drive in the '''[[#dbiconfig|dbi.config]]''' file it will appear here.
| |
| | |
| To turn off the MTP server and exit to the main menu, press either the '''(X)''' or '''(B)''' button.
| |
| | |
| === Activity Log ===
| |
| Displays activity charts in games by dates for all available users for each specific game.
| |
| | |
| === Configuration and dbi.config parameters ===
| |
| The program configuration manager allows easy configuration of the program without editing <code>dbi.config</code>.
| |
| | |
| Below are the configuration items through GUI / The corresponding items in <code>dbi.config</code> will be indicated in parentheses.
| |
| | |
| '''true''' in the configuration corresponds to '''Yes''' in the settings, '''false''' - '''No'''
| |
| | |
| ==== General (<code>[General]</code>) ====
| |
| * '''Use external USB drives''' (<code>UseLibUsbHsFS</code>) - true enables the [https://github.com/DarkMatterCore/libusbhsfs libusbhsfs] library for working with external USB drives through USB-OTG on the Switch, false disables it.
| |
| * '''Direct exit to homescreen''' (<code>ExitToHomeScreen</code>) - if '''false''', exiting DBI will go to hbmenu, if '''true''', to the Switch home screen.
| |
| * '''Log events & operations''' (<code>LogEvents</code>) - whether or not to save logs for "''Install''", "''Check integrity''", and "''Cleanup''" events.
| |
| * '''Highlight update files''' (<code>HighlightUpdates</code>) - whether or not to highlight updates for installed games in the file manager.
| |
| * '''Rotate screen upside down''' (<code>RotateScreen</code>) - rotates the screen by 180 degrees.
| |
| * '''Rotate joycon upside down''' (<code>RotateJoycon</code>) - flips the controls to match the flipped screen.
| |
| * '''Use under/over clock''' (<code>OptimizeClockSpeed</code>) - disables optimization of the SoC frequency during idle time. Disabled by default because it '''may cause lag on the startup screen when exiting DBI incorrectly'''! The correct exit method is through the '''Exit''' menu item.
| |
| * '''Browse saves in RO mode''' (<code>ROSaveFS</code>) - view saves in read-only mode.
| |
| * '''Show 'Update From Here'''' (<code>ShowUpdateFromHere</code>) - show the "Update all titles" button in the context menu for automatically updating installed games from all available sources (microSD/USB/HTTP/FTP).
| |
| * '''Save backup folder''' (<code>SavesFolder</code>) - folder for storing save backups.
| |
| * '''Logs folder''' (<code>LogsFolder</code>) - folder for storing logs.
| |
| * '''Title dumps folder''' (<code>DumpsFolder</code>) - folder on the memory card to which games will be dumped.
| |
| * '''Version info URL''' (<code>VersionsURL</code>) - can accept a direct link to a file on a remote server or a file on the memory card. Examples:<code> https://raw.githubusercontent.com/blawar/titledb/master/versions.txt</code> or <code>sdmc:/versions.txt</code>.
| |
| * '''Show cache warming indicator''' (<code>ShowCacheWarmingIndicator</code>) - show a notification when caching information about installed programs.
| |
| * '''Put cursor down after selection''' (<code>MoveDownAfterX</code>) - whether or not to move the cursor down after marking a game with the '''(X)''' button.
| |
| * '''Screen idle time in seconds''' (<code>ScreenIdleTimeout</code>) - screen shutdown timeout.
| |
| * '''Autorepeat buttons when holding''' / '''Автоповтор кнопки при удержании''' (<code>Autorepeat</code>) - navigate through the menu by holding the button
| |
| * '''Cursor on both panels''' / '''Курсор на обеих панелях''' (<code>Secondcursor</code>) - whether to display the cursor on the inactive panel or not
| |
| | |
| '''Exists in the config, but not in the menu:'''
| |
| | |
| * '''AppSorting''' - options for sorting the list of applications
| |
| * '''SaveSorting''' - options for sorting saves
| |
| | |
| ==== Main menu (<code>[MainMenu]</code>) ====
| |
| Settings for the menu items that will be displayed in the main DBI menu. '''Yes''' in the settings corresponds to '''true''' in the config, '''No''' corresponds to '''false'''.
| |
| | |
| * '''Browse SD Card''' (<code>BrowseSD</code>) - menu item "[[#browse-sd-card--browse-usb0-drive|Browse SD Card and Browse USB0 Drive]]", for installing games from an SD card
| |
| * '''Browse System''' (<code>BrowseSystem</code>) - allows browsing and copying files from the SYSTEM partition
| |
| * '''Browse User''' (<code>BrowseUser</code>) - allows browsing and copying files from the USER partition
| |
| * '''Browse USB''' (<code>USBHost</code>) - menu item "'''Browse USB0 Drive'''", for installing games from an external USB drive
| |
| * '''Install from USB''' (<code>BackendInstall</code>) - menu item "[[#install-title-from-dbibackend|Install title from DBIbackend]]", for installing titles from the DBI backend
| |
| * '''Install from Gamecard''' (<code>GameCard</code>) - menu item "'''Install title from Gamecard'''", for installing content from game cartridges to the console memory
| |
| * '''Browse Network''' (<code>Network</code>) - menu item "'''Home server'''", for installing games from a home web server
| |
| * '''Browse SD shortcuts''' (<code>Local</code>) - whether to show links to folders in the [[#local-sources|Local sources]] section or not
| |
| * '''Browse applications''' (<code>BrowseApps</code>) - menu item "[[#browse-installed-applications|Browse installed applications]]", for managing installed applications
| |
| * '''Cleanup orphaned files''' (<code>Cleanup</code>) - menu item "[[#cleanup-orphaned-files|Cleanup orphaned files]]", for cleaning up orphaned files from the memory card
| |
| * '''Check title updates''' (<code>UpdateCheck</code>) - menu item "'''Check for title updates'''", for checking for updates and DLC for installed games
| |
| * '''Browse tickets''' (<code>Tickets</code>) - menu item "[[#browse-tickets|Browse tickets]]", for managing tickets
| |
| * '''Browse saves''' (<code>Saves</code>) - [[#browse-saves|Browse saves]]
| |
| * '''Run MTP responder''' (<code>MTP</code>) - menu item "[[#run-mtp-responder|Run MTP responder]]", for starting MTP
| |
| * '''Run FTP server''' (<code>FTP</code>) - menu item "'''Run FTP server'''", for starting FTP
| |
| | |
| ==== Applications / Installed games (<code>[Applications]</code>) ====
| |
| * '''Show LFS folder size (slow)''' (<code>CalculateLFSSize</code>) - Enables or disables the calculation of the size of installed LFS mods. If enabled, it may affect the speed of opening the "''Browse installed applications''" menu.
| |
| | |
| ===== Install options (<code>[Install]</code>) =====
| |
| * '''Check hash during install''' (<code>CheckHash</code>) - When set to '''true''', the hash of <code>.nca</code> files is checked during game installation on the Switch. When set to '''false''', it is not checked.
| |
| * '''Chunked HTTP/FTP transfer''' (<code>ChunkedTransfer</code>) - Enables or disables chunked transfer of data over HTTP.
| |
| | |
| ==== MTP options (<code>[MTP]</code>) ====
| |
| * '''Show combined NSP''' (<code>ShowCombinedNSPInInstalledGames</code>) - When set to '''false''', multi-title .NSP files are not shown in the Installed games menu in MTP mode.
| |
| * '''Show 'Mods & Cheats' folder''' (<code>ShowMACInInstalledGames</code>) - When set to false, the virtual directory '''Mods & cheats''' in the Installed games menu in MTP mode is not shown, which redirects to <code>sdmc:/atmosphere/contents/TITLEID/</code> on the memory card.
| |
| * '''Use TitleID for 'Mods & Cheats'''' (<code>MACasTID</code>) - Displays the "Mods & Cheats" folder in MTP mode as a TitleID.
| |
| * '''Turn off screen''' (<code>TurnOffScreen</code>) - Enables or disables turning off the console screen when connected in MTP mode.
| |
| * '''Android extensions''' (<code>ReportAndroidExtension</code>) - whether to use the corresponding command set when working with MTP. Sometimes PC clients based on libmtp (Mac or Linux) do not correctly recognize the device, which may result in a decrease in data transfer speed. In such cases, it is recommended to try changing this setting.
| |
| | |
| '''In the config but not in the menu:'''
| |
| | |
| * '''LogAllFiles''' - When set to '''false''', files smaller than 4 MB are not logged when working with MTP. When set to '''true''', all files are logged.
| |
| | |
| ==== MTP Storages (<code>[MTP Storages]</code>) ====
| |
| Displays the corresponding items when using [[#run-mtp-responder|MTP Responder]] with a PC/Android. By default, all items are enabled for display.
| |
| | |
| '''true''' - display in the main menu, '''false''' - do not display.
| |
| | |
| The names of the items correspond to the section names.
| |
| | |
| * '''External SD Card''' (<code>1: External SD Card</code>)
| |
| * '''Nand USER''' (<code>2: Nand USER</code>)
| |
| * '''Nand SYSTEM''' (<code>3: Nand SYSTEM</code>)
| |
| * '''Installed games''' (<code>4: Installed games</code>)
| |
| * '''MicroSD install''' (<code>5: MicroSD install</code>)
| |
| * '''NAND install''' (<code>6: NAND install</code>)
| |
| * '''Saves''' (<code>7: Saves</code>)
| |
| * '''Album''' (<code>8: Album</code>)
| |
| * '''Gamecard''' (<code>9: Gamecard</code>)
| |
| * '''Show custom storages''' (<code>CustomStorages</code>) - show or hide custom menu items specified in the MTP custom storages section.
| |
| | |
| ==== FTP Options (<code>[FTP]</code>) ====
| |
| * '''Turn off screen''' (<code>TurnOffScreen</code>) - turn off the screen when entering FTP mode.
| |
| * '''Start local Access point''' (<code>UseAP</code>) - enable Switch to work as an access point that FTP clients can connect to directly. Below are settings for this access point.
| |
| * '''Read file date''' / '''Читать дату файлов''' (<code>ReadMT</code>) - whether to read the file modification date or not
| |
| | |
| ==== Access Point (<code>[Access point]</code>) ====
| |
| * '''SSID''' (<code>SSID</code>) - the name of the access point.
| |
| * '''Password''' (<code>Password</code>) - the password.
| |
| * '''Use 5 GHz''' (<code>Use5GHz</code>) - whether to use 5 GHz. If turned off, it will work in 2.4 GHz mode.
| |
| * '''Use hidden SSID''' (<code>Hidden</code>) - hide the SSID for search. This means that it can only be connected to by entering the specified SSID.
| |
| | |
| ==== Exists in Config, but not in menu ====
| |
| ===== Network sources =====
| |
| Names and addresses for setting up network installs (via WiFi/LAN adapter)
| |
| | |
| '''NSP Indexer''' - address for indexing NSP ([https://github.com/rashevskyv/dbi/issues/44 details])
| |
| | |
| ===== '''Local sources''' =====
| |
| Create menu items with quick access to selected folders on the memory card configured in the config (like "shortcuts"), for example:
| |
| | |
| <code>Homebrew Shortcut=sdmc:/switch</code> will create a "'''Homebrew Shortcut'''" menu item that opens the <code>sdmc:/switch</code> folder.
| |
| | |
| ===== '''MTP custom storages''' =====
| |
| Custom items for MTP mode for quick access to folders on your memory card. Format: <code><displayed_folder_name>=<path></code>, for example: <code>Homebrew=sdmc:/switch</code>. In MTP mode, a <code>Homebrew</code> folder will appear that links to the <code>switch</code> folder on your memory card.
| |
| | |
| ===== '''Title name override''' =====
| |
| Allows you to change the displayed title name. For example, if you specify <code>10023901191C000=Naheulbeuk</code>, then in the application, instead of <code>The Dungeon of Naheulbeuk: The Amulet of Chaos</code>, it will display simply <code>Naheulbeuk</code>.
| |
| | |
| === Exit ===
| |
| '''Exit''' - exits the program to HOS, bypassing hbmenu, or to hbmenu (configurable in dbi.config); if dbi was launched from a title/forwarder, the program will reboot or remain on a black screen.
| |
| | |
| == Warnings and errors ==
| |
| === Warnings ===
| |
| Displayed in orange. These are NOT errors!
| |
| | |
| * '''[SIGNATURE: Invalid]''', '''[SIGNATURE: XCI->NSP]''', '''[HASH NOT MATCHED TO META]''', '''[HASH FIXED IN META]''' — these are NOT errors, but notifications of signature mismatch in headers, for example, when using conversion or editing, custom NSP, forwarder.
| |
| * '''HASH MISMATCH''' — most often, this is NOT an error, the game was converted from a cartridge (then everything is fine), sometimes there are problems with file integrity, re-download/re-hash it, data transfer via USB cable/port/during installation between PC and Switch. If the game does not launch or launches with an error, try to reinstall it again, check or replace the USB cable/microSD/change USB port.
| |
| * '''[DELTA SKIPPED]''' — this is NOT an error, but a notification that unnecessary fragments in the update file were skipped if they were in it, as it should have been.
| |
| * '''No tickets found''' — this is NOT an error, it does not affect the game's functionality, but informs that the game is without tickets. It may be a dump from a .XCI cartridge or converted to Standard Crypto.
| |
| * '''Application uses AddonContent titleId''', '''Application uses Update titleId''' — this is NOT an error, usually indicating a homebrew game in .NSP, created not to standard, for example, when AddonContent flag (DLC) was added to the Application title (main game, v0). If such a game launches and works, then everything is fine.
| |
| * '''This application base is not stand alone. Make sure you installed update''' - when installing new Sparse Storage games — this is NOT an error, do not forget, in addition to the game's base file, to also install an update to it before launching.
| |
| | |
| === ERRORs ===
| |
| * '''USB communication failed''' - check/replace USB cable and USB port on PC.
| |
| * '''Cannot parse content meta''':
| |
| ** '''Old firmware''' - your firmware is too outdated to analyze the metafile. Update CFW and system software to the latest versions
| |
| ** '''Unexpected error''' - the file is corrupted. Check and re-download the file.
| |
| * '''Invalid PFS0 magic!''' - redownload the game installer file and check its integrity, as this file is corrupted.
| |
| * '''[INVALID NCA MAGIC]''' - update to the latest version of OFW and CFW, and if the error persists, double-check the integrity of the game installer file.
| |
| * '''Installation aborted''' - data transmission error, double-check and if necessary, replace the USB cable/USB port between the Switch and PC. Also, make sure that you have installed the latest version of the software, as in this post.
| |
| * '''Nothing to install''' - in the file selection window, rename the file without special characters, hieroglyphs, or Cyrillic in the name and path to it.
| |
| * '''Transfer error''', '''[TRANSFER CRC ERROR]''', '''[TRANSFER ABORTED]''' - check the USB-C cable connection and USB port, check with other USB-C cables, check the integrity of the game file and memory card for errors. When installing via MTP, launch dbi through any game (title) while holding down the (R) button, rather than in applet mode through albums.
| |
| * '''Error occurred: Invalid argument''' - update your dbi to the latest version.
| |
| * '''SOME CONTENTS ARE MISSING. APPLICATION WILL BE UNUSABLE''' - a corrupt file system on the memory card or a non-working/poor quality flash drive. Check it with chkdsk and h2testw; if there are no errors, reformat to FAT32.
| |
| * '''[NOT ENOUGH SPACE]''', '''[CAN NOT CREATE PLACEHOLDER]''' - there is not enough space on the memory card/NAND, free up more space or check the memory card. Check it with chkdsk and h2testw; if there are no errors, reformat to FAT32.
| |
| * '''Extra buffers exceeded. Media write speed is too low''' - when installing via MTP, launch dbi through any game (title) while holding down the '''(R)''' button. Alternatively, use an NSP-forwarder and a faster microSD card with a different USB cable/port.
| |
| * '''No tickets found but they are required''' - an incorrect (incomplete, without a ticket but with titlerights) game dump, find another.
| |
| * '''Invalid personalized ticket''' - This error occurs at the end of game installation when installing a .tik ticket, indicating that an incorrect game dump was used where a personalized ticket from the console on which the game was purchased was left instead of a common ticket. Please download another correct dump.
| |
| * '''No ES sigpatches!''' - This error message means that the ES sigpatches are either outdated, incorrect, or not installed on the console. Please install the latest version of the ES sigpatches.
| |
| | |
| === Color codes: ===
| |
| * In all menus
| |
| ** <span>WHITE on BLACK BG</span> - focused
| |
| ** <span>BLUE</span> - selected (with '''(X)''' button)
| |
| * In "'''Browse SD Card'''"
| |
| ** <span>WHITE</span> - folder
| |
| ** <span>LIGHT GREY</span> - file
| |
| ** <span>DARK GREY</span> - installed game
| |
| ** <span>GREEN</span> - update or DLC for installed game
| |
| * In "'''Browse installed applications'''"
| |
| ** <span>WHITE</span> - installed game
| |
| ** <span>RED</span> - installed update or DLC without game
| |
| * '''In logs''' on installation:
| |
| ** <span>GREEN</span> - no errors
| |
| ** <span>ORANGE</span> - no errors, but warnings (for example, installed NSP is XCI convert, or hash was fixed on meta)
| |
| ** <span>RED</span> - [[#errors|errors]]. File was not installed
| |
| * '''In logs''' after installation:
| |
| ** <span>GREEN</span> - ended with no errors
| |
| ** <span>YELLOW</span> - ended with no errors but with warnings
| |
| ** <span>RED</span> - ended with errors
| |
| | |
| == dbi.config ==
| |
| The <code>dbi.config</code> file is responsible for storing program settings. It is located next to <code>DBI.nro</code>
| |
| | |
| Let's take a look at its contents:
| |
| | |
| <pre>; General settings
| |
| [General]
| |
| ; Use libusbhsfs for access to USB mass storage drives connected to switch or dock
| |
| UseLibUsbHsFS=true
| |
| ; Direct exit to homescreen
| |
| ExitToHomeScreen=false
| |
| ; Folder where saves backups are stored
| |
| SavesFolder=sdmc:/switch/DBI/saves/
| |
| ; Log "Install", "Check integrity" and "Cleanup" processes
| |
| LogEvents=false
| |
| ; Folder where logs are stored
| |
| LogsFolder=sdmc:/switch/DBI/logs/
| |
| ; Folder where game dumps are stored
| |
| DumpsFolder=sdmc:/switch/DBI/dumps/
| |
| ; Sorting options for application list
| |
| AppSorting=LastPlayed,InstallLocation,Size,Name
| |
| ; Sorting options for save list
| |
| SaveSorting=AppLastPlayed,AppName,UserUid,Size,SaveId
| |
| ; Highlight files with updates to curently instaled titles in file browsers
| |
| HighlightUpdates=true
| |
| ; Rotate screen upside down
| |
| RotateScreen=false
| |
| ; Rotate joycons
| |
| RotateJoycon=false
| |
| ; Underclock CPU in menues to reduce battery usage
| |
| OptimizeClockSpeed=false
| |
| ; URL with title versions in format <id>|<rightsId>|[version]
| |
| VersionsURL=https://raw.githubusercontent.com/blawar/titledb/master/versions.txt
| |
| ;VersionsURL=sdmc:/versions.txt
| |
| ;Browse saves FS in Read-only mode
| |
| ROSaveFS=true
| |
| ; Show "Update all items from here..." in context menu of file browsers
| |
| ShowUpdateFromHere=false
| |
| ; Show cache warming spinner
| |
| ShowCacheWarmingIndicator=true
| |
| ; Move cursor down after selection
| |
| MoveDownAfterX=true
| |
| ; Screen idle timeout in seconds
| |
| ScreenIdleTimeout=0
| |
| ; Auto repeat nav. buttons when holding
| |
| Autorepeat=true
| |
| ; Show cursors on both panels in two-panel browsinig mode
| |
| Secondcursor=false
| |
| | |
| ; Visibility of main menu items
| |
| [MainMenu]
| |
| ; Browse and install files from MicroSD card
| |
| BrowseSD=true
| |
| ; Browse and copy files from SYSTEM partition
| |
| BrowseSystem=false
| |
| ; Browse and copy files from USER partition
| |
| BrowseUser=false
| |
| ; Browse and install files from USB flash drives and HDD
| |
| USBHost=true
| |
| ; Browse and install files from PC via dbibackend
| |
| BackendInstall=true
| |
| ; Install game from inserted game cartridge
| |
| GameCard=true
| |
| ; Browse and install files from configured network sources
| |
| Network=true
| |
| ; Browse and install files from configured sd card folders
| |
| Local=true
| |
| ; Browse installed applications
| |
| BrowseApps=true
| |
| ; Clean up files left from bad installs/old updates/unused tickets and so on
| |
| Cleanup=true
| |
| ; Check for app updates
| |
| UpdateCheck=true
| |
| ; View where you can view or delete installed tickets
| |
| Tickets=false
| |
| ; View where you can view or delete game saves
| |
| Saves=true
| |
| ; MTP responder
| |
| MTP=true
| |
| ; FTP Server
| |
| FTP=true
| |
| | |
| [Applications]
| |
| ; Whether check or not LFS mod size
| |
| CalculateLFSSize=false
| |
| | |
| ; Install options
| |
| [Install]
| |
| ; Check NCA hash during install
| |
| CheckHash=true
| |
| ; Use chunked HTTP transfer (good in bad environments)
| |
| ChunkedTransfer=true
| |
| | |
| ; MTP options
| |
| [MTP]
| |
| ; Log all files, if disabled transfer shows only for files >= 2M
| |
| LogAllFiles=false
| |
| ; Show or not NSP that includes base game, latest update and all DLC in single multi-title file
| |
| ShowCombinedNSP=true
| |
| ; Show or not virtual "Mods & cheats" folder that redirects to sdmc:/atmosphere/contents/TITLEID
| |
| ShowMAC=true
| |
| ; Use TitleID for "Mods & cheats" folder
| |
| MACasTID=true
| |
| ; Show user defined shortcuts to MircoSD folders as separate storages
| |
| CustomStorages=true
| |
| ; Turn screen off on start MTP mode
| |
| TurnOffScreen=false
| |
| ; Report android extension (some initiators thinks that android has bugs)
| |
| ReportAndroidExtension=true
| |
| | |
| ; FTP options
| |
| [FTP]
| |
| ; Turn screen off on start FTP mode
| |
| TurnOffScreen=false
| |
| ; Start local access point for FTP server
| |
| UseAP=false
| |
| ; Read file modification time (can slow down on large dirs)
| |
| ReadMT=false
| |
| | |
| ; Access point options
| |
| [Access point]
| |
| SSID=
| |
| Password=
| |
| Use5GHz=true
| |
| Hidden=false
| |
| | |
| ;Enable or disable various MTP storages
| |
| [MTP Storages]
| |
| 1: External SD Card=true
| |
| 2: Nand USER=false
| |
| 3: Nand SYSTEM=false
| |
| 4: Installed games=true
| |
| 5: MicroSD install=true
| |
| 6: NAND install=true
| |
| 7: Saves=true
| |
| 8: Album=true
| |
| 9: Gamecard=true
| |
| | |
| ; Network install sources
| |
| [Network sources]
| |
| ; <display name>=<type>|<URL>
| |
| ; NSP Indexer=URLList|http://192.168.1.47/nspindexer/index.php?DBI
| |
| ; Home server=ApacheHTTP|http://192.168.1.47/Nintendo/Switch/
| |
| | |
| | |
| ; Main menu shortcuts to SD card locations
| |
| [Local sources]
| |
| ; <display name>=<path>
| |
| Homebrew=sdmc:/switch
| |
| ; Contents=sdmc:/atmosphere/contents
| |
| ; DBILogs=sdmc:/switch/DBI/logs
| |
| | |
| [MTP custom storages]
| |
| ; <display name>=<path>
| |
| Homebrew=sdmc:/switch/
| |
| Screenshots=sdmc:/Nintendo/Album/
| |
|
| |
|
| ; Override for display name
| |
| ; <UPPERCASED TID>=<Desired name>
| |
| [Title name override]
| |
| ; 010023901191C000=Naheulbeuk</pre>
| |
|
| |
| The description of each item separately can be found in the [[#configuration-and-dbiconfig-parameters|DBI settings]] section.
| |
|
| |
| == Other options ==
| |
| === Mounting the content of installed titles via MTP ===
| |
| Go to "'''Browse installed applications'''" -> Choose apps you need to mount with '''(X)''' -> Press '''(+)''' -> "'''Expose contents via MTP'''"
| |
|
| |
| === Backup and Restore Saves via MTP ===
| |
| # Connect your console in MTP mode via DBI.
| |
| # Navigate to the '''Saves''' folder on your PC.
| |
| # You can either copy your saves to your PC or restore them by simply dragging them into this folder.
| |
|
| |
| === Using DBI to Install Mods ===
| |
| # Connect to your computer via MTP mode in DBI
| |
| # Go to '''Installed Games''', in the folder with the name of your game
| |
| # Go to '''Mods & Cheats''' folder
| |
| # Place your mod in the '''Mods & Cheats''' folder
| |
|
| |
| * '''Be careful''', you need to ensure that you copy the contents of the titleID folder and not the titleID folder itself! For example, you downloaded a translation for the game Cadence of Hyrule, in the form of the archive <code>Cadence of Hyrule.rar</code>. Inside this archive you see a folder with the titleID of the game - <code>01000B900D8B0000</code>. You need to extract the archive, go to the folder <code>01000B900D8B0000</code> and copy the entire '''contents''' of the folder to '''Mods & Cheats'''! Not the folder <code>01000B900D8B0000</code> itself, but everything inside it! In this example (and in most cases), that would be the <code>romfs</code> folder
| |
|
| |
| === USB 3.0 ===
| |
| DBI supports USB 3.0. If you are using kefir, then USB 3.0 is active by default. Otherwise, you need to activate this function by uncommenting and editing the Atmosphere system settings configuration file at <code>sdmc:/atmosphere/config/system_settings.ini</code> as follows:
| |
|
| |
| <pre>[usb]
| |
| usb30_force_enabled = u8!0x1</pre>
| |
|
| |
| '''Important''' - activating USB 3.0 can interfere with bluetooth and 2.4GHz wifi connections. If you experience any connection issues with your wireless controllers or 2.4GHz wifi networks then you should not activate USB 3.0. 5GHz wifi connections should be generally unaffacted.
| |
|
| |
| === Restoring clean user saves ===
| |
| These are decrypted saves that are located in the <code>USER:/saves</code> folder. In case the emunand is damaged, these saves can be retrieved through a PC or Tegra Explorer and restored through DBI.
| |
|
| |
| You can place these saves in the backup saves folder of DBI (<code>/switch/dbi/saves</code> by default) and restore them through the standard save restoration menu (the user's name will be enclosed in curly brackets <code>{}</code> in this case), or through the context menu invoked on the file of such a save.
| |
|
| |
| ==Changelog==
| |
| '''551'''
| |
| 542: | | 542: |
| * Bugfixes for mounting content encrypted with FW 16 keys | | * Bugfixes for mounting content encrypted with FW 16 keys. |
| * Fixed interaction with *nix FTP server vsftpd | | * Fixed interaction with *nix FTP server vsftpd. |
| * Interface improvements, including in Activity Log (added "All-time" period, ability to launch games with L3 button, pressing the left stick, correct hour/hours designations in Russian version) | | * Interface improvements, including in Activity Log (added "All-time" period, ability to launch games with L3 button, pressing the left stick, correct hour/hours designations in Russian version). |
| * Added Android extensions option (Yes/No) in DBI settings for better compatibility with various Android devices via USB MTP | | * Added Android extensions option (Yes/No) in DBI settings for better compatibility with various Android devices via USB MTP. |
| * Added extra information for save backups restoration even without the installed game itself, and the function to backup only updated saves | | * Added extra information for save backups restoration even without the installed game itself, and the function to backup only updated saves. |
| * Added option to extract selected game files directly to LayeredFS-mod when navigating through its romfs | | * Added option to extract selected game files directly to LayeredFS-mod when navigating through its romfs. |
| * And other minor fixes. | | * And other minor fixes. |
|
| |
|
| 551: | | 551: |
| *Added an option to display or not display the cursor on the inactive panel | | *Added an option to display or not display the cursor on the inactive panel. |
| | | *New options on config file: |
| New options on config file: | |
| <pre> | | <pre> |
| ; Read file modification time (can slow down on large dirs) | | ; Read file modification time (can slow down on large dirs) |
Line 747: |
Line 162: |
| </pre> | | </pre> |
|
| |
|
| == Acknowledgements == | | ==Credits== |
| Thanks to [https://github.com/SciresM SciresM] for [https://github.com/SciresM/hactool hactool] (licensed under [https://en.wikipedia.org/wiki/ISC_license ISC]) - DBI uses some data struct definitions from there. | | Thanks to [https://github.com/SciresM SciresM] for [https://github.com/SciresM/hactool hactool] (licensed under [https://en.wikipedia.org/wiki/ISC_license ISC]) - DBI uses some data struct definitions from there. |
|
| |
|
| == External links == | | == External links == |
| * Github - https://github.com/rashevskyv/dbi | | * GitHub - https://github.com/rashevskyv/dbi |