#nuvie@irc.freenode.net logs for 20 Jan 2016 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[02:41:06] --> DominusExult has joined #nuvie
[02:43:50] <-- Dominus has left IRC (Ping timeout: 276 seconds)
[02:43:51] --- DominusExult is now known as Dominus
[06:21:13] <-- Lightkey has left IRC (Ping timeout: 250 seconds)
[06:33:57] --> Lightkey has joined #nuvie
[10:08:08] --> Yuv422 has joined #nuvie
[11:27:40] <-- Yuv422 has left IRC (Quit: Yuv422)
[13:58:27] <-- exultbot has left IRC (ping timeout: 15 minutes)
[13:59:44] --> exultbot has joined #nuvie
[13:59:44] --- Topic for #nuvie is: Nuvie - New Ultima VI Engine (http://nuvie.sf.net)
[13:59:44] --- Topic for #nuvie set by unknown at Thu May 29 19:24:17 2008
[14:27:39] <zabeus> hi Dominus
[15:30:09] --- johnnyho1tile is now known as johnnyhostile
[15:33:18] <Dominus> Heya zabeus!
[15:33:48] <zabeus> how's it going
[15:33:51] <Dominus> Seems I misunderstood your std... intentions ;)
[15:34:14] <Dominus> thanks everything great ;)
[15:34:53] <zabeus> no i learned a lot, didn't know those weren't output in sdl2
[15:34:56] <zabeus> that complicates things
[15:35:01] <zabeus> but do clean builds / snapshots of Nuvie use SDL1 or SDL2 by default?
[15:35:29] <Dominus> Redirecting those files via nuvie code is of course a good idea... I think we somehow do that for exultbot
[15:35:48] <Dominus> Not exultbot ... Exult ;)
[15:35:50] <zabeus> i just made a function initLogger() that gets called right after SDL_Init()
[15:36:06] <zabeus> it will fail if SDL2 doesn't generate the files anyway
[15:36:20] <Dominus> I *think* it's still using sdl 1.x for the snapshots
[15:36:31] <zabeus> so i need some build option to get SDL2?
[15:37:15] <Dominus> Probably. I'm sure malignant can give a pointer - he did a SDL2 test build in another issue
[15:37:37] <Dominus> But I'm on OS X so I have no clue ;)
[15:38:22] <zabeus> ok, its possible he was using SDL2
[15:38:31] <zabeus> however if he was using SDL1 the fix should work
[15:38:33] <Dominus> We'd need to talk to Kirben to make the Windows snapshots SDL2 by default OR offer both options
[15:38:49] <zabeus> Not sure we need to offer both options
[15:39:25] <Dominus> I read some sdl forum post stationg the std files are not generated by sdl2 anymore
[15:39:38] <zabeus> yes after you mentioned it i googled and found the same :)
[15:40:13] <Dominus> http://forums.libsdl.org/viewtopic.php?t=9454&sid=501bd8209741efc17132dbd5ef4444f7 ?
[15:44:49] <Dominus> Real life is sooo demanding atm, so I never have time to do some work on the ultima projects in the evening ;(
[15:46:31] <zabeus> Andreas Schiffler's post seems to give the answer
[15:46:50] <zabeus> i understand, i enjoy reading your posts on the UDIC facebook group though
[15:46:57] <zabeus> occasional posts
[15:48:01] <Dominus> Thanks, I was more open voiced earlier but got to worked up on posts by others that got worked up over SotA... ;)
[15:49:08] <Dominus> And ran into a former troll of the Exult forum that blocked me instantly when I mentioned it ;)
[15:49:21] <Dominus> Too much drama ;)
[15:51:12] <Dominus> Zabeus: when you code that for nuvie (sdl2 std logging) we might need that for Exult as well ;)
[15:51:24] <zabeus> lol
[15:51:45] <zabeus> oh! i was hoping to steal exult's code if available
[15:52:07] <Dominus> Exult has been ported to sdl2 as well but is still defaulting to sdl1.x
[15:52:15] <zabeus> oh i see, ok
[15:52:55] <Dominus> Sdl2 mostly works except for issues with point scaler and probably the std logging
[15:56:21] <zabeus> almost all our logging should be done via the "debug" procedure in Debug.cpp, so maybe we don't need to worry about SDL's output (we don't use SDL_Log which that forum post implies)
[15:57:25] <zabeus> so it may "just work" even with sdl2
[15:57:43] <zabeus> need to commit my code and make everyone testers
[16:13:58] <Dominus> Hooray for comitting code ;)
[16:38:47] --> Malignant_Manor has joined #nuvie
[16:45:14] <Malignant_Manor> an old SDL 1.2 build does output the files
[16:45:35] <Malignant_Manor> SDL 2 fails to output.
[16:54:55] <Dominus> Hi malignant_Manor ;)
[16:56:46] <Malignant_Manor> hi
[16:57:10] <Dominus> Does Exult SDL2 generate the std files?
[16:57:56] <Malignant_Manor> none that I can find
[16:58:42] <Dominus> Yeah, expected that
[16:59:17] <Dominus> Needs specific code for sdl2 to do that
[16:59:47] <zabeus> hi Malignant_Manor, thanks for confirming
[17:00:21] <zabeus> will send you a comment after pushing the possible fix
[17:00:31] <Dominus> In theory, what I understood, if you start Nuvie or Exult from the command prompt, the output should be seen there. (Same as *nix terminal)
[17:00:46] <zabeus> yeah, sounds like thats a new feature in sdl2
[17:02:41] <Dominus> If I were still on Windows I'd find the live output quite useful ;)
[17:07:57] <Malignant_Manor> I don't get output in the command prompt
[17:08:42] <Malignant_Manor> I could probably use compiler options to build Nuvie as a console application
[17:09:41] <Malignant_Manor> I think I have done it before based on Exult's makefile.mingw
[17:11:14] <Malignant_Manor> The console app creates its own window for output
[17:24:10] <zabeus> so you get two console output windows?
[17:24:33] <zabeus> plus the command prompt you launched it from?
[17:40:18] <Malignant_Manor> The command prompt does not give output
[17:41:21] <Malignant_Manor> It's been a long time since I built a console app and I never did it with SDL 2.
[17:42:17] <Malignant_Manor> I don't think you could copy text from the window
[17:45:58] <Malignant_Manor> You could try it yourself. http://sourceforge.net/p/exult/code/HEAD/tree/exult/trunk/Makefile.mingw#l32
[17:50:14] <Malignant_Manor> Oh, also, it will close on a crash.
[17:53:40] <Malignant_Manor> zabeus: Exult does have this line in makefile.mingw
[17:53:41] <Malignant_Manor> ### We want to do our own stdout/stderr redirection, thank you.
[17:54:10] <Malignant_Manor> It doesn't use lSDLmain and uses lwinmm
[17:54:22] <Malignant_Manor> I don't know what other coding is used.
[17:55:29] <Malignant_Manor> I also don't know if Exult outputs files when using SDL 2. This code was added before SDL 2.
[18:16:20] --> Shozan has joined #nuvie
[18:22:57] <-- SHODAN has left IRC (*.net *.split)
[18:23:46] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160105164030])
[19:05:37] <zabeus> thanks for the tip malignant; will wait and see if my solution works before trying to change libraries
[20:26:30] --> Yuv422 has joined #nuvie
[20:28:01] <-- Yuv422 has left IRC (Client Quit)
[20:34:22] --> Malignant_Manor has joined #nuvie
[20:36:19] <Malignant_Manor> zabeus: Ok, If that doesn't work you could blame makefile.mingw to see what commit it was added and check the relevant code.
[20:36:25] <-- Malignant_Manor has left IRC (Client Quit)
[21:14:06] <-- zabeus has left IRC (Read error: Connection reset by peer)