Compiling OpenBOR info and links

ABK

Well-known member
I would like to create thread with links to everything that you need to compile openbor because most of the links provided in txt files that come with it are broken.
 
first thing needed is the tortoise Svn client on pc

http://tortoisesvn.net/downloads.html


then install the tortoise and create a new folder that will recieve all the openbor source code on it
right click on this new created folder and click on svn checkout

and paste this adress
svn://svn.code.sf.net/p/openbor/engine/


you start recieve the source code in this folder every time ou right click the folder and select svn update


to build the .exe and compile the default formats just click on  build.bat
and the openbor binaries will be created inside the folder releases
it will compile for dreamcast, windows, wii, wiz, gp2x, psp


now i must do a research toknow how to compile for android and dingoo
 
Big thanks, there is some info in sourcecode and mail to utunnels in android folder
I have tortoise but i cant compile cause it says that bash.exe is missing when i click on bat file, i installed cygwin but it still says the same, when i move bash.exe to the same folder where bat file is then it says SDK isnt installed.
Are you on windows ?
 
I had it working about 4 years ago but now it doesnt want to compile, i get this weird message about bash.exe "'bash' is not recognized as an internal or external command"
 
this is the content of my build.bat

Code:
@rem
@rem OpenBOR - http://www.chronocrash.com
@rem -----------------------------------------------------------------------
@rem All rights reserved, see LICENSE in OpenBOR root for details.
@rem
@rem Copyright (c) 2004 - 2011 OpenBOR Team
@rem

@rem ----------------------- Bash NIX Shell Scripts ------------------------

@setlocal
@echo off
set BUILDBATCH=1
set TOOLS=../tools/bin;../tools/7-Zip;../tools/svn/bin
set PATH=%TOOLS%
bash.exe build.sh all
@endlocal

@rem ----------------------- Batch CMD Line Scripts ------------------------

@setlocal
@echo off
@if not exist "%CD%\releases\PSP\OpenBOR\EBOOT.PBP" goto missing
@if not exist "%CD%\releases\GP2X\OpenBOR\OpenBOR.gpe" goto missing
@if not exist "%CD%\releases\WIZ\OpenBOR\OpenBOR.gpe" goto missing
@if not exist "%CD%\releases\DC\OpenBOR\1ST_READ.BIN" goto missing
@if not exist "%CD%\releases\WINDOWS\OpenBOR\OpenBOR.exe" goto missing

set TOOLS=../tools/bin;../tools/7-Zip;../tools/svn/bin
set PATH=%TOOLS%;%PATH%
call xbox/make.bat
bash.exe version.sh 1
:missing
@endlocal


right click on build.bat then edit and check it is the same, i dont remember if i had did some edit here or not i always compile my own builds most of the time
 
i found another thing

did you have the engine folder with all openbor source?

did you have one folder called tools outiside engine folder?

if not create one and set this adress on tortoise svn

svn://svn.code.sf.net/p/openbor/tools/
 
that was the reason! I knew it was more than just getting engine from repo cause my folder had more MB 4 years ago so i guess someone moved tools folder outside of engine folder.
Now we need to locate files needed for compiling android, mac and other missing SDK
 
Yeah alternatively you can just download the two archives and set it up it like this
Untitled_1.png


Then in engine folder run 'build.bat' or 'Build - Windows.bat'
 
rafhot said:

SX did that (separating tools and engine folders) shortly before he retired. He reasoned it would be more convenient to development because the tools folder is so big. I strongly disagreed because it creates a lot of confusion, but changing it back now would be a nightmare and break far more than it would fix.

DC
 
@Damon Caskey

I finally got around to setting up the XDK again so I can compile a new xbox port. 

But these files are missing from engine/xbox/

"ram.h"
"globals.h"
"types.h"
 
Not sure if I can do anything to help. The problem with ports (and why I'm not a big fan) is each one had its own developer working completely outside the core team on their own pet rock. Inevitably the second they get it working... *poof* Gone, never to be seen again for support or maintenance.

I don't even know WHO worked on the various ports, let alone any source coding details.

What I'll have to do is look back through the SVN logs and see who contributed what - but it may be a while. I mentioned before that it may be ~October before I can take enough time to work on the code again.

DC
 
I don't know if this is the right place to ask but a member of the forum uploaded a module and is waiting admin approval to publish it.
 
@Damon Caskey - I have  Build 3692 ported by A600 that had sources included,  but I'm not having any luck with this either.
 
I managed to create APK file which copies PAK into openbor paks folder so its easier to install games for some users without having to manually copy everything.
Im still downloading NDK to setup android compilation.
 
Back
Top Bottom