Author Topic: Tracking ARC Progress  (Read 15054 times)

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: Tracking ARC Progress
« Reply #20 on: October 11, 2014, 05:31:51 PM »
Ryex, you recompiled Ruby with MinGW, right? Well, you didn't add the proper headers and now I can't compile anything with it. :/
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: Tracking ARC Progress
« Reply #21 on: October 11, 2014, 07:48:15 PM »
you sure? cause the headers should be there in the mingw branch.

if not I can always redo it.

EDIT: I'm compiling ruby 2.1.3 with mingw right now (superclass mismatch commented out), then I'll generate a MSVC lib for it (http://www.mingw.org/wiki/msvc_and_mingw_dlls).

I'll put the result in my drop box with the extension so's form the ruby installer project and the right headers in my dropbox

EDIT:

the result.
https://dl.dropboxusercontent.com/u/20709011/Ruby/Ruby21.zip
« Last Edit: October 11, 2014, 10:21:50 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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #22 on: October 12, 2014, 11:18:52 AM »
Cool, I'll check that stuff today.
I didn't check any branches, I'm still working on trunk. Since we already decided to go with MinGW, I don't see a need for a branch anymore.

EDIT: I'm getting some compiler complains about some headers. As far as I see, HAVE_STRINGS_H and HAVE_UNISTD_H are defined in config.h, but those don't exist on MSVC (I get complaints in defines.h for <strings.h> and <unistd.h>).

EDIT: Nope, now I'm getting other compiler errors. It's best if you check out the trunk and try to compile it yourself. There is a new arc-vs2013.sln solution. Open it up and try to compile liblegacy. I'll commit your headers and binaries.

EDIT: Just for info: I'm getting all those errors in SDK headers located in 7.1A.
« Last Edit: October 12, 2014, 11:31:14 AM by Blizzard »
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: Tracking ARC Progress
« Reply #23 on: October 12, 2014, 12:57:16 PM »
Dam it all, this worked perfectly without a hitch before, what changed?

all you do is create a msvc lib form the def file and drop in aMSVC generated config.h. then it just works. thats it.

the sdk errors seem to indicate that the windows standard headers are being included somehow and trying to redefine their previously declared shit. but how? they have ifndef wrappings to prevent that...

what's more this only happens when trying to compile certain files like legacy.cpp why?
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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #24 on: October 12, 2014, 04:39:12 PM »
Probably only those that have ruby.h included. I noticed that defines.h redefines some system stuff such as inline.
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: Tracking ARC Progress
« Reply #25 on: October 12, 2014, 06:24:25 PM »
figured it out. it's because ruby includes the winsock api via winsock2.h but this causes problems as windows.h included by april and hltypes etc. makes some of the same definitions.

winsock2.h defines some things that windows.h checks to prevent it from redefining things as such you're supposed to include winsock2.h BEFORE windows.h

what I did was add

Code: (cpp) [Select]
#if defined(_WIN32)
#define _WINSOCKAPI_
#endif

to the top of every cpp file that was causing the errors

I also had to make the liblegacy reference the libxal and libartesttf projects or their libs didn't get built

then I made liblegacy include msvcrt-ruby210.lib and it built, no warnings no errors.
« Last Edit: October 12, 2014, 06:31:13 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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #26 on: October 13, 2014, 07:41:42 AM »
Don't worry about linking, I'll take care of that. I'm using .props files for all definitions to make things simpler and more organized. I'll also make sure to refactor that properly.

EDIT: Alright, next problem. But I think that this should be the last one. I link to the lib that you gave me, but that lib is connected to the 50 MB dll (not to the small 1 MB dll that ends with ".dll.a"). And even when I put that 50 MB dll in the working directory, it still expects other dlls to be present (e.g. libgcc_s_dw2-1.dll).
« Last Edit: October 13, 2014, 06:04:24 PM by Blizzard »
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: Tracking ARC Progress
« Reply #27 on: October 15, 2014, 04:53:06 AM »
perhaps this will satisfy you
https://dl.dropboxusercontent.com/u/20709011/Ruby/ruby21_build.zip

new dll built with rubyinstaller is 2.5MB does not link to mingw's libgcc (Yes, I did remember to comment out the superclass mismatch)
generated new lib

EDIT: I've tested everything and it works fine, pushed to svn.
« Last Edit: October 15, 2014, 05:13:12 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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #28 on: October 15, 2014, 07:26:26 AM »
Awesome, thanks!

EDIT: Nope, superclass mismatch error happens.
« Last Edit: October 15, 2014, 07:47:39 PM by Blizzard »
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: Tracking ARC Progress
« Reply #29 on: October 16, 2014, 12:23:05 AM »
but I commented it out...
dam it, ok lets see what I can do here.

edit:
ya I just checked the source it built from, it's commented out. I did build it straight just to be sure the rubyinstaller way would work first and then went and commented out the check and rebuilt. but I didn't remove the build directory so perhaps it didnt link properly, I'll try a clean build.
« Last Edit: October 16, 2014, 12:42:03 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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #30 on: October 16, 2014, 01:01:46 AM »
Also check if there is another place where the error is defined. Maybe they changed something in a newer Ruby version. There are 2 places I know of. Maybe there are more now.
« Last Edit: October 16, 2014, 01:03:05 AM by Blizzard »
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: Tracking ARC Progress
« Reply #31 on: October 16, 2014, 08:58:16 AM »
ok, got it all working, I wasn't removing the superclass mismatch properly in all three places

SVN and linked dropbox files updated

also, I got curious to see just how much faster ARC is from RMXP so I started writing a benchmark suite starting from converting the language shootout benchmarks

the suite is far from done so these preliminary results are wholly inaccurate for a whole picture sort of deal, they also mix engine and ruby performance improvements and ARC still has a strange bug thats is causing it's graphics engine to run far slower than it should.
but...
(click to show/hide)
(click to show/hide)

ARC is running roughly 2.06 times faster than RMXP from a somewhat purely ruby perspective. I'll need to write a comprehensive suite that tests performance of spesfic operations like blt and other bitmap operations etc to really see what going on.
« Last Edit: October 16, 2014, 08:59:17 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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #32 on: October 16, 2014, 09:45:44 AM »
Don't worry about those parts just yet. I have some refactoring in ARC to do to accomodate for the newest changed in april and the other libraries.

BTW, you might be interested to hear that we've slowly documenting the libraries these days. I'm done with HLTypes, HLXML, XAL, XALUtil and currently working on GTypes (6/10 headers already done). Next one is APRIL. It will take some time until all doxygen docs are done and until we make some tutorials and demos that can be used directly, but I have already added a new demo called demo_interface that shows a custom implementation of a window and rendersystem (a "simple" Win32 and a "simple" OpenGL implementation).
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: Tracking ARC Progress
« Reply #33 on: October 16, 2014, 03:52:19 PM »
Oh good. Id has plans to use April in some side projects coming up but the documentation was lacking
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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #34 on: October 16, 2014, 08:01:04 PM »
The thing is actually that you're supposed to use April's stock implementations in which case the few simple demos should actually be enough to get your started. But of course it's a bit difficult if there is no proper API reference.

EDIT: Alright, I have some good news. I got it running and I can see stuff, but I'm having problems with the font. Namely, I have problems with fonts installed on the system. It seems that our TTF library gets stuck reading a bunch of font files from the system directory. I'll have to figure out a way to find the installed fonts using the registry probably. And I still have to re-implement render targets in our refactored APRIL code since I removed it in the last refactor to make it easier to refactor the whole thing (the most recent refactors were mostly on organizing texture classes and image/bitmap data).
« Last Edit: October 16, 2014, 08:22:26 PM by Blizzard »
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: Tracking ARC Progress
« Reply #35 on: October 24, 2014, 05:40:08 AM »
Welder runs when all core modules and plugins have been Cythoned (compiled into c extensions)! and yes that is important. it means it can run faster and be optimised further at some point.
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 Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Tracking ARC Progress
« Reply #36 on: October 24, 2014, 10:10:03 AM »
<3

EDIT: I've changed the implementation in atresttf how system fonts are enumerated on Windows. In debug mode Visual Studio takes a lot longer to open files for some reason and since I have like 600+ fonts installed, it takes some time to go through all font files in the system directory which is why I switched the implementation to read the registry instead. Basically the ARC engine is now running more or less how it's supposed to, but I still have to figure out a good way how to organize textures as they are currently "render targets" and this won't work too well when the DX device is lost. But I'll figure out something else another time.

EDIT: Ryex, I have some good news for you. I have finished documenting gtypes (now hltypes, gtypes, xal and xalutil are done) and started with documenting april. But that's not the news. The news is that another game dev studio here in Croatia wants to use our text renderer (atres) and UI library (aprilui). They will help us understand what direction we should take when creating the tutorials for our libraries. That also means that we will probably create these tutorials relatively soon (e.g. maybe within the next year).
« Last Edit: October 31, 2014, 10:42:34 AM by Blizzard »
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 whitespirits

  • Ethereal Devastator
  • ****
  • Posts: 313
  • LV: 2
    • View Profile
Re: Tracking ARC Progress
« Reply #37 on: November 05, 2014, 12:40:28 AM »
in a percentage side of things guys how far along is arc from a release with the editor?

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: Tracking ARC Progress
« Reply #38 on: November 05, 2014, 02:26:16 AM »
I've kinda given up on truly estimating a time frame. all those development speed jokes make so much sense now. to get a sense of how much work in on the pate left to be done take a look at the issue list at https://code.google.com/p/arcreator/issues/

The list is NOT exhaustive I'll keep adding and closing issues as they come up. % wise I'd estimate around 83%
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 noixez

  • Total Beginner
  • Posts: 8
  • LV: 1
  • Zexion's Evil Twin
    • View Profile
Re: Tracking ARC Progress
« Reply #39 on: November 05, 2014, 03:32:31 AM »
Ryex when you finish i send u pizza in the mail
:d
Born to destroy KK20