Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Live instruction card!  (Read 9894 times)

0 Members and 1 Guest are viewing this topic.

bhille

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:January 02, 2003, 11:39:40 pm
  • Be the ball...err...be the arcade machine...
Re:Live instruction card!
« Reply #40 on: January 05, 2003, 12:14:52 pm »
In the meantime, find the DOS VESA driver for your laptop... you'll need it... :)

Would installing Windows 98SE and running in DOS mode work, or do I need real DOS?

Brian

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #41 on: January 05, 2003, 04:09:29 pm »
I'm writing this around real DOS... I don't know how well a DOS mode would work.

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

bhille

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:January 02, 2003, 11:39:40 pm
  • Be the ball...err...be the arcade machine...
Re:Live instruction card!
« Reply #42 on: January 11, 2003, 11:49:14 pm »
Wow, it's been awhile since I used DOS.  I have a question now that I've ripped apart my poor laptop.  I'm using a Toshiba Satellite Pro 420CDT with 24MB of RAM.  Do I need a DOS VESA driver?  It looks like it's built into the video card BIOS.  Is that all I need?

SUGGESTIONS:
1.  Please don't hardcode the resolution.  This laptops native display is 800x600.  It will display 640x480, but in a small window.  I would like to use the full screen.  Obviously, beggers can't be choosers, but if it isn't that hard to let us pick the resolutions...

2.  I thought an earlier post mentioned connecting via a serial port.  Would it work faster/better if it connected via the parallel port like the old laplink or interlink?

Brian


Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #43 on: January 12, 2003, 12:28:42 am »
Wow, it's been awhile since I used DOS.  I have a question now that I've ripped apart my poor laptop.  I'm using a Toshiba Satellite Pro 420CDT with 24MB of RAM.  Do I need a DOS VESA driver?  It looks like it's built into the video card BIOS.  Is that all I need?
As long as VESA is available, you're fine...
Quote
SUGGESTIONS:
1.  Please don't hardcode the resolution.  This laptops native display is 800x600.  It will display 640x480, but in a small window.  I would like to use the full screen.  Obviously, beggers can't be choosers, but if it isn't that hard to let us pick the resolutions...
The problem isn't the display code, it's the instruction images.  Scaled images look awful on laptop screens, so it's likely that different sets of images would have to be created for different resolutions.
Quote
2.  I thought an earlier post mentioned connecting via a serial port.  Would it work faster/better if it connected via the parallel port like the old laplink or interlink?
It would, but I know how to write to a serial prt... I don't know how to do two-way communication over parallel. I am planning to look into it, though, as I have a couple of parallel PCAnywhere cabes that would be perfect for this, and I'd rather not use up a serial port that could be servicing a spinner or trackball.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JoeB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 628
  • Last login:July 29, 2025, 05:37:14 pm
  • NES Fanatic
Re:Live instruction card!
« Reply #44 on: January 12, 2003, 12:57:30 am »
Folks, there's a much easier thing that you can do, and it has been applied in other applications..

buy an LCD screen (not the video type, but rather one like your digital watch) and hack it.

Many people in the past have used it to create anything from something they put in their 5.25 drive slot for info like MB temperature, etc to put in their car as an interface to a PC in the trunk that acts like an MP3 player and this screen scrolled the name of the song.

Well, the serial conneciton and info is all over the web, all you need to do is write an interface the sends this info to the serial port, and it'll output it on the LCD screen!  Some have multiple lines, some will scroll back and forth.. all up to you!

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:Live instruction card!
« Reply #45 on: January 12, 2003, 01:11:22 am »
Well, the serial conneciton and info is all over the web, all you need to do is write an interface the sends this info to the serial port, and it'll output it on the LCD screen!  Some have multiple lines, some will scroll back and forth.. all up to you!
Yeah but we're looking for images here more than text. I think the theory is display a picture of the actual game control panel then show a picture next it with your game panel. Then some text with game instructions.
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #46 on: January 12, 2003, 01:13:20 am »
Joe,

