CEGUI Wrapper

Posted By: chanwit

CEGUI Wrapper - 03/05/06 22:23

I'm not sure that there is any CEGUI wrapper for 3DGS or not, but I've done one.
My DLL wrapper for CEGUI works on the 6.4 engine, and tested with my pro version only.
I won't release the DLL before it's stable, but I have a screenshot for you here.
Posted By: Orange Brat

Re: CEGUI Wrapper - 03/05/06 22:26

I don't remember ever seeing one, but this is a pretty huge contribution. Looking forward to it.
Posted By: Zio

Re: CEGUI Wrapper - 03/05/06 22:49

Gah! This is exactly what I've been needing desperately! If you need help testing (I have Commercial) I'll be more than happy to lend a hand!
Posted By: anfuncy

Re: CEGUI Wrapper - 03/06/06 04:46

Wow~
It looks very cool.
But can it work on the 6.22 engine?
Posted By: Hellcrypt

Re: CEGUI Wrapper - 03/06/06 04:49

Quote:

But can it work on the 6.22 engine?



Greatest Question I have seen all day haha
Posted By: chanwit

Re: CEGUI Wrapper - 03/06/06 09:47

Quote:

Gah! This is exactly what I've been needing desperately! If you need help testing (I have Commercial) I'll be more than happy to lend a hand!




Yep, I think the DLL needs a lot of test for compatibility.
I'll notice you when all important functions are implemented.
Posted By: chanwit

Re: CEGUI Wrapper - 03/06/06 09:58

Quote:

Wow~
It looks very cool.
But can it work on the 6.22 engine?




I use the 6.31 plug-in SDK, the DLL is implemented using DX9 surface for painting GUI.
so I'm not sure that it works properly on 6.22 or not.
JCL may be able to answer this plug-in / engine compatibility .
Posted By: Zio

Re: CEGUI Wrapper - 03/06/06 10:11

Quote:

Quote:

Gah! This is exactly what I've been needing desperately! If you need help testing (I have Commercial) I'll be more than happy to lend a hand!




Yep, I think the DLL needs a lot of test for compatibility.
I'll notice you when all important functions are implemented.




Fantastic! I have so many things that need this sort of plugin right now, I'll test it like crazy. Can't wait to get started!
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 00:43

Hi all,

I've prepared the alpha version of GsGui, you can download it from

http://centillex.com/files/gsgui_20060310a.exe

