skip to content
..., etc.
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
mspacman:mspacman
{{:mspacman:mspacman_cap.png|Ms. icon for plymouth theme}} ====== SDLMAME 0.136 on Fedora Core 13 ====== Edited grub.conf: <code> title Ms. Pacman root (hd0,0) kernel /vmlinuz-2.6.33.5-124.fc13.i686 ro root=/dev/mapper/vg_mspacman-lv_root rd_LVM_LV=vg_mspacman/lv_root rd_LVM_LV=vg_mspacman/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us video=vesafb selinux=0 quiet rhgb fbcon=rotate:3 initrd /initramfs-2.6.33.5-124.fc13.i686.img title Single User Mode root (hd0,0) kernel /vmlinuz-2.6.33.5-124.fc13.i686 ro root=/dev/mapper/vg_mspacman-lv_root rd_LVM_LV=vg_mspacman/lv_root rd_LVM_LV=vg_mspacman/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTA BLE=us video=vesafb selinux=0 telinit 1 initrd /initramfs-2.6.33.5-124.fc13.i686.img </code> Note the "fbcon=rotate:3" which rotates the display. modified /etc/X11/xinit/Xclients to contain only one exec line at the bottom, all others commented out: <code> if [ -x /usr/bin/mame ] ; then /usr/bin/mame -video opengl -norotate mspacmnf fi </code> modified rc.local: <code> #startup initctl start plymouth-shutdown & export HOME=/root pulseaudio --start & startx # removed this- power switch w/acpid is good enough && shutdown -h now & initctl start tty TTY=/dev/tty2 & initctl start tty TTY=/dev/tty3 & </code> modified /etc/init/tty.conf: <code> exec /sbin/mingetty --autologin mspacman $TTY </code> modified /etc/acpi/actions/power.sh <code> #!/bin/sh PATH=/sbin:/bin:/usr/bin killall -s 15 mame;sleep 3;killall -s 15 mame </code> Attempted to modify default plymouth theme "charge" with Ms. Pacman art. Took side-art PDFs and created transparent background PNG: {{:mspacman:smmspac_ghost.png|}} Then copied files to /usr/share/plymouth/themes/charge/*png files. Next is to rebuild initrd via "sudo plymouth-set-default-theme -R charge" ====== To-Do ====== * Modify Plymouth boot splash theme to be ms. pacman figure... * Disable any Mouse in X since the pointer comes back after changing to/from a TTY. * Rotate vesa/standard video too? (done- but how did i do it? ah, see above fbcon= boot parameter) * Clean-up distro & create clean image of it * Turn off all logging and writing to files & mount all filesystems read-only * Convert startup from xinitrc to an /etc/init.d style service- this will allow a graceful stop of mame via kill -3 or kill -15 so state is preserved * disable all unnecessary kernel extensions * add spring toggles for power & coins * make/buy very short vga cable * <del>through-holes w/bolts in joystick frame for frame itself</del> * sheet metal for player 1 & 2 buttons * sheet metal base for motherboard/power supply * convert power from two cords to single, frame-mounted input * move distro from hard disk to usb disk and generate second copy on second thumb drive? (as-is distro is ~2.6 gig, surely can be cleaned up)
mspacman/mspacman.1285241093.txt.gz
· Last modified: 2010/09/23 07:24 by
ben
Page Tools
Show page
Old revisions
Backlinks
Back to top