Graal Forums

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

Devil_Lord2 03-04-2012 10:20 PM

When are they going to make an offline editor .dmg file?
Or is it not possible?

I've tried to do gonconstruct in the past, and it is too tedious for me to do
or want to try again doing.. I'm not going to argue about it.

Will a .dmg file ever happen?

fowlplay4 03-04-2012 10:58 PM

They're not going to make an official editor for Mac specifically.

The direction (and has been since V5/6) to create scripted tools (GraalEditor and GraalShop) have the entire work-flow inside the client.

Best bet for Mac users is to install Parallels or VMWare Fusion and run a Windows VM for these tools.

cbk1994 03-04-2012 11:34 PM

The latest VMware Fusion runs Graal at 20 FPS @1920x1080 on win7 on my machine. It should be able to handle the Graal editor fine.

Devil_Lord2 03-04-2012 11:36 PM

Oh.. well that is upsetting.. I guess I just have to hope I continue to have some sort of access to an online server and level editor.. Best thing ever made since the client.. just need to make it able to predefine their own things, saving them. "Or even organizing the type0 within the editor which I personally would LOVE to figure out how to do."

I've heard there is an npc editor that works online too, but I just edit things via level and gani textfiles..

Anyway, thank you!

http://img.photobucket.com/albums/v2...3/38f4445d.jpg

Jobistekos 03-07-2012 01:10 AM

<mac name here>:~ <user>$ sudo port install gonstruct
---> Computing dependencies for gonstruct
---> Fetching archive for gonstruct
---> Attempting to fetch gonstruct-0.2.3_0+universal.darwin_9.i386-ppc.tgz from http://packages.macports.org/gonstruct
---> Fetching gonstruct
---> Verifying checksum(s) for gonstruct
---> Extracting gonstruct
---> Configuring gonstruct
---> Building gonstruct
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gonstruct is at: /opt/local/var/macports/logs/_Users_<user>_ports_games_gonstruct/gonstruct/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

After successfully downloading all the dependancies, it went to compile gonstruct and came to this error. Not to sure what happened here.. once again, help?

fowlplay4 03-07-2012 02:01 AM

Post this '/opt/local/var/macports/logs/_Users_<user>_ports_games_gonstruct/gonstruct/main.log' file.

Jobistekos 03-07-2012 02:57 AM

1 Attachment(s)
Here you go.

If you manage to figure it out, thank you in advance.

Ekflight 03-08-2012 09:06 PM

My problem is that I can't edit the sources.conf file...
It says I don't have the rights to edit it.
Even after I set the properties of the file to allow the Administrator to set the file's content, it still doesn't allow me... If someone knows how to fix it

Ps: I was logged the whole time on my admin account so that's why I don't see how to fix it...

Deas_Voice 03-08-2012 09:14 PM

Quote:

Originally Posted by Ekflight (Post 1687411)
My problem is that I can't edit the sources.conf file...
It says I don't have the rights to edit it.
Even after I set the properties of the file to allow the Administrator to set the file's content, it still doesn't allow me... If someone knows how to fix it

Ps: I was logged the whole time on my admin account so that's why I don't see how to fix it...

did you try open it with sudo in terminal?

Jobistekos 03-09-2012 03:36 AM

Quote:

Originally Posted by Ekflight (Post 1687411)
My problem is that I can't edit the sources.conf file...
It says I don't have the rights to edit it.
Even after I set the properties of the file to allow the Administrator to set the file's content, it still doesn't allow me... If someone knows how to fix it

Ps: I was logged the whole time on my admin account so that's why I don't see how to fix it...

I had that problem too at the start, but figured it out. Go to your 'opt' folder, and left click it. Choose 'Get Info' when the little window pops up, go to the bottom where there is a lock, it probably shows that it's locked. Click that, (it will unlock it). Now where you see I believe, 'System', 'Admin', and 'Everyone', and changed them all to 'Read & Write'. If you're on the admin account you should only have to change the 'System' one, I think. Do the same on the sources.conf, and it should work. If not, repeat those steps on all of the folders that sources.conf is in. It should work, so try to edit it again.

It worked for me, so I guess it'll work for you.

Astram 01-04-2013 04:53 AM

Quote:

Originally Posted by Jobistekos (Post 1687484)
I had that problem too at the start, but figured it out. Go to your 'opt' folder, and left click it. Choose 'Get Info' when the little window pops up, go to the bottom where there is a lock, it probably shows that it's locked. Click that, (it will unlock it). Now where you see I believe, 'System', 'Admin', and 'Everyone', and changed them all to 'Read & Write'. If you're on the admin account you should only have to change the 'System' one, I think. Do the same on the sources.conf, and it should work. If not, repeat those steps on all of the folders that sources.conf is in. It should work, so try to edit it again.

It worked for me, so I guess it'll work for you.

This doesn't appear to work for me and I'm dying for editor on mac right now. I added every account possible.

scriptless 02-22-2013 04:11 PM

Okay, new to mac. Need some help understanding problem.

PHP Code:

