Here are some interesting things you might want to know:
a) Difference between ce_bz and cefull
ce_bz = kernel-header (1536 bytes) + cefull
b) Can I removed sqx files?
Sure, when the you reset the version file:
c) Where are the max res and wifi mode stored?
c1) First look there:
c2) Add general override file:
create va-custom.sqx to add for example a
/etc/models.d/superset/99-custom
file with override settings:
You can also load extra nic modules there or maybe webcam or whatever. I prefer creating extra sqx files for adding/loading modules and dont add em here.
c3) Add model specific override
The /etc/models.d is based upon
So you could add different configs for all your different boards.
d) Hidden games on website
e) Custom about message
Put your infos into external file:
custom/dvm.about
f) Custom menu entries
Add your vainfo-*.desktop files into
usr/share/applications
and the icon into
usr/share/pixmaps
g) Custom start menu loaded by ce
the menu is located in the skin0000.bin file, you can change the start commands - here to show em (initva=command is executed).
and even extract the gif images using that script:
Als long as they are smaller you could simply replace em - just an example:
a) Difference between ce_bz and cefull
ce_bz = kernel-header (1536 bytes) + cefull
b) Can I removed sqx files?
Sure, when the you reset the version file:
Code:
dd of=version bs=1 seek=32 count=0
c1) First look there:
Code:
echo $DVM_MODEL
create va-custom.sqx to add for example a
/etc/models.d/superset/99-custom
file with override settings:
Code:
# wifi network export DI_HAVE_WIFI_LIST='wlan0' export DI_HAVE_WIFI_RA_HACK='no' # screen export DI_HAVE_RES_DDC='yes' export DI_HAVE_RES_LIST='800x600x24x60,1024x768x24x60,1280x800x24x60,1280x1024x24x60,1366x768x24x60,1440x900x24x60,1440x1050x24x60,1600x1200x24x60,1680x1050x24x60,1920x1080x24x60,1920x1200x24x60'
c3) Add model specific override
The /etc/models.d is based upon
Code:
dmidecode -s system-product-name|tr ' /' '_'
d) Hidden games on website
e) Custom about message
Put your infos into external file:
custom/dvm.about
f) Custom menu entries
Add your vainfo-*.desktop files into
usr/share/applications
and the icon into
usr/share/pixmaps
g) Custom start menu loaded by ce
the menu is located in the skin0000.bin file, you can change the start commands - here to show em (initva=command is executed).
Code:
strings skin0000.bin|grep kernel.bin
Code:
#!/bin/sh FILE="skin0000.bin" OUTPUT_PREFIX="pic_" OUTPUT_SUFFIX=".gif" OUTPUT_SUFFIX_OFFSET=".offset" OUTPUT_SUFFIX_SIZE=".size" NUM=0 last=0 for offset in $(perl -wne 'BEGIN{ undef $/ } print $-[0], "\n" while /GIF89a/g' "$FILE";ls -l $FILE|cut -f5 -d' '); do size=$((offset - last -1)) echo $last $size $offset echo -n $last > $OUTPUT_PREFIX"$(printf "%0.3u" $NUM)"$OUTPUT_SUFFIX_OFFSET echo -n $size > $OUTPUT_PREFIX"$(printf "%0.3u" $NUM)"$OUTPUT_SUFFIX_SIZE dd if="$FILE" of=$OUTPUT_PREFIX"$(printf "%0.3u" $NUM)"$OUTPUT_SUFFIX bs=1 skip=$last count=$size last=$offset NUM=$((NUM+1)) done
Code:
PIC=pic_001; dd if=$PIC.gif of=skin0000.bin conv=notrunc bs=1 seek=$(<${PIC}.offset)
Comment