Hacking Ubuntu VM with Pegaswitch Libtransistor and RetroArch PreConfigured

Kobigov

Well-Known Member
Member
Joined
Jan 10, 2018
Messages
129
Trophies
0
Age
44
XP
300
Country
United States
Anyone know what I need to fix here? Trying to build the retroarch.nro for vba next.


How fix.png
 
Last edited by Kobigov,

MarcoMartins

Member
Newcomer
Joined
Oct 11, 2017
Messages
17
Trophies
0
Age
38
XP
71
Country
Portugal
Anyone know what I need to fix here? Trying to build the retroarch.nro for vba next.


View attachment 114772

Try the new scripts.

I have updated the scripts to use the tips found by untok for building vba-next.
Also since I was trying to build other modules and the scripts are unfinished there will be visible compiler errors.
Added another option to build retroarch.nro using a pre-compiled core when calling ./buildretro.sh but I wasn't successful when I choose modules that I could not compile due to libtransistor missing dependencies on C++ (they are still implementing this), but you can always try.
I have added also comments for the cores that are working (tested by me at this date) so it should be easier.
Not sure when I will have more time to work on this.

--------------------- MERGED ---------------------------

Thanks for the tip, and now i get this...

View attachment 114755

It seems like libtransistor failed to build. Please delete by hand the libtransistor folder just in case and run the new scripts I have posted.
 

Attachments

  • ezretro_v4.zip
    3.4 KB · Views: 194
  • Like
Reactions: Kobigov

MarcoMartins

Member
Newcomer
Joined
Oct 11, 2017
Messages
17
Trophies
0
Age
38
XP
71
Country
Portugal
Yes, with vgmoose's build you can use the joycons while attached.

Btw, anybody knows how I can use other cores? I found several compiled cores (f.e. GearBoy) here:

https://drive.google.com/drive/folders/1L5r_OhnMeFK0fE9gQiGIWTEPJTn11l9y

But whenever I rename them to libretro_switch.a and replace the original one with it, I get an error (something along the line, that retroarch_switch.a could not be created). If I rename it to snes9x2010_libretro_switch.a and replace the original one with it, I can create a retroarch_switch.a and can run it, but it still uses the snes core and the Super Mario World Rom (even though I placed a Gameboy-Rom in the FS-Folder). I could need some help.

You can try to run the new scripts and choosing the option 11 on the ./buildretro.sh (this still need to call ./buildenv.sh first). Although, some cores that have C++ dependencies will not work because of missing symbols, I don't have time for define the symbols myself and since libtransistor is working on that its better to wait. Nevertheless, I had success with 4do_libretro_switch.a for example.
 
  • Like
Reactions: Kobigov

Kobigov

Well-Known Member
Member
Joined
Jan 10, 2018
Messages
129
Trophies
0
Age
44
XP
300
Country
United States
Try the new scripts.

I have updated the scripts to use the tips found by untok for building vba-next.
Also since I was trying to build other modules and the scripts are unfinished there will be visible compiler errors.
Added another option to build retroarch.nro using a pre-compiled core when calling ./buildretro.sh but I wasn't successful when I choose modules that I could not compile due to libtransistor missing dependencies on C++ (they are still implementing this), but you can always try.
I have added also comments for the cores that are working (tested by me at this date) so it should be easier.
Not sure when I will have more time to work on this.

--------------------- MERGED ---------------------------



It seems like libtransistor failed to build. Please delete by hand the libtransistor folder just in case and run the new scripts I have posted.


Thanks! That works, just ran it on the new hbl and it works!
 
  • Like
Reactions: Elmomc

MarcoMartins

Member
Newcomer
Joined
Oct 11, 2017
Messages
17
Trophies
0
Age
38
XP
71
Country
Portugal
Thanks! That works, just ran it on the new hbl and it works!

Happy to hear that, I tried but without success, gave me some kind of error. Maybe I just need to insist. Just to confirm, did you put the final retroarch.nro on the SD card and then launched it through the new hbl or did you do it differently?
 
  • Like
Reactions: Kobigov

Kobigov

Well-Known Member
Member
Joined
Jan 10, 2018
Messages
129
Trophies
0
Age
44
XP
300
Country
United States
Happy to hear that, I tried but without success, gave me some kind of error. Maybe I just need to insist. Just to confirm, did you put the final retroarch.nro on the SD card and then launched it through the new hbl or did you do it differently?

The launcher gives me an error occasionally when I try to load the nro, but it should work if you keep trying. I just put it on the sd in the switch folder after I built it and launched it.
 
Last edited by Kobigov,

untok

Well-Known Member
Member
Joined
Dec 25, 2012
Messages
272
Trophies
1
Age
46
Website
romumaailma.blogspot.com
XP
1,142
Country
Finland
Try the new scripts.

I have updated the scripts to use the tips found by untok for building vba-next.
Also since I was trying to build other modules and the scripts are unfinished there will be visible compiler errors.
Added another option to build retroarch.nro using a pre-compiled core when calling ./buildretro.sh but I wasn't successful when I choose modules that I could not compile due to libtransistor missing dependencies on C++ (they are still implementing this), but you can always try.
I have added also comments for the cores that are working (tested by me at this date) so it should be easier.
Not sure when I will have more time to work on this.

--------------------- MERGED ---------------------------



