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

From TapTo Wiki

m added a line
m →‎RetroArch Configuration: Fixed error in line
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Start Roms (+ Emulators) with .bat files on Tapto Windows (Beta). ==
== Launch games with TapTo on Windows ==
<nowiki>*</nowiki>''the app is currently in Beta and subject to change''


=== 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.
# '''Games''' 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, games can only be launched through Steam or .bat files.
* This tutorial will guide you on how to create .bat files to launch your games with TapTo on Windows.
* 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 games/ROMs or emulators after creating the .bat files, the files will no longer work. Plan your file locations carefully before proceeding.</blockquote>


==== Notes: ====
== Tutorial: ==
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.
==== Step 1: Create a .bat File ====


Keep in mind that every rom/game will have its own .bat file so it’s recommended to organize them properly.  
# '''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 different 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>


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


I choose to create a folder per system and add the .bat files inside the corresponding system folder.
# '''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.


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.
==== Step 3: Flash the Path to Your NFC Card ====


==== Tutorial: ====
# '''Open the Tapto.life App'''.
Open notepad (or a similar text editor)
# '''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>


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*'''''
=== ''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: <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>


Paste the location to notepad and add the name of the .exe file, it should similar to this:
# '''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.
Your NFC card is now ready to start your ROM!


== 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 <code>-L cores\snes9x_libretro.dll</code> between the emulator path and the ROM path. The .bat file should look similar to this:


<code>"D:\LaunchBox\Emulators\RetroArch\retroarch.exe" -L "D:\LaunchBox\Emulators\RetroArch\cores\snes9x_libretro.dll" "O:\Retail Roms\Nintendo - Super Nintendo Entertainment System\USA\Chrono Trigger (USA).sfc"</code>


'''G:\LaunchBox\Emulators\pcsx2-v1.7.4266-windows-64bit-AVX2-Qt\pcsx2-qtx64-avx2.exe'''
All other steps remain the same as specified above.


 
[[:Category:Guides]]
 
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.
 
 
 
Open the tapto.ini file and under '''[launchers]''' add allow_file = PATHTOBAT It should look similar to this:
 
'''allow_file = G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat'''
 
 
 
Now open your tapto.life app and flash the the path to your bat file as a text string:
 
'''G:\Tapto\Sony - PlayStation 2\Dragon Ball Z - Budokai 3.bat'''
 
Your NFC card is now ready to start your desired rom !
 
==== Retroarch ====
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:
 
'''"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 the other steps are exactly the same as specified above

Latest revision as of 01:48, 2 September 2024

Launch games with TapTo on Windows

*the app is currently in Beta and subject to change

Requirements:

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

Notes:

  • Currently, games can only be launched through Steam or .bat files.
  • This tutorial will guide you on how to create .bat files to launch your games with TapTo on Windows.
  • 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 games/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 different 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"

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

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.

Your NFC card is now ready to start your ROM!

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:

"D:\LaunchBox\Emulators\RetroArch\retroarch.exe" -L "D:\LaunchBox\Emulators\RetroArch\cores\snes9x_libretro.dll" "O:\Retail Roms\Nintendo - Super Nintendo Entertainment System\USA\Chrono Trigger (USA).sfc"

All other steps remain the same as specified above.

Category:Guides