Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM --platform=linux/x86_64 mcr.microsoft.com/devcontainers/base:debian

ENV WORKSPACE=/workspace
ENV DEVKITPRO=/opt/devkitpro

RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture i386 && \
Expand Down Expand Up @@ -32,10 +31,6 @@ RUN curl -L https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.30.2-
curl -L https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libpng-1.6.43-1-any.pkg.tar.zst | tar --use-compress-program=unzstd -xv -C /opt && \
curl -L https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libvpx-1.14.0-1-any.pkg.tar.zst | tar --use-compress-program=unzstd -xv -C /opt

# DevkitPRO
COPY installDevkitPro.sh .
RUN ./installDevkitPro.sh

# Base Directories
RUN mkdir -p "${WORKSPACE}" && chmod -R 777 "$WORKSPACE"

Expand Down
26 changes: 0 additions & 26 deletions .devcontainer/installDevkitPro.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ tools/bin/.wget-hsts
tools/win-sdk/*
!tools/win-sdk/win-sdk.7z
tools/psp-sdk/*
tools/devkitpro/*
!tools/devkitpro/devkitPro.7z
/openbor_vs
engine/ios/Build
**/.DS_Store
Expand Down
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ project(OpenBOR VERSION 4.0 LANGUAGES C)
option(BUILD_WIN "Windows" OFF)
option(BUILD_LINUX "Linux" OFF)
option(BUILD_DARWIN "MacOS" OFF)
option(BUILD_WII "Nintendo Wii Console" OFF)

# Backends
option(TARGET_ARCH "[X86,AMD64,ARM64,UNIVERSAL]" OFF)
Expand Down Expand Up @@ -73,7 +72,7 @@ add_executable(${PROJECT_NAME} ${SRC_FILES})
add_dependencies(${PROJECT_NAME} VersionInfo)

# Auto-Detect
if(NOT (BUILD_WIN OR BUILD_LINUX OR BUILD_DARWIN OR BUILD_WII))
if(NOT (BUILD_WIN OR BUILD_LINUX OR BUILD_DARWIN))
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(BUILD_DARWIN ON)
message("Build target not specified, BUILD_DARWIN=ON")
Expand All @@ -96,8 +95,6 @@ elseif(BUILD_DARWIN)
include("cmake/macos.cmake")
elseif(BUILD_LINUX)
include("cmake/linux.cmake")
elseif(BUILD_WII)
include("cmake/wii.cmake")
endif()

# Include Optional Source Files
Expand Down
2 changes: 0 additions & 2 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Within the root of the OpenBOR repository you will find CMakeLists.txt which con
Linux (linux.cmake)
Windows (windows.cmake, windows-finalize.cmake)
Darwin (macos.cmake, macos-finalize.cmake)
Wii (wii.cmake)

# Building Target
Cmake provides various options for building a targets in general, however we are only going to focus on a subset of these options. Typically running the cmake command without addition parameters is enough for the configuration system to identify which host you are running on in order to build a native target. A few example are provided below to showcase how to configure and build a OpenBOR target.
Expand Down Expand Up @@ -102,7 +101,6 @@ Using the build scripts provided in the repository we can now ensure that all su
-rw-r--r-- 1 root root 1537 Apr 20 15:13 LICENSE.txt
drwxr-xr-x 9 root root 288 Apr 21 01:24 LINUX
-rw-r--r-- 1 root root 314 Apr 20 15:13 README.txt
drwxr-xr-x 7 root root 224 Apr 21 01:24 WII
drwxr-xr-x 8 root root 256 Apr 21 01:24 WINDOWS
-rw-r--r-- 1 root root 5871 Apr 20 15:13 translation.txt