It seems like libtransistor failed to build. Please delete by hand the libtransistor folder just in case and run the new scripts I have posted.

Trying to run those files. So in theory if all updated correctly retroarch vgmoose can be recompiled to hbl usage with roms inside.
 

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,781
Country
United States
Try the new scripts.

I have updated the scripts to use the tips found by untok for building vba-next.
Also since I was trying to build other modules and the scripts are unfinished there will be visible compiler errors.
Added another option to build retroarch.nro using a pre-compiled core when calling ./buildretro.sh but I wasn't successful when I choose modules that I could not compile due to libtransistor missing dependencies on C++ (they are still implementing this), but you can always try.
I have added also comments for the cores that are working (tested by me at this date) so it should be easier.
Not sure when I will have more time to work on this.

--------------------- MERGED ---------------------------



It seems like libtransistor failed to build. Please delete by hand the libtransistor folder just in case and run the new scripts I have posted.

Thanks. I deleted pretty much all the folders that were associated with libtransistor. Still an error.

upload_2018-2-20_10-1-51.png
 

yardie

Banned!
OP
Banned
Joined
Mar 27, 2016
Messages
1,334
Trophies
1
XP
1,549
Country
United States
ah damn thats too much for me right now :(
no its just 4 or 5 commands ill paste them here

--------------------- MERGED ---------------------------

sudo nano /etc/apt/sources.list

paste this at the bottom

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
# 4.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
# 5.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0

save and close

paste this in terminal

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
# Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421

then

sudo apt-get update
sudo apt-get install build-essential automake autoconf python3-setuptools squashfs-tools python3 python3-dev python3-pip cmake clang-5.0 lld-5.0

then do a git clone of libtransistor again
 
  • Like
Reactions: EvilG31

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,781
Country
United States
no its just 4 or 5 commands ill paste them here

--------------------- MERGED ---------------------------

sudo nano /etc/apt/sources.list

paste this at the bottom

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
# 4.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
# 5.0
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0

save and close

paste this in terminal

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
# Fingerprint: 6084 F3CF 814B 57C1 CF12 EFD5 15CF 4D18 AF4F 7421

then

sudo apt-get update
sudo apt-get install build-essential automake autoconf python3-setuptools squashfs-tools python3 python3-dev python3-pip cmake clang-5.0 lld-5.0

then do a git clone of libtransistor again

Thanks! i'll give it a go when i get home from work
 

scusa83

Member
Newcomer
Joined
Apr 7, 2018
Messages
5
Trophies
0
Age
43
XP
295
Country
Kuwait
Hello
i think the file is corrupted, i download it 5 times and when i try to extract , it give me error msg (no files to extract), i try with 3 apps the same msg appear.
can some one check it
 

Attachments

  • fix.jpg
    fix.jpg
    51.3 KB · Views: 255

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,420
Country
Laos
Install a newer unrar app for the Mac. I can recommend Keka ( http://www.kekaosx.com/en/ ).
The rar format changed quite a bit over the last years, so thats usually where that error originates from.

But then if you have issues with unraring an archive, chances are, that this environment isn't for you.

All current reatroarch builds are able to just load roms from the sdcard, so there currently is no pressing need to compile your own, for most users. :)
 
Last edited by notimp,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    especially Nintendo because they only ever lower the price of games when they do a greatest hits/platinum hits/players choice re-release
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, and the HD collections released for 7th gen consoles too
  • The Real Jdbye @ The Real Jdbye:
    but they don't seem to have done any of those for the switch yet and maybe never will
  • ColdBlitz @ ColdBlitz:
    I think we all forgot breath of the wild released for the wii u tbh
    +1
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, tbh the HD collections are more justified since they include more than just 1 game per copy
  • Xdqwerty @ Xdqwerty:
    @SylverReZ I read that non-binary people identify as a blend of male and female. The point is i think i'm a blend of those and thus non binary
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Non-binary people are those who don't identify themselves exclusively as male or female.
  • cearp @ cearp:
    I don't identify as anything, unless I need to get on a plane then I show ID
    +3
  • AncientBoi @ AncientBoi:
    👈 [homo, queer, fag, coksuqr, etc......]
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I meant that I read that they can also identify as what i mentioned
    +2
  • BigOnYa @ BigOnYa:
    I identify as Long Rod Johnson, cause a cat called me that once.
    +2
  • AncientBoi @ AncientBoi:
    [takes a 👀 in your pants] Liar :angry:
    +3
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and thus that would make me non binary since i feel like a blend of both male and female
    +1
  • AncientBoi @ AncientBoi:
    @Xdqwerty only time will tell, what/whom you are. At 14, its a bit early to "Define" yourself. :)
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I only recently have learned who I am and how much I am capable of and I'm 50 lol
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    A thousand epiphanies and unbelievable pain and growth.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I wish I could sum it up for children to understand but it truly takes living a lifetime of learning
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    It's more than knowledge it's understanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Both are required
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, ask chatgpt or Google gémini to summarize it
  • Psionic Roshambo @ Psionic Roshambo:
    Lol summarize life's lessons
  • BigOnYa @ BigOnYa:
    My wifey tells me all the time "You need to grow the fuck up." Which I don't understand, cause I'm full grown already.
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she means grow more
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
    Xdqwerty @ Xdqwerty: Yawn