Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / "print" not working in patch 4

Author
Message
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 24th Mar 2003 20:21
For some reason, I'm getting garbled text, sometimes, when I try to use the print command with patch 4. What magic do I have to use to get this to work like it did in patch 3 (all the time)? Anyone else seen this?

Thanks!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 24th Mar 2003 21:06
The TEXT command seems to suffer from the same problem.

Just for a goof, I rebooted... but still see the problem. The system is a laptop with a GeForce2Go 16MB, WinME, P3-850, 384MB RAM.

The problem doesn't seem to occur for something simple "Hello World!" style program that makes a couple 3D boxes and displays some text. But for my Retro entry, the text is garbled. However, I didn't have any garbled text with patch 3 on the same system.

Also, I don't seem to have the garbled text on my Radeon system for the same program.

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Mar 2003 22:29
Had no problems with the text command, as long you dont forget to VSYNC
Print works until you start using 3D graphics (loading etc).

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 00:16
VSYNC?

What do you mean until you start using 3D graphics? I used text/print in 3D with patch 3...?

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Mar 2003 00:19
I found that print stops working when you do a load object, make object etc.
VYSNC=SYNC command

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 00:23
Hmmm... I can't reproduce it with just some simple load object/make object commands. It still works in a small program that makes 10 boxes, textures them, make a matrix, textures it, and loads two .X objects and positions them... but still can't get it to work in my Retro game which has 10 loaded objects, 6 boxes (4 textured and texture scaled, 2 simple colored ones). There must be something else that's causing it for me... I'm still trying to isolate it...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 07:15
Well, I didn't figure out what's causing it exactly, but it's got something to do with the backdrop. If I did "backdrop off:sync" at the beginning of my Retro game, I could see my debug prints for a split second, and then it became garbled. I played around with turning on the backdrop and it behaved about the same... first frame or to of good text, then garbage characters. By garbled, I mean it's almost like it's drawing with random bits instead of character bitmaps.

So, I added a big box around the scene and colored it black... still didn't help.

Then I realized, I need to turn this sucker inside out to see the faces... changed the command to "MAKE OBJECT BOX 999, 3000,-1000,3000"... still NO DICE!

Then I made a quick black texture in Photoshop, added "TEXTURE OBJECT" and BOOM! The text works like a charm now!

So, what the heck is going wrong here? Is this an artifact of the whizzy, new 3D engine? Very aggravating... but what is a 3D world without some kind of "sky" right?

It's weird, because it's almost as if they're now using some different DX API call or feature to draw the text on the 3D display than they did in patch 3... and on my GeForce2Go... the driver must just not be up to it. Of course, Toshiba last released a GF2Go driver on 6/16/2001... gotta love nVidia!

My buddy's Dell with the ATI Mobility Radeon 9000 has pretty current drivers relative to the ones you can get from ATI for the *cards* (and not the embedded chips). Go Dell! Go ATI! nVidia sucks dish water...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 08:20
Hmmmmm... very interesting... when I add the following command to alter the big sky box's texturing:

SET OBJECT TEXTURE 999, 0, N

I get garbled text. If is use "999, 1, N" or "999, 2, N" it's fine. I don't think mode 0 texturing is exactly fixed yet...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 08:25
What happened to the F9 screenshot feature - lost in DBPro? Grrrrr... you guys gotta see this.

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Mar 2003 10:17
Use PRINT SCREEN...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 19:00
It doesn't seem to work for me...??? What's the trick?

Is there another way?

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Mar 2003 20:38
PRINT SCREEN not working ? You could try ALT/PRINT SCREEN or SHIFT/PRINT SCREEN...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 21:00
Nada. No workie.

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 21:01
I wouldn't really expect it to work since DBPro is probably intercepting all keystrokes...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 25th Mar 2003 21:03
I take that back, at least some of the keys get through, like ALT-TAB, etc.

MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Mar 2003 21:29
Perhaps its the curse of ATI again ???

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 26th Mar 2003 00:16
Nope... the text corruption happens on my WhooHoooLookItsSoGreat nVidia GF2Go... that's where I'm trying to get a screen dump...

heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 26th Mar 2003 05:41
Sometimes if you hit the Print Screen key 10 times it works.
Sometimes it doesn't.

The more you see, the more you know.
The more you know, the more you see.
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 27th Mar 2003 00:32
Still can't get it to work.

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 27th Mar 2003 00:33
Is there a DBPro command to do a screen dump to a file? I haven't been able to find one...

Kensupen
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location: United States
Posted: 27th Mar 2003 09:21
If you are using Windows and in Desktop fullscreen or windowed mode....

Press CTRL+PrtScn
Open Paint (Pbrush.exe)
Paste the image.

This is how I make screenshots for my stuff in DBPro

-Kensupen
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 28th Mar 2003 06:16
Doesn't work for me... WinME, nVidia GF2Go 16MB, DBPro patch 4

Login to post a reply

Server time is: 2026-07-11 09:48:46
Your offset time is: 2026-07-11 09:48:46