gfxgfx
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
gfx gfx
gfx
461688 Posts in 399360 Topics by 8218 Members - Latest Member: zaq003 December 12, 2018, 02:50:03 pm
*
gfx*HomeHelpSearchCalendarLoginRegistergfx
gfxgfx
0 Members and 1 Guest are viewing this topic.       « previous next »
Pages: [1] 2 3 ... 9 Print
Author Topic: SDL patch for Nox  (Read 81823 times)
Zoa
Administrator
Legendary
*

E-Cock: 74
Offline Offline

Posts: 1325



« on: February 28, 2013, 07:44:15 am »

Upload 7/18/2016: Latest build. Now supports Korean in game.
Please use this link to always download the latest version: http://server1.awesie.org/NoxGUI_latest.zip

~Zoa

My apologies to Zoaedk for hijacking the first post of this thread but see the post below for a working and player viable download for the SDL patch.

http://www.noxforum.net/index.php?topic=8677.msg89089#msg89089

Keep in mind that the patch implements the NO-CD patch and requires that you drop all files from the CD into the nox directory or that you install from the nox download in order to run.

**Updated 11/26/2013 to fix launch crash with movies installed and provide alternative .exe for GoG installations**

Thanks,
~Morden~





So... it has been a while since I have posted on here, my apologies. But, I recently came out of hibernation last weekend and started hacking on Nox stuff again, for old times sake. The end result is a beta version of a replacement of Nox's DirectDraw implementation. This effort is similar to something like dd-hack, except I am hooking more deeply into Nox and replacing DirectInput as well. Instead, you get video and mouse support via SDL2, which works a lot better than DirectDraw on modern hardware.

Why? Because I got tired of Nox causing BSOD on my computer multiple times a day. Also this makes any "dedicated server" setup strictly better. I'm sure there is a lot more ways this could be extended, so I will upload the source code once I have slept again.

Download link is below. Extract contents to Nox folder. Double-click on RunNox.bat. It just uses a loader that injects a DLL into the Nox process on-start. The DLL implements the GUI, some extra dedicated server support, and No-CD patch.

http://server1.zoaedk.net/NoxGUI_beta1.zip
« Last Edit: July 20, 2016, 11:04:49 pm by Zoa » Logged

"I see it all perfectly; there are two possible situations — one can either do this or that. My honest opinion and my friendly advice is this: do it or do not do it — you will regret both." -- Søren Kierkegaard
Morden Tral
Administrator
1337+
*

E-Cock: 128
Offline Offline

Posts: 9684



« Reply #1 on: February 28, 2013, 01:39:30 pm »

Zoa!

Long time no see man (well besides facebook), you might be interested in that the russians have incorporated LUA into the NoX client on their own. I haven't been able to really touch it besides a quick look at the code but its an interesting project, it seems a little messy but I can't really judge when I can't even read the comments or documentation without effort.

Also I did something similar awhile back but it was working off of the old ass Directx version to manage overlays (took awhile to find the full DLL structure of that version of directdraw), I honestly hadn't considered just upgrading what it used to render instead, this was a great idea.

I would love the source when you do get a rest, this would be immensely fun to play around with. Shame it is SDL though, I decided awhile back to concentrate on SFML, going to have to brush up on that API again.
« Last Edit: February 28, 2013, 01:44:02 pm by Morden Tral » Logged

Zoa
Administrator
Legendary
*

E-Cock: 74
Offline Offline

Posts: 1325



« Reply #2 on: February 28, 2013, 04:02:15 pm »

You can grab the source code from the mercurial repo: https://bitbucket.org/awesie/nox-sdl/.
Logged

"I see it all perfectly; there are two possible situations — one can either do this or that. My honest opinion and my friendly advice is this: do it or do not do it — you will regret both." -- Søren Kierkegaard
NOLIMIT12
Veteran
***

E-Cock: -4
Offline Offline

Posts: 274


First 7 2004-11-21


« Reply #3 on: March 01, 2013, 08:09:53 am »