Matthews-Mac-mini:ports scriptlesssudo port install gonstruct
--->  Computing dependencies for gonstruct
--->  Fetching distfiles for gonstruct
Error
org.macports.fetch for port gonstruct returnedGit clone failed
Please see the log file 
for port gonstruct for details:
    /
opt/local/var/macports/logs/_Users_scriptless_ports_games_gonstruct/gonstruct/main.log
To report a bug
follow the instructions in the guide:
    
http://guide.macports.org/#project.tickets
ErrorProcessing of port gonstruct failed 


cbk1994 02-23-2013 12:53 AM

What does the log file it mentioned say? (`cat /opt/local/var/macports/logs/_Users_scriptless_ports_games_gonstruct/gonstruct/main.log`) in Terminal.

scriptless 02-23-2013 04:41 PM

1 Attachment(s)
Quote:

Originally Posted by cbk1994 (Post 1714130)
What does the log file it mentioned say? (`cat /opt/local/var/macports/logs/_Users_scriptless_ports_games_gonstruct/gonstruct/main.log`) in Terminal.

It's long, I don't know of it just adds to the log or ever clears it tho..

See attachment.

cbk1994 02-23-2013 05:49 PM

Quote:

Originally Posted by scriptless (Post 1714148)
It's long, I don't know of it just adds to the log or ever clears it tho..

See attachment.

Quote:

:debug:fetch Executing: /usr/bin/git clone -q git://github.com/Decorum/graal-gonstruct.git /opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2 2>&1
:info:fetch fatal: remote error:
:info:fetch Repository not found.
Here's the problem. Looks like the Github repo for the patched version of Gonstruct no longer exists.

In theory you could try using https://github.com/fry/graal-gonstruct.git instead but I think nano_p2p made changes to get it to run on OS X which were never merged into Fry's repo.

Deas_Voice 02-24-2013 10:27 PM

why not slap a binary out to mac users, it's not like there's a whole range of computers or OS's for them to take notice of :O

never understood the whole point of MacPorts.

scriptless 03-01-2013 02:13 PM

Quote:

Originally Posted by cbk1994 (Post 1714157)
Here's the problem. Looks like the Github repo for the patched version of Gonstruct no longer exists.

In theory you could try using https://github.com/fry/graal-gonstruct.git instead but I think nano_p2p made changes to get it to run on OS X which were never merged into Fry's repo.

So I am pretty much out of luck for editor? What OS was gonstruct originally designed for? There are few things I don't know how to do, or I would try and make my own level editor, such as flood fill.. or even try further to get gonstruct working but I am sure the code is a little more advanced for me to handle right now.

Fry 03-01-2013 06:54 PM

Quote:

Originally Posted by cbk1994 (Post 1714157)
Here's the problem. Looks like the Github repo for the patched version of Gonstruct no longer exists.

In theory you could try using https://github.com/fry/graal-gonstruct.git instead but I think nano_p2p made changes to get it to run on OS X which were never merged into Fry's repo.

When he made the changes he submitted a pull request to me, I am reasonably sure that I merged it. That means the repository you linked should work if you edit the MacPorts file, however I haven't compiled it for Mac in ages, so not sure.

scriptless 03-03-2013 02:17 PM

Quote:

Originally Posted by Fry (Post 1714492)
When he made the changes he submitted a pull request to me, I am reasonably sure that I merged it. That means the repository you linked should work if you edit the MacPorts file, however I haven't compiled it for Mac in ages, so not sure.

Okay so which file is the macports file and what am I editing tho?

cbk1994 03-03-2013 07:20 PM

Quote:

Originally Posted by scriptless (Post 1714621)
Okay so which file is the macports file and what am I editing tho?

My guess would be to modify ports/games/gonstruct/Portfile in OP's attachment.

scriptless 03-04-2013 10:58 PM

1 Attachment(s)
Quote:

Originally Posted by cbk1994 (Post 1714633)
My guess would be to modify ports/games/gonstruct/Portfile in OP's attachment.

But what am I changing, I'm confused a little lol.

I opened the "/Users/Scriptless/Ports/portfile" and changed the url to Fry's. Still get an error tho.

PHP Code:

Last loginSun Mar  3 13:28:37 on console
Matthews
-Mac-mini:~ scriptlesssudo port install gonstruct
Password
:
Portfile changed since last builddiscarding previous state.
--->  
Computing dependencies for gonstruct
--->  Fetching archive for gonstruct
--->  Attempting to fetch gonstruct-0.2.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/gonstruct
--->  Attempting to fetch gonstruct-0.2.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gonstruct
--->  Attempting to fetch gonstruct-0.2.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gonstruct
--->  Fetching distfiles for gonstruct
--->  Verifying checksum(s) for gonstruct
--->  Extracting gonstruct
--->  Configuring gonstruct
--->  Building gonstruct
Error
org.macports.build for port gonstruct returnedcommand execution failed
Please see the log file 
for port gonstruct for details:
    /
opt/local/var/macports/logs/_Users_scriptless_ports_games_gonstruct/gonstruct/main.log
To report a bug
follow the instructions in the guide:
    
http://guide.macports.org/#project.tickets
ErrorProcessing of port gonstruct failed
Matthews
-Mac-mini:~ scriptless


cbk1994 03-05-2013 09:09 AM

