honeylab's blog

各種ハードウェアの改造、主にファミコンミニなどをやってます(ました)

Going on...

Little test

・pulled nandb tree on pcDuino(allwinner 10) ,run kachikachi

 # kachikachi  <my nes file>

kachikachi - v30.0.20160830.dev
===============================
updated hinting sdl game controller
added hinting sdl game controller
added hinting sdl game controller
ERROR in Mali driver:
* Mali device driver failed the API version check
* The solution is probably to rebuild the libraries and the Mali device driver.
Could not create window: Could not initialize EGL

Unhandled exception 11:
/home/ubuntu/newroot/usr/bin/kachikachi[0x1c204]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0x0)[0xb6a48ab0]
Result 80150000 at ../../source/kachikachi_application.cpp(2109): BaseApplication::SetupWindowIconAndTitle() failed! Result 80150000 at ../../source/kachikachi_application.cpp(694): SetupWindowIconAndTitle() failed!

 

shit !

 

but I got complete commandline args.

# kachikachi --help

Kachikachi - v30.0.20160830.dev

===============================
Kachikachi
==========
--help, -h Print usage and exit.
--command=<file> Use file as the contents of the command line (one arg per line).
--log=<file> Log to file instead of stdout. Defaults to stdout
--ask, -a Ask for a rom and execute it.
--scale=<1..16> Specify the initial scale of the window.
--topmost Do not put window topmost.
--fullscreen Enable full screen display.
--keep-aspect-ratio Stretch the display while keeping the correct aspect ratio. (default)
--stretch Stretch the display to the maximum size available.
--pixel-perfect Stretch source pixels while keeping an integer target size.
--mute Start ROM with mute sound.
--pause-on-lost-focus Pause the emulator when the window loses focus.
--dont-show-debug-infos Disable debug display on screen.
--sync-guest-with-wall Synchronize emulation with wall time.
--sync-guest-with-host Synchronize emulation with host.
--sync-guest-none Don't synchronize emulation, run as fast as possible.
--load-state-slot=<index>, -lss<index> Load save state by index.
--load-state-file=<filename>, -lsf<filename> Load save state by filename.
--delete-after-load Delete save state after a successful load.
--dim-screen-after=<s> Dim screen after <s> seconds of inactivity.
--volume=<0..100> Set sound volume (default: 100).
--nes-version=[ntsc|pal] Specify the NES version (default is NTSC).
--graphic-filter=<index/name> Specify the graphic filter (refer to code for values).
--mem-init-pattern=[zero|type_1|type_0] Memory initialization pattern.
--fds-auto-disk-side-switch Automatic disk side switch detection
--fds-auto-disk-side-switch-on-keypress When a disk side switch is detected, only insert the other disk side on the next keypress
--fds-initial-disk-insert-delay=<value in frame count> Set initial disk insertion delay
--fds-initial-disk-insert-on-keypress Initial disk insertion on keypress
--fds-bios-file-name=<fds bios file name> Specify bios file to load (default to fds_bios.bin)
--fds-disable-host-guest-sync-on-disk-op disable host/guest synchronization during disk operation
--fds-disk-switch-side-delay=<delay in frames> Delay in frames between disk ejection and insertion
--delete-previous-record, Delete previous input records (if it exists).
--record-inputs=<filename>, Start or resume the specified input capture.
--replay-inputs=<filename>, Replay the specified input capture and exit.
--input-record-checkpoint-period=<period>, Save checkpoints during input recording at the specified period, in number of guest frames.
--input-record-exit-frame=<frame>, Save a checkpoint during input recording at the specified guest frame and exit.
--input-record-cache=<directory>, Enable checkpoint cache during input recording and set its path the specified directory.
--input-replay-screenshot-period=<period>, Take guest screenshots during input replay at the specified period, in number of guest frames.
--input-replay-screenshot-path=<path>, The path where replay auto-screenshots will be saved.
--input-replay-screenshot-to-stdout, Put the screenshot to stdout (works only with build that have no other outputs.
--input-capture-cut-path=<directory>, Set the directory where input capture cuts will be saved.
--input-replay-print-total-duration, Print the duration of the input replay.
--save-data-backing-file=<filename> Use the specified file for save data (SRAM or FDS writes), specifying an empty filename disable save data management.
--save-on-quit=<filename> Save state to the desired location on quit event.
--save-screenshot-on-quit=<filename> Save screenshot to the desired location on quit event.
--enable-crt-scanlines, -sc Enable CRT-like scanlines.
--enable-armet Enable Armet filter.
--armet-threshold=<t> Armet Detection Threshold (default is 20).
--set-dac-filters=[APU_FDS_14kHz|APU_14kHz_FDS_2kHz|none] Set DAC filters (default: APU_FDS_14kHz).
--guest-overscan-dimensions=<l,r,t,b> Set the number of black PPU pixels on the four screen borders.
--initial-fadein-durations=<t0,t1> Set the initial fadein durations in 1/10 of seconds. t0=blackscreen duration, t1=fadein duration.
--ppu-palette=<index/name> Specify the PPU palette (refer to code for values).
--ppu-palette-file=<filename> Specify the .pal palette file.

 

Got it!

They will be impelement to my tools next version.