Games in Progress: 3 | Players logged in: 4 | Players Registered: 37413 | Games Played Total: 68649
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Full screen/window mode  (Read 316 times)
mikman
Prototype Tester
Mule Senior
****
Posts: 114


View Profile
« on: June 18, 2012, 15:33 »

When my computer died, I never reinstalled MULE and I haven't played for about a year and a half. last night I played a few games on my windows 7 64bit computer with latest nvidia drivers (301.42). I tried 2 different versions of java 1.6.33 and 1.7.05. with same results.

When switching between full screen and windowed mode the screen flashes about 5 times quickly before switching to full screen (after pressing the Function key to switch). I'm sure it just switched smoothly on my old vista 64bit PC.  Anyone else notice this odd behavior? I don't know if it's win 7, Nvidia, or java that's the issue but I'd kinda like to get it working as before...

On a side note if the game had a 2X Zoom mode or something I wouldn't feel the need to switch between full screen and window mode.  As it is the game is quite tiny on my 1920X1200 screen Cry
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #1 on: June 18, 2012, 18:03 »

Well, I've been tinkering.  Would be great to have a setting to double the pixels in window mode, maybe Peter and the gang can make that happen at some point, but to the end of improving the redraw for full screen, I've been playing with the settings.txt file in the data folder.

I have had some some similar issues.  I found the fix for most of them today and maybe it will help you, maybe not, but here it is...

On my compaq running Vista, with Athelon X2 CPU and Nvidea GeForce 6150 in window mode, screen redraw and initialization was slow and I had to flip back and forth from the lobby.
On my Sony running Win7, with Intel Pentium Dual-Core and Intel 945 Express in window mode, initilization was slow but worked correctly.  It does exhibit the same blinking switching to full screen you described (OS maybe?)
In full screen, both took 15 seconds to switch to and did not rescale, so the graphics were still the same size.

Other than the blinking problem on the Sony, I was able to remedy all issues with the changes to settings.txt in the data folder.

This is the default settings.txt

Quote
VERSION 1.3.4
username Unnamed
manualJoinAddress
masterServer http://www.planetmule.com
primaryKeys 38 40 37 39 32 116 0 0 0 0 0 0 0
secondaryKeys 87 83 65 68 17 0 0 0 0 0 0 0 0
soundOn true
playLoginMusic true
mapSkin default
windowSkin Default
fastAiDevelopment true
vsync 1
useTwoWindows false
useAWTGLCanvas false
ignoreRepaint true
snapFullscreenScale true
bufferStrategy 1

On my Compaq with Nvidea GeForce 6150 video, the following settings work best and fix all bugs (Would note that I had all the same bugs when the Sony Vaio was running Vista that the Compaq currently had, odd being totally different hardware and the only commonality being the OS.  Switching to Win7 did the resulted in same thing on my Vaio that happened to you, and while some of these settings speed things up on the Vaio, it did not fix the blinking on fullscreen switch.)

Quote
VERSION 1.3.4
username Unnamed
manualJoinAddress
masterServer http://www.planetmule.com
primaryKeys 38 40 37 39 32 116 0 0 0 0 0 0 0
secondaryKeys 87 83 65 68 17 0 0 0 0 0 0 0 0
soundOn true
playLoginMusic true
mapSkin default
windowSkin RavenGraphiteGlass
fastAiDevelopment false
vsync 1
useTwoWindows false
useAWTGLCanvas true (This fixed the problem that made me have to flip to the lobby.)
ignoreRepaint false (This sped up my redraw everywhere, game starts 3 times faster, and fullscreen switch is lighting fast)
snapFullscreenScale false (Made Fullscreen Actually Fullscreen)
bufferStrategy 1

Try different combinations until you find the one that works best for you.  I've made similar adjustments on my Sony Vaio with an Intel 945 Express.  I do have to note as stated above, that I have the same blinking problem on the Intel switching to fullscreen after upgrading to Win7 and none of these settings seem to cure it, using the same video driver version as I did in Vista and the Compaq is running Vista and the Sony is running Windows 7, so it might be the OS, and I won't know unless I try Win7 on the compaq, which I am thinking of doing in the near future, so I'll let you know what happens. Smiley

