Homebrew WIP Kodi port for the Switch

Silent_Gunner

Crazy Cool Cyclops
Banned
Joined
Feb 16, 2017
Messages
2,696
Trophies
0
Age
29
XP
4,727
Country
United States
I just found a WIP Kodi port for the Switch on Github by a Team-Kodi Member velocity: https://github.com/VelocityRa/xbmc/tree/switch

I still wonder why this has not been brought up more frequently since Kodi pretty much does everything the community was asking for.
Don't expect a release date soon, it's very much a WIP.



Kodi-logo-Thumbnail-light-transparent.png


FAQ:

Q: So what is Kodi? Sounds weird!
A: Kodi is an open-source media center, which is available for a lot of devices.

Q: What can it do?
A: It can play almost any media file on your device (which has been a much requested feature for the Switch btw). With the right Addons, you can also watch your favorite clips, series or movies on Netflix, Amazon Prime and YouTube (and much, much more)!

Q: How can I help?
A: You can tell the developer that there is a big enough demand for a switch port (Forum link). If you're a Switch developer you can help directly with the development since it's on Github.

Q: ETA?
A: Soon™.

You're not seeing much activity most likely because it's on every modern device known to mankind at this point.
 

_velocity

Member
Newcomer
Joined
Nov 11, 2018
Messages
7
Trophies
0
XP
141
Country
Greece
@_velocity how are things going?

I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,820
Trophies
2
XP
7,856
Country
United Kingdom
I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.
I hope you pick it up again I was following your progress on github :P and Kodi on Switch is just too good a fit for it not to happen :)
 

Underprivlidged

Member
Newcomer
Joined
Sep 6, 2018
Messages
15
Trophies
0
Age
34
XP
197
Country
United States
I've stopped working on it, at least for now.

Long story short: After solving lots of errors and implementing a bunch of things, I've run into a major issue that completely prevents the whole thing from building.

Maybe I'll pick it up in the future, but after spending tens of hours on that particular issue, I'm kind of burned out from this project, I've mostly worked on other stuff the past couple months.


Anything change since this last update?
 
D

Deleted User

Guest
Less work would be to use Lakka from @Natin and Rewrite it for it to Build Kodi instead of Lakka with LibreElec Normally the Lakka Drivers should work with Kodi Just fine using the L4T Kernel 4.9
 

_velocity

Member
Newcomer
Joined
Nov 11, 2018
Messages
7
Trophies
0
XP
141
Country
Greece
The linker error itself is `read-only segment has dynamic relocations`

Basically some static library is being compiled in a wrong way (without the `-fPIC` option), resulting in dynamic relocations in a read-only segment.
And this kind of thing is only visible during that final linking phase, so I don't know which one it is. There's like 300 static libs being linked, Kodi has a shitton of dependencies which themselves have dependencies so this sort of thing is hard to track down and Kodi's depends build system is a bit of a mess.

I've tried many things like making scripts to scan those object files for that segment type, patch GCC itself to provide a more helpful debug message, etc, to no avail for various reasons.

Anyway, it's something I'd have to solve myself at this point and I've lost motivation so I doubt I'll come back to it (at least not as a spare-time side project).
 
  • Like
Reactions: ploggy

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
The linker error itself is `read-only segment has dynamic relocations`

Basically some static library is being compiled in a wrong way (without the `-fPIC` option), resulting in dynamic relocations in a read-only segment.
And this kind of thing is only visible during that final linking phase, so I don't know which one it is. There's like 300 static libs being linked, Kodi has a shitton of dependencies which themselves have dependencies so this sort of thing is hard to track down and Kodi's depends build system is a bit of a mess.

I've tried many things like making scripts to scan those object files for that segment type, patch GCC itself to provide a more helpful debug message, etc, to no avail for various reasons.

Anyway, it's something I'd have to solve myself at this point and I've lost motivation so I doubt I'll come back to it (at least not as a spare-time side project).
Using ffmpeg on switch with asm optimizations?
That would need another define, if kodi builds their own ver.
You can also try -Wl,-verbose should be easy fix
 
Last edited by m4xw,
  • Like
Reactions: ploggy

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
Holy shit.
Does this mean that we will now be able to have a full media center on the Switch?

And even better...
Netflix and Youtube without having to rely on Nintendo's servers?!
This will be a godsend for people that are already banned and got disappointed that the Youtube app checks against Nintendo's servers to work.
>Netflix
i'm not sue you understand the full benefits of kodi

seriously though TL;DR
anyone know if this thing is going to support addons?
also what are he good go to addons these days
the .apk's are so good these days i stopped using kodi on my TV boxes a long time ago

i have got IARL or IAGL what it's called these days setup but i use retroarch
retroplayer is not really good at all still also IARL.IAGL is still missing quite a bit
 
D

Deleted User

Guest
well what we could try is to build LibreElec Kodi instead of Lakka if it works idk.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...