Expand Down
34 changes: 12 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,20 @@ To find out more, stop into the OpenBOR community at [ChronoCrash.com](https://w

* **2011 -** *[Sumo1X](https://github.com/SumolX)* retires from the OpenBOR Team, and hands management duties to [DCurrent (Damon Caskey)](https://github.com/DCurrent).

* **2017 -** OpenBOR repository migrates from SourceForge to Github.
* **2017 -** OpenBOR repository migrates from SourceForge to GitHub.

* **2021 -** Development continues on OpenBOR 4.0, with various internal source cleanups, a more object centric script engine, and fixes for long standing issues.

* **2024 -** After an extended development cycle, the first official 4.0 build drops. Development continues to refine and fill requests that did not make the initial 4.0 release deadline.

## Platforms
OpenBOR has a very modular and portable design inherited from Beats of Rage - several ports have been made available.
* **2026 -** Focus shifts to removing legacy console port cruft while refining engine architecture and build tools. The goal is to position OpenBOR as a powerful commercial option for beginners and advanced creators while staying enthusiast-friendly and royalty-free.

### Current
These platforms are actively supported and may be compiled with the latest OpenBOR engine.
## Platforms
OpenBOR currently supports the following platforms.

* Android
* Windows
* Linux
* Wii

### Discontinued

The following platforms are still available as legacy binaries but are no longer supported and may not be compatible with current iterations of OpenBOR.

* PSP
* Dreamcast
* GP2X
* GP2X Wiz
* Mac OS X
* OpenDingux (Dingoo A320 & GCW-Zero)
* Windows

## OpenBOR Team

Expand All @@ -61,16 +48,19 @@ The following platforms are still available as legacy binaries but are no longer
#### [Damon Caskey](https://github.com/DCurrent) (2007-)
OpenBOR project manager and site owner of the OpenBOR community. Primary contributions are core engine and scripting development, code cleanup, and organization. Main focus is keeping OpenBOR future proof and modular by replacing specialized hardcoding and overlap with generalized features that allow for more author creativity.

#### [Plombo](https://github.com/plombo) (2009-)
A developer who prefers to work on OpenBOR's supporting libraries and platform-specific backends. Known for maintaining the Wii port, writing the GPU-accelerated video code for Wii and OpenGL, and a few engine features.

#### [Malik](https://github.com/msmalik681) (2018-)
Malik came to the team with a strong OpenBOR scripting background, and quickly established himself as a resident go-to for the Android Port. Malik dedicates himself to keeping the Android port of OpenBOR a commercially viable platform for authors who wish to sell their original IP projects.

#### [fgames9000](https://github.com/fgames9000) (2021-)
Known as Kratus in the OpenBOR community, creator of the amazing [Streets of Rage X](https://www.chronocrash.com/forum/resources/streets-of-rage-x-windows-android.274/) fan remake. Kratus is a highly respected community member known for scripting skills, game design, and assisting other members with projects. Main contributions are unit testing, advising, and bug fixes for engine logic and Linux port.

### Former members and contributors

#### [Plombo](https://github.com/plombo) (2009-2024)
Developer who prefers to work on OpenBOR's supporting libraries and platform-specific backends. Known for maintaining the Wii port, writing the GPU-accelerated video code for Wii and OpenGL, and a few engine features. Contributed many powerful functionalities including alpha masks, control upgrades, and the PalApply tool.

#### [Douglas Baldan](https://github.com/dbaldan) (2018-2021)
Known as O'Ilusionista, Douglas was a highly respected administrator of the OpenBOR community and a prolific member of the Mugen scene. His professional background in graphic design brought a plethora of graphic and game development experience to the team. Citing personal reasons, Douglas officially retired from the OpenBOR team mid-2021.
Known as O'Ilusionista, Douglas is prolific figure in OpenBOR and Mugen communities. His professional background in graphic design brought a plethora of graphic and game development experience to the team. Citing personal reasons, Douglas officially retired from the OpenBOR team mid-2021 but continues as an active community member and behind the scenes contributor.

#### [Wasin Thonkaew](https://github.com/haxpor) (2019)
Haxpor in the forums, a Linux centric developer who works hard to ensure our penguin crowd has the proper tools for development and underlying libraries of OpenBOR remain compatible to compile for mobile platforms.
Expand Down
5 changes: 0 additions & 5 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ cmake -DBUILD_LINUX=ON -DTARGET_ARCH="ARM64" -S . -B build.lin.arm64 && cmake --
rm -rf build.win.x86 build.win.amd64
cmake -DBUILD_WIN=ON -DTARGET_ARCH="x86" -S . -B build.win.x86 && cmake --build build.win.x86 --config Release -- -j `nproc` || exit 1
cmake -DBUILD_WIN=ON -DTARGET_ARCH="AMD64" -S . -B build.win.amd64 && cmake --build build.win.amd64 --config Release -- -j `nproc` || exit 1

# Nintendo Wii
rm -rf build.wii; mkdir build.wii && cd build.wii && \
$DEVKITPRO/portlibs/wii/bin/powerpc-eabi-cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WII=ON .. || exit 1
make -j `nproc` || exit 1; cd ..
43 changes: 0 additions & 43 deletions cmake/wii.cmake

This file was deleted.

75 changes: 0 additions & 75 deletions engine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,24 +165,6 @@ BUILD_DEBUG = 1
endif
endif

ifdef BUILD_WII
TARGET = $(VERSION_NAME).elf
TARGET_MAP = $(TARGET).map
TARGET_FINAL = boot.dol
TARGET_PLATFORM = WII
BUILD_TREMOR = 1
BUILD_WEBM = 1
BUILD_ELM = 1
BUILDING = 1
INCLUDES = $(DEVKITPRO)/portlibs/ppc/include \
$(DEVKITPRO)/libogc/include
LIBRARIES = $(DEVKITPRO)/portlibs/ppc/lib \
$(DEVKITPRO)/libogc/lib/wii
ifeq ($(BUILD_WII), 0)
BUILD_DEBUG = 1
endif
endif

STRIP = cp $(TARGET) $(TARGET_FINAL)
ifndef BUILD_DEBUG
ifndef NO_STRIP
Expand All @@ -195,9 +177,6 @@ endif
ifdef BUILD_DARWIN
STRIP = $(PREFIX)strip $(TARGET) -o $(TARGET_FINAL)
endif
ifdef BUILD_WII
ELF2DOL = elf2dol $< $@
endif
endif
endif

Expand All @@ -206,10 +185,6 @@ endif
# Directories
#----------------------------------------------------------------------------------------------------

ifdef BUILD_WII
INCS += wii
endif

ifdef BUILD_SDL
INCS += sdl
endif
Expand Down Expand Up @@ -350,17 +325,6 @@ GAME_CONSOLE = psp/control/control.o
psp/pspport.o
endif


ifdef BUILD_WII
GAME_CONSOLE = wii/control.o \
wii/sblaster.o \
wii/timer.o \
wii/video.o \
wii/threads.o \
wii/menu.o \
wii/wiiport.o
endif

ifdef BUILD_VITA
GAME_CONSOLE = vita/control.o \
vita/sblaster.o \
Expand Down Expand Up @@ -474,14 +438,6 @@ ifdef BUILD_PANDORA
CFLAGS += -DLINUX
endif


ifdef BUILD_WII
CFLAGS += -DCACHE_BACKGROUNDS -DREVERSE_COLOR -D__ppc__ $(MACHDEP) -Wl,-Map,$(TARGET_MAP),-wrap,wiiuse_register
# This allows to compile with DevkitPPC r29 and above.
CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
endif


ifdef BUILD_VITA
CFLAGS += -DCACHE_BACKGROUNDS -Wl,-q
endif
Expand Down Expand Up @@ -578,12 +534,6 @@ ifdef BUILD_PTHREAD
LIBS += -lpthread
endif


ifdef BUILD_WII
LIBS += -lwupc -lwiiuse -lbte -lfat -lasnd -logc
endif


ifdef BUILD_VITA
LIBS += -lvita2d -lSceKernel_stub -lSceDisplay_stub -lSceGxm_stub \
-lSceSysmodule_stub -lSceCtrl_stub -lScePgf_stub \
Expand Down Expand Up @@ -664,30 +614,6 @@ $(TARGET_FINAL) : $(TARGET)
@echo $(TARGET_FINAL) is now ready!
endif

#----------------------------------------------------------------------------------------------------
# Rules to manage Files and Libraries for Wii
#----------------------------------------------------------------------------------------------------

ifdef BUILD_WII
SOURCES = $(INCS)
include $(DEVKITPPC)/wii_rules
all : $(TARGET) $(TARGET_FINAL)
@echo
%.o : %.c
@echo Compiling $(TARGET_PLATFORM) Port: $<...
@$(CC) $(CFLAGS) -c $< -o $@
$(TARGET) : $(OBJS) $(RES)
@echo
@echo Linking $(TARGET_PLATFORM) Port: $(TARGET)...
@$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(TARGET_RESOURCE) $(LIBS)
$(TARGET_FINAL) : $(TARGET)
@echo Stripping $(TARGET_PLATFORM) Port: $(TARGET_FINAL)...
@$(ELF2DOL)
@echo
@echo Completed $(TARGET_PLATFORM) Port!
@echo $(TARGET_FINAL) is now ready!
endif

#----------------------------------------------------------------------------------------------------
# Rules to manage Files and Libraries for Vita
#----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -727,7 +653,6 @@ all:
@echo
@echo make BUILD_PSP=1
@echo make BUILD_PS2=1
@echo make BUILD_WII=1
@echo make BUILD_WIN=1
@echo make BUILD_PANDORA=1
@echo make BUILD_LINUX=1
Expand Down
Loading
Loading