Still would love to see rescalable graphics in window mode.  That would be awesome.
Logged

My other computer is a C64.
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #2 on: June 18, 2012, 18:19 »

Alternative to Full Screen.

This may or may not work, seems to slow things down a lot, but here is a desktop rescaler / magnifier to play with.  Might find this works for you.

http://users.telenet.be/littlegems/MySoft/DesktopZoom/Index.html

I haven't played with it in depth, it accomplishes the goal of rescaling the window mode, and looks good at 1.5x or 2x zoom, but it's a little choppy (settings may help with that I haven't played with it enough to know)

Might work better if you have a faster system.  I'm using my Compaq, it's 1.9ghz with GeForce 6150, not the fastest kid on the block, my Intel 1.6ghz 945 express chipsetted Sony actually beats it out on graphics speed, though in every other aspect the Compaq spins circles around it.
Logged

My other computer is a C64.
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #3 on: June 18, 2012, 18:39 »

Yet one more option...

Change the resolution of your screen when you want to play Mule.

You said your native res is 1920x1200, so if your card supports it and your display rescales for resolution changes and will stretch lower resolutions to fill the screen try...

1280x800 (Best lower res adaptation for a 16:10 format display) or 1366x768 (more designed for a 16:9, but good second choice for Mule if you can't do the first option.  If things look a little funky make sure you are using "Clear Type" Mode (found in Control Panel / Appearance and Personalization / Fonts "Adjust ClearType Text")

This should make any issues with pixel blocking in none native resolutions for your LCD monitor very minimal.
Logged

My other computer is a C64.
mikman
Prototype Tester
Mule Senior
****
Posts: 114


View Profile
« Reply #4 on: June 19, 2012, 01:46 »

Thanks for all the ideas Chuck, I really appreciate it.  My screen does flip to full screen properly re-sized and fairly quickly, maybe takes about 2 seconds.  I think you are correct that it's a windows 7 thing where the screen blinks about 3-4 times switching to full screen and about 2-3 times switching back to window mode. I messed around with the settings file but it didn't make any difference as mine was already pretty fast it just blinks a lot :-) . I guess I'll have to live with it, as it seems development has pretty much stopped on this version of Mule :-(  too bad
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #5 on: June 19, 2012, 02:00 »

Well, give the lower res change for playing Mule a go, you can stay in window and have chat with 1280x800 or 1366x768 and the graphics will be as big as possible with chat window included.  The game functionally uses about 640x720 pixels with the chat window, leaving enough room for the windows task bar at the bottom of the screen.  On my 1280x800 screen I can just fit two sessions of Mule side by side (great for having one in the lobby and the other in the game at the same time.)
Logged

My other computer is a C64.
mikman
Prototype Tester
Mule Senior
****
Posts: 114


View Profile
« Reply #6 on: June 19, 2012, 02:16 »

After messing with it a bit more I did realize one setting was making a difference:

snapFullscreenScale false  (was true)

actually makes the fullscreen mode slightly larger than before the game goes right to the top/bottom edges of my screen now, with the above set to true I have a maybe 1 inch black border on the top/bottom...

As for changing my resolution ya I could do that before I play... but I really don't like the look of my desktop in anything other than the native resolution, and my icons move around and stuff... more hassle than it's worth, I can live with the extra flashes, I only switch to fullscreen when it's my turn anyway... maybe I'll get a smaller second monitor (with a lower resolution) to play mule on :-)
Logged
Chuckie Chuck
Mule Veteran
******
Posts: 633



View Profile
« Reply #7 on: June 19, 2012, 02:32 »

Yeah, I used to do dual head with a 1600x1200 CRT hooked to my laptop and ran mule on the laptops internal screen with my every day computing on the CRT.  Now don't have a desk to put the monitor on and the board has cracked on my laptop at the monitor port, so no more external monitor.  Just waiting to upgrade my laptop when money allows. Smiley  Gave my a great 6 years before the port broke.  The rest of the laptop still works very well (other than a funky button on the mouse pad.)

Has served me well and for the most part still does, just miss having a 2nd display sometimes.  Was great for video editing.
Logged

My other computer is a C64.
Pages: [1]
  Print  
 
Jump to: