1, 2, 3, 4, 5 ... 35  Next
Anyone interested in creating a higan/libretro wrapper? 
Author Message
User avatar

Joined: 2014-09-25 13:52
Posts: 8242
 Anyone interested in creating a higan/libretro wrapper?
I really don't want to do this or get involved with that whole space, but ... it's clear it's not going to get done upstream. Was talking on NeoGAF today and it's clear a whole lot of people use RA anyway because higan is and always has been just terrible about smooth video+audio simultaneously. I've never managed to figure out dynamic rate control on audio without massive pitch distortion. And with ASIO/WASAPI+adaptive-sync removing all my own personal motivation, it's unlikely to ever get done.

And I continue to be distressed that most of the work of the past four years I've done has gone unused.

So ... let's do it for them. If someone's up for it, I'll provide all the information needed on how to use Emulator::Interface, answer questions, etc. It should be possible to use one wrapper to handle all twelve systems higan emulates, plus nSide's bsnes-balanced profile. Although I'm really only interested in the two bsnes profiles, personally.

I don't want anything to do with upstream. Worst case, it may be a standalone module. I presume people can just download the DLL and drop it in the appropriate folder and voila. Or maybe hunterk can get it upstreamed. Either way.

Anyone up for this? Estimated to be 2-3 days of work? Unsure ... should be able to base it off the v094 port to some degree. But ideally we shouldn't need any patches to the higan core. If we do, I'll update higan so they're not necessary.

_________________
What the hell's going on? Can someone tell me please?
Why I'm switching faster than the channels on TV.
I'm black, then I'm white. No, something isn't right.
My enemy's invisible, I don't know how to fight.


2017-09-16 23:15
User avatar

Joined: 2014-09-27 09:21
Posts: 1550
Location: 日本
 Re: Anyone interested in creating a higan/libretro wrapper?
I would be willing to donate to such a cause if necessary. If only to have a completely up-to-date LLE core that only maister would approve of back in the list.

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.


2017-09-16 23:31
User avatar

Joined: 2014-09-25 13:57
Posts: 2119
Location: Australia
 Re: Anyone interested in creating a higan/libretro wrapper?
If anybody's up for this, I'll be happy to host the code in a branch of the higan repo, or in a separate repo in the higan project on GitLab, add you as a member of the higan project so you can maintain things yourself, help you set up automatic builds, etc.

_________________
Maintainer of the unofficial git repository for higan.

The ending of the words is ALMSIVI.


2017-09-17 01:25
User avatar

Joined: 2014-09-27 09:56
Posts: 1674
 Re: Anyone interested in creating a higan/libretro wrapper?
I might be interested. The MSVC builds ended up being much less interesting than I thought, so that effort probably isn't going to go anywhere. Even with the full Enterprise version, which should have enabled access to all of the fancy compiler optimizations, my builds ended up running a good 20% slower than the official binaries. Given that the main motivations there were to make builds easier for Windows users, and to hopefully get equal or better performance out of the MSVC compiler, with slower performance and how much of a hassle the whole thing was... really the only reason left would be to enable debugging through VS, which could be handy I guess. Libretro, on the other hand, seems like a more interesting target.

_________________
byuu wrote:
Surely I can unite the vi vs emacs crowd like I have the ZSNES vs Snes9X crowd :)



higan WIP builds available here


2017-09-17 02:07
User avatar

Joined: 2014-09-25 13:52
Posts: 8242
 Re: Anyone interested in creating a higan/libretro wrapper?
> If anybody's up for this, I'll be happy to host the code in a branch of the higan repo

I'm game for however you want to mix this in.

> Even with the full Enterprise version, which should have enabled access to all of the fancy compiler optimizations, my builds ended up running a good 20% slower than the official binaries.

Yeah, reminds me of my experience. With 20 minutes of PGO (profile guided optimizations), it barely eked out GCC, but wasn't worth all the extra work, especially once there were three profiles, and 32-bit + 64-bit versions.

> Libretro, on the other hand, seems like a more interesting target.

Neat! And indeed, it'll enable all 12 of my emulators with a single wrapper, plus hex_usr's nSide-balanced.

I'll try to help as much as I can, with any questions/code reviews/changes to higan for this/etc.

_________________
What the hell's going on? Can someone tell me please?
Why I'm switching faster than the channels on TV.
I'm black, then I'm white. No, something isn't right.
My enemy's invisible, I don't know how to fight.


2017-09-17 02:53
User avatar

Joined: 2014-09-27 09:56
Posts: 1674
 Re: Anyone interested in creating a higan/libretro wrapper?
It would definitely be easiest if it was hosted in the official git repo. It could just get its own top-level folder and keep everything there. If you don't like adding this stuff to the "unofficial official" repo, we could put it into its own branch too.

_________________
byuu wrote:
Surely I can unite the vi vs emacs crowd like I have the ZSNES vs Snes9X crowd :)



higan WIP builds available here


2017-09-17 04:43
User avatar

Joined: 2014-09-25 13:52
Posts: 8242
 Re: Anyone interested in creating a higan/libretro wrapper?
It's fine by me, it's up to Screwtape on how much trouble it'd be to do something like that. Won't be in my tarballs, unfortunately.

_________________
What the hell's going on? Can someone tell me please?
Why I'm switching faster than the channels on TV.
I'm black, then I'm white. No, something isn't right.
My enemy's invisible, I don't know how to fight.


2017-09-17 05:03
User avatar

Joined: 2014-09-27 09:36
Posts: 617
 Re: Anyone interested in creating a higan/libretro wrapper?
It's been on the back of my mind for quite some time now, but never really got around to it (like I never really got much done with the hiro Windows DPI stuff I said I'd look into). Would be more than happy to help out.


2017-09-17 06:05
User avatar

Joined: 2014-09-25 13:57
Posts: 2119
Location: Australia
 Re: Anyone interested in creating a higan/libretro wrapper?
qwertymodo wrote:
It would definitely be easiest if it was hosted in the official git repo. It could just get its own top-level folder and keep everything there. If you don't like adding this stuff to the "unofficial official" repo, we could put it into its own branch too.

My original intent was to have the master branch be an accurate record of byuu's releases, but then I added a bunch of .gitignore files for technical reasons, and then I added the automatic build instructions because GitLab required they be in the master branch, and then I added a bunch of docs because I wanted them to be versioned alongside the software they described...

I'm guessing that a libretro wrapper will *probably* need to be in higan/target-libretro alongside higan/target-tomoko in order to fit naturally with the existing higan build system, and for that reason I'd probably rather it be a branch (heck, there already is one). I'm pretty sure I can make the master-branch CI script automatically try and merge changes onto the libretro branch and build... but heck, you don't need *me* to sort out CI for you.

Let me know your GitLab username and I'll hook you up with the right permissions.

_________________
Maintainer of the unofficial git repository for higan.

The ending of the words is ALMSIVI.


2017-09-17 07:40
User avatar

Joined: 2014-09-27 09:21
Posts: 1550
Location: 日本
 Re: Anyone interested in creating a higan/libretro wrapper?
Is higan-buiildbot about to go nutsoid again?

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.


2017-09-17 08:11
1, 2, 3, 4, 5 ... 35  Next