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)

Kiwi27 12-28-2012 06:34 AM

Quote:

Originally Posted by scriptless (Post 1710726)
Windows, Mac or Linux?

running windows

scriptless 12-28-2012 03:42 PM

Does the application run just not open levels? Can you create new levels and save them?

Kiwi27 12-30-2012 07:15 AM

Quote:

Originally Posted by scriptless (Post 1710865)
Does the application run just not open levels? Can you create new levels and save them?

I can't open them, I can't make new ones, and because of that I can't save them.

Tim_Rocks 12-30-2012 07:26 AM

Have you tried turning your screen off and on?

Torankusu 09-04-2013 12:39 AM

Looking for a bit of insight (I believe some of these issues are because I selected a wrong option when installing it). Windows 7 32 bit. Gonstruct 0.2.3

Gonstruct was installed in Graal folder, filenamecache.txt exists.
Error: "Told to use Graal file cache, but can't open FILENAMECACHE.txt"

subsequently, I am also getting this error:
"Could not start editor: boost::filesystem::basic_directory_iterator constructor: Access is denied: "C:\Config.Msi""

I have no issues with the default editor, personally, but was wanting to see what gonsctruct was all about and play with tile layers.

fowlplay4 09-04-2013 12:55 AM

> Access is denied

Right-Click Gonstruct -> Run as Administrator

Torankusu 09-04-2013 01:07 AM

Quote:

Originally Posted by fowlplay4 (Post 1722285)
> Access is denied

Right-Click Gonstruct -> Run as Administrator

Thanks for the quick reply, I had initially tried that, but did not take note of the error.

Now it is: Could not start editor: boost::filesystem::basic_directory_iterator constructor: Access is denied: "C:\Documents and Settings"

Heh....weird.

fowlplay4 09-04-2013 01:42 AM

You could try turning off UAC.

However I just installed using: http://londeroth.org/~fry/gonstruct/...etup-0.2.3.exe

To the default directory under Program Files, specified my Graal folder (C:\Graal) and it worked fine under Windows 8 which by extension means it should be fine for Windows 7 as well.

Torankusu 09-04-2013 02:05 AM

Quote:

Originally Posted by fowlplay4 (Post 1722288)
You could try turning off UAC.

However I just installed using: http://londeroth.org/~fry/gonstruct/...etup-0.2.3.exe

To the default directory under Program Files, specified my Graal folder (C:\Graal) and it worked fine under Windows 8 which by extension means it should be fine for Windows 7 as well.

after uninstalling, and re-installing, I get no option to re-select my graal folder.

Torankusu 09-05-2013 08:36 PM

Got this to work, however, not how I'd like to...

I created a New user (administrator), and downloaded the client, level editor, and gonstruct onto that user.

I installed Gonstruct like normal, and upon initial load a Menu popped up. I chose the graal directory, and now I am able to use Gonstruct, under that specific user only though....

If I can figure out a way to completely remove all gonstruct related files, and install it to where it gave me that menu again, I could use it on my main user account for this PC...

Any suggestions?

fowlplay4 09-05-2013 08:51 PM

Do you have spaces or symbols in your user name?

Torankusu 09-05-2013 09:13 PM

Yes, actually, I use a -

Bradley-Main

Loriel 09-05-2013 10:05 PM

