Message Board


Message Board > Fenix / Bennu / Gemix / DIV > Problem in Fenix: Graphics not printing to screen??

March 30, 2008, 19:08
Mezzmer
Square-theorist
792 posts

I recently took to getting out my old code and project materical for Hero. Very much thinking about finishing the game before i get too old.

Set up compiler with ConTEXT and Bennu, and adapted the code for Fenix today.

Now the problem is at first run of my editor AND the actual game code is:

NO GRAPHICS PRINT TO SCREEN

I can't believe it. No errors, no exits, no damned stderr, just no graphics. I have text appearing, the problem is the blankish screen with whatever i do.

Can i have some advice please? It must be a common error that I have made to do with Fenix.
____________
#
March 30, 2008, 19:22
Htbaa
Perl
368 posts

Well, what about the program is unable to load the graphics but just continues? This would declare why your text is showing up but the graphics are not.
____________
blog.htbaa.com
#
March 30, 2008, 19:34
Mezzmer
Square-theorist
792 posts

No, the FPG file is linked in just fine now.

Same as ever. No graphics.
____________
#
March 30, 2008, 20:04
Htbaa
Perl
368 posts

Perhaps the graphics are of a unsupported format?
____________
blog.htbaa.com
#
March 30, 2008, 20:23
Mezzmer
Square-theorist
792 posts

I shouldn't think so!

In DIV/Fenix an fpg is an FPG. It's supported.
____________
#
March 30, 2008, 21:13
Htbaa
Perl
368 posts

True but Fenix supports 16bit or 24bit images. Perhaps the format is a bit corrupted.
____________
blog.htbaa.com
#
March 30, 2008, 21:21
Mezzmer
Square-theorist
792 posts

ah, thankyou.

i did not know of this.
____________
#
March 30, 2008, 21:26
Rincewind
programmer
1548 posts

Could be anything square, it's hard for people to guess with so little info. How about you first make a test program that shows a graphic on the screen, then report back whether it works or not and give your code and FPG if it doesn't?


Some ideas:

- Are you sure you aren't constantly running an old .dcb and that the current version is actually compiling?
- Do you have all of Bennu's required modules in your Bennu folder?
- Are you putting all your graphics or using the local variable graph? If you are putting, are you sure you aren't deleting everything constantly or something? If you're using graph, then well, are you sure the process' coordinates are within the screen area? Are you specifying the local variable file in the processes?
- Are you setting the screen to 8 bit colors (or at least leave it at default)?
- Are you loading your FPGs after setting the screen mode?

First try the test program though. Anything could go wrong converting a big game from DIV to Fenix in one step.
____________
Personal website: http://www.loijson.com
#
March 30, 2008, 21:29
Mezzmer
Square-theorist
792 posts

why should i test program?

Htbaa has it right as far as i can tell. 8-bit sprites won't work in regular windowed mode. Maybe i'll just make it full-screen.
____________
#
March 30, 2008, 21:45
Rincewind
programmer
1548 posts

Quote:
8-bit sprites won't work in regular windowed mode. Maybe i'll just make it full-screen.

8 bit sprites work fine in windowed mode. Does the game run when you set it to full screen (and change nothing otherwise)?

Maybe your videocard doesn't support the set resolution in windowed mode (although texts probably wouldn't show either then)? If it's a videocard problem anyway try raising your resolution. If it's a 320x240 game you can make it 640x480 in mode_2xscale.

Quote:
why should i test program?

With that you either nail down the problem or exclude a lot of basic causes.

[Edited on March 30, 2008 by Rincewind]
____________
Personal website: http://www.loijson.com
#
March 30, 2008, 22:35
Mezzmer
Square-theorist
792 posts

Htbaa is saying something different to you Rince, it's confusing. And i don't need to test, the game and it's attributes can be my test.
____________
#
March 30, 2008, 22:41
Htbaa
Perl
368 posts

Well Rince is right. You could write a very small test program to load the FPG's and display them on the screen.
____________
blog.htbaa.com
#
March 30, 2008, 22:42
Mezzmer
Square-theorist
792 posts

why? the FPGs are intact as 8-bit sprites
____________
#
March 30, 2008, 22:55
Rincewind
programmer
1548 posts

Don't be daft square. Do you want help or not?

Quote:
With that you either nail down the problem or exclude a lot of basic causes.

Quote:
Anything could go wrong converting a big game from DIV to Fenix in one step.

____________
Personal website: http://www.loijson.com
#
March 30, 2008, 23:31
Eckolin
Quite Whiskered
388 posts

It is either that or commenting large parts of your code and testing in parts.
____________
Maker of Games...
Wisdom is supreme; therefore get wisdom.
Need help with coding? I probably wrote something similar.
#
March 31, 2008, 00:23
Htbaa
Perl
368 posts

You probaly could've fixed the problem by now already...

You're unsure if the FPG's are OK. So it could be that, or something is messed up with your coordinating system to blit your graphics.
____________
blog.htbaa.com
#
March 31, 2008, 01:28
Mezzmer
Square-theorist
792 posts

The problem is solved.

I previously downloaded 0.92a of Fenix and the latest Bennu (0.93).

Thus it gave some weird results. e.g. NO GRAPHICS

Now I have the 0.93 version of Fenix written over and everything is fine.

Thanks though, people.
____________
#
March 31, 2008, 10:57
Fiona
games are terrible
-9616558 posts

Potentially the SDL dll versions were messed up and you were using incompatible ones with whatever FXIs you were running.

[Edited on March 31, 2008 by Fiona]
____________
laffo
#
March 31, 2008, 12:50
Mezzmer
Square-theorist
792 posts

turn that sentence around and it makes perfect sense. yep, i thought something like that too.
____________
#
March 31, 2008, 13:30
Fiona
games are terrible
-9616558 posts

Hm? No, I'm saying the dlls were possible not correct for the FXI you were using, not the other way round.
____________
laffo
#
March 31, 2008, 23:11
Mezzmer
Square-theorist
792 posts

How about the FXI were not as updated for the DLLs to be confused? Then replacing them made things right again.

STOP SPLITTING HAIRS JESUS

[Edited on March 31, 2008 by Mezzmer]
____________
#

Message Board > Fenix / Bennu / Gemix / DIV > Problem in Fenix: Graphics not printing to screen??

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!