ovflowd / yupi

:game_die: open source gaming emulator for flash based games
MIT License
30 stars 15 forks source link

DotNetty is a roadblock for linux :( #83

Closed TheDoct0r11 closed 8 years ago

TheDoct0r11 commented 8 years ago

Hey there, just had to find out that DotNetty doesn't seem to care about mono at all.

There is one issue at their repository, but activity is rather low...

I didn't even get to those issues, since I already got stuck with this resulting in a runtime exception when starting the server. (Fix will be in mono 4.4, but I guess it will take some time till that will be released)

DotNetty uses EventSource::WriteEvent and also they don't even try to call the method, this exception is being thrown?!

Sadly this means that either Yupi won't be compatible with Linux or that DotNetty must be exchanged either for another NIO framework or a own (simple) socket implementation...

Greetings TheDoct0r11

Killua99x commented 8 years ago

So nothing Yupi on Linux ..

Killua99x commented 8 years ago

If I knew the Java writes Yuppi me everything in java, obviously will release the source

TheDoct0r11 commented 8 years ago

Probably not without rewriting the networking, which will take some time. I wrote @sant0ro an E-Mail, since I don't want to make such a major decision on my own.

It looks like supersocket would be an alternative, but I didn't take a exact look at that since it is 01:32 AM here.

Another, rather extreme solution would be to link to a cross platform C++ library, but I really think that would pose more problems than it would solve...

I'm sorry, but I don't get your comment about Java.

Killua99x commented 8 years ago

@TheDoct0r11 sorry for my english i'm italian, and I mean I just programming, I said if I knew how to program in java rewrite yupi in java for not having problems with linux

sorry again for my english

TheDoct0r11 commented 8 years ago

@KilluaKira Yeah, about that... Ever tried to run Minecraft with OpenJDK on Linux? It doesn't really work and one has to install Oracles JRE, which is against the purpose of using an open source operating system...

Also writing an Emulator from scratch requires a LOT of time...

But that really is rather offtopic...

Killua99x commented 8 years ago

yes i understand, i use CentOS on my laptop dual boot with Windows 10 pro

TheDoct0r11 commented 8 years ago

Added Supersocket ( #88 ) to linux branch.

Startup is now working; Needs testing!

ovflowd commented 8 years ago

@TheDoct0r11 i will test last version, okay?

TheDoct0r11 commented 8 years ago

Of course! Would be great if you could benchmark the performance difference between DotNetty (nio branch) and SuperSocket (linux branch) on Windows and upload the results.