If you have any issues, please feel free to contact us with firstname.lastname@example.org
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.
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'
Screen tearing issue actually is a compatible issue with monitor. The file 'script.bin' of the first partition is the system parameter file of the VGA mode.
https://github.com/linux-sunxi/sunxi-tools has tools for this file. The file on the SD card is a binary file, we should convert to text mode to edit it.
fex2bin convert this file from text format to binary format;
bin2fex convert this file from binary format to text format;
https://github.com/OtakuNekoP/sunxi-fex-tools-gui4win has a windows GUI version of this tool, but I've not tested it.
http://linux-sunxi.org/Fex_Guide describe the format of this file. Try to modify the parameters 'lcd_dclk_freq' of the section 'lcd0_para' for some non-standard monitor to avoid screen tearing. Only try to plus 1 or minus 1 .
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.