Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionScript 3.0 MVP - Minimum support - Tracking Issue #1368

Closed
44 tasks done
Herschel opened this issue Oct 23, 2020 · 28 comments
Closed
44 tasks done

ActionScript 3.0 MVP - Minimum support - Tracking Issue #1368

Herschel opened this issue Oct 23, 2020 · 28 comments
Labels
avm2 AVM2 (ActionScript 3.0) issues

Comments

@Herschel
Copy link
Member

Herschel commented Oct 23, 2020

This is a general tracking issue for AVM2/ActionScript 3.0 content. AS3 content will not currently display properly in Ruffle, and will generally cycle through all the frames on the main timeline. Any issues about AS3 SWFs not running will be forwarded to this issue until content starts to function.

A non-exhuastive, basic checklist of where we are aiming for minimal AS3 support:

  • ABC bytecode
    • Parsing
    • Basic opcodes
    • applytype (Vector)
    • Domain memory opcodes (Crossbridge/Alchemy)
  • AS3 APIs
    • Simple animations w/ preloaders (minimum viable product)
      • DisplayObject (transform, root, parent, loaderInfo)
      • DisplayObjectContainer (addChild, removeChild, etc.)
      • Event (mouse clicks, preloader, enter frame)
      • EventDispatcher (mouse clicks, preloader)
      • IEventDispatcher (mouse clicks, preloader)
      • LoaderInfo (bytesLoaded, bytesTotal)
      • MouseEvent (mouse clicks, preloader)
      • MovieClip (play, stop, goto)
    • Basic games
      • Bitmap
      • InteractiveObject (mouse events and properties)
      • Keyboard
      • KeyboardEvent
      • Mouse
      • Sound
      • SoundChannel
      • Stage (keyboard events and stage properties)
    • Complex preloaders
      • DefineBinaryData tag + SymbolClass interaction
      • SymbolClass interaction for all display objects
      • getDefinitionByName, getQualifiedClassName
      • ProgressEvent
      • JSON
      • Other load events (Event.INIT, Event.COMPLETE)
      • Loader
      • Loading embedded SWFs
    • Other APIs (TODO)
      • Dictionary
    • Known issues blocking simple content and preloaders
@Herschel Herschel added actionscript avm2 AVM2 (ActionScript 3.0) issues labels Oct 23, 2020
@Herschel Herschel pinned this issue Nov 7, 2020
@zanzlanz zanzlanz mentioned this issue Nov 29, 2020
@Toad06 Toad06 mentioned this issue Jan 18, 2021
@ximena72
Copy link

ximena72 commented Jan 19, 2021 via email

@stux2000
Copy link

Thanks for replying regarding ActionScript 3. Any ideas of alternatives, or expectations with Ruffle to make my project work? #1368 (comment) Best, Ximena Dr. Ximena Alarcón

Personally, I would recommend filing a new ticket as I did with issue #2226 with your information. I think that would be a more appropriate place. Also, it sounds like full Action Script 3 support is still a ways away. Have you tried lightspark as mentioned above? If your project doesn't require to run on the browser you could download the adobe standalone player to run your application as well.

-stux

@ximena72
Copy link

ximena72 commented Jan 19, 2021 via email

@marcovcy67
Copy link

Does anyone know when Ruffle is going to work properly with ActionScript 3.0
Thanks!
Ruffle-Bug.docx

Error Info

Error name: CompileError
Error message: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0
Error stack:

CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0

Player Info

Allows script access: true

Page Info

Page URL: http://www.easyworldofenglish.com/picdic/lpicdic.aspx?c=8589b881363b670c&l=0a489bff58f80c70&ls=1d41c4a503f989ca

Browser Info

Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
OS: Win32

Ruffle Info

Version: 0.1.0
Name: nightly 2021-01-17
Channel: nightly
Built: 2021-01-17T01:05:59.152Z
Commit: c2b768c

@Boomkat91
Copy link

Existen algunos problemas con los juegos de Arcane, instalé la extensión Ruffle en Google Chrome

Link de los juegos
http://arcaneonlinegame.epizy.com/Arcane/Start.htm?i=1

En la sesión 1, en la sección episodes, se pixelean las imágenes de cualquier juego (problema mayor episodio 4), los objetos estas no se pueden colocar donde deben ir.

En cuanto a la sesión 2, en el link click to play, no termina de cargar el reloj de arena para que aparezca el botón de play.
Captura de Pantalla 2021-01-21 a la(s) 15 07 47
Captura de Pantalla 2021-01-21 a la(s) 15 09 57
Captura de Pantalla 2021-01-21 a la(s) 15 10 49

@Haravikk
Copy link

