Centipede Core

RepairCelt
Posts: 5
Joined: Mon Jun 01, 2020 6:02 am

Centipede Core

Unread post by RepairCelt »

Hi all,

I'm just getting into MiSTer and am learning as I go. I've noticed the Centipede core launches as already coined-up with two credits. I'd like to change that, if possible. Am I overlooking a setting somewhere or is there an *.ini file I can edit?
Vic20-Ian
Posts: 105
Joined: Wed May 27, 2020 9:59 am
Has thanked: 8 times
Been thanked: 10 times

Re: Centipede Core

Unread post by Vic20-Ian »

There is nothing to edit.

I think it is a temporary fix to get it working.

Coin and P2 is not supported at this time although they register in the test mode.
User avatar
Chris23235
Top Contributor
Posts: 983
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 127 times
Been thanked: 197 times

Re: Centipede Core

Unread post by Chris23235 »

It would be great to see the mouse support for spinner games also for trackball games. These cheap chinese trackballs that are connected as a PS/2 mouse work really well in trackball games on Mame.
netbeui
Posts: 152
Joined: Fri Jul 31, 2020 5:04 am
Has thanked: 78 times
Been thanked: 23 times

Re: Centipede Core

Unread post by netbeui »

Chris23235 wrote: Tue Nov 17, 2020 1:34 pm It would be great to see the mouse support for spinner games also for trackball games. These cheap chinese trackballs that are connected as a PS/2 mouse work really well in trackball games on Mame.
Can you paste a link to one of those trackballs?
User avatar
Chris23235
Top Contributor
Posts: 983
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 127 times
Been thanked: 197 times

Re: Centipede Core

Unread post by Chris23235 »

netbeui wrote: Wed Nov 18, 2020 5:41 am
Chris23235 wrote: Tue Nov 17, 2020 1:34 pm It would be great to see the mouse support for spinner games also for trackball games. These cheap chinese trackballs that are connected as a PS/2 mouse work really well in trackball games on Mame.
Can you paste a link to one of those trackballs?
I have one of these:

https://www.amazon.de/dp/B0774KWCGY/
hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: Centipede Core

Unread post by hiddenbyleaves »

Chris23235 wrote: Tue Nov 17, 2020 1:34 pm It would be great to see the mouse support for spinner games also for trackball games. These cheap chinese trackballs that are connected as a PS/2 mouse work really well in trackball games on Mame.
Do you use a usb adapter?
User avatar
Chris23235
Top Contributor
Posts: 983
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 127 times
Been thanked: 197 times

Re: Centipede Core

Unread post by Chris23235 »

hiddenbyleaves wrote: Wed Nov 18, 2020 11:14 am
Chris23235 wrote: Tue Nov 17, 2020 1:34 pm It would be great to see the mouse support for spinner games also for trackball games. These cheap chinese trackballs that are connected as a PS/2 mouse work really well in trackball games on Mame.
Do you use a usb adapter?
Yes, on Mame I use the trackball with a USB adapter, would be great to use this device on MiSTer too, playing Centipede with a trackball is a completely different experience.
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

I was just coming here for the same thing. I built my own trackball and was hoping it would work on the MiSTer. Mine is recognized as a USB mouse. It is a real arcade trackball that I got from Groovy Game Gear and I built my own portable enclosure for it. Hopefully adding support for this is not too difficult.
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

Mouse/trackball support was recently added by Shane Lynch.

I fixed the color change issue and have submitted a pull request. There is still a glitch at the top and bottom of the screen. If you want to test it, here are two RBF files. One using the previous branch and the new branch with updated sys. Unfortunately, the new sys has broken the audio. Let me know if the colors are correct.

https://drive.google.com/drive/folders/ ... sp=sharing
exoticatom
Posts: 25
Joined: Tue Jan 05, 2021 12:33 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Centipede Core

Unread post by exoticatom »

JaguarLV wrote: Thu Dec 31, 2020 12:06 am Mouse/trackball support was recently added by Shane Lynch.

I fixed the color change issue and have submitted a pull request. There is still a glitch at the top and bottom of the screen. If you want to test it, here are two RBF files. One using the previous branch and the new branch with updated sys. Unfortunately, the new sys has broken the audio. Let me know if the colors are correct.

https://drive.google.com/drive/folders/ ... sp=sharing
I'd like to use and try it, could you please help me with mra to use with those 2 rbfs? thanks a zillion. Or just use exiting?
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Centipede Core

Unread post by jca »

exoticatom wrote: Tue Jan 19, 2021 3:30 pm I'd like to use and try it, could you please help me with mra to use with those 2 rbfs? thanks a zillion. Or just use exiting?
Copy the mra to a different one (slight change to the name) and edit it to change the name of the rbf to the new one.
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

