OpenBOR finally working fine on RETROPIE with ES
-
@darknior I'm very grateful to you for making this OpenBOR tutorial.
I just wish somebody would make video tutorial on how to do this. I'm still new to Retropie.
-
@cathycatheter Using the written tutorial is always going to be the most up to date. (that's where they learn the information to make the video)
I agree, a video can be VERY helpfull - especially if you don't know what your reading is what you're doing .
Eg: car repairs
Right now, openBor is advancing at such a rapid pace that even if there is a video, it's still best to use it as a guide line then reference back here for the most up to date links.
-
@darknior said in OpenBOR finally working fine on RETROPIE with ES:
@cyperghost I have change the path for me and it works fine. Thanks
Now the 3 problems we must solve to play fine BOR games on PI are :
OpenBOR not saving Hi-score and game progression :(
The most important!
about this problem...
in openbor.c i see that it save in the wrong path! I just try to make this patch, not tested yet....
Actually i was able to port on ARM also latest version of openbor, but it run very slow, old version seems better for our use!<code>
void saveGameFile(void) {
//char tmpname[256] = { "" };
//getSaveFileName(tmpname, ST_SAVE);char path[256] = { "" }; char tmpname[256] = { "" }; getBasePath(path, "Saves", 0); getSaveFileName(tmpname, ST_SAVE); strcat(path, tmpname); //save(tmpname, (char*) &savelevel, sizeof(s_savelevel) * MAX_DIFFICULTIES); save(path, (char*) &savelevel, sizeof(s_savelevel) * MAX_DIFFICULTIES);
}
void saveHighScoreFile(void) {
//char tmpname[256] = { "" };
//getSaveFileName(tmpname, ST_HISCORE);char path[256] = { "" }; char tmpname[256] = { "" }; getBasePath(path, "Saves", 0); getSaveFileName(tmpname, ST_HISCORE); strcat(path, tmpname); //save(tmpname, (char*) &savescore, sizeof(s_savescore)); save(path, (char*) &savescore, sizeof(s_savescore));
}
</code> -
@zanac i believe there is more todo. The load dialog seems to fail to find ANY files. About the speed ... Does unpacking the files speeds up OpenBOR? I do not believe in but just a try
-
Thanks @zanac to try to solve this big problem, for the moment i have so many work and i can't work on it :(
@zanac said in OpenBOR finally working fine on RETROPIE with ES:
Actually i was able to port on ARM also latest version of openbor, but it run very slow, old version seems better for our use!
WOAW excellent, create a git please, maybe there are some trick you take from the old version to use in the new one :)
The last version is very important for us to play all the last GREAT mods, and because they finally add a great feature :
Now when your game pad shut down, OpenBOR can find it again if you turn it on again :)
So excellent because with Bluetooth gamepads it is a recurrent problem ...@cyperghost said in OpenBOR finally working fine on RETROPIE with ES:
Does unpacking the files speeds up OpenBOR?
I think it can help, it's why we must unpack them on the old version too ....
The PI3 is powerful to do it, but maybe the code is not really optimized for ARM ? -
@darknior
An italian friend that is hacking like me on Pandora Jamma Box [*] has made a bad patch for enable saving! Keep the source patched here:
https://drive.google.com/open?id=1ktoFqLj2Do6RHyeEdqffKsQOunb7c2Wz[*] Actually we are not using RPI but a different chipset but that has ARMHF, anyway it's not difficult to make compile latest version of openbor, but it is very slow trust me! :( What kind of problems did you have compiling? I think that is much better use this very old version but at least it is fast!
-
Here you can find a version that seems better, it use pak...
https://github.com/rofl0r/openbor/releases/tag/compatible-official-3400%2B
For compile it just remove Werror from Makefile (i remove also BUILD_OPENGL and BUILD_LOADGL on pandora actually), it seems support also save game!
-
@zanac Thanks a lot for this fix, i wish some one will add it to my git with issues system.
For the moment i can't do it myself :(I understand the last version is slow, but it is strange because it's the same engine. Nothing more than new script functions.
And the last mods use them ... and are fantastic for sure !!!
I wish one day it will be possible to use the last version on pi :D -
-
I think that new version is slow for SDL2.0 usage.... I compiled the new one using:
make BUILD_PANDORA=1 -j 3I don't know if it's slow also on rpi, as i said i use allwinner chipset that for rendering use a mali-mp400, maybe the video card of rpi work better!
Just try to compile by yourself using that command... and of course install sdl-2.0-dev headers: trust me it compile fine and run! -
@zanac Thank you. Can you share the binary? I think this would speedup progress.
AFAIK the GPU of the Pie is not very powerful ... Sorry I can not test yet
For speeding up SDL2
https://choccyhobnob.com/raspberry-pi/sdl2-2-0-8-on-raspberry-pi/
-
here you are two binary, but i compiled with cortex-a9 (for allwinner), if it don't run i must recompile for generic arm... let me know! The first one is without GL, the second with GL, try both!
https://drive.google.com/open?id=1w1g2twe294LnhZHue69xGOliRs4-R_zM
https://drive.google.com/open?id=1FuJ7PJNQ3fCnk4Rx_tqdWG2uwpMsxno_@cyperghost said in OpenBOR finally working fine on RETROPIE with ES:
@zanac Thank you. Can you share the binary? I think this would speedup progress.
-
@zanac Thank you
Here are some SDL2 prebuilds with stripped down dependencies. This should speedup -
@cyperghost said in OpenBOR finally working fine on RETROPIE with ES:
@zanac Thank you
Here are some SDL2 prebuilds with stripped down dependencies. This should speedupSorry, i cannot use sdl prebuilds for rpi, i must use patched version of libsdl2 for mali... ;)
i already patched sdl2 with this patch https://github.com/recalbox/recalbox-buildroot/blob/master/board/recalbox/xu4/patches/sdl2/sdl2-0003-mali.patchbut this is another story, i don't use rpi as i said ;)
-
@zanac I think RetroPie is installed by default with SDL2 maybe some admin @mediamogul can confirm?
So indeed if someone will rebuild OpenBOR chances are high for a good speedup
-
@cyperghost said in OpenBOR finally working fine on RETROPIE with ES:
@zanac I think RetroPie is installed by default with SDL2 maybe some admin @mediamogul can confirm?
So indeed if someone will rebuild OpenBOR chances are high for a good speedup
Yes but if you are Lucky bin that i linked work also in Your rasb! Just try
-
I can officialy confirm that GL version using SDL-2 patched is very fast!!!
So you can just use a GL version on RPI and you will enjoy a new version of openbor also o RPI!!! -
@zanac you made my day. How did you patch SDL? And which rev number is the openbor engine now?
-
@cyperghost said in OpenBOR finally working fine on RETROPIE with ES:
@zanac you made my day. How did you patch SDL? And which rev number is the openbor engine now?
I built 6412!
I attached the binary some post ago, Just try it, you dont need to patch sdl2 on retropie, i had to patch sdl2 cause i use the mali gpu as i said.
Maybe the only thing needed for rasb is the sdl2gfx lib..
I m sure that also on rasb is possible to make it work like on allwinner Board, trust me! We have arm both and very similar chipset. -
@zanac This is great news. Thank you!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.