so great to hear you tinkering with nox again!
great to hear from you been long time.
Logged

][\][()][_][][V][]["]["
Imm0Rtal
Global Moderator
1337+
*

E-Cock: -17
Offline Offline

Posts: 3069


Shady@Noxhub.net


« Reply #4 on: March 02, 2013, 08:36:31 pm »

So... it has been a while since I have posted on here, my apologies. But, I recently came out of hibernation last weekend and started hacking on Nox stuff again, for old times sake. The end result is a beta version of a replacement of Nox's DirectDraw implementation. This effort is similar to something like dd-hack, except I am hooking more deeply into Nox and replacing DirectInput as well. Instead, you get video and mouse support via SDL2, which works a lot better than DirectDraw on modern hardware.

Why? Because I got tired of Nox causing BSOD on my computer multiple times a day. Also this makes any "dedicated server" setup strictly better. I'm sure there is a lot more ways this could be extended, so I will upload the source code once I have slept again.

Download link is below. Extract contents to Nox folder. Double-click on RunNox.bat. It just uses a loader that injects a DLL into the Nox process on-start. The DLL implements the GUI, some extra dedicated server support, and No-CD patch.

http://server1.zoaedk.net/NoxGUI_beta1.zip


So I heard your atheist now?  wink
Logged


philliyxx
Global Moderator
1337+
*

E-Cock: 34
Offline Offline

Posts: 1954


!M NOT $|_@yE|2 !!!mUAHAHAAAHHAFHHH


WWW
« Reply #5 on: March 03, 2013, 08:24:45 am »

Can I get the window full screen?

And whats the key indicator in top left corner.
Logged

Official Nox Help and Suport Topic 
http://www.noxforum.net/index.php?topic=1472.0
Rember, 1472 if you have no fucking clue
Zoa
Administrator
Legendary
*

E-Cock: 74
Offline Offline

Posts: 1325



« Reply #6 on: March 03, 2013, 12:20:28 pm »

Can I get the window full screen?

And whats the key indicator in top left corner.

Full screen mode is activated with ALT-ENTER. If Nox changes resolution while you are in full-screen mode, you may need to leave and re-enter full screen to update the SDL resolution.

The key indicator was just for debugging. It indicates the last mouse button or keyboard press.
Logged

"I see it all perfectly; there are two possible situations — one can either do this or that. My honest opinion and my friendly advice is this: do it or do not do it — you will regret both." -- Søren Kierkegaard
Zoa
Administrator
Legendary
*

E-Cock: 74
Offline Offline

Posts: 1325



« Reply #7 on: March 03, 2013, 12:21:52 pm »

So I heard your atheist now?  wink

Yes, I have seen the light, and the light is good. The benefits of having an additional major in Philosophy.
Logged

"I see it all perfectly; there are two possible situations — one can either do this or that. My honest opinion and my friendly advice is this: do it or do not do it — you will regret both." -- Søren Kierkegaard
Morden Tral
Administrator
1337+
*

E-Cock: 128
Offline Offline

Posts: 9684



« Reply #8 on: March 03, 2013, 08:38:04 pm »

Just got off of a 5 day grind with a cold, going to load this up and have some fun as part of my recovery now.
Logged

Imm0Rtal
Global Moderator
1337+
*

E-Cock: -17
Offline Offline

Posts: 3069


Shady@Noxhub.net


« Reply #9 on: March 04, 2013, 01:00:11 am »

Yes, I have seen the light, and the light is good. The benefits of having an additional major in Philosophy.

That must suck.. Dying and ceasing to exist.  rolleyes
Logged


Morden Tral
Administrator
1337+
*

E-Cock: 128
Offline Offline

Posts: 9684



« Reply #10 on: March 04, 2013, 01:56:59 pm »

Heh, I keep finding more interesting things from the russians. Too bad its so hard to communicate with them.

<a href="http://www.youtube.com/v/23lLCvN5pbA&rel=0" target="_blank">http://www.youtube.com/v/23lLCvN5pbA&rel=0</a>
Logged

superjackfromeurtha
Master
****

E-Cock: 5
Offline Offline

Posts: 414


Nox mapmaker..


« Reply #11 on: March 04, 2013, 03:35:29 pm »

One of them even made an aimbot;

<a href="http://www.youtube.com/v/7wrTKaGGs98&rel=0" target="_blank">http://www.youtube.com/v/7wrTKaGGs98&rel=0</a>
Logged

In fermentum fringilla neque sit amet porta. Vestibulum a quam nisi. Donec in est sit amet dolor porttitor mattis. Donec ut accumsan.

Generated 1 paragraph, 22 words, 133 bytes of Lorem Ipsum
Morden Tral
Administrator
1337+
*

E-Cock: 128
Offline Offline

Posts: 9684



« Reply #12 on: March 04, 2013, 03:41:22 pm »

Well you don't need anything as complex as UniMod for that.
Logged

Morden Tral
Administrator
1337+
*

E-Cock: 128
Offline Offline

Posts: 9684



« Reply #13 on: March 04, 2013, 04:09:48 pm »

I'll be honest, a dream scenario would be a clean merging of unimod and the updated rendering calls.
Logged

superjackfromeurtha
Master
****

E-Cock: 5
Offline Offline

Posts: 414


Nox mapmaker..


« Reply #14 on: March 04, 2013, 04:45:40 pm »

I had a somewhat unrelated idea, which is having an unofficial patch done by both NoxForum and NoxWorld that will be integrated in the installer from this forum. Plus we could make that lead to a portal server that can lead to both XWIS and potentional other servers. That would mean the old update system could be used..
Logged

In fermentum fringilla neque sit amet porta. Vestibulum a quam nisi. Donec in est sit amet dolor porttitor mattis. Donec ut accumsan.

Generated 1 paragraph, 22 words, 133 bytes of Lorem Ipsum
gfx
Pages: [1] 2 3 ... 9 Print 
gfx
Jump to:  
gfx
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.105 seconds with 23 queries.
Helios Multi design by Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!