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: 192
  • 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,766
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,766
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
  • AncientBoi @ AncientBoi:
    I think that was "The great depression" time
  • BigOnYa @ BigOnYa:
    It like one of those fake guns, that shoot, then a flag comes out and says, "splash"
    +2
  • K3Nv2 @ K3Nv2:
    Yeah a world War wasn't going on or anything
  • K3Nv2 @ K3Nv2:
    Americans lied about camps for propaganda
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, where is your gun at?
  • K3Nv2 @ K3Nv2:
    I thought he already showed you his gun
  • BigOnYa @ BigOnYa:
    "This is my rifle, this is my gun. This is for fighting, this is for fun." - Full Metal Jacket
    +1
  • AncientBoi @ AncientBoi:
    We actually said that in Boot Camp, waaay before the movie :mellow:
    +1
  • K3Nv2 @ K3Nv2:
    I gotta raid0 these m.2s yay
  • BigOnYa @ BigOnYa:
    Do a raid10
  • K3Nv2 @ K3Nv2:
    That's tomorrow
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Damn Wal-Mart has 42" 4k TVs for only $150
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i bet it will not fit inside your bedroom
  • BigOnYa @ BigOnYa:
    Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get is, MLT (Missile Launch Today)
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, doesn't fit in his bedroom he's American
    +1
  • BigOnYa @ BigOnYa:
    I hate ordering stuff online if I can go buy it somewhere close to me, and everywhere anymore will give you a discount only if you order it online, bs. Should be a discount if I go pick it up, not order online.
  • K3Nv2 @ K3Nv2:
    I love it for most things most stores you just shows the receipt online and they scan it
    +1
  • K3Nv2 @ K3Nv2:
    Makes it easy for incompetent restaurant staff that don't know how to hear an order
  • BigOnYa @ BigOnYa:
    Mostly for big purchases, I want it in my hands before I pay. Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc) But yea if I can order online, then pickup at store is ok, but not all places offer that.
  • cearp @ cearp:
    > Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc)

    Thing is, if you break it driving back to your house, it's your fault. But if the delivery driver damages it, it's not your fault.
    +1
  • K3Nv2 @ K3Nv2:
    Most people that haul big tvs have empty trucks or know enough not to set it face down
  • BigOnYa @ BigOnYa:
    Then I gotta send it back and wait another week or two. I have a pickup truck, with a extended cab, so no prob for me.
  • K3Nv2 @ K3Nv2:
    Most manufacturers pack it well enough where they aren't that dumb to let it happen
    K3Nv2 @ K3Nv2: Most manufacturers pack it well enough where they aren't that dumb to let it happen