Tutorial  Updated

Setting up RetroArch on a rooted WebOS LG TV

Ok, so, this might actually not need a rooted TV, as RetroArch reportedly can be installed with Dev mode. I don't have any non-rooted LG TVs and I'm not going to unroot neither of my TVs, so I can't test it - but if anyone wants to go on that adventure, please share your steps. Also, I may have written this guide elsewhere.

So let's start with what you'll need:

Requirements:

Guide:
  1. Go to your TV settings > All Settings > General > Network > <whatever network you are using> and take note of your IP address;
  2. Go to the Homebrew Channel and install RetroArch;
  3. Still in the Homebrew Channel go to options and enable the SSH server and then select the reboot option.
  4. Wait for it to reboot and open WebOS Dev Manager on your computer or your SFTP client of choice, create a new connection (on WebOS Dev Manager select the "Use SSH Server by Homebrew Channel (Requires rooted TV)" option), use the IP you took note earlier, if a user is required, use "root" and the default password is "alpine" (in the case of WebOS Dev Manager, in the connection configuration, you need to change the authentication from SSH key to password, unless of course if you set up a key before);
  5. (Optional) On your computer go to your RetroArch installation folder and copy the contents of the "assets" folder to your TV, to the folder "/media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch/assets". If you are using the WebOS Dev Manager, you'll have to create the inner folder manually and upload the file contents of each folder and subfolder, a folder node at a time, hence why I recommended using a decent SFTP client like WinSCP. (Note that you might want to be selective here, you may want to only copy the assets you use to preserve the limit space your TV offers. For example, if you use Ozone and not the XMB interface, you may want to refrain from copying the XMB interface assets. You may skip this step entirely if you don't care about having RetroArch menu assets even and don't mind having those ugly black squares showing);
  6. (If you followed step #5,) reboot your TV using the option in the Homebrew Channel options;
  7. Now, for the cores, you'll have to download manually one by one as the root directory is forbidden for some reason, while individually, the files aren't (links above in the Requirements section). On your PC download the cores you want to your machine and decompress them to a single folder.
  8. Using WebOS Dev Manager or your SFTP client of choice, upload the cores to "/media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch/downloads";
  9. Open RetroArch on your TV go to Main Menu > Load Core > Install or Restore Core and install the first core on the list. Repeat for all the others;
  10. (Optional) Using WebOS Dev Manager or your SFTP client of choice, you can now delete the .so files on "/media/developer/apps/usr/palm/applications/com.retroarch/.config/retroarch/downloads" to save space;
  11. Using WebOS Dev Manager or your SFTP client of choice and create a folder for your ROMs in "media/internal/". I recommend creating subfolder for each game system. Upload your ROMs, but be mindful of your free space on the TV (check WebOS Dev Manager to know);
  12. Go to Settings > File Browser and turn "Filter Unknown Extensions Off"
  13. In Retroarch go to Import Content > Scan Directory (if this doesn't work, you'll have to scan manually, setting the designated core first to see respective to the individual directory you scan);
  14. Still in RetroArch, go to Settings > Input > Hotkeys and look for "Close content" and assign a button or key to it (I assigned 0 on the TV remote). You may want to check to assign extra keys.
  15. (Optional) In RetroArch, go to Settings > Input > Port 1 Controls and adjust basic controls to your liking. I set up to use my TV remote as a Wii controller, so "2" as left on the D-pad, "6" as up, "4" as down and "8" as right; and then the coloured buttons as A, B, X and Y, "3" as L and "9" as R. I left "enter" (the OK or center wheel button) as "start". I then reassigned the wheel directionals (it isn't really an analog wheel on the LG Magic Remote if you have one, is just directional buttons with a wheel connecting them, it doesn't even do diagonals) to save state hotkeys. You can likelly plug a controller or a keyboard to the TV for better experience.

Additional thoughs:
  • Probably a good idea to keep a backup of the cores somewhere, also, the RetroArch IPK and the WebOS Dev Manager, even if not using right now, you never know.
  • If this guide was helpful to you and you are comfortable enough, consider buing me a Ko-fi.
 
Last edited by pustal,

ThetaX55

New Member
Newbie
Joined
Oct 22, 2020
Messages
3
Trophies
0
Age
38
XP
46
Country
Canada
Who can cringe setting that up.
It's not in webos store page that i saw. You gotta put it thru program. or hack web thing.

I wonder what emulators the a9 runs thru retro arch. I mean the highest.

Showed my buddy. It's a $2000+ TV. Told me just get a nvidea shield or mini PC. Maybe get better results less risk.
Homebrew channel doesn't have that much apps i want anyways. Maybe kodi. I don't know why it's not just on the web os? Wonder why not other emulators?
 

DarkKingMetalSlime

New Member
Newbie
Joined
Jun 14, 2023
Messages
2
Trophies
0
Age
52
XP
22
Country
United States
I'm very interested in this, too. did you do any further testing? currently, I have it all set up on my CX and both my C1s and it works well. SNES and NES roms. Still, I'm uncertain about how much it can be pushed. is it capable of PSX and N64, or any later generations? I'll try some stuff and report.
 

pustal

Yeah! This is happenin'!
OP
Member
Joined
Jul 19, 2011
Messages
1,560
Trophies
2
Location
Emerald Coast
Website
web.archive.org
XP
6,213
Country
Portugal
I'm very interested in this, too. did you do any further testing? currently, I have it all set up on my CX and both my C1s and it works well. SNES and NES roms. Still, I'm uncertain about how much it can be pushed. is it capable of PSX and N64, or any later generations? I'll try some stuff and report.

Sorry for the late reply, had forgotten to subscribe to my own thread :wacko:

There aren't any PSX or N64 cores thus far to my knowledge, but performance will really depend on your TV. I have a C1 model and will run SNES fine as well, but GBA for example, struggles. Not sure how well mGBA e optimized for it, but I'd doubt it'd have the power for 32bit home consoles.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up