|
DeleD Community Edition Forums
|
View previous topic :: View next topic |
Author |
Message |
NickJapan Member
Joined: 15 Apr 2005 Posts: 1
|
Posted: Fri Apr 15, 2005 1:57 am Post subject: "Stream read error" when generating lightmaps |
|
|
Hiya - I've been trying out Deled and it looks really nice, but I've got one recurring problem: whenever I try to generate lightmaps I get a "Stream read error", and I then have to close the program. I've managed to track down the fact that this only happens when I'm using a file I've imported (obj, 3ds) which I've made myself - it's fine when I use the prefab ones that came in the download with Deled, even though they're the same format. I'm currently just using Deled lite - what am I doing wrong?
Thanks for your help!
Cheers |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Fri Apr 15, 2005 3:33 pm Post subject: |
|
|
Thanks for reporting this, I don't think I have heared of this problem before!
Could you try, after importing the files, FIRST saving them to a .DMF file somewhere, THEN running the lightmapper? Also, do you have plenty of disk space available? Where are you importing those objects from, a different drive perhaps?
Other then that, I am a bit clueless. I'll try and see if I can reproduce things by importing objects from strange places and playing around with file attributes. |
|
Back to top |
|
|
BorisTSR Member
Joined: 27 Jun 2005 Posts: 11
|
Posted: Mon Jun 27, 2005 3:53 pm Post subject: |
|
|
i am having the same problem. it doesn't matter if i do it just from this file or if i do it from a triangulated version. with or without a light.
i am using DeleD 1.22 LITE and the texture packs you host on this site, thats it.
here is the file in the hopes it can help you track it down
DeleD Map File;
Version 1.1;
BunnyKillTestLevel;00FDFEFF;75;
17;
0;system;System;0;2;0,System\system.bmp,1;1,00FDFEFF,3;
1;Floor02;Floors;0;1;0,Floors\Floor02.bmp,1;
2;Floor04;Floors;0;1;0,Floors\Floor04.bmp,1;
3;Floor10;Floors;0;1;0,Floors\Floor10.bmp,1;
4;Floor11;Floors;0;1;0,Floors\Floor11.bmp,1;
5;Water01;Nature;0;1;0,Nature\Water01.bmp,1;
6;Roof03;Roofs;0;1;0,Roofs\Roof03.bmp,1;
7;Roof04;Roofs;0;1;0,Roofs\Roof04.bmp,1;
8;Wall01;Walls;0;1;0,Walls\Wall01.bmp,1;
9;Wall02;Walls;0;1;0,Walls\Wall02.bmp,1;
10;Wall06;Walls;0;1;0,Walls\Wall06.bmp,1;
11;Wall10;Walls;0;1;0,Walls\Wall10.bmp,1;
12;Wall11;Walls;0;1;0,Walls\Wall11.bmp,1;
13;Wall12;Walls;0;1;0,Walls\Wall12.bmp,1;
14;Wood01;Wood;0;1;0,Wood\Wood01.bmp,1;
15;Wood02;Wood;0;1;0,Wood\Wood02.bmp,1;
16;HighTechFloor01;Floors;0;1;0,HightechFloors\HightechFloor01.bmp,1;
9;
cube0;0;1;-1;1;-1;-1;User info;
8;
128;-64;192;
-704;-64;192;
-704;-64;-320;
128;-64;-320;
128;0;192;
-704;0;192;
-704;0;-320;
128;0;-320;
6;
4;16;0;1;5;4;0.5000;0.2500;-2.7500;0.2500;-2.7500;0.0000;0.5000;0.0000;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;0.0000;0.7500;0.0000;
4;16;2;3;7;6;-2.7500;0.2500;0.5000;0.2500;0.5000;0.0000;-2.7500;0.0000;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;0.0000;-1.2500;0.0000;
4;16;3;2;1;0;0.5000;1.2500;-2.7500;1.2500;-2.7500;-0.7500;0.5000;-0.7500;
4;16;4;5;6;7;0.5000;-0.7500;-2.7500;-0.7500;-2.7500;1.2500;0.5000;1.2500;
cube1;1;1;-1;1;-1;-1;User info;
8;
256;-64;192;
128;-64;192;
128;-64;-320;
256;-64;-320;
256;64;192;
128;64;192;
128;64;-320;
256;64;-320;
6;
4;16;0;1;5;4;1.0000;0.2500;0.5000;0.2500;0.5000;-0.2500;1.0000;-0.2500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-0.2500;0.7500;-0.2500;
4;16;2;3;7;6;0.5000;0.2500;1.0000;0.2500;1.0000;-0.2500;0.5000;-0.2500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-0.2500;-1.2500;-0.2500;
4;16;3;2;1;0;1.0000;1.2500;0.5000;1.2500;0.5000;-0.7500;1.0000;-0.7500;
4;16;4;5;6;7;1.0000;-0.7500;0.5000;-0.7500;0.5000;1.2500;1.0000;1.2500;
cube2;2;1;-1;1;-1;-1;User info;
8;
384;-64;192;
256;-64;192;
256;-64;-320;
384;-64;-320;
384;192;192;
256;192;192;
256;192;-320;
384;192;-320;
6;
4;16;0;1;5;4;1.5000;0.2500;1.0000;0.2500;1.0000;-0.7500;1.5000;-0.7500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-0.7500;0.7500;-0.7500;
4;16;2;3;7;6;1.0000;0.2500;1.5000;0.2500;1.5000;-0.7500;1.0000;-0.7500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-0.7500;-1.2500;-0.7500;
4;16;3;2;1;0;1.5000;1.2500;1.0000;1.2500;1.0000;-0.7500;1.5000;-0.7500;
4;16;4;5;6;7;1.5000;-0.7500;1.0000;-0.7500;1.0000;1.2500;1.5000;1.2500;
cube4;3;1;-1;1;-1;-1;User info;
8;
512;-64;192;
384;-64;192;
384;-64;-320;
512;-64;-320;
512;320;192;
384;320;192;
384;320;-320;
512;320;-320;
6;
4;16;0;1;5;4;2.0000;0.2500;1.5000;0.2500;1.5000;-1.2500;2.0000;-1.2500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-1.2500;0.7500;-1.2500;
4;16;2;3;7;6;1.5000;0.2500;2.0000;0.2500;2.0000;-1.2500;1.5000;-1.2500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-1.2500;-1.2500;-1.2500;
4;16;3;2;1;0;2.0000;1.2500;1.5000;1.2500;1.5000;-0.7500;2.0000;-0.7500;
4;16;4;5;6;7;2.0000;-0.7500;1.5000;-0.7500;1.5000;1.2500;2.0000;1.2500;
cube5;4;1;-1;1;-1;-1;User info;
8;
640;-64;192;
512;-64;192;
512;-64;-320;
640;-64;-320;
640;448;192;
512;448;192;
512;448;-320;
640;448;-320;
6;
4;16;0;1;5;4;2.5000;0.2500;2.0000;0.2500;2.0000;-1.7500;2.5000;-1.7500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-1.7500;0.7500;-1.7500;
4;16;2;3;7;6;2.0000;0.2500;2.5000;0.2500;2.5000;-1.7500;2.0000;-1.7500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-1.7500;-1.2500;-1.7500;
4;16;3;2;1;0;2.5000;1.2500;2.0000;1.2500;2.0000;-0.7500;2.5000;-0.7500;
4;16;4;5;6;7;2.5000;-0.7500;2.0000;-0.7500;2.0000;1.2500;2.5000;1.2500;
cube6;5;1;-1;1;-1;-1;User info;
8;
768;320;192;
640;320;192;
640;320;-320;
768;320;-320;
768;448;192;
640;448;192;
640;448;-320;
768;448;-320;
6;
4;16;0;1;5;4;3.0000;-1.2500;2.5000;-1.2500;2.5000;-1.7500;3.0000;-1.7500;
4;16;1;2;6;5;0.7500;-1.2500;-1.2500;-1.2500;-1.2500;-1.7500;0.7500;-1.7500;
4;16;2;3;7;6;2.5000;-1.2500;3.0000;-1.2500;3.0000;-1.7500;2.5000;-1.7500;
4;16;3;0;4;7;-1.2500;-1.2500;0.7500;-1.2500;0.7500;-1.7500;-1.2500;-1.7500;
4;16;3;2;1;0;3.0000;1.2500;2.5000;1.2500;2.5000;-0.7500;3.0000;-0.7500;
4;16;4;5;6;7;3.0000;-0.7500;2.5000;-0.7500;2.5000;1.2500;3.0000;1.2500;
cube7;6;1;-1;1;-1;-1;User info;
8;
1728;320;192;
768;320;192;
768;320;-320;
1728;320;-320;
1728;448;192;
768;448;192;
768;448;-320;
1728;448;-320;
6;
4;16;0;1;5;4;6.7500;-1.2500;3.0000;-1.2500;3.0000;-1.7500;6.7500;-1.7500;
4;16;1;2;6;5;0.7500;-1.2500;-1.2500;-1.2500;-1.2500;-1.7500;0.7500;-1.7500;
4;16;2;3;7;6;3.0000;-1.2500;6.7500;-1.2500;6.7500;-1.7500;3.0000;-1.7500;
4;16;3;0;4;7;-1.2500;-1.2500;0.7500;-1.2500;0.7500;-1.7500;-1.2500;-1.7500;
4;16;3;2;1;0;6.7500;1.2500;3.0000;1.2500;3.0000;-0.7500;6.7500;-0.7500;
4;16;4;5;6;7;6.7500;-0.7500;3.0000;-0.7500;3.0000;1.2500;6.7500;1.2500;
cube8;7;1;-1;1;-1;-1;User info;
8;
1792;-64;192;
1728;-64;192;
1728;-64;-320;
1792;-64;-320;
1792;448;192;
1728;448;192;
1728;448;-320;
1792;448;-320;
6;
4;16;0;1;5;4;7.0000;0.2500;6.7500;0.2500;6.7500;-1.7500;7.0000;-1.7500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-1.7500;0.7500;-1.7500;
4;16;2;3;7;6;6.7500;0.2500;7.0000;0.2500;7.0000;-1.7500;6.7500;-1.7500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-1.7500;-1.2500;-1.7500;
4;16;3;2;1;0;7.0000;1.2500;6.7500;1.2500;6.7500;-0.7500;7.0000;-0.7500;
4;16;4;5;6;7;7.0000;-0.7500;6.7500;-0.7500;6.7500;1.2500;7.0000;1.2500;
cube9;8;1;-1;1;-1;-1;User info;
8;
1856;-64;192;
1792;-64;192;
1792;-64;-320;
1856;-64;-320;
1856;448;192;
1792;448;192;
1792;448;-320;
1856;448;-320;
6;
4;16;0;1;5;4;7.2500;0.2500;7.0000;0.2500;7.0000;-1.7500;7.2500;-1.7500;
4;16;1;2;6;5;0.7500;0.2500;-1.2500;0.2500;-1.2500;-1.7500;0.7500;-1.7500;
4;16;2;3;7;6;7.0000;0.2500;7.2500;0.2500;7.2500;-1.7500;7.0000;-1.7500;
4;16;3;0;4;7;-1.2500;0.2500;0.7500;0.2500;0.7500;-1.7500;-1.2500;-1.7500;
4;16;3;2;1;0;7.2500;1.2500;7.0000;1.2500;7.0000;-0.7500;7.2500;-0.7500;
4;16;4;5;6;7;7.2500;-0.7500;7.0000;-0.7500;7.0000;1.2500;7.2500;1.2500;
0;
also it's only a simple map atm cos i am working on a map reader, so excuse if it looks crap. |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Mon Jun 27, 2005 4:16 pm Post subject: |
|
|
BorisTSR wrote: |
i am having the same problem. it doesn't matter if i do it just from this file or if i do it from a triangulated version. with or without a light.
i am using DeleD 1.22 LITE and the texture packs you host on this site, thats it.
here is the file in the hopes it can help you track it down
also it's only a simple map atm cos i am working on a map reader, so excuse if it looks crap. |
Hi there Boris, and welcome! I've loaded your file without problems. I noticed the materials refer to BMP files while DeleD comes with JPG files. So I changed that and the level loaded perfectly. Lightmapping also worked without problems.
What exactly is the problem you have? |
|
Back to top |
|
|
BorisTSR Member
Joined: 27 Jun 2005 Posts: 11
|
Posted: Mon Jun 27, 2005 4:22 pm Post subject: |
|
|
yeah the bmps is cos my code doesn;t load jpgs. i didn't even think of that, let me do a quick check.
sorry that was the problem. but i have all the textures converted to bitmaps where the originals are. in the deled folders. so why would that cause the error? |
|
Back to top |
|
|
BorisTSR Member
Joined: 27 Jun 2005 Posts: 11
|
Posted: Mon Jun 27, 2005 4:27 pm Post subject: |
|
|
actually, i vaguely remember something about troubles with bitmaps saved with photoshop. was that this project or another one? because they were saved with photoshop. |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Mon Jun 27, 2005 5:52 pm Post subject: |
|
|
BorisTSR wrote: |
actually, i vaguely remember something about troubles with bitmaps saved with photoshop. was that this project or another one? because they were saved with photoshop. |
Yep, that was this project. It's a weird problem because some people suffer from it while others don't. Might have something to do with the version of Photoshop you're using. Anyway, opening and saving them with Paint should solve that problem. Let me know! |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Mon Jun 27, 2005 7:39 pm Post subject: |
|
|
PLEASE, please, pretty please send some of those erroneous files to paul [...a...t] delgine [...dot...] com. If there is really a problem with DeleD not loading some .BMP files, I'd like to fix it! |
|
Back to top |
|
|
BorisTSR Member
Joined: 27 Jun 2005 Posts: 11
|
Posted: Tue Jun 28, 2005 5:28 am Post subject: |
|
|
email sent.
i find this wierd, if i convert straight from paint, my program can't read it, yet if i modify one pixel in paint, my program can, i have run into this problem before with paint and i can read straight from ps bitmaps. yet your project seems to be the opposite. wierd indeed. |
|
Back to top |
|
|
BorisTSR Member
Joined: 27 Jun 2005 Posts: 11
|
Posted: Tue Jun 28, 2005 5:34 am Post subject: |
|
|
btw, in the email i sent, it appears wood1.bmp works, but wood2 doesn't. if you need more files, just reply and i will send more.
and thanks heaps for the responses guys |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Tue Jun 28, 2005 8:08 pm Post subject: |
|
|
Thanks a heap for the files, wood02.bmp indeed suffered from the 'photoshop bug'. We changed the texture preview code from Delphi's native BMP loading code to our own, and it now works like a charm. This bug will be fixed as of version 1.3 (soon to come). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|