Xors3D Converter

Interesting and useful websites, tools, utilities etc

Xors3D Converter

Postby chi » Mon Oct 19, 2009 11:19 pm

hi guys,

i wrote a little converter for xors3d (blitz3d edition) with following features:

.) convert the .chm (helpfile) to native b3d help files. now you can press f1 over any xors3d function and you´ll get a short description ;)

.) convert the .decls file to get syntax highlighting for all functions.

.) convert blitz3d source to xors3d (xors3d to blitz3d is planned... but not implemented yet)

Download Xors3D Converter (OBSOLETE)

here are some screenies...

Image
Image
Image

howto:
before you can use the source converter you have to generate the xors3d.decls with my tool... so that all functions are available for translation.

start with the decls converter:
.) (optional) click on "regular core" or "hot revision" to open a browserwindow with the selected site... download as you please
.) (optional) tick "create a backup..."
.) select the xors3d.decls
.) select your \blitz3d folder
.) click start (mhmm)

then goto the help converter:
.) download "chm decoder" from the link (freeware)
.) open your xors3d.chm file
.) select downloaded chmdecoder.exe
.) select your \blitz3d folder
.) click start

now you can use the source converter:
.) (once) open converter settings and link to the previously generated xors3d.decls (\blitz3d\userlibs\)
.) select the file you want to convert... or just drag and drop a file
.) select the file to save
.) tick/untick run.bb (opens the generated .bb file with the default ide)
.) start
or
.) tick input clipboard to convert from clipboard
.) or output to convert to clipboard (you can also mix clipboard and files)
.) start

... and don´t forget to restart your ide and refresh the definitions!



please inform me about bugs or if i should add some more source conv. keywords... or whatever :-D

cheers, chi
Last edited by chi on Sat Apr 24, 2010 9:25 am, edited 1 time in total.

chi

 
Posts: 36
Joined: Tue Oct 06, 2009 12:40 am

Re: Xors3D Converter

Postby chi » Tue Oct 20, 2009 12:31 am

it´s time to try the update function... found two bugs :-?
current version is 0.8.0.5

chi

 
Posts: 36
Joined: Tue Oct 06, 2009 12:40 am

Re: Xors3D Converter

Postby .Squid » Thu Oct 22, 2009 7:49 pm

WOW! 8-)
That's awesome!
There are already several converters B3d -> X3d, and this viewtopic.php?f=5&t=160#p770 is one of them.
But, Chi, your application looks very professionally made. And the list of features is very impressive. I loved conversion of .decls file to get syntax highlighting for all functions very much, because we always corrupt our decls such that syntax highlighting doesn't work %-) I believe that from now on we will publish only correct decls.
Well done, thanks!

The only remark. Why did you create the window of converter with WS_EX_TOPMOST style such that it's always on top?
Image
Image
X2 3600+ @1.9GHz | 2GB DDR2 | GF7600GT | XP Pro SP2

.Squid

 
Posts: 275
Joined: Fri Feb 27, 2009 1:31 pm

Re: Xors3D Converter

Postby chi » Thu Oct 22, 2009 8:55 pm

thx, glad you like it 8-) took me some hours, but was a nice practice..

topmost: ... when you use the source converter from clipboard to clipboard
it comes very handy when the window is ontop. but you can also disable
"always on top" under settings / update.

there are a few little bugs within the source converter but i´ll try to
repair them a.s.a.p... most of my convertet scenes are running ok :-D

chi

 
Posts: 36
Joined: Tue Oct 06, 2009 12:40 am

Re: Xors3D Converter

Postby chi » Sat Nov 21, 2009 4:57 pm

there is a bug with chmdecoder.exe and paths with a space symbol in it! ( thanks to tomsvision for the tip)

- > if you can´t decode the help file then copy the Xors3DConv folder to e.g. C:\ or to a folder somewhere else without a space...

i´m busy atm... so the fix may take some time ;)

chi

 
Posts: 36
Joined: Tue Oct 06, 2009 12:40 am


Return to Useful stuff

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 60 minutes)
Most users ever online was 26 on Tue Jan 12, 2010 2:10 pm

Users browsing this forum: No registered users and 1 guest
Copyright © 2009 Afterburner - Free GPL Template. All Rights Reserved.