Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 15:29
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (AndrewAMD, TipmyPip, Quad, Grant, Martin_HH), 4,922 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
level_loading_problems #223240
08/22/08 20:30
08/22/08 20:30
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
Hello!
I have a problem with a level-loading-script. I want the engine to load a level when I activate a button. Everything untill that works, but the problem is, that the level file can not be loaded. Everytime the engine shows the following ERROR message:

Bad format (24 & 32 bit RLE only)

I use this script:

...
function levelload()
{
level_load ("work17.wmp");
wait(22);
camera.pos_x = 10;
camera.pos_y = 20;
camera.pan = 220;
}
...


The other pieces of the script describe only the button. What is my fault? Thanks for following answers!

Last edited by Humbug; 08/22/08 20:32.
Re: level_loading_problems [Re: Humbug] #223241
08/22/08 20:36
08/22/08 20:36
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
You have used an unsupported texture in your level...

Error E1115: Bad format (24 & 32 bit RLE only)

"The bitmap file contains an invalid format. The color depth must be 8 bit or 24 bit on normal textures, and 32 bit on textures with alpha channel."

You need to use a bitmap with the correct bit format.

Re: level_loading_problems [Re: DJBMASTER] #223242
08/22/08 20:41
08/22/08 20:41
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
That's much easier than I thought! Thanks a lot! laugh

Re: level_loading_problems [Re: Humbug] #223304
08/23/08 11:35
08/23/08 11:35
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
Looks like that is not the problem - I created a simple level with only 1 block which has the default texture. But again:

Bad format (24 & 32 bit RLE only)

But I used the default texture! What is going on?

Re: level_loading_problems [Re: Humbug] #223326
08/23/08 14:16
08/23/08 14:16
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
To the best of my knowledge, you should be loading the compiled level,
not the level source data.

Try replacing the line
level_load ("work17.wmp");
with
level_load ("work17.wmb");

Thats the best I can think of...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: level_loading_problems [Re: EvilSOB] #223354
08/23/08 16:17
08/23/08 16:17
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
It finally works! smile I think the best of your knowlegde is right. smile Thanks for your help!


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1