![]() |
|
Allegro 5.2.0 released! |
SiegeLord
Member #7,827
October 2006
![]() |
It has been 14 years since Allegro 5 was first announced and nearly 5 years and 2 months since version 5.0 was released. After many years of development in the unstable branch, I am excited to announce that a new stable version of Allegro is ready for release! Allegro 5.2 brings forth many features from the 5.1 branch and exposes them with a stable interface with guaranteed source and binary compatibility. This includes things like shader support, limited support for 3D game development, video playback, Android and (functioning) iOS support. Some features, however, are not quite ready for prime time and therefore remain unstable. To avoid the codebase divergence that prevented 5.0 from receiving many bugfixes from the 5.1 branch, these unstable features coexist in the same branch, but must be opted into before being used. This release would not have been possible without the help of the many people who have contributed to Allegro over the years. In addition to the 'core' developers that have been around since time immemorial, many of the most exciting features of Allegro have been contributed by people who started using Allegro relatively recently. Even without making code contributions, simple users of Allegro who made suggestions, bug reports and simply used the code have also been invaluable to making Allegro as high quality as it is today. In many ways, the game development community have abandoned native libraries like Allegro. Despite this downturn, many still create great games with Allegro as foundation, and I think Allegro still has a niche to fill. Allegro 5.2 is an important milestone, but it is not the end of the road. There are still many bugs to fix, features to add and games to write. Check out the source archives here. MSYS2 binaries are available here with the dependency packages available here. You can grab the MSVC Nuget package here. Ubuntu and homebrew will be updated in the coming days. On a technical note, Allegro 5.2 is source but not binary compatible with Allegro 5.0. Additionally, the semantics of some functions have changed, but hopefully not in a way that affects most programs. Changes from 5.1.13.1 to 5.2.0 (April 2016)The main developers this time were: SiegeLord, Polybios, Mark Oates, Elias Pschernig and Jonathan Seeley. Core
Input
Android port
OSX port
Windows port
Build system
Documentation
Other
Audio addon
Native dialog addon
TTF addon
Video addon
Examples
SHA256SUMS dd47d4a72e8a81e947c303d6cebf5056bba1e56f77339ce5481e5d33bf0841ce Allegro.5.2.0.0.nupkg fc8ef6597461f11adaf43b95329ea4a825cd387659643f4046f0b2f07fcd7c53 allegro-5.2.0.7z af5a69cd423d05189e92952633f9c0dd0ff3a061d91fbce62fb32c4bd87f9fd7 allegro-5.2.0.tar.gz 7890acb70eb05edf4ec99e9b63b60c22af7bf387e34f023207ad1c4fa56484b8 allegro-5.2.0.zip c1e272f2e2f6be80cb567829ebaa10efec854e44a8da7d0d8b02a9143b5d2dbb allegro-mingw-gcc5.3.0-x64-5.2.0.zip aee66be54bec6dca60ae6f6f892a447aae2d17e29b29d110bb29fee73947830c allegro-mingw-gcc5.3.0-x86-5.2.0.zip
"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Bruce Pascoe
Member #15,931
April 2015
![]() |
Awesome, Allegro 5.2.0 is finally gold, it's been a long time coming.
|
Yodhe23
Member #8,726
June 2007
|
As always well done everyone, and many thanks. www.justanotherturn.com |
GullRaDriel
Member #3,861
September 2003
![]() |
Well done ! Regarding the audio addon: Fix sporadic deadlocks => was this the cause of lags when recording ? Nothing was loss thanks to the queue but I had some lags with 5.1 when reading packets from the record buffer. It was like frozen for seconds, after what it continues to work but is there is huge lag between record input and given record samples. Recorder API is now unstable => which mean it's still under active development ? "Code is like shit - it only smells if it is not yours" |
Polybios
Member #12,293
October 2010
|
Excellent! |
Niunio
Member #1,975
March 2002
![]() |
Cool! But I have two questions: What does "is now unstable" means? Is it still working on WinXP? I've proposed myself to release a new version of Allegro.pas before TINS 2016 and unfortunately the only computer available is a WinXP one. ----------------- |
Polybios
Member #12,293
October 2010
|
"Unstable API" means: It's there, but still under development, i.e. the API is not guaranteed to be around in the next version. It could change or be removed completely. As to the 5.2 release, it means that developers didn't think those parts were "mature" enough to be introduced as something the next releases would have to be compatible to. So they were marked as "unstable". This is what "is now unstable" means. There are short notes in the docs why the specific API is considered unstable, too. For example, about audio recording : Allegro docs said: Unstable API: The API may need a slight redesign. About haptics: Allegro docs said: Unstable API: Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users. Instead of marking the whole 5.1 branch as "unstable", there is now only one branch with parts of it marked as unstable. Note it's about API. |
Niunio
Member #1,975
March 2002
![]() |
Thanks for the explanation, Polybios. I've just download it and installed at the office (fortunately, my job is in a game development studio now Thing is that some examples and the Skate demonstration game raise a segment violation if no sound support is available. Initially, I compiled it without OpenAL. Some examples as ex_haiku and the demonstration games except Skate just show a message that there are an error initialising audio, but the other just raised the segment violation. Once OpenAL were installed (I don't know why it wasn't) everything work. Also I'm really glad that you rescued the 3D Allegro stuff. It makes me chuckle. I'll test on WinXP later. [edit] ----------------- |
MiquelFire
Member #3,110
January 2003
![]() |
Well, knowing Allegro 5's history, it's a good release date. --- |
Audric
Member #907
January 2001
|
Where's my mind control interface? |
SiegeLord
Member #7,827
October 2006
![]() |
Bruce Pascoe said: Now let's see if Debian can get their act together and upgrade their Allegro packages. I feel like the best solution would be to step up and send them a patch. The fact that you're on 5.0.10 and not 5.0.11 means they're not quite up to date even for 5.0... Once I make the Ubuntu 5.2 packages, perhaps I could send them as is to Debian (since that's where they came from originally anyway). GullRaDriel said: Recorder API is now unstable => which mean it's still under active development ? We just need a hard look at it and see what's up with it. It might be fine as is. Did you have any issues with it (aside from that sample length issue; did you resolve it?)? Niunio said: Thing is that some examples and the Skate demonstration game raise a segment violation if no sound support is available. Whoops... that's bad. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
amarillion
Member #940
January 2001
![]() |
Awesome! -- |
Gideon Weems
Member #3,925
October 2003
|
GullRaDriel
Member #3,861
September 2003
![]() |
When will it hit the Ubuntu depot ? There are no 5.2 yet ...* Edit: all I can see is 5.0.11.2 ! "Code is like shit - it only smells if it is not yours" |
Chris Katko
Member #1,881
January 2002
![]() |
GullRaDriel said: There are no 5.2 yet ...* That would be AMAZING to get an up-to-date Allegro stable release through package managers. -----sig: |
GullRaDriel
Member #3,861
September 2003
![]() |
Yeah, I would love it too. "Code is like shit - it only smells if it is not yours" |
Niunio
Member #1,975
March 2002
![]() |
Tested on WinXP. Even my old notebook is able to run it nicely. ----------------- |
Peter Hull
Member #1,136
March 2001
|
I don't know what was done in the past but the first step would probably be to contact the Debian Package Maintainers and the Fedora maintainers. Not sure about Arch, Gentoo or any other distros, I've never used them.
|
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
I found some odd keyboard behavior in Allegro 5.1.13 on Windows 10. If someone with 5.2.0 installed could test some code for me I would appreciate it. The thread with the code is here : My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Peter Hull
Member #1,136
March 2001
|
Quick question, why has the nuget package become so much bigger? (47mb vs 73kb)
|
GullRaDriel
Member #3,861
September 2003
![]() |
Because of the new mind control ability of 5.2 EDIT: building it on my Win7x64 installation. I'll report the state of audio recorder fragments and may test for Edgar's problem. "Code is like shit - it only smells if it is not yours" |
SiegeLord
Member #7,827
October 2006
![]() |
Peter Hull said: Quick question, why has the nuget package become so much bigger? (47mb vs 73kb) PDB files, although I've no idea where the 73kb number comes from (maybe some sort of incremental download?). 5.1.13.0 package, for example, is 27.9 MB on my system (and 5.2.0 is indeed 47MB). "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Chris Katko
Member #1,881
January 2002
![]() |
Google has done some amazing work. They actually send differential updates that are tiny compared to the full thing. Like hundreds of kbytes and sometimes less. They actually have it aware of code building process and the resulting binary code sections and compress them separately. I don't recall the specifics but it was something crazy. -----sig: |
Elias
Member #358
May 2000
|
Why are they not using that for Android Studio updates? -- |
Chris Katko
Member #1,881
January 2002
![]() |
I missed a word in that last post. It's for Google Chrome: https://www.chromium.org/developers/design-documents/software-updates-courgette Quote:
Full update 10,385,920 Check out article. They do all kinds of crazy pre-linking hinting tricks. Quote: Summary: Courgette transforms the input into an alternate form where binary diffing is more effective, does the differential compression in the transformed space, and inverts the transform to get the patched output in the original format. With careful choice of the alternate format we can get substantially smaller updates. Looks like it could be applied to anything else though! -----sig: |
|
|