Ok... Now I'm running the latest 3.262
I compiled the 3D Maze sample again using 640x480 resolution for WinCE and WinCE MediaQ versions. I've tried running it from the SD card and I've tried running it from main memory. I can see a single line of black at the very top of the screen running about 1/3 of the way across the screen from the left to right. At that point everything appears locked up and my only recourse is to soft reset the machine.
This is on the X51V (vga 624mhz) dell axim.
I will now try the same on my X51 (qvga 520mhz) dell axim...
I also got the same exact results on Rocket Escape, by the way.
(Update: I can now see that single black line flashing randomly at the top of the screen. It's like it isn't creating the screen correctly, but it is running.)
(Update 2: That's definitely the case. It does NOT like 640x480 resolutions on a pocket pc (windows mobile 5) at all. I just created it for the same X51V in 320x240 and it is running. A little wonky... I can move out of the bounds of the maze using the d-pad... but it is running.)
I really need VGA to work. That's the res I'm creating my game in. 320x240 is definitely out.
(told ya I was gonna keep you busy if I found buggies) :)
Just verified that again with the Lindenmayer Trees demo. Runs dog slow at 240x320, but I get a single pixel black line at the top of the screen and no way of ending the program at 480x640.
Also... I note that 1024x768 appears to be the highest resolution in win32? Is this correct? I never play a game at anything less than 1600x1200 nowadays and prefer 1920x1200 since that's what my monitor's native resolution is. How do I change resolution to those sizes or at LEAST 1280x1024 (1344x1024) ?
3D stuff is spotty... Animation demo with the sailor moon model locked things up. It showed the blue X (which I want to get rid of btw) but that was it. The machine appeared locked up.
The paper airplanes 2 demo ran and got 15fps (which is a bit more than I thought I would get actually)...
Not horribly concerned about this as I'm not going to write any 3D stuff anyway at this time. But there did appear to be problems.
I'll check for 640x480 resolutions again. You must help+test for me as I don't have such a device.
Please post the file \Temp\ErrorLog.txt from your PocketPC here.
If you want higher resolutions, you can add them in the file GLBasic\Compiler\platform\platform.ini
It's pretty easy, you'll see. I'll add a command for that soon. It's way overdue.
There is no errorlog.txt on the ppc. As I said it LOOKS like the program is running, but it's compressed into one single line of pixels at the top of the screen. In the case of the 3D Maze, it's not even a full line, just 1/3 of the way across the screen.
It's like the screen starts (purely conjecture) at 0,-479 or something.
There must be an ErrorLog.txt in your Temp directory. Search for it, please. It contains valuable informatino about the gfx method used and the pixel buffer address.
I have just looked in ALL directories of my pocketpc and there is definitely NO errorlog.txt file.
Are you sure it's going to create one if it thinkgs that it's running correctly? Because I'll state again that I think the program is actually running... it's just running outside of the viewable screen area.
debug mode on maybe??
I've added you to skype... My contact info is Kanati8869
ok, just verified again with the latest build (was there an update last night?) again and get the same results.
This time I used rocket escape because it runs immediately and ends just as quickly if you don't do anything... I then tapped that black line at the top of the screen and the program ended as it is supposed to. So that verifies to ME that the program is definitely running. It's just not visible.
I also ran with debug on and off... no errorlog.txt file gets put in the temp directory at any time before, during, or after a program runs.
I'll have to check. Very strange... Yes, the screen for 640x480 seems to be initialized incorrect.
Found it.
GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,BPP
48000/100
64000/100
1600/100
Pitch X,Y
200/100
96000/100
next flip @
600/100
__EndProgram
Errorline
0/100
Last line
0/100
Code
900/100
I'll have a look. Thank you
Don't know what it's going to tell you... I ran paper airplanes 2 at 320x240 and looked at that file and it was identical...
That's the important part:
Screen W,H,BPP
480
640
16
Pitch X,Y
2
960
I tells me how your display is build and what values to increase for X/Y position of the pixels.
Can you test a "Hello World" with 480x640 and 640x480, please? That's landscape and portrait mode. Maybe one of themworks?
640x480 results of hello_world... Didn't work. Showed a black line about one third of the screen width at the top of the screen.
GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,BPP
48000/100
64000/100
1600/100
Pitch X,Y
200/100
96000/100
next flip @
600/100
__EndProgram
Errorline
0/100
Last line
0/100
Code
900/100
480x640. Same results, though it shows a full width black line at the top of the screen.
GlobalInit
Using GETRAWFRAMEBUFFER
Screen W,H,BPP
48000/100
64000/100
1600/100
Pitch X,Y
200/100
96000/100
next flip @
600/100
__EndProgram
Errorline
0/100
Last line
0/100
Code
900/100
Any ideas yet? I'm stuck til 640x480 is fixed. :(
write and debug on Win32. I'll sort it out soon.
No joy in beantown tonight? :)
So, finally found it. Get the latest update (Menu: web/Internet Update) and with version 3.277 you should be fine off.
Please give me some feedback.
Yepp, now VGA Mode is working. I changed the PPC QGA version of Wumbo to VGA and voila.
Great work.
Togi
Sorry... tried rocket escape and 3d maze again... it LOOKED like everything was going to be ok. But it wasn't.
The "x" doesn't end the program... I see "loading" when the program is loading. But:
Rocket Escape: shows the score increasing at the top of the screen with a greyish quad-segmented box over it. Nothing else on screen.
3D Maze: shows the 2D representation of the maze in the upper left, and the coordinates... but nothing is drawn of the maze itself.
In both cases, had to soft reset the machine.
Tried the 4 across demo in the pocket pc directory... It works for the most part but the mouse is off by at least 1/3 of the screen horizontally and possibly vertically as well.