(If you've installed the previous alpha,
please uninstall it and re-install the above package instead.
it's fixed by adding the missing dll file.)

This distribution comes with a simple example,
just setup and run the example from Start menu.

Anyway, there is no guarantee that it will work on other machine,
sorry about that
It should work with A6.3+ DX9.0c.
I'll be happy to see it run on other version of A6 (such as 6.22).
Please visit www.cegui.org.uk to download CEGUI editor,
if you want to design your own GUI.
Feedbacks are welcome!

Hope you enjoy with this alpha version
Posted By: Zio

Re: CEGUI Wrapper - 03/10/06 01:09

Upon launching the example, it gives the error 'd3dx9d_27.dll not found'. After that, the program opens up but gives a bunch of function-not-found-in-DLL errors.
Posted By: Orange Brat

Re: CEGUI Wrapper - 03/10/06 01:12

I confirm the function not found errors. I didn't get the first one, though. I just installed the Feb. 2006 DX9.0c update, so maybe that has something to do with it.

http://www.microsoft.com/downloads/detai...;DisplayLang=en
Posted By: Zio

Re: CEGUI Wrapper - 03/10/06 01:25

Downloading the Feb 06 version of DX didn't fix the d3dx9d_27.dll error for me. And googling it's filename doesn't yield anything useful either. Hmm.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 01:41

Thanks Zio, and Orange Brat.

Sorry for inconvinience.
CEGUI's compiled with DX9.0c Aug or Oct 2005 (I think).
So it depends on D3DX9_27.DLL, and D3DX9D_27.DLL (debug version).
I've the debug DLL for you, could you please put it into "ex1" directory, and run the example again.

http://centillex.com/files/d3dx9d_27.zip

I'll re-pack the setup ASAP.
Posted By: Zio

Re: CEGUI Wrapper - 03/10/06 01:48

Works flawlessly now

One question comes to mind right away. Can you make windows that can't be moved or resized? I'm guessing you can, but just thought I'd ask.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 02:11

Just put these two lines after line 6 in ex1.layout

<Property Name="SizingEnabled" Value="False" />
<Property Name="DragMovingEnabled" Value="False" />

in fact, setting property can be done programmatically,
and it will be in the next alpha.

BTW, which version of A6 you're using?
Posted By: FeiHongJr

Re: CEGUI Wrapper - 03/10/06 02:24

Yea same prob im gettin here. Not finding dll files.
Posted By: Zio

Re: CEGUI Wrapper - 03/10/06 02:33

Nice. So I could grab the editor and play around even with this example? Sounds good, I'll have to try it.

I'm using whatever the current public beta is, 6.40.2 I believe, Commercial edition.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 02:39

Quote:

Yea same prob im gettin here. Not finding dll files.




you just download and put the following file into "ex1" directory,
and run the example again.

http://centillex.com/files/d3dx9d_27.zip
Posted By: Zio

Re: CEGUI Wrapper - 03/10/06 03:19

That's very cool. This plugin has a serious future. 3DGS desperately needs GUI support like this!
Posted By: Orange Brat

Re: CEGUI Wrapper - 03/10/06 03:26

Quote:

Quote:

Yea same prob im gettin here. Not finding dll files.




you just download and put the following file into "ex1" directory,
and run the example again.

http://centillex.com/files/d3dx9d_27.zip




I tried this and it still gives me the same errors.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 11:17

Quote:


I tried this and it still gives me the same errors.




It seems that CEGUI is not yet compatible with the lastest directx.

could you please provide me some information of the error?
and if exists, the CEGUI.log from the example directory?
Posted By: Orange Brat

Re: CEGUI Wrapper - 03/10/06 20:06

I would, but it's uninstalled. However, I recall it loadedt he level(a cube in the middle of a black space) and then a series of no function found in DLL errors displayed. You had to press OK and then the next one would pop up. I think it finally got to one that repeated over and over again, but I don't recall the specific one. I can't re-download, since the app seems to be unavailable at the moment.
Posted By: ventilator

Re: CEGUI Wrapper - 03/10/06 20:12

could you please just provide a zip instead of an installer? i hate installers.

cegui for a6... very cool! a6's native gui system is quite rigid.

wasn't wrapping the object oriented cegui api to c-script a pain? i also thought about doing a cegui wrapper a while ago but gave up very soon. looked too overwhelming to me (not very experienced with c++/direct3d).
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 20:25

Hi ventilator,

Quote:

could you please just provide a zip instead of an installer? i hate installers.



Yes, sure. I'll prepare a zip for you.

Quote:


cegui for a6... very cool! a6's native gui system is quite rigid.




That's way it's here.

Quote:


wasn't wrapping the object oriented cegui api to c-script a pain? i also thought about doing a cegui wrapper a while ago but gave up very soon. looked too overwhelming to me (not very experienced with c++/direct3d).



Yep, it's quite difficult and painful to wrap all CEGUI APIs,
but I'm on the way.

I'll post the zipped libray here.
Posted By: FRAJO

Re: CEGUI Wrapper - 03/10/06 20:29

Seems to be a very useful plug-in.
Unfortunaltely I started to write a GUI plug-in some monts ago. Very bad, but that doesnt matter.( You can find an alpha version here )

Will I be able to place A6-Panels in front or behind the GUI objects?
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 21:00

Quote:

Seems to be a very useful plug-in.
Unfortunaltely I started to write a GUI plug-in some monts ago. Very bad, but that doesnt matter.( You can find an alpha version here )




Try CEGUI, and you'll love it .

Quote:


Will I be able to place A6-Panels in front or behind the GUI objects?




I didn't try yet. But you can control the GUI rendering
using the ui_draw() function.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 22:58

Here's the zip version of GSGUI alpha.
Please download it from

http://centillex.com/files/gsgui_20060310a.zip
Posted By: ventilator

Re: CEGUI Wrapper - 03/10/06 23:35

thanks for the zip!

i get "ui_... not found in dll" errors. i have copied the files into the correct folder like described in the readme. what could be the reason for this? seems like the plugin dll can't get opened.
Posted By: chanwit

Re: CEGUI Wrapper - 03/10/06 23:49

Did you run example with batch file?
or you're trying to run your own project?

If you ran the demo, could you try running the it with "ex1.bat"?
(just simply double-click)
All DLLs, look-and-feel files are needed to be copied
into the example folder before the example start.
You can check the source of ex1.bat to see how it works.
Posted By: ventilator

Re: CEGUI Wrapper - 03/11/06 00:10

i have tried both, copying manually and using the bat. i think the acknex.log shows that the gsgui.dll doesn't get opened. the plugindir variable seems to be set correctly. i will experiment some more tomorrow...
Posted By: chanwit

Re: CEGUI Wrapper - 03/11/06 00:12

Thank for that .
BTW, could you please tell me which version of A6 you're using?
Posted By: ventilator

Re: CEGUI Wrapper - 03/12/06 01:23

i couldn't get it to work. does the zip version work for anyone? i tried it with 6.40.2 and 6.40.4.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 01:27

May I have your log file?
And could you please tell me which version of DirectX you've installed?
Posted By: Zio

Re: CEGUI Wrapper - 03/12/06 01:37

The zip version works fine for me. Simply unzipped it into a folder and then ran the bat file. :-/
Posted By: ventilator

Re: CEGUI Wrapper - 03/12/06 01:40

Code:
Log of A6 engine 6.40.4 run at Sun Mar 12 02:35:42 2006
Options ex1.wdl -eq -diag
MM mixer opened
CD audio device opened
DSOUND device opened
DI interface opened
Start Window opened
GameStudio © Conitec . Dieburg . San Diego . www.3dgamestudio.com
A6 engine - Pro Edition V6.40.4 - Mar 7 2006
Beta version - NOT FOR DISTRIBUTION
DI Microsoft-PC-Joysticktreiber 4 axes 12 buttons initialized
Mouse found
Joystick found
NVIDIA(R) nForce(TM) Audio opened
NVIDIA GeForce 6600 pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 6600 1ff9 selected
Compiling EX1.WDL - [Esc] to abort.....
Script EX1.WDL compiled
3 objects
D3D_Init Window: 800x600x16
Backbuffer: 800x600 -> Window: 1x800x600x32
Video memory found: 290 MB
Main started
Perform01 started
Display00_Init started
Main loop..
WDL-Loaded:display00.wdl..ok.......ok
1st frame - 296960K..
1st frame - 296960K..
1st frame - 296960K..
Level(ex1.WMB)
NewLevel at 0.279
LevelInit at 0.279
LevelLoad at 0.281...cmap,0 ents,8 verts,lmaps,4 tex,ptls,hull
PhysicsInit at 0.283
Physics restarted
ObjForModel at 0.289...ok
LevelReady at 0.289
1st frame - 296960K... ok
WDL: main - Game 'start' saved.
Malfunction W1523: ui_init not found in DLL
Malfunction W1523: ui_load_scheme not found in DLL
Malfunction W1523: ui_load_font not found in DLL
Malfunction W1523: ui_load_window not found in DLL
Malfunction W1523: ui_add_event not found in DLL
Malfunction W1523: ui_draw not found in DLL
Program aborted
Close level,DLL,objects
Free input,path,funcs,panels,defs,syns,views,strings,vars..ok
Free sounds,bmaps,fonts,hash,defs1,script..ok
Close dx,multimedia,D3D,engine,physics,nexus..ok
A6 engine - Pro Edition V6.40.4 - Mar 7 2006
Close window
Close log

i think i have directx9c installed. looks like the gsgui.dll doesn't get opened at all.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 01:55

as you mentioned, Ventilator
it seems that gsgui.dll cannot be open because of it's dependencies.
If you don't mind, could you run dxdiag.exe, save all information and email it to me?

Zio, could you run dxdiag and send me the information also?
my e-mail is chanwit at gmail dot com.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 03:02

ventilator,

Thank you very much for the file, but I didn't found any clue that caused the problem.

I'll try other configuration, and let you know soon.
May be using Dx8 device will work on most machines .

Thanks again for your time.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 06:07

ventilator,

I have no luck compiling GSGUI with DX8.1.
However, I finally found that it may be because I use debug DLLs.
And some of them may not exist on your machine.

So, I recompiled with release configuration.
These distributions no longer LOCKED, (you guess ).

Grab one you want here:
http://centillex.com/files/gsgui_20060312.exe
http://centillex.com/files/gsgui_20060312.zip
Posted By: Zio

Re: CEGUI Wrapper - 03/12/06 08:09

Still works great for me. Hopefully it will run for V now too.
Posted By: HeelX

Re: CEGUI Wrapper - 03/12/06 09:20

I tried the current and the previous version, but it still dont work for me, too. I did verything you said in your readme.

I had to change the strings from "program files" into "programme", because most german users have another spelling for the main program file directory.. but it didnt changed anything.

Can you please make an simple example without this odd bat file?? Just everything in one directory.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 13:14

Hi Heelx,

Yes, sure.
I'll prepare a simple one for you tonight, may be in a separated package.
Posted By: ventilator

Re: CEGUI Wrapper - 03/12/06 15:52

thanks! works for me now! very cool so far...
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 15:57

Quote:

thanks! works for me now! very cool so far...




Very glad to hear this from you !
Hope you enjoy with it
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 16:10

Quote:

I tried the current and the previous version, but it still dont work for me, too. I did verything you said in your readme.

I had to change the strings from "program files" into "programme", because most german users have another spelling for the main program file directory.. but it didnt changed anything.

Can you please make an simple example without this odd bat file?? Just everything in one directory.




Hi HeelX,
Did you try the newest one (20060312)?
Besides in .bat, you may have to change some of "program files" to "programme" in ex1.wdl too. Since it's worked for Ventilator, it should work for you too. Or you may wait for me to pack a new example for you.

ps. The reason why I made the batch file is that I want to minimize size of distribution files. Next release will contain more examples, so it's better to have no duplicated DLLs in every example's folder.
Posted By: HeelX

Re: CEGUI Wrapper - 03/12/06 16:23

Yes I did so, but I got those errors concerning unfound DLL functions as well.

I'm awaiting the new package, I would love to integrate it!
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 19:59

Hi,

this is a GSGUI demo made with the Pulish command, so it also shows the folder structure for deployment. To run the demo, just unzip and double-click ex1.exe in "ex1.cd" folder. However, it's the same code as in the GSGUI distribution.

It's avialable here:
http://centillex.com/files/ex1.cd.zip

ps. DirectX 9.0c is required.
Posted By: Orange Brat

Re: CEGUI Wrapper - 03/12/06 20:04

The newer one works here.
Posted By: chanwit

Re: CEGUI Wrapper - 03/12/06 20:11

Orange Brat,

Glad to hear that from you.
Posted By: Zio

Re: CEGUI Wrapper - 03/19/06 01:16

How's it coming along?
Posted By: chanwit

Re: CEGUI Wrapper - 03/21/06 21:53

Hi Zio,

APIs for the Window and PushButton classes are being converted.
However, I'm away from my machine to Bonn, Germany now.
After I back to UK (by this weekend), I'll try to finish those APIs ASAP
Posted By: usulthemouse

Re: CEGUI Wrapper - 04/11/06 19:00

Quote:

Upon launching the example, it gives the error 'd3dx9d_27.dll not found'. After that, the program opens up but gives a bunch of function-not-found-in-DLL errors.




Are you getting that from the GUI creator, I did too. But I didn't install
all the dependancies for CEGUI yet. The missing dll's are problably in one of those.

Usul
Posted By: usulthemouse

Re: CEGUI Wrapper - 04/11/06 19:01

Anyway I can get in on the testing of this?
As a programmer I can even help debug.

Thanks
© 2024 lite-C Forums