OpenBOR Xbox

From GameBrew
OpenBOR Xbox
Openborxbox2.png
General
AuthorA600, Madmab
TypeGame engine
Version3.2 Build 3698
LicenseMixed
Last Updated2016/03/07
Links
Download
Website
Source

OpenBOR is a continuation of the Beats Of Rage 2D game engine, which was originally created by the Senile teams.

This is an OpenBOR port for the Xbox1, ported by A600 and maintained by Madmab.

User guide

For more info about OpenBOR, visit Chrono Crash.[1]

Screen

If you are using the 720p videomode, to get a correct aspect ratio for those 4:3 paks, select the menu "Video Options" - "Aspect ratio" and set it to 4:3.

The xResizer.xbe included allows to resize the screen for those with overscan problems. It generates an xbox.cfg with these default settings:

xpos=0
ypos=0
xstretch=0
ystretch=0
flickerfilter=1
720p=1

The flickerfilter option can be a number between 0 and 5.

Using SAMBA

If you want to use samba you have to do two things. Rename the default_samba.xbe to default.xbe so you can run that.

If you really want to you could probably put it in a separate folder. Just make sure you copy over openbor's support files.

You'll have to edit the xbox.cfg file and add the line xbox_path_pak_net="" to it. Within the quotes you want to put the samba path.

You can also put a local drive if you want to (preferably D:\).

For example..

Local - "d:\Paks\Favorites", "d:\paks\"

A typical samba path is of the following format..

"smb:\\DEVICENAME\SHARENAME\The\Path\Too\My\Paks"

For example - A computer with the network name MADMAB and a share called "YorgleT2" have something like this..

"smb:\\MADMAB\YorgleT2\Console\Xbox\Xbox Homebrew\BOR-openbor stuff\New"

You should also be able to use the format as described in x-port emulators. Read below if you use username and password.

The smbshare parameter accepts many different formats. Here are the most common:

  • xbox_path_pak_net="smb://username:password@workgroup/computername/sharename"
  • xbox_path_pak_net="smb://username:password@workgroup:ip_address/computername/sharename"
  • xbox_path_pak_net="smb://username:password@computername/sharename"
  • xbox_path_pak_net="smb://username:password@computername:ip_address/sharename"
  • xbox_path_pak_net="smb://workgroup/computername/sharename"
  • xbox_path_pak_net="smb://workgroup:ip_address/computername/sharename"
  • xbox_path_pak_net="smb://computername/sharename"
  • xbox_path_pak_net="smb://computername:ip_address/sharename"

Controls

D-Pad - Up/Down/Left/Right

A - Button1

B - Button2

X - Button5

Y - Button6

L - Button3

R - Button4

Back - Escape

Start - Start

Right-Stick - Screenshot

All controls can be remapped using the Control Options menu.

Screenshots

openborxbox3.png

openborxbox4.png

Changelog

v3.2 Build 3698 (by Madmab)

  • Openbor now remembers the last PAK selected on exit.
  • When exiting a gamepak openbor does a "reload" and goes back to the game select menu.
  • Changing the "aspect ratio" in the "video options" would cause the screen to blank. Fixed.
  • The "widescreen" mode of the gameselect menu is activated when in 720p mode.
  • Xbox now falls back to 640i if you have 720p=1 in your xbox.cfg and the xbox is not hooked up to an HDTV.
  • Pressing right analog stick (or whatever is assigned to "screenshot") will toggle between 640i and 720p if you are hooked up to an HDTV. Use 640i for those PAK files that have out of memory issues.
  • Corrected free memory display in log output. It was always displaying 0.
  • Commented out a group of lines that were causing intermittent lockups on various BOR paks.. Will it cause other problems? Only testing will tell.
  • Track info not displaying properly in music player if > 24 characters.. Fixed.
  • Some reversed indexes was causing crashes when paks with 105 (may actually be 80) or more tracks (eg. Vermilion Sword) were in the pak folder.
  • Created an intercept for malloc and calloc commands so we can exit properly and log out of memory errors.
  • Because the xbox port always write a new "openborlog.txt" file the old one is copied to "openborloglast.txt". Same thing for the script file.
  • Some older paks would not play in build 3698 due to a correction in some script error detection. However they ran (for the most part) just fine before this correction occured.
    • If you want to play these older paks edit the xbox.cfg file and add the line "old_error_checking=1". Doing this will allow you to load the older paks. The errors caused by these paks will still be logged. If you want to force openbor to exit on these errors (for pak testing purposed) then change the line in the xbox.cfg to "old_error_checking=0". The errors will be logged AND openbor will exit on an error.
    • Errors typical of this scenario would be something like "Fatal Error in load_cached_model, file: data/chars/Dora/Dora.txt, line 14, message: Failed to create colourmap. Failed to create bitmap1". Usually something to do with the colourmap. If openbor exits and this is one of the last error messages in the log then try the above mentioned procedure.
  • The code to play background music in the music player was not properly passing the pointer. Fixed.
  • Added Samba support for playing PAK files. Because this uses more memory and memory is pretty tight on some paks I'm releasing two versions of openbor. One for people who want to use samba and one which has more free memory which is xbox hard drive only. Read below section on Samba support for more into.

v3.0 Build 3698 (by A600)

  • Night Slashers X doesn't crash anymore after finishing the first level (bug fixed by utunnels).
  • Sprites are always unloaded from memory after completing a level. That means that Night Slashers X, Bare Knuckle 6 and probably other games don't crash due to lack of free memory.
  • Rumble intensity option is now changed with left and right.
  • Updated source code to r3698.

Build 3692

  • Added rumble support. By default is disabled. Change it with the "Rumble Intensity" option from the Controls menu.
  • Updated source code to r3692.

Credits

Thanks to the hard work of the OpenBOR and Senile teams and the SDLx libs by Lantus.

References

External links

Advertising: