Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Gonstruct Feedback (https://forums.graalonline.com/forums/showthread.php?t=134258190)

Fry 02-27-2010 12:44 AM

Gonstruct Feedback
 
Hey,
so recently we recreated the level rendering in Gonstruct in the hopes of increasing performance and scalability for new features, and I was kind of hoping to get some feedback and testing done in on the current version.
New features are listed in the change log, but generally there's a bunch of layer editing fixes, shading of unselected layers and of course the new level rendering.

Here's a Windows installer which should work.
There's also a Linux binary, but you will most likely have to instruct your packet manager to install "gtksourceviewmm" and "gtkglextmm".

I'm especially interested in any crashes and how to reproduce them, if you find them and any other oddness with the level drawing.
Also, the layer editing controls are obviously pretty terrible right now, so I'm open for suggestions on how to improve them, I've got hotkeys for changing the layer and reordering functionality in mind, but there's probably more.

Also check out the GitHub page if you want, it provides a pretty good platform for bug reports/feature requests, and Dusty has already posted a few suggestions there (ages ago, though).


Bugs we're aware of right now are:
- Flickering when resizing, scrolling or selecting a level
- Screenshot level doesn't work
- Takes all the available CPU time (it's not greedy though and shouldn't slow down other applications)

DustyPorViva 02-27-2010 12:59 AM

Sorry I didn't get back to you on that. Sadly I got an error on the new version:
http://i50.tinypic.com/1zz19na.png

Fry 02-27-2010 01:23 AM

Quote:

Originally Posted by DustyPorViva (Post 1559187)
Sorry I didn't get back to you on that. Sadly I got an error on the new version:
http://i50.tinypic.com/1zz19na.png

Drat, I knew I forgot a DLL. Thanks for the report, fixing it as soon as possible :(

DustyPorViva 02-27-2010 03:07 AM

Okay, running fine so far. Got a crash error on closing it, however:
http://i48.tinypic.com/wvz8dj.png

cyan3 02-27-2010 04:06 AM

Just installing the packages but don't have enough time right now to use it :( but I'll come back to it tomorrow.

Umat 02-27-2010 06:19 AM

Have you compiled it with debugging variables so it's usable in gdb?

WhiteDragon 02-27-2010 06:24 AM

Quote:

Originally Posted by Umat (Post 1559286)
Have you compiled it with debugging variables so it's usable in gdb?

If he didn't, you can.

All you need on Linux is libboost (was libboost-all-dev in Debian repos), and possibly some other stuff. To compile get premake, move the binary into the source root, and then run
PHP Code:

./premake4 embed; ./premake4 gmakesh build.sh 

There might be some more deps you need to resolve, but the compile errors should probably be readable enough to figure out what you need.

Birdo13 02-27-2010 04:58 PM

when I go to use it, no tileset shows up? I have pics1.png and pics1_layers.png in my GRaal/levels/tiles folder. And I have Gonstruct in my Graal/Gonstruct folder. I have the preferences set to the graal folder also. How do I get the pics1_layers tileset to load?

Umat 02-27-2010 05:00 PM

Quote:

Originally Posted by WhiteDragon (Post 1559287)
If he didn't, you can.

All you need on Linux is libboost (was libboost-all-dev in Debian repos), and possibly some other stuff. To compile get premake, move the binary into the source root, and then run
PHP Code:

./premake4 emed; ./premake4 gmakesh build.sh 

There might be some more deps you need to resolve, but the compile errors should probably be readable enough to figure out what you need.

Oh, right. That was a stupid question. :D I know how to use premake I use it for personal projects.

Fry 02-27-2010 05:34 PM

Okay, fixed the Windows installer (same link), thanks for the reports and sorry it took so long (****ty laptop)!

Fry 02-27-2010 05:37 PM

Quote:

Originally Posted by Birdo13 (Post 1559358)
when I go to use it, no tileset shows up? I have pics1.png and pics1_layers.png in my GRaal/levels/tiles folder. And I have Gonstruct in my Graal/Gonstruct folder. I have the preferences set to the graal folder also. How do I get the pics1_layers tileset to load?

Hm, did you add it to the "Tilesets list", marked as a "Main" tileset and open a level? The tileset settings are a bit messy, going to try to come up with a better version of that at some point.

Deas_Voice 02-27-2010 11:08 PM

silly question, but, does it work on 32bit linux now or is it still for 64bit?

Loriel 02-27-2010 11:19 PM

32bit, I did the 64bit linux builds the last time and I did not do anything this time!

WhiteDragon 02-27-2010 11:40 PM

Quote:

Originally Posted by Deas_Voice (Post 1559476)
silly question, but, does it work on 32bit linux now or is it still for 64bit?

This should work for 64-bit: gonstruct-0.2.0-lin-64bit.tar.gz

Deas_Voice 02-28-2010 12:27 AM

NPC Code:
deas@deas-laptop:~/Desktop/gonstruct-0.2.0$ ./gonstruct
./gonstruct: error while loading shared libraries: libboost_filesystem
8.0: cannot open shared object file: No such file or directory



uhh..

can't find "libboost_filesystem 8.0"..
suggestions?


Quote:

Originally Posted by WhiteDragon (Post 1559483)
This should work for 64-bit: gonstruct-0.2.0-lin-64bit.tar.gz

sorry mate, i'm a 32bit-er.

Fry 02-28-2010 01:44 AM

There's a new version uploaded (under the same link as above) that should use much less CPU time and run smoother now!

zephirot 02-28-2010 07:53 PM

1 Attachment(s)
This happen when I scroll the tiles bar.

Tim_Rocks 02-28-2010 11:15 PM

There should be a play button. =P

Loriel 02-28-2010 11:17 PM

Quote:

Originally Posted by Tim_Rocks (Post 1559675)
There should be a play button. =P

Patches welcome

cbk1994 02-28-2010 11:18 PM

Quote:

Originally Posted by Tim_Rocks (Post 1559675)
There should be a play button. =P

If there was one it would require them to make their own GS2 script parser, which would be useless anyway.

Tim_Rocks 02-28-2010 11:21 PM

:(

Deas_Voice 02-28-2010 11:24 PM

Quote:

Originally Posted by Deas_Voice (Post 1559491)
NPC Code:
deas@deas-laptop:~/Desktop/gonstruct-0.2.0$ ./gonstruct
./gonstruct: error while loading shared libraries: libboost_filesystem
8.0: cannot open shared object file: No such file or directory



uhh..

can't find "libboost_filesystem 8.0"..
suggestions?

~bump :\
(using Jaunty, ubuntu)

Loriel 02-28-2010 11:40 PM

Quote:

Originally Posted by Deas_Voice (Post 1559680)
~bump :\
(using Jaunty, ubuntu)

install boost

edit: if you did, try seeing what ldd gonstruct says

oo_jazz_oo 02-28-2010 11:45 PM

When I scroll the tiles sideways, a gray (sometimes black) square comes from the right, and blocks the tiles from being seen.

It seems as if the tile selection image area is leaking into the level...but it doesnt show the actual tiles, just a square that moves left more the more you scroll right. :P

It goes away after rolling over the level, but is still an error. ;P

Deas_Voice 02-28-2010 11:52 PM

Quote:

Originally Posted by Loriel (Post 1559684)
install boost

edit: if you did, try seeing what ldd gonstruct says

there is a lot of versions of "libboost" in package manager..

Loriel 02-28-2010 11:59 PM

Quote:

Originally Posted by Deas_Voice (Post 1559688)
there is a lot of versions of "libboost" in package manager..

try installing gentoo, it just has one version of boost in the package manager

Fry 03-01-2010 12:01 AM

Quote:

Originally Posted by zephirot (Post 1559636)
This happen when I scroll the tiles bar.

Odd, that shouldn't happen :(
Did you reinstall gonstruct recently (last few hours)? What's the CPU usage in the task manager when you have a level open?

Fry 03-01-2010 12:02 AM

Quote:

Originally Posted by Deas_Voice (Post 1559688)
there is a lot of versions of "libboost" in package manager..

Something along the lines of "libboost-all" should be enugh, pick one with the funny Ubuntu logo next to it I guess.

Fry 03-01-2010 12:58 AM

Can't edit the opening post, but Linux/Windows/Mac versions of 0.2.0 are available on the Gonstruct page. These should (hopefully) work for most people now. Check the changelog for details, the rest of the bugs are going to be fixed in the next version, hopefully.
Thanks a lot for the feedback so far!

Loriel 03-01-2010 01:02 AM

Quote:

Originally Posted by Fry (Post 1559709)
the Gonstruct page.

this is a v. good page

Deas_Voice 03-01-2010 02:15 AM

Quote:

Originally Posted by Loriel (Post 1559690)
try installing gentoo, it just has one version of boost in the package manager

~didn't make a difference.

Quote:

Originally Posted by Loriel (Post 1559684)
if you did, try seeing what ldd gonstruct says

HTML Code:

deas@deas-laptop:~/Desktop/gonstruct-0.2.0$ ldd ./gonstruct
./gonstruct: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./gonstruct)
        linux-gate.so.1 =>  (0xb8053000)
        libgtksourceview-2.0.so.0 => /usr/lib/libgtksourceview-2.0.so.0 (0xb7fff000)
        libgtkglextmm-x11-1.2.so.0 => /usr/lib/libgtkglextmm-x11-1.2.so.0 (0xb7ff8000)
        libgdkglextmm-x11-1.2.so.0 => /usr/lib/libgdkglextmm-x11-1.2.so.0 (0xb7fe4000)
        libgtkglext-x11-1.0.so.0 => /usr/lib/libgtkglext-x11-1.0.so.0 (0xb7fe0000)
        libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0xb7ca9000)
        libgdkglext-x11-1.0.so.0 => /usr/lib/libgdkglext-x11-1.0.so.0 (0xb7c5e000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7bec000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7b31000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7b1b000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7ac8000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7abf000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7aa7000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0xb7a9a000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb79aa000)
        libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0xb7965000)
        libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb791d000)
        libgiomm-2.4.so.1 => /usr/lib/libgiomm-2.4.so.1 (0xb78af000)
        libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0xb7882000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb74d0000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7479000)
        libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0xb745e000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7457000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb73ca000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb73ae000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7385000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb736b000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb735f000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb72f1000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7276000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7233000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb71bc000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb718f000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7151000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb714b000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7093000)
        libboost_filesystem-mt.so.1.38.0 => not found
        libboost_system-mt.so.1.38.0 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6fa4000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6f7d000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6f6e000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6e0b000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6df2000)
        libz.so.1 => /lib/libz.so.1 (0xb6ddc000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6ca0000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb5d87000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb5d85000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb5d75000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb5d71000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb5d6b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5d51000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5d47000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb5d44000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb5d3a000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb5d31000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb5d28000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb5d24000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb5d21000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb5d1c000)
        libpcre.so.3 => /lib/libpcre.so.3 (0xb5ce9000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xb5ccf000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb5c8c000)
        libdirectfb-1.0.so.0 => /usr/lib/libdirectfb-1.0.so.0 (0xb5c26000)
        libfusion-1.0.so.0 => /usr/lib/libfusion-1.0.so.0 (0xb5c1d000)
        libdirect-1.0.so.0 => /usr/lib/libdirect-1.0.so.0 (0xb5c07000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb5be1000)
        libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb5bdc000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb5bd4000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5bad000)
        /lib/ld-linux.so.2 (0xb8054000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb5ba8000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5ba3000)

