Page 1 of 1

Vista Classic Theme Graphics Issue

PostPosted: Tue Apr 24, 2012 22:04
by lionfury
This is a very weird issue.
When I use aero and vista theme, minetest works fine.
However, when I use the Windows Classic theme, the graphics in the inventory are all off. (EG the sand is displayed as grass)
I can't seem to figure out how windows themes are connected to minetest graphics, but apparently they are.

I use Vista Home Premium if thats of any use.

PostPosted: Wed Apr 25, 2012 08:48
by Calinou
This happens if you resize the window.
There is a workaround: start the game with a predefined window size, ideally in fullscreen (if you are playing latest 0.4 dev)
Edit minetest.conf using a text editor (Notepad++ is best, as the default notepad sucks) and put this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
screenW = 1920
screenH = 1080
fullscreen = 1

screenW and screenH are the screen width/height in pixels, you must set them to your screen resolution (1920x1080 is an usual resolution of 23/24 inch screens).

PostPosted: Fri Apr 27, 2012 22:47
by lionfury
I did exactly that (except with my resolution, 1440x900) and when I started minetest, it went fullscreen but the problem still persisted. Let me clarify that the only graphics that are messed up are the ones in the inventory.

This only happens when

1: Windows Aero is disabled
and
2. I am using opengl.

When using directx it works fine, but directx gives errors in newer version.

Also, opengl runs fine as long as aero is enabled. But my computer is slower, so i prefer to turn aero off.

PostPosted: Sat Apr 28, 2012 06:29
by Calinou
What's your graphics card?

PostPosted: Sun Apr 29, 2012 01:51
by lionfury
I have a POS Intel 82945g Express Chipset

PostPosted: Sun Apr 29, 2012 02:16
by lionfury
Another interesting note, when I add

inventory_image = "xxxxxxxxx.png",

Into the code in the init.lua for default, that image now shows up in whatever item I set for in the inventory. The only problem is that i cant figure out how to get the little cubes to show up as opposed to the large flat images.

PostPosted: Sun Apr 29, 2012 02:40
by lionfury
Something else I've found.

When you add
inventory_image = minetest.inventorycube("default_xxxxxx.png")
to an item, you geta mixed up image (for cobble its a white cube)
Because just putting

inventory_image = "xxxxx.png"

works fine, this is leading me to believe that it is an issue with inventorycube.