DeleD DMFLoader for Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
supperman

Post by supperman »

sarà, ma a me non funziona :evil:
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi All,

@suppaman
Che significa non funziona?
Cosa fa o non fa? Hai usato un livello di DeleD 1.1?
Hai esportato nella stessa cartella in cui si trova il file .dmf tutte le texture necessarie e le eventuali lightmap? Infine, la modalità del loader è 800x600 a 32 bit. Alcuni computer datati non possono visualizzare correttamente i file con le dx9 (devi avere comunque le 9.0c installate) o le OpenGL.
Per piacere, se vuoi avere maggiore aiuto dammi + informazioni.
Il loader è stato testato su diverse macchine (con XP e windows2000) con diverse configurazioni (tutte con una scheda grafica 3d con almeno 64 MB e directx 9.0c) senza dare problemi.

@Guest
I've using Windows 2000 too on my old notebook and loader won't work in DX9 or OPENGL since I've a not so good graphic card (S3 Savage IX 8MB), in fact the wanted resolution is 800x600 32bit that is not usable with my device.
So I've recompiled DMFLoader.exe for my notebook using a resolution of 640x480 16bit with no problems.
If you want I can upload a small DMFLoader_red.exe for devices with reduced capabilities.

Bye ;) and let me know if you've solved your troubles, or give me more info.
supperman

Post by supperman »

ho messo il file dmf le texture e i file di lighmap(2) nella cartella del progetto
ho aggiunto il tuo codice e i tuoi files cpp e .h, compila perfettamente ma non vedo nulla, solo lo skybox
uso solo opengl
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi All,
@supperman
Potresti inviarmi il tuo progetto compreso le texture e i modelli vari al seguente indirizzo:
info@ilbuzzo.net
così gli do uno sguardo e ti faccio sapere qual'è il problema!
Ciao
:D
Guest

Post by Guest »

Hello;
As Supperman indicated, the files will compile, but
does not work. I have just started looking at the code
and have found that the header is being read, but
however the String str is not appended with the information
from the char array. So the dmfRawFile is not added to
as well. Will post further as I have time to look at code.
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi All,
@Guest
What compiler are you using? and what version of Irrlicht 0.8?
This class was compiled with Dev-cpp 4.9.9.2 (MinGW 3.4.2) and Irrlicht 0.8.
You need some STL libraries too (<deque>,<string>) to let the class work.
I've not tested with microsoft compilers but it's written in standard C++.
Anyway dmfRawFile is an input for GetDMFHeader(dmfRawFile,header), the real output is header. So if you read the header the only trouble could be due to some other things.
As I said to Supperman please send to my e-mail:
info@ilbuzzo.net
the project file (dmf + textures and lightmaps) so I can look into the trouble.
What's the console output when you try to load and the log.txt file?

Bye ;)
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi All,
I've just noticed that in my DMFLoaderSDK package help table of contents was missing. :D It was my fault, now I've included it so you can download:

http://www.ilbuzzo.net/downloads/DMFLoaderSDK.zip

it's just [50KB] now with included DMFLoader.chi so you can navigate the help in a more easy way.

Bye :)
Guest

Post by Guest »

Hi ilbuzzo;
Had some time to spend with the SDK today.
After making some changes for my system, it
works very nicely. Thank you so much for this
wonderful contribution to the community. I have
a link in case you or Supperman or anyone else
would care to see it in action. Be warned it is just
a first "hack" and not trimmed yet.

http://legion.gibbering.net/mankind/DMF.zip
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

hey guys!!

Is it loading lightmaps already?
Guest

Post by Guest »

Forgot to mention that this was for use with
Visual Studio dot Net 2003.
Guest

Post by Guest »

da cosa puo dipendere questo errore? sto impazzendo

[Linker error] undefined reference to `GetOpenFileNameA@4'
Guest

Post by Guest »

Include and library paths would be the first thing to
come to mind. The compiler needs to know where the
Irrlicht files are located.
Guest

Post by Guest »

Anonymous wrote:Include and library paths would be the first thing to
come to mind. The compiler needs to know where the
Irrlicht files are located.
dont need, i just delete "main.o" file
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi Guest,
this error:
[Linker error] undefined reference to `GetOpenFileNameA@4'

is due to the fact you must link to comdlg32.lib library so if you have Dev-Cpp
you must add:
-lcomdlg32
Bye.
:lol:
DMFLoader loads lightmaps.
laforced
Posts: 39
Joined: Tue Feb 01, 2005 5:07 am
Location: South Carolina,USA
Contact:

Post by laforced »

Great work! :)
If you're not making GREAT games
you belong in an institute!
The Game Institute.
www.gameinstitute.com
Post Reply