Add network output, based on MAME's network output system
Add TCP server socket 8000 and UDP (broadcast) 8001 for network outputs.
All the network stuff is copy/paste from much earlier versions of supermodel before the networking code really worked. They shouldn't be needed I don't think for the mame outptut stuff. Tbh not even sure what it is / for.
All the network stuff is copy/paste from much earlier versions of supermodel before the networking code really worked. They shouldn't be needed I don't think for the mame outptut stuff. Tbh not even sure what it is / for.
I've never used this feature but Nik hooked up the original output system to work with something called MameHooker (heh). It's for the various lights on the cabinets, for those who want to emulate those or implement them on custom cabs.
The main thing is that the current outputs system is constrained to Windows but this one could actually be platform-independent. Better to do that.
All the network code is what I wrote for spindizzi when we trying to get networking working. It wasn't required for the mame output stuff. In the end i rewrote the network code for SDL.
@dukeeeey That's something I have done a long time ago for my own usage (forcefeedback software), maybe a few years ago, and forgot about it until somebody ask me an update today. I simply updated the branch up to current master, and commited the files which explains why it is using old code from you.
When I will have spare time I will check your code review. Thank for spending time reviewing it.
The only files you need are netoutputs.cpp / h. I am pretty sure the rest isn't needed.
Hello, I am Darren, also known as 6Bolt, the coder of Hook Of The Reaper program. Github link below.
https://github.com/6Bolt/Hook-Of-The-Reaper
Hook Of The Reaper is an alternative to the aging MameHooker. Since it is a newer program, I didn't want to do the windows to windows communication. I get the output signals from TCP port 8000, on the localhost. This is supported by MAME, DemulShooter, and now nixxou's 3 light gun Emulator builds. HOTR has taken over MameHooker in the light gun community.
I have your SuperModel v0.3.1-26-g95968f3, which supported the network output. I have the needed DefaultLG game files on my website. These are similar to MameHooker ini game files, but work for any DefaultLG light gun, with no modification. To enable it , I had to put 'outputs = net' in the Supermodel.ini file. Link to game files below.
https://hotr.6bolt.com/pmwiki.php/GameFiles/SuperModel
Looking at the current code, the Src/OSD/Windows/NetOutputs.h/cpp is not there anymore. Was it moved to a different location? Or was Net Outputs removed? If not, how do you enable it? As light gun players are now wanting to play the light gun games with HOTR.
I believe NetOutputs.cpp was part of a PR that was not approved as it needed considerable refactoring. We would like a solution that is not Windows dependent if it is using TCP sockets. There is already socket code in Supermodel for netplay using SDL, which is cross-platform. If you’d like to add a TCP based output system, that would be great, but it should not contain any Windows-specific code (unless there is a very good reason). Sent from my iPhoneOn Jul 9, 2025, at 5:51 PM, Darren @.***> wrote:6Bolt left a comment (trzy/Supermodel#253) Hello, I am Darren, also known as 6Bolt, the coder of Hook Of The Reaper program. Github link below. https://github.com/6Bolt/Hook-Of-The-Reaper Hook Of The Reaper is an alternative to the aging MameHooker. Since it is a newer program, I didn't want to do the windows to windows communication. I get the output signals from TCP port 8000, on the localhost. This is supported by MAME, DemulShooter, and now nixxou's 3 light gun Emulator builds. HOTR has taken over MameHooker in the light gun community. I have your SuperModel v0.3.1-26-g95968f3, which supported the network output. I have the needed DefaultLG game files on my website. These are similar to MameHooker ini game files, but work for any DefaultLG light gun, with no modification. To enable it , I had to put 'outputs = net' in the Supermodel.ini file. Link to game files below. https://hotr.6bolt.com/pmwiki.php/GameFiles/SuperModel Looking at the current code, the Src/OSD/Windows/NetOutputs.h/cpp is not there anymore. Was it moved to a different location? Or was Net Outputs removed? If not, how do you enable it? As light gun players are now wanting to play the light gun games with HOTR.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
OK, I understand. I only use Windows stuff, only when I have too.
I have converted nixxou's MameOutputSender program from windows to windows communications to network TCP communications. This is used on his light gun builds for Dolphin, Duck Station, and PCSX2.
Currently I am busy with the Hook Of The Reaper project. When that is completed, I could get it done. But that would be 6-9 months from now.
It that's ok for @dukeeeey and @trzy , I will have a look to using SDL_net API. (Also need some weeks/months to do that.)