MAMEWorld >> News
View all threads Index   Threaded Mode Threaded  

Pages: 1

anoid
Lurker
Reged: 12/05/03
Posts: 286
Send PM


Etabeta: Barcode scanning for NES
#321872 - 02/12/14 06:42 PM




http://mamedev.emulab.it/etabeta/?p=404

Thanks to Etabeta for the NES goodness!

A-Noid



DMala
Sleep is overrated
Reged: 05/09/05
Posts: 3989
Loc: Waltham, MA
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321876 - 02/12/14 09:04 PM


> http://mamedev.emulab.it/etabeta/?p=404
>
> Thanks to Etabeta for the NES goodness!
>
> A-Noid

I tend to not get very excited about obscure Japan-only stuff, but that is pretty freaking cool.



ClawGrip
Reged: 10/19/03
Posts: 132
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321886 - 02/13/14 12:20 AM


I have some cards with barcodes (and the barcode readers) for GameBoy games (Barcode Taisen Bardigun, Battle Space, Family Jockey 2, Monster Maker) and for Nintendo DS (Wantame Music Channel Docodemo Style, Kouchuu Ouja Mushi King Super Collection, Oshare Majo Love and Berry DS Collection, Card de Asobou Hajimete No DS, the Rockman Wave Scanner)...

Etabeta, please, PM me if you need info, testing, scans or whatever about them.

Regards: ClawGrip



anoid
Lurker
Reged: 12/05/03
Posts: 286
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: ClawGrip]
#321887 - 02/13/14 12:34 AM


Would it be possible to have these scanned for the Artwork project? It would be cool to select the image as artwork, and have the scan code automatically entered. This will come in handy when Arcade games, based on Magic the Gathering, are emulated.

A-Noid



ranger_lennier
Reged: 04/07/05
Posts: 1127
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321897 - 02/13/14 06:24 AM


That's really cool. Did they sell cards to scan for these games, or did users just have to try out random barcodes to see what they got?



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321899 - 02/13/14 07:12 AM


the "have the scan code automatically entered" is ay less trivial than it can sound
it would require:
1. to convert the actual barcode to a sequence of ~90 pixels (0=black bar, 1=withe bar)
2. give the user a way to load such a sequence into MAME/MESS

while I think it is ok for an user to type in the menu 8/13 digits for a barcode, I don't think he would like to type such a sequence

we will need to face the problem (e.g. to support the GBA e-cards, which are dumped as sequence of pixels) but we are not there yet



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: ranger_lennier]
#321900 - 02/13/14 07:14 AM


> That's really cool. Did they sell cards to scan for these games, or did users just
> have to try out random barcodes to see what they got?

the game came with card packs with some predefined characters, but I think players were encouraged to scan their own barcodes to get different stats

there are several barcodes available at gamefaqs and at some Japanese FC websites



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: ClawGrip]
#321901 - 02/13/14 07:15 AM


> I have some cards with barcodes (and the barcode readers) for GameBoy games (Barcode
> Taisen Bardigun, Battle Space, Family Jockey 2, Monster Maker) and for Nintendo DS
> (Wantame Music Channel Docodemo Style, Kouchuu Ouja Mushi King Super Collection,
> Oshare Majo Love and Berry DS Collection, Card de Asobou Hajimete No DS, the Rockman
> Wave Scanner)...
>
> Etabeta, please, PM me if you need info, testing, scans or whatever about them.
>
> Regards: ClawGrip

for the moment just don't throw them away

we are not ready to use them yet, but it's good to know we have a source for some of these



Embryoice
I am the Master Warrior!
Reged: 12/30/12
Posts: 74
Loc: Los Angeles, CA
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: DMala]
#321906 - 02/13/14 08:41 AM


What I'm hoping for NES is to implement an ability to use your actual microphone to take out Pol's voice from Zelda which was taken out from the US Version.



ClawGrip
Reged: 10/19/03
Posts: 132
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#321910 - 02/13/14 10:01 AM


Also,
I have the cards (the initial deck plus the expansions) for the Nintendo DS game "Juushinden: Ultimate Beast Battlers", with its "Konami Magic Reader", but frankly, I don't know which technology uses...


