OMG I blitzMAX widely WIN OS compatiable

Miscellaneous Forums/General Discussion/OMG I blitzMAX widely WIN OS compatiable

I have had a report from a member of a yahoo group that my BMAX program doesnt work on his win98 PC, I tried it on a S3 savage ddr card and I dont see the images...

But it works fine on any of my PC's or laptop, I have never experienced the problems that he is describing.

Here is the software in question (590 K)

http://www.gstsoftware.co.nz/Arcadia2001.html


it uses Buffered-DirectX drivers, with so many BMAX users surely any bugs in BMAX would be worked out!

come on guys ,any feedback on this would be fantastic, even a "works fine on my PC" would be great.

Give me some good feedback/facts to throw back at this guy, BMAX's rep is at stack, As far as im concerned Mark Sibley is the real "GOD".

BMAX's rep is at *stake*

Right...

OMG I blitzMAX widely WIN OS compatiable

Anyway, what is your topic title supposed to mean?

the other person states that both B3d and Bmax versions of my program dont work on his PC, he then asks me if BMAX is fully WIN98 compatible,

I was looking for some feedback on my program at the above link, does it "fall over" on anyone else's PC... But why should it, with the large number of BMAX users here there would be some noticable posts if it was that bad.

works fine on my main machine:

XP Pro | Cel2.2 | 1GB RAM | GeForce FX5600

running on the lowest end machine i have:

WinME | Duron 1.2 | 1GB RAM | SIS630

it runs for about 30 seconds and then i get:

"Tunix2001 has caused an error in GLSIS630.DLL. Tunix2001 will now close."

im not sure what the specs on that card are. what card are they running and what is their machine specs? what error are they getting?

neat little program BTW :)

What if it's your program that's the source of the problem, and all this time finding out if it's BlitzMax's fault was wasted?

Anyway, I'm not saying I don't believe you; just pointing something out. I hope you know for sure where the problem lies. May be a reliance on a bit of Windows which only exists very recently or a component which most WinXP users would have installed but Win98 users wouldn't be paying much attention.
(Or, it could be a bug in an official module).
Some more info on your program would be very helpful for us to help you.

Also, Win98 is no longer supported; he should have moved that computer to Linux and given up on playing games with it ages ago! :P

i downloaded "tunix2001" and installed. when i run the program it showed a bunch of different games. so i click on one and it starts that game. at this point the program crashes, just disappears. i tried several times clicking on different games and it always crashes the same way. i don't think this is a Blitzmax bug, as i've played a few Blitzmax games and they haven't done this.

edit: oh yeah, specs: ati radeon ve/win98se/directx 8.1

It runs for me in both XP and 98 (specs in sig). In 98, I played Dr. Slump, Doraemon (I liked the mazes within a maze ^_^), and the tank game for a few minutes each, plus glanced at 3D Soccer and Gundam. No hangs or crashes.

I tried it on a S3 savage ddr card

I've never had quite a happy history with any S3 cards in the last 7 years......

Besides, what's the specs of the Yahoo guy's PC? If both B3d/BMax generated an error, I'm assuming it's a vid-card 3d initialization problem, probably due to an outdated, or underpowered video card.

What the heck is LightningBasic??? Is this a pass through for BMax for people that didn't buy BMax??? You have a compiler as well?

Dodgy...

I've never had quite a happy history with any S3 cards in the last 7 years......

I've never had any problems using 2D software with S3 cards...

"Lightning basic"- isn't what what BlitzBasic is translated to in Babbelfish?

Lightning BASIC is incomplete, its going to be for making Z-80, 6502, (8 bit) code for retro console developers.

I have just found that I had to put a GCcollect command before flip to make the code run ok.

Lightning Basic cannot produce Windows code, nothing to do with BMAX at all.

ok, "tunix2001" works on my machine now.

the sound was a bit loud, and i couldn't find any volume controls to turn it down. also the window was a bit too tall for my 800x600 resolution, i could only see the bottom half of the window icons.

Framework BRL.GLMax2D
Import BRL.D3D7Max2D
Import BRL.Bank
Import BRL.FileSystem
Import BRL.RamStream
Import BRL.BMPLoader
Import BRL.PNGLoader
Import BRL.FreeAudioAudio
Import BRL.Random
Import Pub.FreeJoy
Import BRL.Retro
Import Pub.ZLib

?win32
Extern "win32"
Function GetActiveWindow%()
Function GetDesktopWindow%()
Function GetWindowRect%(hWnd%, lpRect: Byte Ptr)
Function SetWindowPos%(hWnd%, after%, x%, y%, w%, h%,

flags%)
End Extern
?

''--------------------------------------------------------
AppTitle$="Tunix 2001 Build[26.8.06] by Gavin Turner "
''--------------------------------------------------------

Global movie_buffer=CreateBank(16),memory=CreateBank

(65537),pixelarray=CreateBank(8194),UVI_buffer=CreateBank(65)

...
...
...
more Variables here...................
...
...
...

SetGraphicsDriver BufferedD3D7Max2DDriver()
Graphics winx,winy
AutoImageFlags DYNAMICIMAGE

SetBlend SOLIDBLEND
SetScale 1,1
SetColor 255,255,255
B_G=CreateImage(maxx,maxy,1,filter_flag+1)
buttons=LoadAnimImage("incbin::buttons.png",25,21,0,38,0)

GCSetMode(2)

While Not AppTerminate()


... Drawing of pixels is like this.....

'Clear image ready for start of display code
Back_buffer=LockImage(B_G)
For i = 0 To maxx-1
For j = 0 To maxy-1
WritePixel(Back_buffer,i,j,EA_color[bgc])
Next
Next
EndIf
Unlockimage(B_G)


...
... More BASIC code in here
...


GCcollect
flip
Wend
End

MUK -

Is was thinking that putting a slide control for volume next to the speaker icon (mute) would be a good improvement, it would save the volume on exit for next time also.

Try press CONTROL-5 to reduce screen size for 800/600 ; Im not sure how to get the desktop size with BMAX and I dont have MAXGUI so I can not use that.

The above source code is just the important stuff, the real source is over 250 pages long.

yes Ctrl+5 worked. it's now at what looks like 480x480.

to get the desktop isn't it:
GetSystemMetrics%(nIndex%)
where the screen constants are:
0=SM_CXScreen, 1=SM_CYScreen

Sorry I need more, I dont know how to impliment that , I have never used BMAX before.

Thanks for info.

NEVER mind I got it to work, thanks bud that sort of thing is the icing on the cake when comparing B3D to BMAX...

I have found BMAX to be my dream compiler so far, its not as cumbersome as VB and much more powerful than B3D.

The reason for the size is that on my LCD screen its way to small for 1024/768

The changes have been made and I have FTP'd it to my site, I tested it on my laptop and it works fine now.