Ini-Bsi File Structure

Below, it is posted the structure of an ini/bsi file. The words in orange are required only when you
use BSplayer v1.00 and above. To see an example click here.

Section [Main]

Version=1.00

Must be present in bsi files for version >=1.00

NumberCDs=X

Optional
X=Total number of CDs
If movie is on more than 1 CD then at the end of movie player will automaticaly search for next CD.
It will do the following:
Search all CD-ROM drives for .bsi file with 'CD=CurrentCDNumber+1' line.
If .bsi file is found it will read further info from file.
If it's not found then it will prompt for CD.

CD=X

Optional if NumberCDs is present then Required
X=Number of current CD

Section [Movie]

Title=The Matrix

Optional
Movie title

Directory=path

Required
Directory where movie is located. Relative to .bsi file.
If movie is in the same directory as .bsi file put "." (dot) here, for ex. Directory=.

FName=name.avi

Required
Name of the movie file

FNameX=name.avi

Reserved

AudioFile1=file.wav

AudioFileX=fileX.wav

Optional
Load additional audio streams

Examples:

AudioFile1=file1.mp3
AudioFile2=file2.mp3

AudioName1=Name 1

AudioNameX=Stream X

Optional
AudioName defines names for audio streams in .AVI file
Syntax is:
AudioNameStream Number=Name

Examples:

AudioName1=Original soundtrack -> Assign name 'Original soundtrack' to 1st audio stream
AudioName2 =Commentary -> Assign name 'Commentary' to 2nd audio stream

Section [Subtitles]

Directory=path

Optional
Directory where subtitles are located

Sub1=English|TheMatrix.sub
Sub2=Spanish|subfile.srt
Sub3=French|subtitle file.sub

Optional
Subtitles
Syntax: Subtitle language|SubtitleFile.sub

BSPlayer can handle many common subtitle formats. For example .SRT and .SUB

SubDelay=X

Optional
X=Subtitle delay in frames

Font=0;Arial Black;12;3;16777215
FontColor=XXXXXXXX
BackColor=XXXXXXXX
SubPos=X

Optional
Subtitle font, color and position.
These lines can be auto generated: adjust them in the player as you like, press F10 and opt.txt will be generated

StartTime=HH:MM:SS
StartTime= X

Optional
Subtitle start time
X= frame.
HH:MM:SS=Hours:Minutes:Seconds

Ex.
StarTime=01:05:20
StarTime=45000

Note:
Subtitle file should be the same on all CDs, you don't have to cut it.
BSPlayer will display subtitles synchronized without this option too. It's usefull if you start watching movie from 2nd (or 3rd...) CD

DefaultSub=X

Optional
Defines subtitle that will be shown at start

Ex.:
DefaultSub=1 -> First subtitle
DefaultSub=2 -> Second subtitle
DefaultSub=0 -> Turn off subtitles

Section [ChaptersX] -> X=CD number

1=00:00:10 Chapter 1
2=00:00:50 Chapter 2
3=00:01:20 Chapter 3
etc...

Optional
Syntax is
HH:MM:SS Chapter name
or
frames Chapter name

You can swich chapters from right click menu of the player

StartTime=HH:MM:SS
or
StartTime=X

Optional
If movie is on 2 or more CDs this is time where chapters begin on other CDs.

Example: movie 2 hours long on 2 CDs, each CD is one hour.

---
[Chapters1]
1=00:00:00 Chapter 1
2=00:15:00 Chpater 2
3=00:30:00 Chapter 3
4=00:45:00 Chapter 4

[Chapters2]
1=01:00:00 Chapter 5
2=01:15:00 Chpater 6
3=01:30:00 Chapter 7
4=01:45:00 Chapter 8
StartTime=01:00:00
---

If chapters for all CDs are in .bsi file then all chapters will be displayed and player will ask for right CD if you choose chapter that is not on current CD.
If you want that only chapters from current CD are visible then .bsi for each CD should have only chapters for this CD.
For ex. cd1.bsi should only have section [Chapters1], CD2 -> [Chapters2] etc...

Note: If chapters on all CDs start form 0 then you don't need this option. For ex.:

[Chapters1]
1=00:01:00 Chapter 1
2=00:08:22 Chapter 2
...

[Chapters2]
1=00:01:10 Chapter 1
2=00:09:11 Chapter 2
....

Section [Options]

PanScan=0|1

Optional
Panscan, 0-off, 1-on

CPanScan=X

Optional
Custom pan-scan, auto generated by player (F10)

FullScreen=0|1

Optional
Full screen mode, 0-off, 1-on

ExitAtEnd=0|1

Optional
Close player when movie is finished, 0-no, 1-yes

Audio=X

Optional
Audio stream for movies with 2 or more audio streams
1=1st audio stream
2=2nd audio stream
x=x audio stream
0=Use Semi's DirectSound 3D
A=All streams

Skin=Name

Optional
skin must be in BSPlayer\skins folder

Lang=Name

Optional
.lng file in BSPlayer\lang folder

Resolution=XxYxZ

Optional
X=Width, Y=Height, Z=Color depth, ex. Resolution=1024x768x16

AudChan=X

Optional
InterVideo AC3 Options
0 - 2 Speaker mode Mono
1 - Stereo
2 - Dolby surround
3 - 3D Audio
4 - 4 Speaker
5 - 6 Speaker
6 - S/PDIF

Aspect=x:y

Optional
Aspect ratio ex. Aspect=16:9

RunHD=0|1|2

Optional
If player is installed on local hard disk run it from HD
0 - Never
1 - If newer version detected on HD
2 - Always

 

 View this site in Greek.

Hosted by www.Geocities.ws

1