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 --- Bug Reports --- Site News

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

  

Author Topic: Challenge - WinCab under WINE on eee pc  (Read 2914 times)

0 Members and 1 Guest are viewing this topic.

Dermbrian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 292
  • Last login:August 15, 2017, 07:13:27 pm
  • I want to build my own arcade controls!
Challenge - WinCab under WINE on eee pc
« on: September 18, 2008, 03:34:05 pm »
I have a model 701 4G eee pc.   Touchscreen mod kits are readily available and under $75.  It sure would be sweet if I could run WinCab on it.

Has anyone else tried to do this...or does anyone else have a similar eee ultraportable and feel up to a challenge to see if this is possible?


Brian

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
  • Last login:December 22, 2014, 10:29:47 pm
    • Chris's MAME Cabinet
Re: Challenge - WinCab under WINE on eee pc
« Reply #1 on: September 18, 2008, 03:38:02 pm »
Does WINE run DirectX?

If you can find a DOS driver for the touchscreen and the Eee's sound card, DOS might be a good choice.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

NiN^_^NiN

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 920
  • Last login:March 22, 2017, 11:09:08 pm
  • Oh yeah Baby. I put on my robe and wizard hat
Re: Challenge - WinCab under WINE on eee pc
« Reply #2 on: September 22, 2008, 02:50:41 am »
i have a 7" eee pc and have been using it to test my skin for the 7" touchscreen.

it would be easier for you to just slap xp onto the hdd and run wincab and the touchscreen in windows and use a external hdd for the songs

Dermbrian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 292
  • Last login:August 15, 2017, 07:13:27 pm
  • I want to build my own arcade controls!
Re: Challenge - WinCab under WINE on eee pc
« Reply #3 on: September 22, 2008, 04:03:46 pm »
i have a 7" eee pc and have been using it to test my skin for the 7" touchscreen.

it would be easier for you to just slap xp onto the hdd and run wincab and the touchscreen in windows and use a external hdd for the songs

No XP license.  That would more than double the cost and then I'd lose a lot of what I do like about the eee pc.

But thanks for the suggestion. 

Brian

NiN^_^NiN

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 920
  • Last login:March 22, 2017, 11:09:08 pm
  • Oh yeah Baby. I put on my robe and wizard hat
Re: Challenge - WinCab under WINE on eee pc
« Reply #4 on: September 22, 2008, 05:05:18 pm »
Ok well if the touchscreen has a linux driver you should be set i know there are directx games that work under wine so you should be fine as for Dos with the eee-pc it won't work at all sadly

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
  • Last login:December 22, 2014, 10:29:47 pm
    • Chris's MAME Cabinet
Re: Challenge - WinCab under WINE on eee pc
« Reply #5 on: September 22, 2008, 05:22:33 pm »
Touchscreen support in WinCab is a bit iffy; it only works on XP and DOS so far.  So definately see if you can test it with your setup before shelling out too much for the kit.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Dermbrian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 292
  • Last login:August 15, 2017, 07:13:27 pm
  • I want to build my own arcade controls!
Re: Challenge - WinCab under WINE on eee pc
« Reply #6 on: September 22, 2008, 09:59:16 pm »
Well, I got further in getting WINE configured than I had on previous attempt, but I think the graphics adapter isn't up to the task.  I get a wincab error of

There has been an error initializing the graphics mode
Requested mode: 1024x768
Error message:  Overlays not supported

...and then it quits.


Brian



Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
  • Last login:December 22, 2014, 10:29:47 pm
    • Chris's MAME Cabinet
Re: Challenge - WinCab under WINE on eee pc
« Reply #7 on: September 23, 2008, 10:22:12 am »
That error message isn't coming from me, it's coming from DirectX.  It sounds like it's trying to open a windowed version of the program rather than running fullscreen.

Try adding this to jukebox.ini:

Code: [Select]
[graphics]
gfx_card = DXSO

That try to open a full-screen window without hardware accelleration.  If you must have a windowed mode, try:

Code: [Select]
[graphics]
gfx_card = GDIB

Here are all the possible values for gfx_card:

DXAC     - DirectX with hardware acceleration
DXSO     - DirectX without hardware acceleration
DXSA     - DirectX in safe-mode, with all the fancy features disabled
DXWN     - DirectX in windowed mode
DXOV     - DirectX overlay (fast windowed mode, only works on some cards)
GDIB     - GDI mode (slow windowed mode, works on all cards)
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Dermbrian

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 292
  • Last login:August 15, 2017, 07:13:27 pm
  • I want to build my own arcade controls!
Re: Challenge - WinCab under WINE on eee pc
« Reply #8 on: September 23, 2008, 01:34:16 pm »
Thanks again, Chris.  My problem was two-fold.  One was that I needed to run wincab from the command line, from within its directory under WINE.  Another was that I was only finally successful when I set the resolution to 640x480.

I eventually could get it to scan for the few songs I could fit into the little PC and to play and queue them.  Unfortunately, the joystick (mousepad or joystick) doesn't work and the slightest interrupt, such as pressing a key or even some occassional background stuff,  makes the sound stutter. 

But at least I've gotten it to the point where I can test it and play around with it.  Maybe I'll eventually find some tip or trick that improves its performance to where it's usable on my little eee ultraportable under Linux. 

Brian

EDIT:  I meant to say the mouse doesn't work.  The cursor stays centered in the screen and jiggles a bit as the USB mouse is moved or the touchpad is touched.
« Last Edit: September 23, 2008, 01:58:48 pm by Dermbrian »

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4572
  • Last login:December 22, 2014, 10:29:47 pm
    • Chris's MAME Cabinet
Re: Challenge - WinCab under WINE on eee pc
« Reply #9 on: September 23, 2008, 01:38:30 pm »
Thanks again, Chris.  My problem was two-fold.  One was that I needed to run wincab from the command line, from within its directory under WINE.  Another was that I was only finally successful when I set the resolution to 640x480.

I eventually could get it to scan for the few songs I could fit into the little PC and to play and queue them.  Unfortunately, the joystick (mousepad or joystick) doesn't work and the slightest interrupt, such as pressing a key or even some occassional background stuff,  makes the sound stutter. 

But at least I've gotten it to the point where I can test it and play around with it.  Maybe I'll eventually find some tip or trick that improves its performance to where it's usable on my little eee ultraportable under Linux. 

Brian
You'll definately want to use a "classic" style skin as opposed to an album-based skin; they require a lot less horsepower.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com