[03:46:27] <-- Kirben has left IRC (Ping timeout: 276 seconds)
[04:04:51] <-- wjp has left IRC (Ping timeout: 248 seconds)
[04:17:51] --> wjp has joined #nuvie
[08:05:02] --> Kirben has joined #nuvie
[08:39:39] <-- Kirben has left IRC ()
[13:36:15] --> TheCycoONE has joined #nuvie
[16:07:28] <-- DominusExult has left IRC (Quit: good night)
[16:09:05] --> Dominus has joined #nuvie
[16:19:32] --> DominusExult has joined #nuvie
[16:20:15] <-- Dominus has left IRC (Quit: good night)
[16:20:27] <-- DominusExult has left IRC (Remote host closed the connection)
[16:21:24] --> Dominus has joined #nuvie
[16:32:13] --> Malignant_Manor has joined #nuvie
[16:34:02] <Malignant_Manor> Dominus: I have a patch that might have Nuvie working in fullscreen on OSX.
[16:34:12] <Dominus> bring it on!!!
[16:34:26] <Malignant_Manor> I had problems when I set the display to something other than default even in windows.
[16:34:39] <Dominus> I may have enough time right now to test it
[16:34:58] <Malignant_Manor> This will also make the world shown larger depending on setting.
[16:35:13] <Dominus> sounds like the fullscreen code needed much more attention.
[16:36:06] <Malignant_Manor> Basically, I set to fullscreen after creating a window.
[16:36:48] <Malignant_Manor> screen_width and screen_height are used for unscaled size of width and height.
[16:37:03] <Malignant_Manor> Did you get a file download request?
[16:37:18] <Dominus> no, sorry, my cliebnt does not support dcc
[16:37:40] <Malignant_Manor> http://pastebin.com/2XacmcZp
[16:38:37] <Malignant_Manor> I'd need to also make a game_width and game_height setting to do this properly, but this is good enough for testing.
[16:42:08] <Dominus> can I switch in game to fiullscreen?
[16:42:19] <Malignant_Manor> No
[16:42:39] <Malignant_Manor> not with the patch. You set fullscreen in the cfg.
[16:43:24] <Malignant_Manor> I can probably easily toggle it though.
[16:44:18] <Malignant_Manor> Oh, scale factor has to be greater than 1 for this patch to work.
[16:44:26] <Malignant_Manor> I haven't messed with it much.
[16:44:36] <Dominus> hehe
[16:44:47] <Dominus> I get *something*
[16:44:55] <Dominus> the screen doubled :)
[16:45:22] <Malignant_Manor> Can you paste your cfg settings on pastebin?
[16:45:33] <Dominus> I have a very rudimentary cfg, do I need to set game_width etc?
[16:46:02] <Dominus> http://pastebin.com/yQ8NZA6H
[16:46:05] <Malignant_Manor> You probably do because of fullscreen resolution requirements.
[16:47:34] <Malignant_Manor> screen_width and screen_height should be half of your current resolution.
[16:47:51] <Malignant_Manor> Resolution of your desktop
[16:48:02] <Malignant_Manor> They go under video settings.
[16:48:47] <Malignant_Manor> Too bad Colourless didn't work on Nuvie.
[16:50:35] <Dominus> ouch, when I do this, I get 50 very small nuvie screens, or 4...
[16:51:44] <Malignant_Manor> weird, paste you cfg again
[16:52:03] <Dominus> yeah, I messed up width and height :)
[16:52:17] <Malignant_Manor> I figured that might be it.
[16:52:51] <Dominus> when done correctly, I have a smallish nuvie in the upper left corner where the cursor doesn't work correctly
[16:53:58] <Malignant_Manor> hmm, does stderr say that it couldn't scale?
[16:55:02] <Malignant_Manor> You could try 400x300 for screen_width and screen_height.
[16:55:56] <Malignant_Manor> 800x600 (400x300 scaled) may be a working resolution.
[16:56:07] <Malignant_Manor> Oh, and I was using fullscreen_map mode.
[16:56:28] <Malignant_Manor> That may be why your game is small.
[16:57:35] <Dominus> hmm, yes.
[16:58:03] <Dominus> cursor worked actually, I was expecting it to work in the menu where you chose journey onward
[16:58:20] <Malignant_Manor> Okay
[16:58:50] <Dominus> but, I cannot get it to go fullscreen
[16:59:00] <Dominus> I mean stretched to the screen size
[16:59:16] <Dominus> 800x600 gives the best result but still small
[16:59:22] <Malignant_Manor> Are you trying fullscreen_map mode?
[16:59:27] <Dominus> 400x300 teared up the game again
[16:59:35] <Dominus> regardless of fullscreen_map
[17:00:13] <Malignant_Manor> Not having a Mac, I can't really mess with anything.
[17:01:11] <Dominus> game remains the same size regardless whether I chose scaler or no
[17:01:23] <Dominus> no message whether it fails to scale but it seems so :)
[17:02:09] <Dominus> so best is 640x400 and then the higher I set it, the smaller the game becomes :)
[17:05:22] <Dominus> so, Malignant_Manor: it behaves better but not perfect
[17:05:34] <Dominus> I think you need to adapt the Exult fullscreen code now....
[17:05:36] <Dominus> :)
[17:05:42] * Dominus is away for dinner
[17:05:48] <Malignant_Manor> I'm not messing with that.
[19:21:56] <Malignant_Manor> Dominus Here's a slightly different patch. Alt-enter toggles fullscreen. http://pastebin.com/mY62mTPK
[19:23:47] <Dominus> Malignant_Manor: oh shit....
[19:23:58] * Dominus hides
[19:24:04] <Dominus> you know...
[19:24:26] <Dominus> I think.. or I'm pretty sure, I forgot to apply the patch, previously
[19:29:56] <Dominus> Malignant_Manor: couldn't toggle fullscreen
[19:30:34] <Malignant_Manor> Does it work if you start in fullscreen?
[19:30:55] <Dominus> no
[19:32:29] <Malignant_Manor> Well, you should at least be able to play in a higher resolution.
[19:32:54] <Dominus> *that* is giving me some problems as well
[19:33:08] <Dominus> how is screen and game things supposed to work?
[19:34:01] <Malignant_Manor> screen is how large the window/fullscreen resolution is when multiplied by the scale
[19:34:27] <Malignant_Manor> Game resolution is how large the game window is when multiplied by the scale
[19:34:58] <Dominus> I have only screen set to 640x480x2 and have a 640x480 window scaled 2x but the nuvie game itself only in the upper left part, in it's original size
[19:35:30] <Malignant_Manor> fullscreen_map?
[19:35:43] <Malignant_Manor> paste your cfg
[19:36:13] <Dominus> hmm, setting both screen and game to 640x480 made the fullscreen_map to fill the whole window
[19:36:55] <Malignant_Manor> Ideally, they would be equal unless you want a border.
[19:36:58] <Dominus> http://pastebin.com/FY7eCp10
[19:38:01] <Malignant_Manor> The game_resolution is slightly bugged to where it will draw the complete tile on the right and bottom (will be slightly larger)
[19:38:34] <Dominus> ahhh, I needed to set to 800x600 to make it go fullscreen
[19:38:50] <Dominus> probably my monitor doesn't allow the small res
[19:39:08] <Malignant_Manor> That is before scaling?
[19:39:22] <Dominus> probably
[19:39:59] <Malignant_Manor> I would think it would support 800x600 resolution (including scaling)
[19:40:14] <Dominus> I guess it tries the non scaled window and that fails
[19:40:42] <Malignant_Manor> You should be able to see supported resolutions.
[19:41:46] <Dominus> in exult yes, not in nuvie
[19:42:06] <Malignant_Manor> In your operating system
[19:42:43] <Dominus> doh, yes, 800x600 is the lowest
[19:43:05] <Dominus> so 640x480x2 should be doable by lengths :)
[19:43:27] <Dominus> so it tries the unscaled one
[19:44:12] <Dominus> the whole thing needs something like Exult's screen and game window size... so you can have screen bla and game blabla but still fill the screen wtih game window
[19:44:45] <Malignant_Manor> That's what the game and screen settings are
[19:45:13] <Malignant_Manor> or do you mean stretching?
[19:45:16] <Dominus> yes but if if it is not the same then you have a black border
[19:45:27] <Dominus> yes stretching
[19:45:40] <Dominus> I have to go again, but rest assured your patch works somewhat. at least for the fullscreen_map, not so much for intro and game menu....
[19:49:00] <Malignant_Manor> try_scaler does a lot of SDL_VideoModeOK checks without multiplying by scaler
[19:53:27] <Malignant_Manor> I also neglected the hardware surface and double buffering flags.
[19:55:26] <Malignant_Manor> This is all stuff that should have worked from the beginning.
[20:00:22] <Malignant_Manor> This may work better. http://pastebin.com/iA4g0Fw3
[20:02:37] <Malignant_Manor> Here's one that forces software scaler. These are to try and see if you can get 400x300 with a scale factor of 2 to go fullscreen. http://pastebin.com/RdhGMii1
[20:03:16] <Malignant_Manor> It would be so much easier for people to setup with menus.
[20:47:56] --> Yuv422 has joined #nuvie
[20:51:21] <Malignant_Manor> Yuv422: I'm working on having the game resolution be set in the cfg for fullscreen_map.
[20:56:20] <Yuv422> ah k cool
[20:56:38] <Malignant_Manor> I also may have fixed fullscreen for Mac.
[20:56:39] <Yuv422> so arbitrary map size?
[20:56:46] <Malignant_Manor> Yeah
[20:56:49] <Yuv422> cool
[20:57:34] <Malignant_Manor> There is a slight bug with the right and bottom map tiles displaying the whole tile instead of cutting off when the screen is larger than the game area.
[20:58:02] <Malignant_Manor> That bug already exists though.
[20:59:10] <Yuv422> I think I remember seeing it
[20:59:19] <Malignant_Manor> The fade effect during Nuvie start takes a really long time because my cpu is maxed. The game runs smoothly otherwise.
[20:59:40] <Yuv422> hopefully I'm not relying on a 320x200 mapwindow for gump centering
[20:59:59] <Malignant_Manor> It is done by screen size
[21:00:17] <Malignant_Manor> The inventory on the right and the containers on the left
[21:00:32] <Malignant_Manor> The signs centered nicely.
[21:03:29] <Malignant_Manor> The menu/intro offset will be different than the map offset. I should probably center the menu/intro.
[21:05:50] <Malignant_Manor> The conversation gump is shown in the upper left. The background is a fixed size.
[21:16:28] <Malignant_Manor> The game map probably needs its own offset.
[21:28:17] <Malignant_Manor> I think I may get rid of the centering cfg option altogether. I doubt users want to manually position things.
[21:33:17] <Yuv422> fair enough
[21:33:29] <Yuv422> so the screen would auto centre
[21:33:36] <Malignant_Manor> I'll use the same function so it can be reversed.
[21:33:57] <Yuv422> lots of mobile devices have 320x240
[21:34:30] <Yuv422> so we'd still need the ability to have screen offsets
[21:34:37] <Yuv422> I've got to go now
[21:34:39] <Yuv422> cya
[21:35:00] <-- Yuv422 has left IRC (Quit: Yuv422)
[21:49:19] <Dominus> Malignant_Manor: I can test stuff now again
[21:49:41] <Malignant_Manor> I commited a fix for fullscreen if you can test that.
[21:49:56] <Dominus> curiosly switching fullscreen *was* working without the patch (when I thought I had patched it)
[21:50:09] <Dominus> it may be that Apple fixed something
[21:50:30] <Dominus> I mean it was working way better than the last time I had tried it
[21:51:24] <Malignant_Manor> I changed some sdl checks that didn't count scaling so it should hopefully work at 400x300 2x scaling
[21:59:06] <Dominus> yes, screen set to 400x300 works now
[21:59:35] <Dominus> not having game set though as that annoys and no idea if that works actually unpatched :)
[22:00:28] <Dominus> Malignant_Manor: fails at 400x300 with scale 3
[22:00:33] <Dominus> scaler point
[22:01:00] <Malignant_Manor> Can your system handle 1200x900?
[22:02:43] <Dominus> probably not. it's not mentioned. odd thing.
[22:02:52] <Dominus> how does exult handle that...
[22:03:27] <Malignant_Manor> Exult gets available settings and puts them in the menu.
[22:04:05] <Dominus> I mean you can override what the menu gives you in the cfg
[22:06:12] <Dominus> arrghh
[22:06:25] <Dominus> nuvie definitely needs some stretching powers.
[22:07:14] <Dominus> No way to toggle the native res (320x200) to fullscreen :)
[22:08:36] <Dominus> ouch and original map mode looks so ugly now :)
[22:10:21] <-- TheCycoONE has left IRC (Quit: And then there were n-1)
[22:21:54] <Malignant_Manor> Crap, I guess I do need to reposition more gumps.
[22:22:19] <Dominus> the exit gump seems to be hardcoded as well
[22:22:39] <Malignant_Manor> Yes, that one is fixed
[22:23:19] <Malignant_Manor> I have a bunch more to go. I don't know if I want the conversation gump to be centered or not.
[22:24:48] <Malignant_Manor> I need to stop procrastinating other work though. Bye
[22:24:53] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90 [Firefox 19.0/20130215130331])
[22:26:11] <Dominus> when you read this. I think the conversation gump shouldn't be centered but move a bit more to the center with higher resolutions... so it doesn't center but also doesn't hug to the upper left on higher resoltuions
[22:27:56] <Dominus> and the scaler need massive copying from Exult. moving them to their own files and allowing x4 for the x2 scalers and of course adding xbr etc...
[22:33:43] --> DominusExult has joined #nuvie
[22:36:11] <-- DominusExult has left IRC (Client Quit)
[22:37:05] --> Kirben has joined #nuvie
[22:40:00] <-- Dominus has left IRC (Quit: good night)
[22:44:03] --> Dominus has joined #nuvie
[23:00:43] <-- Dominus has left IRC (Quit: good night)
[23:01:13] --> Dominus has joined #nuvie
[23:34:25] --> DominusExult has joined #nuvie
[23:34:47] <-- DominusExult has left IRC (Client Quit)
[23:35:01] <-- Dominus has left IRC (Quit: good night)
[23:35:18] --> Dominus has joined #nuvie
[23:36:14] --> DominusExult has joined #nuvie
[23:36:36] <-- DominusExult has left IRC (Client Quit)
[23:42:37] <-- Dominus has left IRC (Quit: good night)
[23:42:53] --> Dominus has joined #nuvie