Looks like it's checking out the sources fine, but then failing to build.

Quote:

:info:build /opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2/src/level_editor/filesystem.cpp:35:14: error: no viable overloaded operator[] for type 'cache_type' (aka 'map<std::string, boost::filesystem::path>')
:info:build m_cache[path.leaf()] = path;
:info:build ~~~~~~~^~~~~~~~~~~~
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:342:7: note: candidate function not viable: no known conversion from 'boost::filesystem::path' to 'const key_type' (aka 'const std::basic_string<char>') for 1st argument
:info:build operator[](const key_type& __k)
:info:build ^
:info:build /opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2/src/level_editor/filesystem.cpp:93:14: error: no viable overloaded operator[] for type 'cache_type' (aka 'map<std::string, boost::filesystem::path>')
:info:build m_cache[file.leaf()] = graal_dir / file;
:info:build ~~~~~~~^~~~~~~~~~~~
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:342:7: note: candidate function not viable: no known conversion from 'boost::filesystem::path' to 'const key_type' (aka 'const std::basic_string<char>') for 1st argument
:info:build operator[](const key_type& __k)
:info:build ^
:info:build 2 errors generated.
:info:build make[2]: *** [src/level_editor/CMakeFiles/gonstruct.dir/filesystem.cpp.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2'
:info:build make[1]: *** [src/level_editor/CMakeFiles/gonstruct.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2'
:info:build Command failed: cd "/opt/local/var/macports/build/_Users_scriptless_ports_games_gonstruct/gonstruct/work/gonstruct-0.2.2" && /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build org.macports.build for port gonstruct returned: command execution failed
:debug:build Error code: CHILDSTATUS 1800 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for gonstruct: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port gonstruct for details:
/opt/local/var/macports/logs/_Users_scriptless_ports_games_gonstruct/gonstruct/main.log

scriptless 03-05-2013 02:29 PM

Quote:

Originally Posted by cbk1994 (Post 1714701)
Looks like it's checking out the sources fine, but then failing to build.

Yeah, but what would cause that? I feel like I am so close, yet so far.

dylan 03-06-2013 03:30 AM

It's something to do with your boost. Try reinstalling boost to fix?

scriptless 04-14-2013 06:18 PM

Quote:

Originally Posted by dylan (Post 1714723)
It's something to do with your boost. Try reinstalling boost to fix?

didn't help

Loriel 04-15-2013 11:11 AM

Try replacing .leaf() with .filename().string() but no guarantees.

Loriel 04-15-2013 11:33 AM

Actually that's what it says since 2011. Do we need to post tarballs, how does this work

Loriel 04-15-2013 11:40 AM

Ah, the portfile is anchoring the build to a specific commit id (20d3b7c2196f0c7c6832983d5be3a901ed810933) which is from 2010. I dunno what the plan here is for macports, you can put in c3721651b52a64a9b8a4797c3f8deb7978394d73 for something more recent, but I guess you'd want to change the "0.2.2" in the version field to some random higher number.

scriptless 04-15-2013 01:02 PM

Quote:

Originally Posted by Loriel (Post 1716269)
Ah, the portfile is anchoring the build to a specific commit id (20d3b7c2196f0c7c6832983d5be3a901ed810933) which is from 2010. I dunno what the plan here is for macports, you can put in c3721651b52a64a9b8a4797c3f8deb7978394d73 for something more recent, but I guess you'd want to change the "0.2.2" in the version field to some random higher number.

Really no reason to tripple post :o... however I don't care if it's mac ports at all.. I just need gonstruct, to work, on mac os x mountain lion.. =/ how it gets to a working condition is all irrelevant =/

Sadly im not an expert with mac's so some of what you said went over my head. But what I did undersand I still cannot do because im not sure how. A friend of mine said uninstall macports, its pure crap and will interfere hugely with other things he wanted me to try.. but he never finished helping me try and get it working. And then I was left with macports completely uninstalled. *sigh* I cant get bootcamp to work with USB or SD cards.. and my mac mini (2012) does not have a built in cd drive.. and the usb cd drive from 1995 I have doesnt even get recognised.. I tried virtual box.. cant even get windows to load, windows 7 failed to install.. and windows 8 just freezes at the loading screen (after install).. so im like literally level editor less.. and to make things worse, I cant make any images because gimp is just way to complex for my needs, I use mspaint, and mspaint only.. its quick, simple, sweet, and to the point. so making a map for someone to gen on the levelgen is just not an option.. and then even further more.. u cant even bribe people to load the image into it and generate the levels.. the level of laziness from everyone baffles me =/ because there is no official editor.. i cant make levels.. which is ashame.. like beat my skull against a wall till the wall or my head breaks mind numbing stupid =/ I NEED a level editor and right now anyone that can make it happen I will do ANYTHING for. im like a dog that your dangling a cheese burger in front of and someone is gonna get there hand bit off lol.. well not really but you get the point.

figured 04-15-2013 10:45 PM

good luck man, i had the same problem. ended up just buying a $200 craptop. maybe stefan will release a new level editor with the GS3 updates?


All times are GMT +2. The time now is 08:24 AM.

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