Author Topic: ARC gone?  (Read 12057 times)

Offline boisei0

  • Trained Member
  • *
  • Posts: 23
  • LV: 0
    • View Profile
Re: ARC gone?
« Reply #20 on: August 08, 2014, 10:27:44 AM »
Hm... I finally got a working wxPython Phoenix install. That's not something I want to do on other systems as well, as on my Linux system, it's a beast to install. I found the solution by searching for the error messages the compiler gave me, which brought me to the Google Groups pages of wxPython. There, one of the developers stated that you need lib-webkit-gtk(-dev), which isn't mentioned in the documentation.
Let this serve as a note for Linux minded people trying to install wxPython Phoenix

Afterwards, I launched my editor to see if I was able to get the new version of the Welder working. More errors appeared and I'm fairly sure it's my Phoenix install causing these problems.
(click to show/hide)

Later in the afternoon, I'm going to try a Windows install of Phoenix.
~Boisei0
___________________________
Remaking my old projects Angrefvilld and Cradle of Life
Forking Advanced RPG Creator
Github | Bitbucket

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: ARC gone?
« Reply #21 on: August 09, 2014, 01:37:58 AM »
no, I'm pretty sure thats a bug introduced in the Phoenix branch. well more precisely I'm pretty sure it has to do with the way the image in question was converted to a XPM string with python2.7 and wxwidgits classic.

I'm going to move away from using XPM encoded images as the new distribution mechanics means raw images on the filesystem work just fine.


EDIT:
also building is actually fairly simple, just a bunch of steps involved

at several points you might have to use sudo to resolve permission complaints

Step 1)
create a folder to checkout both wxpython and wxwidgets as sibling directories ie
Code: [Select]
WX/
    wxWidgets/
    wxPython

Step 2)
checkout wxWidgets into it's respective folder
Code: [Select]
svn checkout https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_3_0_1 wxWidgetsand checkout wxPython too
Code: [Select]
svn checkout https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk wxPython
Step 3)
change into the wxPython dir and run the pre build code generation steps
Code: [Select]
python build.py dox
python build.py etg --nodoc
python build.py sip

Step 4)
run the build command to build wx and wxpython together
Code: [Select]
python build.py build
Step 5)
install wx
Code: [Select]
python build.py install
« Last Edit: August 11, 2014, 01:08:42 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline boisei0

  • Trained Member
  • *
  • Posts: 23
  • LV: 0
    • View Profile
Re: ARC gone?
« Reply #22 on: August 09, 2014, 12:45:57 PM »
Building is fairly simple, I know that. I succeeded after I found which (undocumented) package I was missing. Somewhere on the mailing lists, I read that it should be installed by default on most distributions, however, I'm running Gentoo, build from a stage 3 tarball by hand and because I didn't need that package before, it was not installed. It took me about 35 minutes to compile the webkit engine and it's dependencies ;)
On Windows, I've now a working installation as well. I guess I'm missing a couple of things, but can you explain to me how this is supposed to work? In Core/__init__.py, there are a number of modules imported, however, the paths are not correct. Furthermore, Core.Editor and Core.Database could not be imported, because of the missing __init__.py file, as they are not considered packages without an __init__.py file. Later, on line 56, the late_bind function of the __init__.py file of Core.Database is called, but because it does not exist, the interpreter will trip over it.
I prepared a quick fix, so the code will run. On this Windows install, I still have to fix a working Git, so I put the code in this gist.
The fix worked partially: The interpreter tripped again on the late_bind of the EventEditor, because EventPanel.EventCondidtionsList is a subclass of wx.HtmlListBox, a class which only exists in wxPython classic, not in wxPython Phoenix.
I'll try to make a decent fix for the code supplied in this post, instead of this quick 'n dirty import I performed in the last file.
~Boisei0
___________________________
Remaking my old projects Angrefvilld and Cradle of Life
Forking Advanced RPG Creator
Github | Bitbucket

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: ARC gone?
« Reply #23 on: August 09, 2014, 07:21:45 PM »
see, all this bullshit is exactly why I'm completely reworking the plugin system.
there are enough interdependencies in Arc's core that it's nigh impossible to get them to load in the right order. all that late bind stuff is to get the modules to build their name spaces and THEN import each other. If got terribly complicated to maintain and I found myself in dependency hell.

your correct that the __init__ files in core/Database ect seem to be missing. not sure how that happened. feel free to take them from the svn version, they should be correct there.

also, DAMIT. if phoenix doesn't have an HTML listbox I'll have to make one subclassing the VListbox to do so. too much work has gone into the eventeditos command display to abandon that approach.
nevermind the HTMLListBox still exists it's just been moved to wx.html.HTMLListBox
phew
« Last Edit: August 09, 2014, 07:26:05 PM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: ARC gone?
« Reply #24 on: August 10, 2014, 07:34:17 AM »
And I finished pyitect https://github.com/Ryex/pyitect
It completely revamps much of what Kernel.get_component was doing but this way dependency hell is avoided (for the most part) and the boiler plate isn't as bad.

the basics are covered in the readme on the github page.

I'll start converting the existing project over to it tomorrow
« Last Edit: August 10, 2014, 07:38:51 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline boisei0

  • Trained Member
  • *
  • Posts: 23
  • LV: 0
    • View Profile
