Hacking Ubuntu VM with Pegaswitch Libtransistor and RetroArch PreConfigured

yardie

Banned!
OP
Banned
Joined
Mar 27, 2016
Messages
1,334
Trophies
1
XP
1,549
Country
United States
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
Login Credentials
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

Capture.PNG
 

Attachments

  • ezretro_v2.zip
    975 bytes · Views: 384
Last edited by yardie,

merlin555

Master
Member
Joined
Oct 27, 2014
Messages
1,586
Trophies
2
XP
5,981
Country
Germany
I have problem to loading it.
Error:
VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Can you attach the Pegaswitch Directory (zipped) & .bashrc, please ?

Thanks!
 

SuinkaiVS

Well-Known Member
Member
Joined
Apr 3, 2017
Messages
154
Trophies
0
Location
Inside Hombrew
XP
2,373
Country
Spain
id try to reinstall virtualbox and redownload the hd image to another location on the pc and try again
What OS are you running
i've downloaded the file two times, i'm reinstalling Virtualbox now
i'm running Windows 10

EDIT: well, it was the version. Updated and working, thanks for the help :P
 
Last edited by SuinkaiVS,

Greg956

Well-Known Member
Newcomer
Joined
Dec 18, 2017
Messages
89
Trophies
0
Age
29
XP
249
Country
Russia
How to extend OS hdd with some memory, 5 gb is too small, after installing several programs for switch homebrew, it is full. I resized to 30 gb, but Gparted doesnt allow to put additional memory to Ubuntu part. How to do this?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
24,275
Trophies
5
Location
Space
XP
15,618
Country
Norway
How to extend OS hdd with some memory, 5 gb is too small, after installing several programs for switch homebrew, it is full. I resized to 30 gb, but Gparted doesnt allow to put additional memory to Ubuntu part. How to do this?
You should be able to do it from a live CD. Mount the ISO in VirtualBox and boot into it on the VM.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Skv0ra @ Skv0ra:
    and i LOVE when all the room temp IQ "artist/media" people INSIST on using that shit like illustrator is mac exclusive or something
  • Skv0ra @ Skv0ra:
    and saying shit like that OS makes sense
  • UltraHurricane @ UltraHurricane:
    the ipad pros are really decent for drawing, but then again the Galaxy Tabs do just as good or better job for less, and the best part is you don't have to charge the stylus
  • Skv0ra @ Skv0ra:
    yuuuuup
  • Skv0ra @ Skv0ra:
    or, you know, a fucken Wacom
  • Skv0ra @ Skv0ra:
    ANY wacom is gonna be eons better
  • Skv0ra @ Skv0ra:
    fun fact - for uni, i got a Fujitsu lap with fully tilt/flippy WACOM screen
  • Skv0ra @ Skv0ra:
    that thing was a beast
  • Skv0ra @ Skv0ra:
    you could pop the disk drive out and get an aux battery for that bay
  • Skv0ra @ Skv0ra:
    thing had 8h life back in 2008
  • UltraHurricane @ UltraHurricane:
    maybe the screenless ones are a good value, but they charge apple prices for ones with, honestly as an artist they're kinda overrated
  • Skv0ra @ Skv0ra:
    yep
  • Skv0ra @ Skv0ra:
    screenless ones are plenty
  • Skv0ra @ Skv0ra:
    i got the $99 one years ago, and just need to remember where tf i put it from never really using it
  • SylverReZ @ SylverReZ:
    @Skv0ra, Wacom is that drawing tablet manufacturer?
    +1
  • SylverReZ @ SylverReZ:
    They're expensive but really good.
    +1
  • UltraHurricane @ UltraHurricane:
    i just really like having a portable all-in-one device to draw on and take anywhere, i was tempted to get a Microsoft Surface but a friend of mine had a real bad experience with them
    +2
  • SylverReZ @ SylverReZ:
    At least better than most cheap alternatives anyways. :D
  • Skv0ra @ Skv0ra:
    @UltraHurricane,
    ANYTHING M$ is an awful experience, period
    +1
  • UltraHurricane @ UltraHurricane:
    the Galaxy Tab already uses the same digitizer tech as wacom's, i even use a wacom stylus with mine
    +1
  • UltraHurricane @ UltraHurricane:
    and it has Clip Studio so i was already sold on that heh
  • Skv0ra @ Skv0ra:
    when a software company sticks its nose into shit they haven't a clue about, like h/w...
  • Skv0ra @ Skv0ra:
    @UltraHurricane,
    noice, but Samsung
  • Skv0ra @ Skv0ra:
    any other modern android tablets that do that?
  • UltraHurricane @ UltraHurricane:
    the only ones i can think of lately are XP-Pen's, Lenovo Tab P12 and the Oneplus Pad but i don't like how lower spec they are in other areas
    +1
    UltraHurricane @ UltraHurricane: the only ones i can think of lately are XP-Pen's, Lenovo Tab P12 and the Oneplus Pad but i don't... +1