You can also create the following directory structure on the root and you will have 2 entries on the OSD menu. Just copy the mra, zip, and rbf files.

_test1\Centipede.mra
_test1\cores\Centipede_20200728-3.rbf
_test1\mame\centiped.zip

_test2\Centipede.mra
_test2\cores\Centipede_20201229-2.rbf
_test2\mame\centiped.zip
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

I fixed the audio. Download the Centipede_20210123-4.rbf file if you want to test it.
alanswx
Core Developer
Posts: 300
Joined: Sun May 24, 2020 6:55 pm
Has thanked: 5 times
Been thanked: 154 times

Re: Centipede Core

Unread post by alanswx »

Can you submit a patch? Or did you already?

Thanks!
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

alanswx wrote: Sun Jan 24, 2021 2:29 am Can you submit a patch? Or did you already?

Thanks!
I submitted PR to fix the audio.
exoticatom
Posts: 25
Joined: Tue Jan 05, 2021 12:33 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Centipede Core

Unread post by exoticatom »

Btw centipede works great with X-Arcade trackball.

Thanks!
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

This is working with my Happ Trackball. Thanks! I have two issues:

I can't seem to get the coin and two-player mode to work. I just hit player 1 start and it starts the game without the need to hit the coin key.

I wanted to get two player mode working and use cocktail mode with player 2 because right now it is upside down with player 1 the way my TV is oriented. Is there a way to provide an option in the menu to rotate the screen so it is not upside down?
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

thorr wrote: Mon Feb 08, 2021 9:19 am I can't seem to get the coin and two-player mode to work. I just hit player 1 start and it starts the game without the need to hit the coin key.

I wanted to get two player mode working and use cocktail mode with player 2 because right now it is upside down with player 1 the way my TV is oriented. Is there a way to provide an option in the menu to rotate the screen so it is not upside down?

Coin and start buttons are currently hard coded, I will fix them, but currently a low priority.

Still working on fixing some visual bugs. I will add rotate option when I add support for Millipede.
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

JaguarLV wrote: Mon Feb 08, 2021 4:26 pm
thorr wrote: Mon Feb 08, 2021 9:19 am I can't seem to get the coin and two-player mode to work. I just hit player 1 start and it starts the game without the need to hit the coin key.

I wanted to get two player mode working and use cocktail mode with player 2 because right now it is upside down with player 1 the way my TV is oriented. Is there a way to provide an option in the menu to rotate the screen so it is not upside down?

Coin and start buttons are currently hard coded, I will fix them, but currently a low priority.

Still working on fixing some visual bugs. I will add rotate option when I add support for Millipede.
Awesome! Thank you very much, and great work so far!
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

I have updated Centipede and it is finally playable. Coin and start buttons are working.

2 players are supported on ROM versions 1-3 in cabinet or cocktail modes. Version 4 is only single player. If you want to test it, you can download this test copy.
https://drive.google.com/drive/folders/ ... sp=sharing
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

JaguarLV wrote: Thu Feb 25, 2021 11:25 pm I have updated Centipede and it is finally playable. Coin and start buttons are working.

2 players are supported on ROM versions 1-3 in cabinet or cocktail modes. Version 4 is only single player. If you want to test it, you can download this test copy.
https://drive.google.com/drive/folders/ ... sp=sharing
I tried it and it seems to be using the new version because it requires a coin now. It works with the rom from the update_all script. However, no matter what I do, I can't get it to work with 2 players. I gave it my best effort to get it to use version 3 ROM's. I downloaded the version 3 Centipede roms. Extracted the zip file. Figured out the CRT-32 hashes for each file in the zip, and the md5 checksum of the zip file and changed the Centipede MRA file accordingly. I just get a black screen. Here is the MRA I came up with:

<misterromdescription>
<name>Centipede (revision 3)</name>
<mameversion>0220</mameversion>
<setname>centiped</setname>
<mratimestamp>20200430141713</mratimestamp>
<year>1980</year>
<manufacturer>Atari</manufacturer>
<category>Maze / Bugs</category>
<category>Maze / Centipede</category>
<category>Maze / Spiders</category>
<rbf>centipede</rbf>
<rom index="0" zip="centiped.zip" md5="945894210B2854808942DBAAE3498741">
<part crc="5ab0d9de" name="136001-307.d1"/>
<part crc="4c07fd3d" name="136001-308.e1"/>
<part crc="ff69b424" name="136001-309.fh1"/>
<part crc="44e40fa4" name="136001-310.j1"/>
<part crc="880acfb9" name="136001-211.f7"/>
<part crc="b1397029" name="136001-212.hj7"/>
<part crc="6fa3093a" name="136001-213.p4"/>
</rom>
</misterromdescription>