Gonstruct isn't really worth all that effort. We haven't worked on it in a long while. :(

There should be a gonstruct folder under %LOCALAPPDATA%\gonstruct\ that you can delete. (So something like C:\documents and settings\your user name\local settings\application data\gonstruct\, or maybe C:\users\your user name\appdata\local\gonstruct depending on windows version.)

Also you shouldn't need to use an administrator account at all as long as the user that's running gonstruct can also read the graal folder you put in and all its subfolders. It's kind of embarassing that that end of it keeps exploding.

Draenin 09-06-2013 07:14 AM

Quote:

Originally Posted by Loriel (Post 1722348)
Gonstruct isn't really worth all that effort. We haven't worked on it in a long while. :(

Online editors are progressing along nicely at this point too, though, so it's not a total loss.

You have released the source for Gonstruct, though, right? (I've always used the compiled program.)

Loriel 09-06-2013 06:11 PM

Quote:

Originally Posted by Draenin (Post 1722355)
Online editors are progressing along nicely at this point too, though, so it's not a total loss.

You have released the source for Gonstruct, though, right? (I've always used the compiled program.)

Yeah, it's been open source all along. See https://github.com/fry/graal-gonstruct

It's kinda annoying to build though, probably mostly because of the dumb svg icons. :(

lTBSl 06-12-2014 06:31 AM

For me GConstruct is very confusing to install and never works..So I normally just say F this and use the online editor or use my Toshiba, which I don't like because its not as fast and smooth as my Mac....When will a editor be released for mac thats not GCOnstruct?

Torankusu 06-13-2014 08:11 PM

Quote:

Originally Posted by lTBSl (Post 1728034)
For me GConstruct is very confusing to install and never works..So I normally just say F this and use the online editor or use my Toshiba, which I don't like because its not as fast and smooth as my Mac....When will a editor be released for mac thats not GCOnstruct?

to answer your question simply, no.

100% of the levels I make now are with gonstruct.

I only ever touch up existing work with an online level editor, but that is rarely.

Loriel 10-20-2014 03:19 PM

hay guys important news: gonstruct has custom toolbar icons now (if you compile from github) :v

The icons enlarged:
http://i.imgur.com/eh5XbcT.png

The toolbar:
http://i.imgur.com/13eqEeA.png

I guess they look pretty **** but that's what you get when you spend 6+ years not contributing better icons and leave it up to me.

scriptless 10-20-2014 06:34 PM

Is work on gonstruct still being done?? Has anyone managed to get it to compile on mac yet? 10.9.5 or 10.10 preferably. I might have to see what errors I get on my mac when I get home and try it again now that I'm more familiar with mac.

Loriel 10-20-2014 07:44 PM

Quote:

Originally Posted by scriptless (Post 1732166)
Is work on gonstruct still being done?? Has anyone managed to get it to compile on mac yet? 10.9.5 or 10.10 preferably. I might have to see what errors I get on my mac when I get home and try it again now that I'm more familiar with mac.

It's not really being worked on, sorry. I just felt bad about those icons. :)

Someone emailed me the day before yesterday about some error they were getting trying to build it on OS X, which reminded me gonstruct exists. I still don't have an OS X computer so I can't help with that, but apparently they were using some writeup for macports at http://www.graalians.com/forums/showthread.php?t=23585 to try to get it working. Sounds super annoying though.

I'm vaguely interested in getting rid of the ruby dependency, but it's probably not the biggest problem with compatibility and everybody should have as many scripting languages installed as possible ;), so I'm not in a rush there either. The only thing I could think of to make it work better on OS X would be completely rewriting the GUI to use Qt, and I'm enthusiastic about neither completely rewriting the GUI nor learning Qt, and it would probably still be a pain to compile things by hand on OS X for people who aren't used to that.

I think Fry is completely occupied with other things.

scriptless 10-20-2014 08:37 PM

Quote:

Originally Posted by Loriel (Post 1732167)
It's not really being worked on, sorry. I just felt bad about those icons. :)

Someone emailed me the day before yesterday about some error they were getting trying to build it on OS X, which reminded me gonstruct exists. I still don't have an OS X computer so I can't help with that, but apparently they were using some writeup for macports at http://www.graalians.com/forums/showthread.php?t=23585 to try to get it working. Sounds super annoying though.

I'm vaguely interested in getting rid of the ruby dependency, but it's probably not the biggest problem with compatibility and everybody should have as many scripting languages installed as possible ;), so I'm not in a rush there either. The only thing I could think of to make it work better on OS X would be completely rewriting the GUI to use Qt, and I'm enthusiastic about neither completely rewriting the GUI nor learning Qt, and it would probably still be a pain to compile things by hand on OS X for people who aren't used to that.

I think Fry is completely occupied with other things.

Yeah mac ports is a complete... I'll just sensor myself now... but yeah I might look into it a little more in depth. Is it anything you would ever consider looking into if someone donated you a mac? Now that I got a macbook air I don't use my mac mini.. and its just collecting dust. Just a thought.

Loriel 10-20-2014 09:24 PM

Quote:

Originally Posted by scriptless (Post 1732168)
Yeah mac ports is a complete... I'll just sensor myself now... but yeah I might look into it a little more in depth. Is it anything you would ever consider looking into if someone donated you a mac? Now that I got a macbook air I don't use my mac mini.. and its just collecting dust. Just a thought.

I'm not really comfortable accepting donations, sorry.

scriptless 10-20-2014 10:46 PM

Quote:

Originally Posted by Loriel (Post 1732170)
I'm not really comfortable accepting donations, sorry.

Was worth asking. Usually people don't have a problem if they have things shipped to a p.o. box or they give a bogus address and put a hold for pickup at ups. Only other way to offer you osx access is remote pc access but that's not happening. That's not really secure lol

Tim_Rocks 10-20-2014 11:07 PM

Even better idea, set up a remote connection for Loriel. Use OSX without physically having it.

scriptless 10-20-2014 11:55 PM

That's what I said is a security risk to me. Anyone that compromises hi mcould attack me...

Also heres an update... I only got 2 error's and 1 was as simple as changing target from 10.10 to 10.9.

Quote:

/Users/scriptless/Documents/graal-gonstruct/src/level_editor/gtkmarshalers.c:2:10: 'glib-object.h' file not found

Loriel 10-21-2014 10:57 AM

Quote:

Originally Posted by scriptless (Post 1732176)
That's what I said is a security risk to me. Anyone that compromises hi mcould attack me...

Also heres an update... I only got 2 error's and 1 was as simple as changing target from 10.10 to 10.9.
Quote:

/Users/scriptless/Documents/graal-gonstruct/src/level_editor/gtkmarshalers.c:2:10: 'glib-object.h' file not found

I don't know why this happens, but just to spell out what it means: gtkmarshalers.c is supposed to include glib-object.h, which usually lives in /usr/include/glib-2.0/, but it can't find it. Either you don't have glib (including development headers) installed or the build system somehow neglects to figure out where the headers are installed to. I'm surprised it didn't error earlier than that, though.

scriptless 10-21-2014 04:37 PM

Quote:

Originally Posted by Loriel (Post 1732188)
I don't know why this happens, but just to spell out what it means: gtkmarshalers.c is supposed to include glib-object.h, which usually lives in /usr/include/glib-2.0/, but it can't find it. Either you don't have glib (including development headers) installed or the build system somehow neglects to figure out where the headers are installed to. I'm surprised it didn't error earlier than that, though.

I am using xcode. I think I need to include it in my project. But I don't see it installed. I believe I have to go download it however if I comment that line out I get other errors I believe are related to glib .. I need to figure out which library version and all that to download for mac and try again when I get a chance.

Loriel 10-21-2014 05:24 PM

Quote:

Originally Posted by scriptless (Post 1732194)
I am using xcode. I think I need to include it in my project. But I don't see it installed. I believe I have to go download it however if I comment that line out I get other errors I believe are related to glib .. I need to figure out which library version and all that to download for mac and try again when I get a chance.

You're gonna need gtkmm and all of its dependencies, as well as gtkglarea, gtksourceview and boost, as it says in the readme. For the gtk stuff you want versions just under 3.0 because gtkglarea doesn't support gtk3 afaik. It's like a dozen packages, this is the thing that macports (and package managers on linux) automate, I'm not sure if there's a better way on OS X.

scriptless 10-21-2014 05:27 PM

Ok. I've setup gtkmm on my mac mini before. If I do manage to compile I can give instructions for os x. Going to be alot of playing around and adjusting. If you don't mind me asking how come the libraries went all included in the git hub project?

Loriel 10-22-2014 05:58 PM

Quote:

Originally Posted by scriptless (Post 1732198)
Ok. I've setup gtkmm on my mac mini before. If I do manage to compile I can give instructions for os x. Going to be alot of playing around and adjusting. If you don't mind me asking how come the libraries went all included in the git hub project?

The purpose of git is to help track the changes we make to our code. The libraries have their own git repositories (or similar).

Linux desktop applications tend to depend on dozens if not hundred of other packages being installed on the system. Installing the application, all the libraries the application depends on, and the libraries those libraries depend on is usually handled by the operating system on unix (which is what I think macports is trying to implement on OS X). It's not the role of git.

Edit: I believe homebrew is an alternative to macports but I have no experience with that either.

scriptless 10-22-2014 07:10 PM

Yes home brew is and I've been told to use it in the past. I only asked why the libraries went included because other open source projects like torque2d come with all the libraries needed to compile

linkoraclehero 12-22-2014 08:30 PM

I just got here, but I was successfully able to build Gonstruct on 10.10.1 with absolutely NO problems at all. I did a pull request for the readme as you need to install "gtksourceview2", not "gtksourceview", but once that's done, as long as you do everything right, it should compile with 0 errors and 0 warnings.

If you have xquartz and maports installed, you should be able to just run this:

git clone https://github.com/fry/graal-gonstruct.git
sudo port install gtkmm
sudo port install gtksourceview2
sudo port install gtkglarea2
sudo port install boost
sudo port install cmake
cmake .
make
src/level_editor/gonstruct

And about 30 minutes later, you should be done.

Side note, your "Graal Directory" will be ~/Library/Application Support/Graal

linkoraclehero 12-22-2014 08:32 PM

And no, you do not need to install Ruby - it's already installed, and you may not need to install boost as I believe gtk needs it - but it never hurts to run that line. Just ideally do NOT install the ports version of Ruby, use the Apple-provided version or use rvm!

If you're that gunshy, you can try this:
https://drive.google.com/file/d/0B0G...ew?usp=sharing

scriptless 12-23-2014 02:54 AM

I can give this a try and verify if it works or not for other people. I have both a 2014 MacBook Air, and a 2012 Mac Mini. Don't think it should matter tho both are running 10.10.1 as well but I will definitely give this a try.

linkoraclehero 12-23-2014 11:51 AM

I didn't realize it, but it compiles with shared libraries, so the binary does work, but you still need to run through the ports steps (It took 2 minutes to compile - so using the binary is near unnecessary)

I've successfully done this on a Late 2013 21.5' iMac w/ 10.10.1, and a Late 2013 MacBook Pro, also running 10.10.1 (Partially mucked by the Yosemite Beta) - probably the most frictionless compilation I've ever dealt with (I remember back when I used Unix - 300+ warnings was "acceptable" when building even major projects like Firefox)

I do want to look into making some changes to it, but I don't know if I'll ever get around to having time to. A "Reload" button for the tileset would be nice.

Kohola_KinG 01-02-2015 10:26 PM

Could somebody kindly explain how i get the era tileset on gonstruct? So far i am having no luck. Thanks

Tim_Rocks 01-02-2015 11:41 PM

Quote:

Originally Posted by Kohola_KinG (Post 1733673)
Could somebody kindly explain how i get the era tileset on gonstruct? So far i am having no luck. Thanks

I can show you through Remote Desktop later if you'd like.

geneticfrog 01-03-2015 12:16 PM

its a lost cause.

although i did enjoy making maps with it for maloria as youonly needed 1 tile for any terrain.

the layers made it waaaaaaaaaaaay too laggy all you really need a a trans background in editor and also letting tiles some how stack if possible.

anyways layers was the wrong path performance wise.

Kohola_KinG 01-03-2015 06:30 PM

Quote:

Originally Posted by Tim_Rocks (Post 1733675)
I can show you through Remote Desktop later if you'd like.

Only seeing this now. I just spent a lot of hassle getting the default graal one to work. I'll stick with that lol

Thanks though!!

callimuc 01-24-2015 09:50 AM

This error pops up everytime I try to start Gonstruct:
http://i.imgur.com/9RDa588.png

Running it as an admin brings up this error:
http://i.imgur.com/J2wfigc.png


I tried reinstalling it - no luck. Any idea on what I should try to fix it?


All times are GMT +2. The time now is 12:57 PM.

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