Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, degenerate_762), 1,309 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Gile[s] to WMB converter #271406
06/12/09 23:20
06/12/09 23:20
Joined: Feb 2009
Posts: 25
Mexico City
DavidOC Offline OP
Newbie
DavidOC  Offline OP
Newbie

Joined: Feb 2009
Posts: 25
Mexico City
This is the firts release of my converter.

This tool is mainly oriented to users of Lite-C (free and full).

Features:

Convert Terrain
Convert Meshes
Convert Lights (only omni directional lights are exported)
Create entities for blocks with transparency
Convert lightmaps (also for terrains)

What's next:

Rotation: It's not correctly applied.
Entities: Add pivots with custom properties to define an entity (ACTION and MDL file)
Terrains: Match the look in gile[s] and Gamestudio
Convert sky texture: I found that you can create an entity with the SKY | CUBE | SHOW flags, so I'll convert the texture (in gile[s] the order is different).
Create a source file with materials to match with gile[s].
Add Help.
Create a complete tutorial.
Create an entity placer in Lite-C.

Possible but not considered right now:

Add other exporters and allow more options in the converter (add terrain from BMP, add entites)


Once completed I'll realease it as shareware, you will be able to use it without time restriction, but textures will have a chess pattern, registering it will remove the pattern and allow to use in commercial projects.

Known issues

I have a problem with terrain lightmaps, I'm following the WMB format but canīt see the lightmap applied to the terrain (I'm using Litec-C free), the trial version expired and canīt check if it only happens in this version (or I'm doing something wrong)

Textures show a strange artifact at close view, it dissapears at far view (have not tested on other machines)

Here is the program: Setup
Here is a sample output and a gile[s] project: Sample

Comments and suggestions are appreciated.

Regards.

Re: Gile[s] to WMB converter [Re: DavidOC] #271410
06/12/09 23:48
06/12/09 23:48
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Hello DavidOC,

these are great news! I really love Gile[s] and it was always a bit messy to get the stuff ported to Gamestudio. Is this a converter for Gile[s] v1 levels or do you support v2 maps, too? I am not into v2, though, I saw videos and images of the editor and sample maps.

Bye,
Christian

Re: Gile[s] to WMB converter [Re: HeelX] #271711
06/14/09 16:17
06/14/09 16:17
Joined: Feb 2009
Posts: 25
Mexico City
DavidOC Offline OP
Newbie
DavidOC  Offline OP
Newbie

Joined: Feb 2009
Posts: 25
Mexico City
Heelx, this is for v2 maps, in fact you need to export it to GLX format (mark the Automatically export lightmaps options).

Regards

Re: Gile[s] to WMB converter [Re: DavidOC] #271716
06/14/09 17:08
06/14/09 17:08
Joined: Apr 2007
Posts: 141
Germany
Timothy Offline
Member
Timothy  Offline
Member

Joined: Apr 2007
Posts: 141
Germany
Thanks for the converter!
But I have some problems with it.
There's always an error:
"Run-time error '429': ActiveX component can't create object"

How can I solve this?

The installer didn't work too, but I could unpack the "Giles2WMB.CAB" with Winrar.

Re: Gile[s] to WMB converter [Re: Timothy] #271909
06/15/09 16:27
06/15/09 16:27
Joined: Feb 2009
Posts: 25
Mexico City
DavidOC Offline OP
Newbie
DavidOC  Offline OP
Newbie

Joined: Feb 2009
Posts: 25
Mexico City
I'll try a better installer for the next release, meanwhile you need to register WMBManager.dll (regsvr32 %PATH%\WMBManager.dll) and make sure these files are in the same folder:

FreeImage.dll
Giles2WMB.exe
Giles.xsl
GSA7Formats.dll
WMBManager.dll

Regards

Re: Gile[s] to WMB converter [Re: DavidOC] #271917
06/15/09 17:04
06/15/09 17:04
Joined: Apr 2007
Posts: 141
Germany
Timothy Offline
Member
Timothy  Offline
Member

Joined: Apr 2007
Posts: 141
Germany
I did everything you told me and there are no errors anymore.
But if I open the *.wmb file, it is a "Bad file format". frown

Re: Gile[s] to WMB converter [Re: Timothy] #271961
06/15/09 19:49
06/15/09 19:49
Joined: Feb 2009
Posts: 25
Mexico City
DavidOC Offline OP
Newbie
DavidOC  Offline OP
Newbie

Joined: Feb 2009
Posts: 25
Mexico City
You tried the map I posted or one you made? What picture format you use (BMP, JPG, etc)?

Anything you can tell me about the scene may help, also the converter log maybe useful.

UPDATE:

I think your using my map, sorry it's missing some textures, I'm uploading a complete one, extract it to C:\Temp\TESTEXPORT.

Ready, you can download it.

Last edited by DavidOC; 06/15/09 20:20.
Re: Gile[s] to WMB converter [Re: DavidOC] #273708
06/24/09 02:35
06/24/09 02:35
Joined: Jun 2009
Posts: 3
New York
L
LIGHTSPIKE Offline
Guest
LIGHTSPIKE  Offline
Guest
L

Joined: Jun 2009
Posts: 3
New York
Hey davidoc im relelatively new to gamestudio and im using the older A6 version for some reason i cant get WED to compile my wmp files to wmb which i can test run will your converter work for this?If not do you have any advice on what I should do? Thanks in advance

Re: Gile[s] to WMB converter [Re: LIGHTSPIKE] #276814
07/06/09 15:40
07/06/09 15:40
Joined: Feb 2009
Posts: 25
Mexico City
DavidOC Offline OP
Newbie
DavidOC  Offline OP
Newbie

Joined: Feb 2009
Posts: 25
Mexico City
Sorry, it doesn't compile WMP files, it converts from giles files only. Giles is a global iluminator, it generates lightmaps for your geometry.


Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | 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