12-15-2019, 02:21 AM
This is great 
I see you have taken inspiration from my post earlier!
I have had this on my to-do list for a long time, but never got around to doing it yet (extremely busy with other things).
This will be extremely useful for me, I was about to do all of this myself. Thanks for making this!
I have some questions about this, however.
How easy is it to port existing code to retroarch without separately maintaining multiple code bases?
What about using libraries like SDL2 and SDL2 Mixer?
Another thing, if you will be writing a lot of Lua, I suggest setting up ZeroBrane Studio (https://studio.zerobrane.com/), a Lua IDE.
It is extremely extendable, and if you look through the documentation enough, you will be able to do things like integration with your own interpreter (the retroarch core), API definitions, line-by-line debugging, and autocomplete.
It makes life so much easier, and I have configured it to where it runs a program I wrote that compiles all Lua files to bytecode, exports all my assets, and puts it all into a package, so it isn't as much of a hassle at it used to be.

I see you have taken inspiration from my post earlier!
I have had this on my to-do list for a long time, but never got around to doing it yet (extremely busy with other things).
This will be extremely useful for me, I was about to do all of this myself. Thanks for making this!
I have some questions about this, however.
How easy is it to port existing code to retroarch without separately maintaining multiple code bases?
What about using libraries like SDL2 and SDL2 Mixer?
Another thing, if you will be writing a lot of Lua, I suggest setting up ZeroBrane Studio (https://studio.zerobrane.com/), a Lua IDE.
It is extremely extendable, and if you look through the documentation enough, you will be able to do things like integration with your own interpreter (the retroarch core), API definitions, line-by-line debugging, and autocomplete.
It makes life so much easier, and I have configured it to where it runs a program I wrote that compiles all Lua files to bytecode, exports all my assets, and puts it all into a package, so it isn't as much of a hassle at it used to be.