The hard part isn't doing the display; I could do that in 20 minutes and be done with it.  The hard part, if this is to be a public release and not just a one-off, is not requiring each cab owner to create an image of his control panel for every single game! If we can create some sort of workable format for this that reads your controls from MAME's config files, we should be able to build up a library of instruction files, similar to the way artwork files are handled now.  Once we can make that work, it can be displayed in frontends, on separate screens, on separate computers, whatever.  

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

MinerAl

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 762
  • Last login:January 27, 2025, 07:02:58 pm
  • duck
Re:Live instruction card!
« Reply #47 on: January 12, 2003, 09:59:50 am »
If putting together a custom graphic each time is going to be a p.i.t.a. just make an ordered list next to a pre-labeled standard picture.  Something like this:

1: 4-way joystick
2: Fire
3: Thrust
4: unused
5: unused
6: unused
7: unused


Then all each user would have to do is make one labeled illustration of their layout, and maybe modify a simple configuration text file to decide which controls never to show... something like:

...
PlayerOneButton5 (show)
PlayerOneButton6 (hide)
PlayerOneButton7 (hide)
PlayerOneButton8 (hide)
PlayerOneTrackBall1 (show)
...


Or something else less difficult than putting the words directly on the graphic itself.

Forgive me if you've already thought of all this... I'm excited by this idea, even though I'll have to design a whole new cab to use it!

Thanks.

Al

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #48 on: January 12, 2003, 10:39:48 am »
Well, if you provide the system with the coordinates of where the labels should go (which you should only have to do once), then the labels can go right on the CP image.   MAME already know wher your buttons are mapped; what it doesn't know except in some cases is what those buttons represent.

What's needed is a comprehensive list of what buttons do what, and such a list has already been discussed among front end developers.  With that list, plus MAME.CFG and the game's CFG, plus a description of the control panel, the system should automatically be able to build the CP image for any game.  This would go in the bottom or right half of the laptop screen; in the top or left half would go an image of the instruction card from the original game (it would probably have to be rearranged to fit the area) showing the actual gameplay instructions.

--Chris

--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:Live instruction card!
« Reply #49 on: January 12, 2003, 01:02:07 pm »

Then all each user would have to do is make one labeled illustration of their layout, and maybe modify a simple configuration text file to decide which controls never to show...

That is pretty sweet. So is there anything those of us that aren't programmers can do to help?
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 06:08:43 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Live instruction card!
« Reply #50 on: January 12, 2003, 01:39:35 pm »
Well, the serial conneciton and info is all over the web, all you need to do is write an interface the sends this info to the serial port, and it'll output it on the LCD screen!  Some have multiple lines, some will scroll back and forth.. all up to you!
Yeah but we're looking for images here more than text. I think the theory is display a picture of the actual game control panel then show a picture next it with your game panel. Then some text with game instructions.

Exactly.... lcd instructions have been available for fe's for ages but they are so ugly that nobody uses them....  Check the source of aos and you'll see what I mean.

Oh and chris, there is already a project that is geared towards generating cp layouts, so you are wasting you time on that one.  Come help us with the controls.dat instead. :) Which reminds me.... I need to make an announcment.  

Also for different screen resolutions imho the proper thing to do would be to scale the image prior to sending it.... In other words generate it in the resolution that it's going to be sent on the main pc's end and then send that graphic.  Scaling shouldn't be necessary.  

I can make a program that dynamically makes cp layouts for you at any resolution for that matter. That's part of the goals of the controls.dat project and I already have a rather crude, hardcoded generator working.  All you need to worry about is sending the generated image.  :)

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #51 on: January 12, 2003, 01:49:37 pm »
I can make a program that dynamically makes cp layouts for you at any resolution for that matter. That's part of the goals of the controls.dat project and I already have a rather crude, hardcoded generator working.  All you need to worry about is sending the generated image.  :)
Scaling the CP image also isn't really the problem... but scaling the scans of the original instruction cards could make them illegible on some laptop screens.

Is there a particular home for the controls.dat project?

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Live instruction card!
« Reply #52 on: January 13, 2003, 10:03:48 am »
Bummer!

After ripping apart my cabinet, I've discovered that the laptop screen with its supporting hardware won't fit into the space below the monitor after all...
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com