This is a virtual machine with Libtransistor, Pegaswitch and Retroarch SNES9x2010 configured. All you need to do is put the roms in and compile retro arch snes
Username: unix
Password: 1111
Changelog:
recreated 64bit vm with working libtransistor and pegaswitch 100% working
How to Create SNES RetroArch NRO with Roms
How to Run The NRO You Created in Pegaswitch
How to Rebuild libtransistor, RetroArch and the Snes9x2010 file from scratch on any Linux machine
How to download someone else's version of source code
- Install VirtualBox
- Download the Virtual Box Image to a folder of your choice
- https://drive.google.com/file/d/1oddISB9t4U6NeRTsxAydKXjsEV2MF-HX/view?usp=sharing
- Extract the files to a folder of your choice
- Import the ova file by going to VirtualBox > File > Import Appliance > select the .ova file and begin the import
- Set network to Bridge Mode
Username: unix
Password: 1111
Changelog:
recreated 64bit vm with working libtransistor and pegaswitch 100% working
How to Create SNES RetroArch NRO with Roms
Code:
#!/bin/bash
# Download your SNES roms and place them in RetroArch/fs/
# Rename all your roms with lowercase characters with no space for example supermarioworld.smc
# Go back to the RetroArch folder, right click and open terminal in the RetroArch folder then type # each command one by one, pressing enter between each commands
make -f Makefile.switch clean
# Press Enter
make LLVM_POSTFIX=-5.0 -f Makefile.switch LIBTRANSISTOR_HOME=/home/unix/libtransistor
# Press Enter
# A file called retroarch_switch.nro will be created in the same folder, copy it to a location of # your choice and run with pegaswitch.
How to Run The NRO You Created in Pegaswitch
Code:
#!/bin/bash
# Copy the nro file you created to your home folder
# Open terminal and launch Pegaswitch by typing
pegaswitch
# Open another terminal and type
ncat -klp 2991
# get your switch connected to Pegaswitch by setting the DNS address in your switch to the IP in pegaswitch (the ip of your VM)
# in Pegaswitch terminal window type
runnro ./nros/ace.nro
# Open another terminal window and type (note that xxx is your Switch ip address)
ncat xxx.xxx.xxx.xxx 2991 < retroarch_switch.nro
Then your homebrew should load
How to Rebuild libtransistor, RetroArch and the Snes9x2010 file from scratch on any Linux machine
Code:
New scripts updated to include NES, GBA emulators
Easily select the option you want to start building. Remember to put your roms in the RetroArch/fs folder before running the buildretro script
The first script (buildenv.sh):
[LIST]
[*]removes and rebuilds libtransistor, snes9x, vba-next and fceumm from their github sources
[*]creates fs directory
[/LIST]
The second script buildretro.sh):
[LIST]
[*]make-cleans the retroarch folder
[*]prompts you to select which emulator you want to build for
[*]copies the respective libretro_switch.a to the RetroArch folder and builds the emulator .nro file
[/LIST]
How to download someone else's version of source code
Code:
People can use git to download whatever fork of retroarch they want
All you have to do is
go to your home folder then
git clone https://github.com/vgmoose/RetroArch.git RetroArch_vgmoose
it will create a folder called RetroArch_vgmoose
copy the libretro_switch.a file from the original RetroArch folder into the RetroArch_vgmoose folder
create a folder called fs in RetroArch_vgmoose folder and put your rom in there
then run these commands after opening up terminal in the RetroArch_vgmoose folder
make -f Makefile.switch clean
make LLVM_POSTFIX=-5.0 -f Makefile.switch LIBTRANSISTOR_HOME=/home/unix/libtransistor
then youll get your nro file from the vgmoose fork
Attachments
Last edited by yardie,