Accueil > AS3, Alchemy > The New Alchemy Repack for Win32 is Released! Donwload it!

The New Alchemy Repack for Win32 is Released! Donwload it!

Je ne vais pas tout réécrire en Français, je vous colle le post que j’ai placé chez Adobe Labs. Pour rappel, Alchemy est un outil en ligne de commande (langage linux) basé sur Cygwin et LLVM afin de compiler du code C/C++ en SWF ou SWC que le player 10 et supérieur sait exécuter. Tout ça en est au stade d’expérimentation et Adobe attend de voir si la communauté lui porte un interêt suffisant avant de décider du devenir d’Alchemy (3 ans déjà que ce projet à vu le jour). J’ai réalisé ce repack pour la communauté afin d’en rendre l’installation et l’usage plus facile.

Le site Alchemy: http://labs.adobe.com/technologies/alchemy/
__________________________________________________

02/11/2011 - Second version is relased.

sans-titre-1

This repack contains only the files necessary to Alchemy compilation. It’s only 30 MB! Much better than the 500MB with Cygwin by default. It installs in seconds. (0 Step config)
Win32 version, It has been tested on XP SP3 and Seven.

It was designed for the community AS3, for their life easier and for those who don’t know the Linux language or bash system. It does not require any particular stage of installation or configuration.

Features

- Auto installation of files, Shorcuts, and cie
- Choice of installation destination
- Generating user passwd and group files
- Generating user profile bashrc
- Auto setup of Alchemy paths
- Auto config Alchemy and link LLVM
- Windows Full Paths navigation (Helper fx)
- Fast compiler functions (Helpers fx)
- Clean on/off  (Clear tempory files .as, .abc, .o, ..) Default = on

Tip to navigate to a folder very easily

In the console, type: go (followed by a space)
Then, click the folder of your choice in the File Explorer and drag and drop over the console, clic for reset focus and press Enter.

To test

Enter cd sample and enter swc test.c . You should get this screen and a new test.swc must be in the current directory. (The test below was done with clean = off)

compil

I also tinkered an icon.

logo_ac

I share with you this job! I hope it will work with you as well as at home. If this is not the case, I suggest you follow the “Getting Started” offered by the site Labs.

You can download the Alchemy Repack here:
http://www.covergraph.com/blog/archives/alchemy_0.5_setup.exe

Please note, you must install JRE first! http://www.java.com/fr/download/

I’m busy writing a tutorial on Alchemy (in french), its use,its mechanism, its API and use gluegen. Soon, it will be ok, it will be posted on my blog.

Et voilà! Have fun!

PS: Why not distribute it on the page Alchemy Adobe Labs..

Sorry for my bad English, thank you google translator for the help

Alama AS3, Alchemy , , , , ,

  1. 24/02/2011 à 23:49 | #1

    Here a ton of information here. Thanks! I’ll be back for more

  2. 02/03/2011 à 10:17 | #2

    Wow! This looks pretty awesome! I’ve just downloaded it and will be posting it in blog! I’ll come back with my thoughts after I’ve had a chance to use it!

  3. 02/03/2011 à 13:40 | #3

    Jesse Nicholson :

    Wow! This looks pretty awesome! I’ve just downloaded it and will be posting it in blog! I’ll come back with my thoughts after I’ve had a chance to use it!

    Your Welcome! ;) Thank for your blog.

  4. 03/03/2011 à 10:53 | #4

    But ..it seem that doesn’t work,at least for me .

    Administrator@ykz-20090101UIW /cygdrive/C/Alchemy/sample
    # swf test.c

    Start compiling, wait a few seconds..

    WARNING: While resolving call to function ‘main’ arguments were dropped!

    Done!
    _________________________ Directory content_________________________

    2780.achacks.as 2780.achacks.o 6048.achacks.exe.bc
    2780.achacks.exe 6048.achacks.as 6048.achacks.o
    2780.achacks.exe.bc 6048.achacks.exe test.c
    ____________________________________________________________________

  5. 03/03/2011 à 11:22 | #5

    I just tested at the moment with me, it works well!
    Have you installed JRE 1.6 before Alchemy?

    Alchemy files and compiling LLVM of this repack are identical to those of the original Adobe Labs. It should work identically.

  6. 07/03/2011 à 06:04 | #6

    Thank you.it’s ok now..@Alama

  7. 31/03/2011 à 09:54 | #7

    Absolutely marvelous !

  8. Bela
    17/05/2011 à 18:37 | #8

    Thank you for all this work! I found on my system that the java VM couldn’t allocate enough memory with the default value per this thread:

    http://forums.adobe.com/message/36428

    I would receive this error:
    WARNING: While resolving call to function ‘main’ arguments were dropped!
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.

    Doing this fixed the issue (you may wish to update the install script to include a modified version of the ‘gcc’ file in ‘achacks’ where jmemmax is set to 512:
    I have seen this problem with some versions of Java when the machine has less than 1Gb of RAM. Currently we set a min and max heap allowed for Java when compiling Alchemy source and under some conditions Java just refuses to run. Here is a potential workaround if you think this applies to you:
    * Open the gcc script in the achacks folder.
    * Search for “jmemmax”.
    * Change the value to something lower (512?). The values is in megabytes.
    * Save and run your compile again

    Doing this resolved my problems.

  9. 17/05/2011 à 19:07 | #9

    Hi Bela, thanks for your info! ;)

  10. 11/09/2011 à 04:34 | #10

    This is great! Used it to compile a Quake game engine for Flash. Suggestions:
    1. Include make.exe. The make from Cygwin distribution works well.
    2. Install directly under C: drive by default rather than Program Files. On 64-bit Windows it goes to “Program Files (x86)”. That path name causes problems for make.

    Thanks for making Alchemy so easy to install.

  11. 12/09/2011 à 15:47 | #11

    Thank you all for your comments. These are good suggestions, I should add also the verification of Java followed by a silent installation.
    I no longer worked on this project, I do not know if Alchemy still has a future, but I still think it’s worth it. ;)

  12. gene
    07/04/2012 à 05:09 | #12

    hi @Alama i type the “swc xxx” into the console,but it shows “command not found”,i tried to uninstall and install for several times,but no work. beg for ur help, thanks very much

  13. 08/05/2012 à 14:59 | #13

    Wait.. Adobe make an official Alchemy software.. :)

  14. 21/12/2012 à 09:13 | #14

    works perfect on windows xp but not windows 7
    but gr8 work and thank you

  1. 14/02/2011 à 13:25 | #1