Jump to content



Photo

pinmame with debug enabled binary

pinmame debug

  • Please log in to reply
2 replies to this topic

#1 Gnulnulf

Gnulnulf

    Hobbyist

  • Members
  • PipPip
  • 10 posts
  • Location:Maassluis, NL

  • Flag: Netherlands

  • Favorite Pinball: TAF

Posted 28 June 2021 - 05:22 PM

Hi,

 

Is there a downloadable binary with the "-debug" option?

I now use a fairly old version to debug roms.

 

If not. Is there a noobs guide to compiling including setup of VS?

 

Thanx in advance.



#2 Gnulnulf

Gnulnulf

    Hobbyist

  • Members
  • PipPip
  • 10 posts
  • Location:Maassluis, NL

  • Flag: Netherlands

  • Favorite Pinball: TAF

Posted 10 July 2021 - 12:29 PM

To answer my own question. I got it working in ubuntu 20.04 WSL on windows:

sudo apt install build-essential subversion libx11-dev libxext-dev x11proto-video-dev libxv-dev libsdl1.2-dev libasound2-dev libcurses-dev

cd
mkdir xpinmame
cd xpinmame
svn checkout https://svn.code.sf.net/p/pinmame/code/trunk pinmame-code
cd piname-code
grep '^DEBUG' makefile.unix || sed -i 's/^#\s*DEBUG\s*=\s*1/DEBUG=1/' makefile.unix
make clean -f makefile.unix
make -f makefile.unix

# run Xserver ( for example xming ) on windows host
export DISPLAY=localhost:0.0

mkdir roms
# place rom.zip in ./roms 

./xpinmamed.x11 f14_l1 --nosound  --rompath ./roms --debug

 



#3 SasitornSchneider

SasitornSchneider

    Neophyte

  • Members
  • Pip
  • 7 posts
  • Location:Phuket, Thailand

  • Flag: Thailand

  • Favorite Pinball: Jack Bot

Posted 27 July 2023 - 07:20 AM

To answer my own question. I got it working in ubuntu 20.04 WSL on windows:

sudo apt install build-essential subversion libx11-dev libxext-dev x11proto-video-dev libxv-dev libsdl1.2-dev libasound2-dev libcurses-dev

cd
mkdir xpinmame
cd xpinmame
svn checkout https://svn.code.sf.net/p/pinmame/code/trunk pinmame-code
cd piname-code
grep '^DEBUG' makefile.unix || sed -i 's/^#\s*DEBUG\s*=\s*1/DEBUG=1/' makefile.unix
make clean -f makefile.unix
make -f makefile.unix

# run Xserver ( for example xming ) on windows host
export DISPLAY=localhost:0.0

mkdir roms
# place rom.zip in ./roms 

./xpinmamed.x11 f14_l1 --nosound  --rompath ./roms --debug

Like you might have seen in my last topic, I solved it under Windows 10, using VS 2022, cmake, and a cygwin installation to compile PinMame 3.3. 







Also tagged with one or more of these keywords: pinmame, debug