Re: ARC gone?
« Reply #25 on: August 10, 2014, 11:32:30 AM »
And I finished pyitect https://github.com/Ryex/pyitect
It completely revamps much of what Kernel.get_component was doing but this way dependency hell is avoided (for the most part) and the boiler plate isn't as bad.

the basics are covered in the readme on the github page.

I'll start converting the existing project over to it tomorrow
Great work!
Meanwhile, I worked through the dependency hell in the current version, to see if I could get it running. According to the Phoenix documentation, to set the styles of a StatusBar instance, you need to supply an array of integers as the second parameter. I tried lists, dicts, numpy arrays and sets, but wx kept saying 'TypeError: StatusBar.SetStatusStyles(): argument 2 has unexpected type <name of the type supplied>'. Any idea (we'll get to this problem anyway, as it exists in the CoreEditorMainWindow) what type it expects? I can't find it in the documentation or in the svn source.
Also, wx.combo.BitmapComboBox is renamed to wx.adv.BitmapComboBox in Phoenix, something else I encountered today (one file affected)

For now, next thing on my todo-list is to fix git in Windows, so I can finally commit things without rebooting ;)
~Boisei0
___________________________
Remaking my old projects Angrefvilld and Cradle of Life
Forking Advanced RPG Creator
Github | Bitbucket

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: ARC gone?
« Reply #26 on: August 11, 2014, 07:10:09 AM »
well, I spent today for the most far fixing regressions, building wx on windows, and revamping the build_lib.py

the build_lib.py should now properly pull together the libary in such a way that the custom exacutable can load properly

I also fixed Rabbyt again as VS2010 suddenly could not compile it, I gave it some proper releases on github so you can download a zip of that version instead of cloning the trunk

I added a requirements.txt to track needed modules and the proper versions.

sadly python has broken load time zipimport and the zipped python stdlib isn't being loaded properly in windows.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline VanillaSky

  • Trained Member
  • *
  • Posts: 26
  • LV: 1
    • View Profile
Re: ARC gone?
« Reply #27 on: August 11, 2014, 09:49:13 PM »
In my opinion you guys should forget doing that editor or release it as open source and focus on some kind of RMXP-to-Arc-conversation tool  :^_^':

Offline Zexion

  • Addicted to LoL
  • Chaos User
  • ******
  • Posts: 1510
  • LV: 69
  • Gender: Male
  • My anaconda don't...jk it does
    • View Profile
Re: ARC gone?
« Reply #28 on: August 11, 2014, 10:53:05 PM »
In my opinion you guys should forget doing that editor or release it as open source and focus on some kind of RMXP-to-Arc-conversation tool  :^_^':
Um, that is basically what f0 is doing ._. but Arc continues!

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: ARC gone?
« Reply #29 on: August 11, 2014, 10:53:50 PM »
In my opinion you guys should forget doing that editor or release it as open source and focus on some kind of RMXP-to-Arc-conversation tool  :^_^':

Conversion tool already exists. Engine is practically done. And it's already open source.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: ARC gone?
« Reply #30 on: August 12, 2014, 01:25:18 AM »
The engine still needs some minor things done. But yes, in general it's already done. Heck, it was even in beta. But it will probably have to go beta again due to the many changes in the underlying open source engine over the years.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Eclipse

  • Awakened Visionist
  • **
  • Posts: 80
  • LV: 1
    • View Profile
Re: ARC gone?
« Reply #31 on: August 13, 2014, 04:09:05 AM »
I love how F0 was talking trash earlier, and then Ryex just start destroying it with rapid-fire status updates. lol.

We still have faith in you guys!

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: ARC gone?
« Reply #32 on: August 13, 2014, 11:48:25 AM »
I love how F0 was talking trash earlier, and then Ryex just start destroying it with rapid-fire status updates. lol.

It has been years without an update, and I said that,. Wouldn't consider that "talking trash".
I am not going to talk trash on a project I co-founded. You can manifest drama out if it if makes you feel better, though.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: ARC gone?
« Reply #33 on: August 13, 2014, 12:07:00 PM »
Let's just call it criticism on the lack of dedication and progress, because I don't think Ryex was being literal, ahahaha!
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: ARC gone?
« Reply #34 on: August 13, 2014, 03:46:34 PM »
What wasn't i being literal about?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: ARC gone?
« Reply #35 on: August 13, 2014, 03:48:06 PM »
What wasn't i being literal about?

I was wondering the same thing, but decided to just let it go without asking, lol.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: ARC gone?
« Reply #36 on: August 13, 2014, 04:25:24 PM »
What wasn't i being literal about?

About "talking trash".
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: ARC gone?
« Reply #37 on: August 13, 2014, 04:55:37 PM »
What wasn't i being literal about?

About "talking trash".

Oh, Ryex didn't write that, but I gotcha ya.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: ARC gone?
« Reply #38 on: August 13, 2014, 05:09:24 PM »
Oh lol, you're right, it was Eclipse. xD
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Spaceman McConaughey

  • Legit Poo Poo Man
  • Lexima Warrior
  • *******
  • Posts: 2002
  • LV: 46
  • Gender: Male
  • muh murph
    • View Profile
    • Titties, titties, and more titties!
Re: ARC gone?
« Reply #39 on: August 15, 2014, 04:44:29 AM »
I love how F0 was talking trash earlier

Don't even.