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: O2EM & The Voice  (Read 2637 times)

0 Members and 1 Guest are viewing this topic.

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
O2EM & The Voice
« on: May 29, 2009, 10:35:26 pm »
I'm running O2EM 1.16 (with the cabinet hack) for my O2 emulator.  I have the voice packs and unzipped them and put them in a folder called VOICE in the O2EM directory.  But none of the games have voice, just the normal sounds.  Anyone know how to get the voice working?

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
Re: O2EM & The Voice
« Reply #1 on: May 30, 2009, 12:49:02 am »
I gave up on 1.16 since the hack doesn't seem to work as when O2EM runs, it says:

Invalid option : s0
Error in the o2em_def.cfg file at line number 11 !

What I get when I run 1.18 which also seems to work fine except the voice is:

O2EM v1.18 (Jan/2007)  -  Windows binary
Free Odyssey2 / Videopac+ Emulator - http://o2
Created by Daniel Boris (c)1996/1998
Developed by:
     Andre de la Rocha since version 0.80
     Arlindo M. de Oliveira since version 1.16


Starting emulation ...
Initializing sound system...
  Sound system initialized ok
  Sound driver [Primary Sound Driver] detected
Using Allegro Allegro 4.0.2, MSVC
BIOS found:
  G7400 VP+
  C52
  JOPAC VP+
  Odyssey 2
Videopac+ G7400 bios ROM loaded
Loading: "C:\roms\O2\ATTACK OF THE TIMELORD.bin"
Loading voice samples...  287 samples loaded

So it appears to be seeing the voice samples - but it isn't using them.  Switching to other roms like "bios_o2.bin" has no effect.  My O2EM config file is:

# O2EM Config

fullscreen
scanlines
vvolume=100
svolume=100
speed=100
bios=bios/bios_g7400.bin
s1=UP,DOWN,LEFT,RIGHT,SPACE
s2=W,S,A,D,LCONTROL

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
Re: O2EM & The Voice
« Reply #2 on: May 30, 2009, 02:31:31 am »
Success!!!  The voice now works. 

Basically I grabbed the source code for it (v1.18), and compiled it in much the same way as Mr. Do's guide outlines for MAME.  I also grabbed version 4.2.2 of Allegro from sourceforge and had it use those libraries instead of the 4.0.2 included with O2EM.

If anyone is interested, I could post the steps I followed to compile... but right now, I'm tired and going to bed.  I'm attaching a zip file with the new executables.  So, to get it to work download and unzip the file, and replace your original files with the ones from the zip file (o2em, dis48, alleg42.dll).

These were compiled on a Dell Dimension 4300 (P4 @ 1.6G) running XP SP3 using mingw and the allegro 4.2.2 binary package.

Hope this helps someone else out.  I'm actually a Mac / Unix guy, so this PC stuff is still new to me.  I have to say, I couldn't have done this without the great writeup by Mr. Do!  Thanks dude!!!
« Last Edit: May 30, 2009, 02:33:37 am by moonchilddave »

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
Re: O2EM & The Voice
« Reply #3 on: May 30, 2009, 03:21:11 am »
Ok, not quite so happy.  It works if run from the command prompt inside the o2em directory - but it won't work when running under Mamewah.  I've tried using full paths for everything.  It will fire up and run - but there is no display, although you can hear the game playing.  Anyone have a clue on how to fix that?  Is there some way to tell Mamewah to fire up the program from inside the proper directory?  A batch script or something that sets the environment?

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
Re: O2EM & The Voice
« Reply #4 on: May 30, 2009, 03:21:03 pm »
Ok, it does work - just removed the {nosafelaunch} from my Mamewah config and it now seems to work fine!

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: O2EM & The Voice
« Reply #5 on: May 31, 2009, 02:10:10 pm »
Ah, the trouble with tribbles, eh? I've been staying away from O2EM for a long spell, and may continue to do so as MESS seems to have it squared away - but I think requires at least a 2.6ghz machine, which I have, though some like yourself do not.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

moonchilddave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:May 17, 2021, 01:21:04 pm
Re: O2EM & The Voice
« Reply #6 on: May 31, 2009, 02:52:01 pm »
Just when I was beginning to think that this was a pretty cool place that didn't jump all over the noobs or make snide condescending remarks - I get proven wrong.  Thanks for your help.  Now, excuse me while I run right out buy a few 4G dual core Intels, load Linux on them and cluster them together.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: O2EM & The Voice
« Reply #7 on: June 01, 2009, 03:51:42 pm »
I have been running O2Em for a long time with no problems, but I don't use MAMEWah.

Unless it's been fixed in the last year, O2Em does a better job than MESS.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility