TapTo for Windows - How to launch games: Difference between revisions

From TapTo Wiki

m Fixed headers
Rewrote it to be more cohesive.
Line 1: Line 1:
== Start Roms (+ Emulators) with .bat files on Tapto Windows (Beta). ==
== Launch ROMs with Tapto (Windows) ==


=== Requirements: ===
=== Requirements: ===
- Make sure you have the emulators already configured in windows.


- Tapto for windows installed
# Ensure that your '''emulators''' are already configured on Windows.
# '''Tapto for Windows''' installed.
# '''ROMs''' stored in your desired location.
# '''Tapto.life app''' installed on iOS or Android.


- Roms in the desired location
=== Notes: ===


- Tapto.life app installed on iOS or Android
* Currently, ROMs can only be launched through Steam or .bat files.
* This tutorial will guide you on how to create .bat files to launch your ROMs using Tapto.
* Each ROM/game requires its own .bat file. To keep things organized, consider creating a separate folder for each system and placing the corresponding .bat files inside.


 
<blockquote>'''Important:''' If you move your ROMs or emulators after creating the .bat files, the files will no longer work. Plan your file locations carefully before proceeding.</blockquote>
==== Notes: ====
At this moment it’s only possible to launch Roms through Steam or via Bat files
 
This tutorial will show you how you can make the .bat files to launch your rom using tapto.
 
Keep in mind that every rom/game will have its own .bat file so it’s recommended to organize them properly.
 
 
I choose to create a folder per system and add the .bat files inside the corresponding system folder.
 
Moving your roms and emulators to a different location after creating the bat files will result in non-working bat files so keep this in mind before you make any .bat files.


== Tutorial: ==
== Tutorial: ==
Open notepad (or a similar text editor)
Copy the location of your emulator (let’s take PCSX2 for example) '''''*For retroarch it takes an extra step, scroll to the bottom of this tutorial for retroarch*'''''
Paste the location to notepad and add the name of the .exe file, it should similar to this:
'''G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe'''
Now add a “ to the beginning and the end of the path followed by the spacebar like this :
'''“G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe”'''
Copy and paste the location of your rom and add the rom name (and its extension) and like before add the “ to the beginning and the end of the path.
your .bat file should now look similar to this:
'''"G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd"'''
==== ''*optional:'' ====
''some emulators support extra commands for example start in full screen, keep in mind the commands for this are emulator depended, for pcsx2 it goes as the followed:''
'''''"G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd" -fullscreen -nogui'''''
Now save the file you’ve created in notepad and change the extension to .bat
you should end up with something like this :
'''Dragon Ball Z - Budokai 3.bat'''
Try starting your bat file to check if everything works as desired.
Please make sure it’s not Dragon Ball Z - Budokai 3.bat.txt because that won’t work.


Before you can flash the path to the bat file to your nfc card we need to add the location of the bat file to the .ini file of tapto in order to allow tapto to launch this file.
==== Step 1: Create a .bat File ====


# '''Open Notepad''' (or a similar text editor).
# '''Locate Your Emulator''':
#* Copy the location of your emulator’s executable file (for example, PCSX2). If you’re using Retroarch, see the additional step at the end of this tutorial.
#* Paste the emulator’s path into Notepad and append the name of the .exe file. It should look something like this: <code>G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe</code>
# '''Add Quotes to the Path''':
#* Place quotation marks (<code>"</code>) at the beginning and end of the path, then add a space afterward. It should now look like this: <code>"G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe"</code>
# '''Insert the ROM File Path''':
#* Copy the location of your ROM file, including the file name and extension.
#* Place quotation marks (<code>"</code>) around the ROM file path. Your .bat file should now look similar to this: <code>"G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd"</code>


==== ''Optional'': Add Emulator-Specific Commands ====


Open the tapto.ini file and under '''[launchers]''' add allow_file = PATHTOBAT It should look similar to this:
* Some emulators support additional commands (e.g., starting in fullscreen). These commands are emulator-specific. For example, to start PCSX2 in fullscreen and without the GUI, modify the command like this: <code>"G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd" -fullscreen -nogui</code>


'''allow_file = G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat'''
# '''Save the File''':
#* Save the file in Notepad with a <code>.bat</code> extension. For example: <code>Dragon Ball Z - Budokai 3.bat</code>
#* Ensure the file isn’t saved as <code>Dragon Ball Z - Budokai 3.bat.txt</code>, as this won’t work.
# '''Test Your .bat File''':
#* Double-click the .bat file to ensure it launches the emulator and ROM correctly.


==== Step 2: Configure Tapto to Launch the .bat File ====


# '''Open the Tapto Configuration File''':
#* Locate and open the <code>tapto.ini</code> file.
# '''Add the .bat File Path''':
#* Under the <code>[launchers]</code> section, add the following line: <code>allow_file = G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat</code>
#* Replace the path with the location of your actual .bat file.


Now open your tapto.life app and flash the the path to your bat file as a text string:
==== Step 3: Flash the Path to Your NFC Card ====


'''G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat'''
# '''Open the Tapto.life App'''.
# '''Flash the Path''':
#* Flash the path to your .bat file as a text string. For example: <code>G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat</code>


Your NFC card is now ready to start your desired rom !
Your NFC card is now ready to start your ROM!


==== Retroarch ====
== Additional Step: Retroarch Configuration ==
For Retroarch the bat file also needs to specify the core it need to launch the rom, let's take snes9x for example, add the line '''-L cores\snes9x_libretro.dll''' between the emulator and the rom path, the bat file should look similar to this:
For Retroarch, the .bat file also needs to specify the core required to launch the ROM. For example, if you're using the SNES9x core, you would add the line <code>-L cores\snes9x_libretro.dll</code> between the emulator path and the ROM path. The .bat file should look similar to this:


'''"G:\LaunchBox\Emulators\RetroArch-MSVC10-Win64\retroarch.exe" -L cores\snes9x_libretro.dll "O:\Rom Hacks\Nintendo - Super Nintendo Entertainment System\Translations\Mega Man X (USA) (Rev 1) [Relocalized Addendum].sfc"'''
<code>"G:\LaunchBox\Emulators\RetroArch-MSVC10-Win64\retroarch.exe" -L cores\snes9x_libretro.dll "O:\Rom Hacks\Nintendo - Super Nintendo Entertainment System\Translations\Mega Man X (USA) (Rev 1) [Relocalized Addendum].sfc"</code>


All the other steps are exactly the same as specified above
All other steps remain the same as specified above.

Revision as of 16:37, 18 August 2024

Launch ROMs with Tapto (Windows)

Requirements:

  1. Ensure that your emulators are already configured on Windows.
  2. Tapto for Windows installed.
  3. ROMs stored in your desired location.
  4. Tapto.life app installed on iOS or Android.

Notes:

  • Currently, ROMs can only be launched through Steam or .bat files.
  • This tutorial will guide you on how to create .bat files to launch your ROMs using Tapto.
  • Each ROM/game requires its own .bat file. To keep things organized, consider creating a separate folder for each system and placing the corresponding .bat files inside.

Important: If you move your ROMs or emulators after creating the .bat files, the files will no longer work. Plan your file locations carefully before proceeding.

Tutorial:

Step 1: Create a .bat File

  1. Open Notepad (or a similar text editor).
  2. Locate Your Emulator:
    • Copy the location of your emulator’s executable file (for example, PCSX2). If you’re using Retroarch, see the additional step at the end of this tutorial.
    • Paste the emulator’s path into Notepad and append the name of the .exe file. It should look something like this: G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe
  3. Add Quotes to the Path:
    • Place quotation marks (") at the beginning and end of the path, then add a space afterward. It should now look like this: "G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe"
  4. Insert the ROM File Path:
    • Copy the location of your ROM file, including the file name and extension.
    • Place quotation marks (") around the ROM file path. Your .bat file should now look similar to this: "G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd"

Optional: Add Emulator-Specific Commands

  • Some emulators support additional commands (e.g., starting in fullscreen). These commands are emulator-specific. For example, to start PCSX2 in fullscreen and without the GUI, modify the command like this: "G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe" "O:\Retail Roms\Sony - PlayStation 2\Dragon Ball Z - Budokai 3 (USA) (Greatest Hits).chd" -fullscreen -nogui
  1. Save the File:
    • Save the file in Notepad with a .bat extension. For example: Dragon Ball Z - Budokai 3.bat
    • Ensure the file isn’t saved as Dragon Ball Z - Budokai 3.bat.txt, as this won’t work.
  2. Test Your .bat File:
    • Double-click the .bat file to ensure it launches the emulator and ROM correctly.

Step 2: Configure Tapto to Launch the .bat File

  1. Open the Tapto Configuration File:
    • Locate and open the tapto.ini file.
  2. Add the .bat File Path:
    • Under the [launchers] section, add the following line: allow_file = G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat
    • Replace the path with the location of your actual .bat file.

Step 3: Flash the Path to Your NFC Card

  1. Open the Tapto.life App.
  2. Flash the Path:
    • Flash the path to your .bat file as a text string. For example: G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat

Your NFC card is now ready to start your ROM!

Additional Step: Retroarch Configuration

For Retroarch, the .bat file also needs to specify the core required to launch the ROM. For example, if you're using the SNES9x core, you would add the line -L cores\snes9x_libretro.dll between the emulator path and the ROM path. The .bat file should look similar to this:

"G:\LaunchBox\Emulators\RetroArch-MSVC10-Win64\retroarch.exe" -L cores\snes9x_libretro.dll "O:\Rom Hacks\Nintendo - Super Nintendo Entertainment System\Translations\Mega Man X (USA) (Rev 1) [Relocalized Addendum].sfc"

All other steps remain the same as specified above.