Any assistance to get it to use Version 3 roms would be appreciated. Thanks!
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

thorr wrote: Sat Feb 27, 2021 7:15 am Any assistance to get it to use Version 3 roms would be appreciated. Thanks!
Use the MRA in the alternatives directory. It should already be on your SD card. If not, you can get it from github.

https://github.com/MiSTer-devel/MRA-Alt ... n%203).mra

I spoke with Alan and he is going to make the default MRA use ROM version 3. An official update should be released soon.
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

JaguarLV wrote: Sat Feb 27, 2021 3:11 pm
thorr wrote: Sat Feb 27, 2021 7:15 am Any assistance to get it to use Version 3 roms would be appreciated. Thanks!
Use the MRA in the alternatives directory.

I spoke with Alan and he is going to make the default MRA use ROM version 3. An official update should be released soon.
This is working great, and I am enjoying playing Centipede with my trackball and CRT TV! Thanks so much. I agree it makes total sense to have ROM version 3 be the default. I don't know what the differences are with version 4, but being able to play with two players is most likely much more useful, especially if you have a cocktail cabinet.
alanswx
Core Developer
Posts: 300
Joined: Sun May 24, 2020 6:55 pm
Has thanked: 5 times
Been thanked: 154 times

Re: Centipede Core

Unread post by alanswx »

I thought I made three official? Did I make a mistake?
thorr
Top Contributor
Posts: 1311
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 634 times
Been thanked: 308 times

Re: Centipede Core

Unread post by thorr »

alanswx wrote: Sun Feb 28, 2021 12:24 am I thought I made three official? Did I make a mistake?
I don't know. It depends on when you updated this. What I did was download the test Centipede from the link in this thread and tried to get it to run. It worked but it was using version 4. I then selected version 3 from the alternates and it worked the way I wanted it to. If you updated the official core / mra while all of this is going on, then maybe I just needed to run the update_all script. Thanks for your help!

Edit: It looks like you updated today, so most likely everything is fine. Thanks!!
mhartman
Posts: 96
Joined: Fri Jul 03, 2020 1:26 pm
Has thanked: 47 times
Been thanked: 20 times

Re: Centipede Core

Unread post by mhartman »

Thanks for your great work on this core! One thing that would be awesome on Centipede for a future release is screen flip as Centipede was one of those PCBs that displays everything upside down in relation to most popular games of that era.
JaguarLV
Core Developer
Posts: 28
Joined: Mon May 25, 2020 12:39 am
Been thanked: 22 times

Re: Centipede Core

Unread post by JaguarLV »

mhartman wrote: Thu Mar 11, 2021 12:56 pm Thanks for your great work on this core! One thing that would be awesome on Centipede for a future release is screen flip as Centipede was one of those PCBs that displays everything upside down in relation to most popular games of that era.
I'm not the original author, but I have been fixing lots of bugs. I'm working on adding screen flip support.

https://misterfpga.org/viewtopic.php?p=17969#p17969
mhartman
Posts: 96
Joined: Fri Jul 03, 2020 1:26 pm
Has thanked: 47 times
Been thanked: 20 times

Re: Centipede Core

Unread post by mhartman »

JaguarLV wrote: Fri Mar 12, 2021 1:05 am
mhartman wrote: Thu Mar 11, 2021 12:56 pm Thanks for your great work on this core! One thing that would be awesome on Centipede for a future release is screen flip as Centipede was one of those PCBs that displays everything upside down in relation to most popular games of that era.
I'm not the original author, but I have been fixing lots of bugs. I'm working on adding screen flip support.

https://misterfpga.org/viewtopic.php?p=17969#p17969
Awesome. Thank you!
User avatar
offset
Posts: 44
Joined: Fri Jan 27, 2023 10:55 am
Has thanked: 22 times
Been thanked: 11 times

Re: Centipede Core

Unread post by offset »

I'm curious if anyone is working on the Millipede core. I know you can buy an add-on board to a millipede pcb (https://www.brasington.org/arcade/products/cm/) to play both centipede and millipede so I'm curious how similar the millipede pcb is to centipede pcb.

Lloyd2084
Posts: 70
Joined: Sat Feb 19, 2022 8:11 pm
Has thanked: 141 times
Been thanked: 14 times

Re: Centipede Core

Unread post by Lloyd2084 »

The millipede has more legs…

I’ll get my coat.

Post Reply