Kuribo64
Views: 19,856,738 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-29-24 01:24 PM
Guest:

0 users reading Make Whitehole use GTK# instead of Winforms? | 1 bot

Main - Archived forums - SMG hacking tools development - Make Whitehole use GTK# instead of Winforms? Hide post layouts | Thread closed


Make Whitehole use GTK# instead of Winforms?
Yes
14.3% (1)
No
28.6% (2)
Use another language than C#
57.1% (4)
Multiple voting is not allowed. Changing your vote is allowed. 7 users have voted so far.

Arisotura
Posted on 07-15-12 01:20 AM Link | #340
Well basically, Whitehole is being developed like SM64DSe was. That is, C#, Winforms, OpenTK.

This has proven to not be quite cross-platform. Namely, under Linux with dark themes, here's what happens: https://i.imgur.com/7256j.png

It is suggested that we use GTK# instead of Winforms. The change wouldn't be too hard right now as Whitehole isn't very developed. However there's a gotcha.

If we go with GTK#, this implies using GLWidget for the 3D preview. That thing is outdated, the latest and only release dates from 2010, so using it with latest GTK# might be problematic. But eventually we'll get to fix it since it's open source.


And it may not even cause those OpenGL issues we're getting with .NET and Linux. Hence the third option in this poll. Should we just scrap C# and develop Whitehole in something like C++? (be aware that this implies making Linux builds and all that crap. Atleast with C# you can make one build and it'll be usable everywhere)

(another solution for the 3D thing would be a software renderer but nah that'd be overkill)

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 07-16-12 12:43 AM Link | #362
A bit of update about this.

I tested the examples provided with OpenTK, namely the GLControl examples, and they all work fine. However stuff like SM64DSe's rendering fucks up everything. This means that I'm doing something wrong. I'm still investigating on that.

I'll be testing a modified SM64DSe build built with VC# tomorrow. It appears that builds made with Monodevelop just crash for some weird assfuck reason.


If all my attempts to get GLControl working properly fail, Whitehole will be switching to Java. We concluded that OpenGL is easier to get working with Java, and portability is as easy as with .NET. Heck, perhaps Whitehole might even run on Android devices, if those have 3D abilities :P

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

ray
Posted on 07-16-12 12:57 AM Link | #363
But JAVA is slow! :(

____________________
Check out my Patreon Page if you want to support me :)



Arisotura
Posted on 07-16-12 01:11 AM Link | #364
If Java can run stuff like Minecraft, there's no reason it couldn't run Whitehole. Not to mention that the 3D preview should only be refreshed when needed, thus considerably cutting down the power required :)

Also there's worse, hi Python and MCEdit :)

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

ray
Posted on 07-16-12 01:22 AM Link | #365
Oh ok, that actually sounds good :) Even if I dont like Java that much.

____________________
Check out my Patreon Page if you want to support me :)



Gericom
Posted on 07-16-12 08:14 AM Link | #366
Posted by ray
Oh ok, that actually sounds good :) Even if I dont like Java that much.

Me too, look at console tool. F*cking slow crap.

Arisotura
Posted on 07-16-12 11:36 AM Link | #367
Also, if we go the Java way, I'll make sure that Whitehole uses the same style as the rest of the system. Or perhaps a better style if that's possible. The default visual style of Java apps sucks.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Gericom
Posted on 07-16-12 12:05 PM Link | #368
Posted by Mega-Mario
Also, if we go the Java way, I'll make sure that Whitehole uses the same style as the rest of the system. Or perhaps a better style if that's possible. The default visual style of Java apps sucks.

That's atleast one thing good. I hate the java theme.

Arisotura
Posted on 07-16-12 01:45 PM Link | #370
Also, I decided to scrap GTK#. It seems unstable. And the only way to use OpenGL with that, GLWidget, is even worse. Its last and only release was in April 2010 so it's outdated.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 07-16-12 11:28 PM Link | #371
Update. My experiments with GLControl showed that it works fine in most cases, so what causes SM64DSe's redrawing to fuck up could be control owner-drawing. Also Microsoft's latest additions broke some stuff under Mono, namely SplitContainer... and blarg all that shit sucks.

Whitehole will be ported to Java.

We also considered C++ but that would mean making builds for each and every platform, Windows, Linux, 64bit... blarg. Java allows one build to work mostly everywhere, and it doesn't get broken on Linux by Microsoft's updates.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd


Main - Archived forums - SMG hacking tools development - Make Whitehole use GTK# instead of Winforms? Hide post layouts | Thread closed

Page rendered in 0.077 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 217/217, time: 0.021 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.