Discussion

Lowres-nx as a Retroarch core ?

2

Greenpilloz 2021-01-08 18:33

Hey, I was thinking of trying to compile Lowres-nx as a Retroarch core, this way all things that can run Retroarch could run Lowres games. (yeah, finally playing games on my android!)
I saw some examples of codes in C using SDL2 ported to retroarch so I guess it should be possible.
Do you think its doable?


Timo 2021-01-08 18:43

The core of LowRes NX just outputs bitmaps to show on screen and waveforms to output on the speaker, so I guess you can port it to anything. You don't even have to use the SDL2 part, if Retroarch handles video and audio differently. Don't know its API though, so I'm not sure what's the best way, but it's doable for sure.


Timo 2021-01-09 00:47

Seems there is a retroarch core of TIC-80, which is open source. Should work very similar. Might help to check it.


Greenpilloz 2021-01-09 11:35

Ok thanks, i'll have a look


G-9 2021-01-10 14:42

This means LowRes Emulator for Wii, 3DS, Switch, and more !!
They all have a port of RetroArch


Timo 2021-01-10 15:54

But I guess you still have to compile the core for all platforms. At least you wouldn't have to adjust the code for each platform though.


Greenpilloz 2021-01-17 05:02

It works ! https://github.com/timoinutilis/lowres-nx/pull/118


Timo 2021-01-17 10:13

This is very cool, thank you a lot!!

I just used RetroArch the first time on my Mac, I still have to get a little bit familiar with it. Not sure yet, if it makes sense to include the Dev Menu etc. My first guess is that RetroArch is focused on playing, not on developing, so probably it's better to keep it simple.

Before I will merge your pull request, I prefer to have it in a separate branch and have a closer look at the code.

Could you make a video of it running on Android? And maybe share it? (Twitter, YouTube,...)

This is exciting :)


G-9 2021-01-17 16:30

Preparing DevKit Pro Wii 'n 3DS ...
How did you do that !!! You are a god !


Greenpilloz 2021-01-18 11:10 (Edited)

Thanks @G-9 ! I basically just copy-pasted a bunch of code lines from many places and glued them together. Yes playing on wii or any console with possibly 2 players would be really cool ;-)

@Timo, finally I was able to get a proper makefile (see last push), and the RetroArch core should now compile on pretty much any platform ! I Tried on android and it works like a charm. I will try to record my screen and send it to twitter or youtube when I can.

I forked and modified https://github.com/libretro/libretro-super to set everything, it should be right for compilation on their automatic building servers. I am waiting for you to accept the fork merge (or branch creation) for submitting a pull request to them. In theory, if they accept the pull request then the core will be available online directly.

Some ideas:
* add the default tools to the source code like you did for the boot logo. (nice idea btw)
* maybe even a text editor (in .nx format) that could edit the ROM script from within the dev menu (this way the full development of roms is available from within RetroArch)
* update libretro-database with a copy of your db so posted games will have images automatically.

btw, I don't know if you noticed but RetroArch have an option to play multiplayer online !


Log in to reply.