OpenBOR Xbox: Difference between revisions

From GameBrew
(Created page with "{{Infobox XBOX homebrew | title = OpenBOR XBOX | image = 250px | type = Game engine | version = v3.2 Build 3698...")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox XBOX homebrew
{{Infobox XBOX Homebrews
| title      = OpenBOR XBOX
| title      = OpenBOR Xbox
| image      = [[image:OpenBOR - v32 - Build 3698.png|250px]]
| image      = openborxbox2.png
| type        = Game engine
| type        = Game Engine
| version    = v3.2 Build 3698
| version    = 3.2 Build 3698
| licence     = Mixed
| license     = Mixed
| author      = A600/Madmab
| description = OpenBOR port for the Xbox.
| lastupdated = 2016/03/07
| format      = XBE
| author      = A600, Madmab
| website    = http://www.emuxtras.net/forum/viewtopic.php?f=186&t=5310
| website    = http://www.emuxtras.net/forum/viewtopic.php?f=186&t=5310
| download    = media:OpenBOR - v32 - Build 3698.rar
| download    = https://dlhb.gamebrew.org/xboxhomebrews/openborxbox.7z
| source      =  
| source      = https://dlhb.gamebrew.org/xboxhomebrews/openborxbox.7z
}}
}}
<youtube>gImURnuar9w</youtube>
OpenBOR is a continuation of the Beats Of Rage 2D game engine, which was originally created by the Senile teams.


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


This is an OpenBOR port for the Xbox1, possible thanks to the hard work of the OpenBOR and Senile teams and the SDLx libs by Lantus.
==User guide==
For more info about OpenBOR, visit Chrono Crash.<ref>[https://www.chronocrash.com/ ChronoCrash - Where Classic and Modern Gaming Collide.]. Accessed 2018-02-10.</ref>


For more info about OpenBOR, check out http://www.chronocrash.com/
===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.


If anyone has access to an xbox 360 devkit and is willing to compile this, that would be great. I have no way of compiling or testing this. Also I need to know the format of the XLaunchNewImage() command for the 360 to make the exit/reload functionality work correctly.
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


==WHAT'S NEW==
The flickerfilter option can be a number between 0 and 5.


* Openbor now remembers the last PAK selected on exit.
===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.  


* When exiting a gamepak openbor does a "reload" and goes back to the game select menu.
If you really want to you could probably put it in a separate folder. Just make sure you copy over openbor's support files.


* Changing the "aspect ratio" in the "video options" would cause the screen to blank. Fixed.
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.  


* The "widescreen" mode of the gameselect menu is activated when in 720p mode.
You can also put a local drive if you want to (preferably D:\).


* 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.
For example..


* 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.
Local - "d:\Paks\Favorites", "d:\paks\"


* Corrected free memory display in log output. It was always displaying 0.
A typical samba path is of the following format..  


* Commented out a group of lines that were causing intermittent lockups on various BOR paks.. Will it cause other problems? Only testing will tell.
"smb:\\DEVICENAME\SHARENAME\The\Path\Too\My\Paks"


* Track info not displaying properly in music player if > 24 characters.. Fixed.
For example - A computer with the network name MADMAB and a share called "YorgleT2" have something like this..


* 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. Fixed
"smb:\\MADMAB\YorgleT2\Console\Xbox\Xbox Homebrew\BOR-openbor stuff\New"


* Created an intercept for malloc and calloc commands so we can exit properly and log out of memory errors.
You should also be able to use the format as described in x-port emulators. Read below if you use username and password.


* 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.
The smbshare parameter accepts many different formats. Here are the most common:
 
* xbox_path_pak_net="smb://username:password@workgroup/computername/sharename"
* 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.
* xbox_path_pak_net="smb://username:password@workgroup:ip_address/computername/sharename"
 
* xbox_path_pak_net="smb://username:password@computername/sharename"
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.
* xbox_path_pak_net="smb://username:password@computername:ip_address/sharename"
 
* xbox_path_pak_net="smb://workgroup/computername/sharename"
* The code to play background music in the music player was not properly passing the pointer. Fixed
* xbox_path_pak_net="smb://workgroup:ip_address/computername/sharename"
 
* xbox_path_pak_net="smb://computername/sharename"
* 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.
* xbox_path_pak_net="smb://computername:ip_address/sharename"


==CONTROLS==
==Controls==
D-Pad - Up/Down/Left/Right


Dpad -> Up/Down/Left/Right
A - Button1
A -> Button1
B -> Button2
X -> Button5
Y -> Button6
Left Trigger -> Button3
Right Trigger -> Button4
Back -> Escape
Start -> Start
Right Analog Thumb -> Screenshot


All controls can be remapped using the "Control Options" menu.
B - Button2


==SCREEN==
X - Button5


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.
Y - Button6


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


xpos=0
R - Button4
ypos=0
xstretch=0
ystretch=0
flickerfilter=1
720p=1


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


Start - Start


==USING SAMBA==
Right-Stick - Screenshot


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 seperate folder. Just make sure you copy over openbor's support files.
All controls can be remapped using the Control Options menu.


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:\).
==Screenshots==
https://dlhb.gamebrew.org/xboxhomebrews/openborxbox3.png


For example..
https://dlhb.gamebrew.org/xboxhomebrews/openborxbox4.png


Local -> "d:\Paks\Favorites", "d:\paks\"
==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.


A typical samba path is of the following format..
'''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.


"smb:\\DEVICENAME\SHARENAME\The\Path\Too\My\Paks"
'''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.


For example.. I have a computer with the network name MADMAB and a share called "YorgleT2" then I might have something like this.
==Credits==
Thanks to the hard work of the OpenBOR and Senile teams and the SDLx libs by Lantus.


"smb:\\MADMAB\YorgleT2\Console\Xbox\Xbox Homebrew\BOR-openbor stuff\New"
==References==
<references />


You should also be able to use the format as described in x-port emulators. Read below if you use username and password
==External links==
 
* EmuXtras - https://www.emuxtras.net/forum/viewtopic.php?f=186&t=5310
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"

Latest revision as of 11:14, 5 May 2024

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: