Jump to content



Photo
- - - - -

Pinmame on Raspberry PI - Scared Stiff


  • Please log in to reply
7 replies to this topic

#1 mikelatiolais

mikelatiolais

    Hobbyist

  • Members
  • PipPip
  • 13 posts

  • Flag: United States of America

  • Favorite Pinball: Scared Stiff

Posted 16 April 2018 - 05:50 AM

I'm doing something similar to the Lisy80 project, and I'm attempting to run Scared Stiff. It compiled fine, but then when I went to start the game, I see an odd error:

info: trying to parse: /usr/local/share/xpinmame/xpinmamerc

info: trying to parse: /root/.xpinmame/xpinmamerc

info: trying to parse: /usr/local/share/xpinmame/xpinmame-x11rc

info: trying to parse: /root/.xpinmame/xpinmame-x11rc

info: trying to parse: /usr/local/share/xpinmame/rc/ss_14rc

info: trying to parse: /root/.xpinmame/rc/ss_14rc

Mouse/Trakball selected.

loading rom 0: stiffg11.1_4

loading rom 1: sssnd_11.s2 

loading rom 2: sssnd_11.s3 

loading rom 3: sssnd_11.s4 

done

stiffg11.1_4 NOT FOUND

ERROR: required files are missing, the game cannot be run.

Unable to initialize machine emulation

 

It appears to load stiffg11.1_4, but then immediately complains that it can't find it. Am I missing something?
I launch from the command line:
./xpinmame.x11 ss_14 -rp <directory with roms from ipdb>
 



#2 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 16 April 2018 - 06:02 AM

seems like it cannot find the first rom file in ss_14 or the whole set (most likely).

are you sure you have the correct set and in the correct place?



#3 mikelatiolais

mikelatiolais

    Hobbyist

  • Members
  • PipPip
  • 13 posts

  • Flag: United States of America

  • Favorite Pinball: Scared Stiff

Posted 17 April 2018 - 06:46 AM

Ah, it was an oversight. I had moved from 1.4 to 1.5, and didn't adjust my command line. A stupid user error. 



#4 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,523 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 17 April 2018 - 08:06 AM

I personally would love to see this running..... a video would be awesome....


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#5 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 17 April 2018 - 08:06 PM

Indeed. Video please.  :)



#6 mikelatiolais

mikelatiolais

    Hobbyist

  • Members
  • PipPip
  • 13 posts

  • Flag: United States of America

  • Favorite Pinball: Scared Stiff

Posted 29 May 2018 - 03:51 AM

As you wish.
This is a short video of my progress so far. I built an interface board and wrote a small function to draw an array on the DMD. After some hacking in the dark, I have it writing, slowly and with a lot of noise. But, it is writing to the physical DMD. I suspect that some of the noise comes from the board. Now that I have the proof of concept working enough to appear viable, I think I will recreate the interface on a strip board and limit unshielded wiring. 

https://www.youtube....h?v=3NcaK68utUA

I also think I may be approaching the drawing wrong. Right now, I just hijacked this function:

PINMAME_VIDEO_UPDATE(wpcdmd_update)

Commented out the video_update_core_dmd function and then called my own draw function with the 3 DMD frames. It works somewhat, but not without some delays to sync things up(which slow down the whole thing). Am I on the right track?



#7 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 26 July 2018 - 08:29 PM

I would hijack it in core.c, in the same place that we do external DMD:

 

 //external dmd

 if (g_fShowPinDMD)

 renderDMDFrame(core_gameData->gen, layout->length, layout->start, currbuffer, g_fDumpFrames, Machine->gamedrv->name);



#8 LeoLopes

LeoLopes

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: Brazil

  • Favorite Pinball: addams family

Posted 25 January 2019 - 06:04 PM

I'm trying to compile the Pinmame in Raspberry Pi 3 Model B for a project similar to Lisy80 as well. I uncomment the lines

LISY_X = 1 e

LISY_X_FAKE_VIDEO = 1

in the file makfile.unix, but when compiling I get the following error message

 

src/wpc/capgames.c:69:78: error: pasting "," and "pmv112" does not give a valid                          

preprocessing token core_tGameData name##GameData = {0,disp,{FLIP,0,lamps,1,sb,0,gameno,0,##name##_g                         

etsol},NULL,{"", capInvSw##gameno}}; \

 

Does anyone know what I might be doing wrong?