Andromeda - a galaxy extension

Jesus4Lyf

Good Idea™
Reaction score
397
So I assume serious people will maybe try some stuff in GUI but than switch back to coding again (especially when they miss classes and dynamic allocation ;) )
I don't really mind writing my own allocators as I have in my systems thus far. Means it can be used in GUI. I always loved GUI secretly... :p
 

gex

New Member
Reaction score
6
I don't really mind writing my own allocators as I have in my systems thus far. Means it can be used in GUI. I always loved GUI secretly... :p

well if you do, then you are fine with GUI. However, I think there are many people, like me, who (not secretly) hate GUI.

Yesterday, because Andromeda is not fully working on maps yet, I tried to create a simple map with GUI. I got so mad after clicking through 5 or 6 actions that I stopped. I just love hacking code and I cannot click and click and click anymore... :)
 

Cookiemaster

New Member
Reaction score
36
well if you do, then you are fine with GUI. However, I think there are many people, like me, who (not secretly) hate GUI.

Yesterday, because Andromeda is not fully working on maps yet, I tried to create a simple map with GUI. I got so mad after clicking through 5 or 6 actions that I stopped. I just love hacking code and I cannot click and click and click anymore... :)

GUI really has some retarded problems in it.

You can't return nothing on a function that returns nothing.

The set array size gets another 1 added to it so that that number is available too, 8192 is allowed to be set in GUI (any higher will jump down to it) and putting that in will make the compiler use an array size of 8193 which screws up completely.

When creating big arrays, the script wants to fill in every-single-field with the "default value" specified, even if it is 0.

I tried creating an integer array[6][10][8191], but it threw a "SCRIPT TOO LONG" error because the generated code was a gigantic clusterfuck loop that is trying to assign 50k values at once, despite the value it is being set to is actually the same as the default.

I can't use UnitX and UnitY in GUI. There goes some optimization.


Seriously Blizz, why have you done this.
 

gex

New Member
Reaction score
6
I reckon someone should write a scripting language which compiles to GUI SC2Lib files (xml inside) instead of Galaxy code. :thup:

Then we could write GUI by writing Galaxy, instead of writing Galaxy by writing GUI. :)

well, this is a good idea indeed. Can't I just generate a SC2lib file by generating an XML for every function and throwing its content as custom code in it? If so, there would be no problem for andromeda to produce "GUIable" code.
 

Jesus4Lyf

Good Idea™
Reaction score
397
Right. Which would be really cool. You could improve it later to look up which functions have GUI definitions, but the fact is that you could just add a keyword for what should not be <internal/>ed in GUI, like "expose". Then all other functions would be internal.

So you could implement clever stuff which makes it really fast to code GUIable systems. :thup:
 

gex

New Member
Reaction score
6
well that sounds nice. Can you tell me a bit more about GUI (I have really no idea how to do it. I am very good at galaxy but not at the stuff that is related to GUI or the sc2lib format)? Can you post me an example of a XML GUI function definition with arbitrary custom galaxy code in it?
 

rover2341

Is riding a roller coaster...Wee!
Reaction score
113
Would love to test this, as soon as there is a step by step guide for people like me. :) (As I dont understand how to test my code with it)

But Great Job So Far. Cant wait.
 

gex

New Member
Reaction score
6
some stuff is broken at the moment because they removed pointers :( Trying to fix it at the moment.
 

gex

New Member
Reaction score
6
not yet, because it is big hack at the moment, however I am planning to release the sources once I have cleaned up a bit.
 

Viikuna

No Marlo no game.
Reaction score
265
Sounds cool. Your GMSI was kinda awesome and this looks neat too.

It just bugs me that Blizzard is focusing so muchly on GUI that it actually has more features than Galaxy...
 

gex

New Member
Reaction score
6
v0.0.11 released

This is a huge milestone in the development of Andromeda because v0.0.11 is the first version that can actually be used productively. Not only is it now able to read Andromeda code from map files and write back the compiled galaxy code into them, but it also comes with a small, yet very simple GUI to run Andromeda onto your maps. The GUI however is not finished yet, so expect updates for it soon.

Also classes work again now (without using pointers anymore ;( ) and static initializers and destructors were added, too.

An installation and usage guide can be found here.
The download itself can from now on be found in our resource database.

Since the MPQ handling is still in a beta status, please remember:
Make a save copy of your map before running Andromeda on it, especially when saving to the same map file!


Here is the complete changelog:

-Classes no longer compile to pointers but instead use an array indexing system for dynamic allocation
-Fixed many small errors
-Fixed mixed up line breaks
-Added static initializers (check specification)
-Added destructors (check specification)
-Andromeda is now able to read code from maps and write it to maps / combine it with the script that is present in a map
-Added a simple GUI to execute scripts. This GUI starts up if Andromeda isn't started with parameters
-Added new language class System (a/lang/System.a)
 

rover2341

Is riding a roller coaster...Wee!
Reaction score
113
Trying it out now. I Bolded the things I am in the process of doing or have done.

What I have Done So Far
Step 1 - Dl Program, + Get Java Runtime, Then run it.
Step 2 - Get Notepad++ and attachment.

In Process Of
Step 3 - Understand how to use it, and look at sample code

Whats Next
Step 4 - Make First Test Map, with Objects.
Step 5 - Find/Make Libarys I can use for the game I want, such as physics, and chageing yaw pitch and roll over time.
Step 6 - Build my Game.
 

gex

New Member
Reaction score
6
it was the provider's fault. Around one day downtime, up and working again now :).
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top