Tasklist
FS#7749 - Plugin Keymap Patches for all Sansa C200 Plugins
| Task Type |
Patches |
| Category |
Plugins |
| Status |
Closed |
| Assigned To |
No-one |
| Player Type |
Another |
| Severity |
Low |
| Priority |
Normal |
| Reported Version |
Daily build (which?) |
| Due in Version |
Undecided |
| Due Date |
Undecided |
| Percent Complete |
|
| Private |
No
|
|
Details
These are the patches to make most of the plugins work with the Sansa c200, with exception of those that use complicated graphics (bmps which need resizing, portrait mode, etc), which I have yet to port to the c200's miniscule screen.
pluginlib_actions.h.patch
(2.4 KiB)
apps/plugins/lib/pluginlib_actions.h | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
sansapatches.patch
(44.8 KiB)
apps/plugins/stats.c | 3 +
apps/plugins/mp3_encoder.c | 3 +
apps/plugins/xobox.c | 3 +
apps/plugins/sliding_puzzle.c | 3 +
apps/plugins/pong.c | 3 +
apps/plugins/plasma.c | 6 ++-
apps/plugins/dict.c | 3 +
apps/plugins/flipit.c | 3 +
apps/plugins/mandelbrot.c | 12 +++++++
apps/plugins/zxbox/zxbox_keyb.c | 3 +
apps/plugins/zxbox/keymaps.h | 3 +
apps/plugins/sudoku/sudoku.h | 11 ++++++
apps/plugins/sudoku/sudoku.c | 9 +++++
apps/plugins/chessbox/chessbox.c | 18 ++++++++++
apps/plugins/chessbox/chessbox_pgn.c | 3 +
apps/plugins/oscilloscope.c | 11 ++++++
apps/plugins/midiplay.c | 3 +
apps/plugins/battery_bench.c | 3 +
apps/plugins/fireworks.c | 3 +
apps/plugins/starfield.c | 3 +
apps/plugins/bitmaps/native/SOURCES | 30 ++++++++++++++++++
apps/plugins/bitmaps/mono/SOURCES | 2 +
apps/plugins/rockblox.c | 26 +++++++++++++++
apps/plugins/snake2.c | 3 +
apps/plugins/mpegplayer/mpegplayer.c | 7 ++++
apps/plugins/fire.c | 3 +
apps/plugins/solitaire.c | 18 ++++++++++
apps/plugins/snake.c | 3 +
apps/plugins/star.c | 3 +
apps/plugins/bounce.c | 6 +++
apps/plugins/doom/i_video.c | 10 ++++++
apps/plugins/cube.c | 7 ++--
apps/plugins/minesweeper.c | 10 ++++++
apps/plugins/disktidy.c | 3 +
apps/plugins/lib/pluginlib_actions.h | 18 ++++++++++
apps/plugins/jpeg.c | 15 +++++++++
apps/plugins/snow.c | 3 +
apps/plugins/vu_meter.c | 9 +++++
apps/plugins/sokoban.c | 3 +
apps/plugins/spacerocks.c | 13 +++++++
apps/plugins/reversi/reversi-gui.c | 8 ++++
apps/plugins/reversi/reversi-gui.h | 3 +
apps/plugins/logo.c | 3 +
apps/plugins/brickmania.c | 58 +++++++++++++++++++++++++++++++++++
apps/plugins/chopper.c | 3 +
apps/plugins/viewer.c | 12 +++++++
apps/plugins/mazezam.c | 3 +
apps/plugins/blackjack.c | 15 +++++++++
apps/plugins/chip8.c | 8 ++++
apps/plugins/stopwatch.c | 3 +
apps/plugins/bubbles.c | 10 ++++++
apps/plugins/chessclock.c | 3 +
apps/plugins/mosaique.c | 3 +
apps/plugins/jewels.c | 10 +++++-
apps/plugins/calculator.c | 3 +
apps/plugins/wormlet.c | 8 ++++
apps/plugins/invadrox.c | 57 +++++++++++++++++++++++++++++++++-
apps/plugins/rockpaint.c | 3 +
apps/plugins/pacbox/pacbox.h | 3 +
59 files changed, 476 insertions(+), 41 deletions(-)
|
Loading...
Ooops, I forgot to enable plugins in tools/configure... use this patch instead of the one posted in the task. (USE ONLY THIS PATCH!!!!!)
Can someone with a C200 tell me if the display has large or rather small pixels (e.g. does the default font look too small)? Because I also tweaked chopper and xobox to use the "small mode" when calculating the sprite size which looks better in the sim but if the display has really tiny pixels then this is probably not a good idea, especially with chopper as the helicopter is now half the size...
I also want to mention here, so that the info isn't lost, that mpegplayer is enabled and you can operate it, but you can't watch the video yet and just get audio. This has to do with the lcd driver and not with the plugin itself.
If I counted correctly there are 5 more plugins prepared with keybindings through this patch which I will add one by one. And there are a few more (e.g. pacbox, rockboy IIRC) that need some more work to adapt them to the screen. I almost forgot the 2 plugins that are also prepared and also only miss new graphics which aren't even adapted to some other targets yet: for one brickmania (also missing for the small H10) and invadrox (missing for all targets with screens less wide than 160 pixels). Will look into it after the 5 others; pacbox and the like are above my head I think.