If you have any issues, please feel free to contact us with email@example.com
Fackbook page: https://www.facebook.com/pb3aracde/
Note: There are so many versions of PB4. Everything I said in here only works with the following versions of PCB.
The TF card stores all software and games, users can open plastic package of game card to check the TF card.
The TF card has 2 partitions.
The first partition is of FAT32 format, and stores some boot files, game configuration files, and Linux kernel image files.
The second partition is of EXT3 format, and stores all programs for game, game roms and program resources.
In the newest version software , PB4X , there is a little program for xmame player, lemonlauch .
It is a open source project. Link
The path '/usr/emu/lemonlaunch.config.vga' of the 2nd partition stores some configuration file for VGA mode
The path '/usr/emu/lemonlaunch.config.cga' of the 2nd partition stores some configuration file for CGA mode
There is a datebase file 'games.db' in each path to store game lists.
if you want to edit game list, add game , you can do the following :
the table format
CREATE TABLE games ( id INTEGER NOT NULL, filename VARCHAR, name VARCHAR, genre VARCHAR, clone_of VARCHAR, manufacturer VARCHAR, year INTEGER, last_played DATETIME, params VARCHAR, count INTEGER, favourite BOOLEAN, hide BOOLEAN, broken BOOLEAN, missing BOOLEAN, stars INTEGER, PRIMARY KEY (id), CHECK (favourite IN (0, 1)), CHECK (hide IN (0, 1)), CHECK (broken IN (0, 1)), CHECK (missing IN (0, 1)) );
note: please set favourite field to 1 , or the game list will not display new game
note:you'd better to connect serial port on the boards, to check the program log
The boards suupport 3 game modes. The file 'game' of the first partition store current game options. You change its content.
The file '/usr/emu/runGame' of the second partition is the boot script of software, you can check it for detail.
The directory /usr/sd/roms of the second partition stores all game roms, you can copy your roms to here. The file xmame.game of the first partition stores game roms name, the default content should be 'dino'
Modify file '/usr/emu/runGame' of the second partition, try to comment the commands for play boot video and logo video.
Some guys strongly ask me to add these game. I did some tests with Xmame player , but the result is not very happy.
https://drive.google.com/file/d/0B2A9AdN2h8n8ZFlST3dkODh5U1k/view?usp=sharing is the share link of the roms I tested.
Press side button to enter configuration menu, and set 'game selection mode' as 'any'
Some users feel this sound is not very good. The files '/lib/pb4/config.stdcse/config/sound/go.wav' and '/lib/pb4/config.stdcses/config/sound/go.wav' of the second partition is the sound file, one for CGA, and the other for VGA. Try to replace this sound file to you wanted.
https://drive.google.com/file/d/0B2A9AdN2h8n8NFJnMVV6RmZJUTg/view?usp=sharing includes all sound files, and replace the 'tank' sound and 'ready go' sound with silent sounds.
Warning: do not delete or rename the sound files, or the game program will crash.
The J36 on the PCB is the pins for debug serial port.
Debug Serial port configuration : 115200 8N1
Users can connect serial port to check debug information, and login in Linux system to run commands.
PB4 support 2 kind of monitor mode, VGA and CGA. And PB4 does not output VGA and CGA signal at same tim. There is a dedicate circuit to detect whether a VGA cable connect to the boards when boot. But sometimes, this circuit is out of work. Program starts wrong monitor mode, so users can not get good video.
the file list related to monitor mode in the first partition
Users can modify this file to change monitor mode manually. Program load these file accord to file name. So users can copy files.
Force to VGA mode:
replace all CGA file with VGA file
$ cp script.bin script1.bin
$ cp uImage.pb4 uImage1.pb4
$ cp uImage.kzbw uImage1.kzbw
$ cp uImage.xmame uImage1.xmame
Force to CGA mode:
replace all VGA file with CGA file
$ cp script1.bin script.bin
$ cp uImage1.pb4 uImage.pb4
$ cp uImage1.kzbw uImage.kzbw
$ cp uImage1.xmame uImage.xmame
WARNING: please backup all files you will overwrite.