Page 1 of 1
Converting MUI to RAPA
Posted: Sat Jul 04, 2020 6:20 pm
by zenzizenzizenzic
I had a MUI app that I'm changing to RAPA. I changed the Require line, and reran the program to see what would fail. To my suprise it ran as before. Is that all that is really needed, or am I really missing something? This falls into the "Too Good To Be True" category.
Re: Converting MUI to RAPA
Posted: Sun Jul 05, 2020 9:07 pm
by SamuraiCrow
The Amiga versions of RapaGUI are based on MUI Royale internally. There are some differences but not too bad. Some things are actually better in RapaGUI. One more thing: You have to change all of the mui.Xxx method calls to moai.Xxx method calls.
Re: Converting MUI to RAPA
Posted: Mon Jul 06, 2020 8:03 pm
by jPV
Some (most?) plugins load automatically at startup if you have them in the directories Hollywood looks for plugins. In this case you don't need the
@REQUIRE line at all.
So, in your case it probably loads both plugins at startup and that's why MUI Royale still works. If you remove muiroyale.hwp file from the program directory and/or libs:hollywood/ then you'll see that it won't work with RapaGUI without changing all the functions.
Re: Converting MUI to RAPA
Posted: Tue Jul 07, 2020 1:43 am
by zenzizenzizenzic
Good to know, thank you! Will make that change.