Is it possible to lock comments on this issue? I started watching it to track progress, but it's been non-stop comments asking when it'll be finished, even though it should be obvious it's only at the early stages and it'll be done when it's done.

If this isn't the right place to track it, is there a mailing list or something I can subscribe to instead? I'd like to hear about the progress being made, when it's being made, rather than endless stream of people asking for updates.

@dogtopus
Copy link

dogtopus commented Jan 22, 2021

Is it possible to lock comments on this issue? I started watching it to track progress, but it's been non-stop comments asking when it'll be finished, even though it should be obvious it's only at the early stages and it'll be done when it's done.

If this isn't the right place to track it, is there a mailing list or something I can subscribe to instead? I'd like to hear about the progress being made, when it's being made, rather than endless stream of people asking for updates.

Already unsubbed this thread because of this. I think the devs should at least put in bold text "ACTIONSCRIPT3/AMV2 SUPPORT IS VERY INCOMPLETE AT THIS MOMENT AND WILL LIKELY STAY LIKE THIS FOR THE FORSEEABLE FUTURE. PLEASE DO NOT SPAM THE THREAD WITH INQUIRIES. IT'S DONE WHEN IT'S DONE" or something like that and point the users to Lightspark or Adobe Flash Player in VM, etc. that actually works better than Ruffle.

@BlackMerkel
Copy link

I've found an issue on the spicework onpremise solution.

When u try to open up the network map it says that this SWF contains ActionScript3. When i press continue it will load nothing to the frame. Is there any solution to this Problem or is there a solution in work?

This was referenced Jan 25, 2021
@gmariani
Copy link

gmariani commented Feb 6, 2021

Hello,
I'm the developer of .minerva, a Shared Object editor ( https://mariani.life/projects/minerva/ ). I made a 90% compatible parser/writer for AS3 and AS2 shared objects (never took the time to polish it as SWF was a dying technology). If it's any benefit to the project feel free to use it as a guide or reference for writing the equivalent in Rust. Or if you have any questions on it I can answer those too. Cheers!

https://github.com/gmariani/minerva

@stux2000
Copy link

stux2000 commented Feb 7, 2021

Hello,
I'm the developer of .minerva, a Shared Object editor ( https://mariani.life/projects/minerva/ ). I made a 90% compatible parser/writer for AS3 and AS2 shared objects (never took the time to polish it as SWF was a dying technology). If it's any benefit to the project feel free to use it as a guide or reference for writing the equivalent in Rust. Or if you have any questions on it I can answer those too. Cheers!

https://github.com/gmariani/minerva

Although I'm not affiliated with the project, I've learned that Ruffle is licensed under the Apache license. In order to contribute your code to this project you may have to license or re-license your code into Apache or a "compatible" permissive license (not sure which ones would be compatible, maybe PD, MIT or BSD, but not GPL). After that, well, you'll have to talk to those in charge :).

@stux2000
Copy link

stux2000 commented Feb 7, 2021

Is it possible to lock comments on this issue? I started watching it to track progress, but it's been non-stop comments asking when it'll be finished, even though it should be obvious it's only at the early stages and it'll be done when it's done.

If this isn't the right place to track it, is there a mailing list or something I can subscribe to instead? I'd like to hear about the progress being made, when it's being made, rather than endless stream of people asking for updates.

As the first commenter who broke the damn and started the ball going, I am a little surprised at the direction that the issue thread took. Might I suggest splitting this off into two issues: one for general comments and bug issues (maybe this can be re-purposed for that) and another for the actual tracking thread w/ comments disabled (and migrate open and closed issues to it?).

@Herschel
Copy link
Member Author

Herschel commented Feb 8, 2021

I agree that this thread has been mostly off-topic; so I'm going to lock this to collaborators to keep it focused on updates.

For bug reports, please don't hesitate to file a new issue.
For discussion or questions, you can visit our discussison page or Discord.

Thank you!

@ruffle-rs ruffle-rs locked as off-topic and limited conversation to collaborators Feb 8, 2021
@adrian17 adrian17 changed the title ActionScript 3.0 Tracking Issue ActionScript 3.0 MVP - Minimum support - Tracking Issue Dec 25, 2022
@Dinnerbone
Copy link
Contributor

All the requirements for MVP have now been hit, and from here it's a matter of overall API implementation (currently notable is more XML progress for some games).

I'm going to close and unpin this issue now, and full API progress can be tracked over at https://ruffle.rs/avm2.html

@Dinnerbone Dinnerbone unpinned this issue Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
avm2 AVM2 (ActionScript 3.0) issues
Projects
None yet
Development

No branches or pull requests