Pages: 1
Dirbaio |
Posted on 07-18-12, 03:40 pm (rev. 3 by Dirbaio on 05-05-13, 12:43 pm)
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10010 Posts: 1967/4457 Since: 06-08-11 |
So I fixed the damn transparency issues in Mono.
Before: Ugly white BG. http://i.imgur.com/ay6XE.png After: Works awesome as on Windows. http://i.imgur.com/YXjNQ.png Basically it was some bugs in libgdiplus... My fixes are kind of a hack. Maybe they break other things but NSMBe works well now. Download 32bit: http://nsmbhd.net/get.php?id=373 64bit: http://nsmbhd.net/get.php?id=1272 Installation instructions Find the existing libgdiplus.so (or libgdiplus.so.something) in your system and replace it with the one in the zip file. On debian-based Linux it's on /usr/lib. It's a good idea to take a backup of the original one, just in case. You can also get it from my Github and build it from source. |
Dirbaio |
Posted on 07-18-12, 03:41 pm, deleted by Dirbaio
|
LeWario |
Posted on 07-18-12, 04:00 pm
|
Banned for being a complete idiot.
Karma: 529 Posts: 940/987 Since: 07-09-11 |
Okay, two things:
1. If this fix works on Mono for Linux, what about Mono for Windows? 2. If you're SURE this will break things somewhere else, how about you go find what it breaks. Because following this track of laziness just hacking this and that will eventually turn it into a pile of hacks. So how about you write good code that fixes it? |
Dirbaio |
Posted on 07-18-12, 04:04 pm
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10010 Posts: 1969/4457 Since: 06-08-11 |
Mono on Windows: I think it uses the native GDI+ so this problem isn't present.
About the fix: It fixes NSMBe. Given how hacky is winforms/libgdiplus on Mono, everything that I change will break something else. My intention is to make NSMBe work. Not to get my fix accepted upstream (because it won't, there's been no development on libgdiplus since 6 months). So I fixed NSMBe in Mono, that's all. |
josuehackerds |
Posted on 10-13-12, 01:18 am
|
Red Goomba
Banned Karma: -330 Posts: 16/44 Since: 09-19-12 |
NICE. NICE
|
xfix |
Posted on 05-05-13, 11:43 am (rev. 2 by xfix on 05-05-13, 11:45 am)
|
Compiled for x86_64 processors. Since 64-bit mono cannot use 32-bit library, I had to compile it.
http://nsmbhd.net/get.php?id=1272 Use it if you have 64-bit Linux. |
Dirbaio |
Posted on 05-05-13, 12:44 pm
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10010 Posts: 3297/4457 Since: 06-08-11 |
Thanks! Edited first post
|
Pages: 1