Quote:

Originally Posted by Fry (Post 1559693)
Something along the lines of "libboost-all" should be enugh, pick one with the funny Ubuntu logo next to it I guess.

i would if i could find something like that.
:(

zephirot 03-01-2010 02:25 AM

Quote:

Originally Posted by Fry (Post 1559692)
Odd, that shouldn't happen :(
Did you reinstall gonstruct recently (last few hours)? What's the CPU usage in the task manager when you have a level open?

It's the first time I installed it on this machine something like 4-5 hours ago, and the CPU usage is totally normal.

Fry 03-01-2010 11:16 AM

Quote:

Originally Posted by zephirot (Post 1559753)
It's the first time I installed it on this machine something like 4-5 hours ago, and the CPU usage is totally normal.

Hm, I had a problem where all OpenGL applications didn't work. If you want, you can try updating your display drivers, but it probably isn't what causes it for you :( Not sure really.

zephirot 03-01-2010 02:32 PM

They are up to date :(.

Loriel 03-01-2010 03:07 PM

Quote:

Originally Posted by Deas_Voice (Post 1559751)
NPC Code:
deas@deas-laptop:~/Desktop/gonstruct-0.2.0$ ldd ./gonstruct
[...]
libboost_filesystem-mt.so.1.38.0 => not found
libboost_system-mt.so.1.38.0 => not found


Can you see whether the package libboost1.38-dev is installed? If yes, maybe they are using another naming scheme and you can try creating symlinks /usr/lib/libboost_filesystem-mt.so.1.38.0 and ...-system-... to whatever name they use. If no, maybe you can just try creating those symlinks and have them point to whatever other version of those libraries you have installed.

They really need to come up with a way to distribute binaries across distributions without making me learn how to use that distribution :(

Draenin 03-01-2010 03:42 PM

Any chance of gmap and terrain map support? Editing gmaps in their entirety is something Gonstruct seems to lack right now.

Deas_Voice 03-01-2010 03:50 PM

Quote:

Originally Posted by Loriel (Post 1559902)
Can you see whether the package libboost1.38-dev is installed?

couldn't find 1.38, just 1.37, but i'll try that one.
Edit; did not work.. there's no 1.38 in the package manager..

Quote:

Originally Posted by Loriel (Post 1559902)
If yes, maybe they are using another naming scheme and you can try creating symlinks /usr/lib/libboost_filesystem-mt.so.1.38.0 and ...-system-... to whatever name they use. If no, maybe you can just try creating those symlinks and have them point to whatever other version of those libraries you have installed.

~negative, the package doesnt even exist.

Quote:

Originally Posted by Loriel (Post 1559902)
They really need to come up with a way to distribute binaries across distributions without making me learn how to use that distribution :(

Agreed. >_<

Loriel 03-01-2010 04:11 PM

Quote:

Originally Posted by Deas_Voice (Post 1559914)
couldn't find 1.38, just 1.37, but i'll try that one.
Edit; did not work.. there's no 1.38 in the package manager..

There is in girlfriend's netbook's ubuntu, maybe you need to upgrade. :( (Edit: Ubuntu 9.10)

Gentoo is apparently up to 1.41, so we are not entirely bleeding edge here.

Loriel 03-01-2010 04:11 PM

Quote:

Originally Posted by Draenin (Post 1559913)
Any chance of gmap and terrain map support? Editing gmaps in their entirety is something Gonstruct seems to lack right now.

There is a chance, but do not count on it or anything. If someone wants to contribute work in that direction, we would be more than happy to accept it and possibly assist.

Draenin 03-01-2010 05:05 PM

Quote:

Originally Posted by Loriel (Post 1559918)
There is a chance, but do not count on it or anything. If someone wants to contribute work in that direction, we would be more than happy to accept it and possibly assist.

Well, if it helps at all, you can open up a terrain map with notepad and see all the level details, including the z-heights of vertices on terrain maps. And from what I understand, normal .nw levels are patchworked into a gmap through use of specialized links. I'm pretty sure that's viewable through notepad too. Such information might be useful if that kind of feature were to be implemented.


All times are GMT +2. The time now is 05:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.