Jump to content
  • 0

PokeMMO Compiled to WASM


foxdie99

Question

Hi there! First of all big thanks to the developers, admins, moderators and this wonderful community. This project has been a dream come true for a little boy in 1998 playing Version Yellow all those years back imagining how it would be like to share this Pokemon world with all my friends at school. Thanks.

I have seen the effort throughout the years to bring PokeMMO to the most possible Operating systems and it is not always easy to make that possible depending on the programing language being used. Maintaining this can also be an effort , so why am I making a suggestion for new binary type? For those who do not know WASM stands for WebAssembly and it is a binary instruction format for a stack-based virtual machine. WASM is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications. (Src:. https://webassembly.org/).
I think these could have some benefits. Running the binary on the Browser (WASM is Supported in Safari, Chrome, Firefox, Microsoft Edge) makes portability a breeze. We could play anywhere anytime, wherever there is a browser and internet access there is PokeMMO. iOS users would for example greatly benefit from this by avoiding jumping through hoops to get running on their machines. Users would no longer have to update the client because developers would just rollout their updates on the server side and let the clients load the new updated assets. Finally it would be easy to roll an experimental (staging) release on an different URL (subdomain).

I think there might be more things I am missing out. I also do not know if the developers already considered this idea and opted out already (WASM is still young).
Let me hear what you all think!
Thanks for all your efforts and go catch'em all.

 

Link to comment

1 answer to this question

Recommended Posts

  • 0

Hey,

 

even if wasm is great, it has some downsides. The biggest one is, that there is currently (as far as I'm aware) no java to wasm compiler that is mature enough to support all required java features. This probably also won't change in the near feature, until wasm gets a proper gc interface (e.g. see https://github.com/oracle/graal/issues/3391#issuecomment-833265906 as reference).

Another problem could be, that some features are best solved platform dependent. E.g. things like controller support, getting user input, local file management or how the UI looks in general. There are maybe ways to overcome this somehow, but I think it would be at least a lot of work.

 

I hope this answers your question!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.