> > I have some cards with barcodes (and the barcode readers) for GameBoy games
> (Barcode
> > Taisen Bardigun, Battle Space, Family Jockey 2, Monster Maker) and for Nintendo DS
> > (Wantame Music Channel Docodemo Style, Kouchuu Ouja Mushi King Super Collection,
> > Oshare Majo Love and Berry DS Collection, Card de Asobou Hajimete No DS, the
> Rockman
> > Wave Scanner)...
> >
> > Etabeta, please, PM me if you need info, testing, scans or whatever about them.
> >
> > Regards: ClawGrip
>
> for the moment just don't throw them away
>
> we are not ready to use them yet, but it's good to know we have a source for some of
> these



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321914 - 02/13/14 12:28 PM


small update to say that, if you want to test these with latest svn, then you have to use the following syntax

mess nes -cart datach -cart2 gamename

where gamename can be either a Datach softlist shortname, or the full path to the iNES files for the games (notice that you can also load an headerless 256k dump of your Datach minicarts, so you don't need to add an header if you dumped your own cart)

this is because the Datach Joint ROM System base unit has been properly implemented as a passthrough cart with a separate cartslot for its minicarts



DMala
Sleep is overrated
Reged: 05/09/05
Posts: 3989
Loc: Waltham, MA
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: Embryoice]
#321919 - 02/13/14 04:49 PM


> What I'm hoping for NES is to implement an ability to use your actual microphone to
> take out Pol's voice from Zelda which was taken out from the US Version.

I've always kind of wondered how that mic worked. Was it a simple on/off like a button, or could the system actually get audio from it? It seems like a real A/D converter would have been a frivolous expense, but maybe that was part of the reason it got cut?



AWJ
Reged: 03/08/05
Posts: 936
Loc: Ottawa, Ontario
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: DMala]
#321923 - 02/13/14 05:28 PM


> > What I'm hoping for NES is to implement an ability to use your actual microphone to
> > take out Pol's voice from Zelda which was taken out from the US Version.
>
> I've always kind of wondered how that mic worked. Was it a simple on/off like a
> button, or could the system actually get audio from it? It seems like a real A/D
> converter would have been a frivolous expense, but maybe that was part of the reason
> it got cut?

There was no ADC, as far as the CPU was concerned the microphone was just a button, but the microphone input did get mixed into the audio output from the console.



anoid
Lurker
Reged: 12/05/03
Posts: 286
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#321926 - 02/13/14 05:55 PM


I'm sure we could add an xml file with the image (similar to a layout for artwork), that had the text representation for the barcode.

I wouldn't want to have to move the image under a virtual red-line scanner to get the code either



Mbit
MAME Fan
Reged: 05/03/11
Posts: 14
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#321938 - 02/13/14 08:12 PM


> the "have the scan code automatically entered" is ay less trivial than it can sound

How about using an existing solution such as
BLaDE (BSD licensed C++)
http://www.ski.org/Rehab/Coughlan_lab/BLaDE/
http://sourceforge.net/p/sk-blade/code/ci/master/tree/

or zint, zbar, zxing or something like that?



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: Mbit]
#321945 - 02/13/14 10:10 PM


> > the "have the scan code automatically entered" is ay less trivial than it can sound
>
> How about using an existing solution such as
> BLaDE (BSD licensed C++)
> http://www.ski.org/Rehab/Coughlan_lab/BLaDE/
> http://sourceforge.net/p/sk-blade/code/ci/master/tree/
>
> or zint, zbar, zxing or something like that?

the problem is how to actually feed the bars to the emulator, not the actual decoding.
shall we load a png of the barcode? shall we load a binary representation of the barcode (as the available gba e-card "dump") ? shall we store the sequence of pixels as a sequence of 0s-1s in xml and load from there?

we don't have support for screen capturing through you webcam, so it's not obvious how to proceed



Mbit
MAME Fan
Reged: 05/03/11
Posts: 14
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#321946 - 02/13/14 10:32 PM


What I had in mind was something like extending the Barcode
Reader menu that says:
Enter Code
Return to Previous Menu

into something like:
Scan Code
Enter Code
Return to Previous Menu

where "Scan Code" would let you select an image-file on disk
which was then passed through the barcode reading software,
returning a number in the "New Barcode:" field for you
automatically.



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4453
Loc: Melbourne, Australia
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: AWJ]
#321953 - 02/14/14 01:36 AM


> There was no ADC, as far as the CPU was concerned the microphone was just a button,
> but the microphone input did get mixed into the audio output from the console.

Could the software control the mixing in any way? Was it always on? Switchable? Controllable levels?



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: Mbit]
#321967 - 02/14/14 07:46 AM


> What I had in mind was something like extending the Barcode
> Reader menu that says:
> Enter Code
> Return to Previous Menu
>
> into something like:
> Scan Code
> Enter Code
> Return to Previous Menu
>
> where "Scan Code" would let you select an image-file on disk
> which was then passed through the barcode reading software,
> returning a number in the "New Barcode:" field for you
> automatically.

that is an interesting possibility. we will see if it can be implemented, but don't hold your breath (personally, I have a quite long list to items with higher priority)



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: anoid]
#321968 - 02/14/14 07:47 AM


> http://mamedev.emulab.it/etabeta/?p=404
>
> Thanks to Etabeta for the NES goodness!
>
> A-Noid

and yet another small update to point out that the guy at retrostuff.org (the website where I had borrowed the original Goku barcode) has scanned some more original cards for the Datach Dragon Ball Z game. This helps to play the game as it was intended (with more balanced stats).
You can find them at

http://retrostuff.org/2014/02/14/bandai-datach-barcodes-for-mess/



rosewood
Lurker
Reged: 10/16/03
Posts: 2
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#321971 - 02/14/14 10:24 AM


I'll scan the Ultraman Club: Spokon Fight!! cards too when I have some spare time, you'll find them at http://retrostuff.org/category/bandai/datach/



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: rosewood]
#321972 - 02/14/14 11:00 AM


> I'll scan the Ultraman Club: Spokon Fight!! cards too when I have some spare time,
> you'll find them at http://retrostuff.org/category/bandai/datach/

thanks a lot for the contribution

if it's not too problematic, could you also provide me with pictures of the pcbs inside the minicarts? I'd like to document chip markings, if possible.
but if it's difficult, don't worry



rosewood
Lurker
Reged: 10/16/03
Posts: 2
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: etabeta]
#322000 - 02/15/14 02:06 AM


> thanks a lot for the contribution
>
> if it's not too problematic, could you also provide me with pictures of the pcbs
> inside the minicarts? I'd like to document chip markings, if possible.
> but if it's difficult, don't worry

You are welcome!

Unfortunately I haven't found a way to open the carts yet (didn't feel any screws underneath the Labels). I could open the DBZ cart with brute force if it is really necessary...



etabeta
Reged: 08/25/04
Posts: 2035
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: rosewood]
#322021 - 02/15/14 08:57 AM


no no
no need for that

I had hoped it was easier



Anonymous
Unregistered
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: Mbit]
#322039 - 02/15/14 07:26 PM


> How about using an existing solution such as
> BLaDE (BSD licensed C++)
> http://www.ski.org/Rehab/Coughlan_lab/BLaDE/
> http://sourceforge.net/p/sk-blade/code/ci/master/tree/
>
> or zint, zbar, zxing or something like that?

You need to consider the license of any open source code, plus the first two seem to be limited to UPC barcodes. I don't know if that is what this uses, but you'd ideally want a to use a library that supported all 1-d and 2-d barcodes.



Anonymous
Unregistered
Send PM


Re: Etabeta: Barcode scanning for NES new [Re: AWJ]
#322040 - 02/15/14 07:28 PM


> There was no ADC, as far as the CPU was concerned the microphone was just a button,

Well that in effect is a 1 bit ADC. It's likely the mic input just went to a voltage comparer, above the voltage it's a 1 and below the voltage it's a zero.



ClawGrip
Reged: 10/19/03
Posts: 132
Send PM


Barcode Boy internal ROM (i80C51) new [Re: anoid]
#322087 - 02/16/14 07:37 PM


Is the Barcode Boy internal ROM dumped?

Probably, just for reading barcodes on an emulator, it's not needed, but maybe for preservation or accuracy it would be nice to have it.

I've posted some photos of the Barcode Boy PCB on my blog:

http://junglehunt.blogspot.com.es/2014/02/barcode-boy.html

I'll take high quality scans of the cards when needed...


Pages: 1

MAMEWorld >> News
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
0 registered and 23 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4084