v.2024-11-05
Parent Page

Colecovision

Before we can even talk about controls we need to talk about emulating colecovision and it's such a PITA. I used coolCV before but noticed that this emulator is not installed by default and does not work with pie 4. Instead retropie now defaults to lr-fbneo-cv.

emulators.cfg

emulators.cfg located here
\\Donkeykong\configs\coleco
Has the following contents:
        
lr-fbneo-cv = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbneo/fbneo_libretro.so --subsystem cv --config /opt/retropie/configs/coleco/retroarch.cfg %ROM%"
default = "lr-fbneo-cv"

lr-fbneo-cv

So I was all gung ho on switching over to this core, but now realizing I hate this thing. The reason is that it refuses to run any .rom files. Instead it only wants a specific rom set that cvAddicts does not use and most importantly requires really crappy 5 letter file names with zip at the end. Dat File
fbNEO

dkong

dkong.zip instead of donkey-kong-1982.rom. At least dkong I can guess at, most of the titles are crap. Sure I guess this is a mame convention but still it's annoying. Why do we still have to support dos and 8 character file names?
Eventually I'll have to switch over to this emu, for nmow skipping

coolcv

To Install

telnet in
sudo ~/RetroPie-Setup/retropie_setup.sh
Manage Packages
Manage Optional Packages
coolcv
install from precompiled binary
This puts in emulators.cfg
coolcv = "/opt/retropie/emulators/coolcv/coolcv_pi %ROM%"
Did not change default though

coolcv_mapping.txt

Run coolcv to generate coolcv_mapping.txt here
\\Donkeykong\configs\coleco

Attach a USB Keyboard

Attach Keyboard press F7 to make it show key codes that are pressed.
From this we can get Joystick Button presses.
Here is what I got
  1. up_1 key1073741906
  2. right_1 key1073741903
  3. down_1 key1073741905
  4. left_1 key1073741904
  5. Fire Button key1073742048
  6. P2 Start Key50
  7. P1 Start Key49
  8. Left Coin Door Key53
  9. Right Coin Door Key54
  10. Back Control 2 Key27
  11. Back Control 1 Key13
    1. Fixed coolcv_mapping.txt