Jump to content



Photo

The VPM alpha/beta thread


  • Please log in to reply
1790 replies to this topic

#1261 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 28 March 2021 - 03:18 PM

x64 would be interesting, yes. what troubles do have?

Please see screenshot attached, this only happens when compiling x64.

Attached Files



#1262 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 28 March 2021 - 04:04 PM

Do you also have the full build log output? This one already only shows the kinda follow-up errors after the 'real' error.



#1263 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 28 March 2021 - 05:55 PM

Do you also have the full build log output? This one already only shows the kinda follow-up errors after the 'real' error.

 

Stupid noob me  :stunned:

I compiled the entire solution and mixed up x32 and x64 in the release folders...

Now I generated the single projects and everything went allright!

 

For me both x32 and x64 (Pinmame.exe, PinMame32.exe, Vpinball.dll, Vpinball64.dll) now show the SAM roms when compiled using the color flag!

 

Thanks for your help!


Edited by GInsonic, 28 March 2021 - 05:56 PM.


#1264 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 28 March 2021 - 08:19 PM

Not the only noob around it seems :) For my understanding of VS 2019, I'm able to compile 64bit, but once I ask for 32bit to be compiled for PinMAME and PinMAME32, then it craps out quite quickly with :

 

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB8066    Custom build for 'src\windows\asmblit.asm;src\windows\asmtile.asm' exited with code 9009.    PinMAME32    D:\Code\VSCommunity\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets    240    

I'm probably good though, being able to compile the dll for 32bit VPinmame.dll and VPinballX.exe.


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1265 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 29 March 2021 - 12:25 AM

Not the only noob around it seems :) For my understanding of VS 2019, I'm able to compile 64bit, but once I ask for 32bit to be compiled for PinMAME and PinMAME32, then it craps out quite quickly with :

 

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB8066    Custom build for 'src\windows\asmblit.asm;src\windows\asmtile.asm' exited with code 9009.    PinMAME32    D:\Code\VSCommunity\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets    240    

I'm probably good though, being able to compile the dll for 32bit VPinmame.dll and VPinballX.exe.

I might be wrong as i am not really a programmer

but you might have to flip the project to 32bit before compiling

 

I know i have to do that when building freezys or flexDMD

otherwise i get errors too


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#1266 jsm174

jsm174

    Enthusiast

  • Silver Supporter
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Indiana Jones

Posted 29 March 2021 - 01:02 AM

@Thalamus, when you compile the x86 versions of PinMAME, you need to have NASM installed:

 

FWIW, unless you are actively doing dev on PinMAME, you can always grab the latest compiled code as artifacts from the GitHub actions:

 

 

Attached File  Screen Shot 2021-03-28 at 9.00.49 PM.png   196.59KB   6 downloads


Edited by jsm174, 29 March 2021 - 01:02 AM.


#1267 GInsonic

GInsonic

    Enthusiast

  • Platinum Supporter
  • 188 posts

  • Flag: Austria

  • Favorite Pinball: Addams Family

Posted 29 March 2021 - 06:20 AM

Not the only noob around it seems :) For my understanding of VS 2019, I'm able to compile 64bit, but once I ask for 32bit to be compiled for PinMAME and PinMAME32, then it craps out quite quickly with :

 

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB8066    Custom build for 'src\windows\asmblit.asm;src\windows\asmtile.asm' exited with code 9009.    PinMAME32    D:\Code\VSCommunity\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets    240    

I'm probably good though, being able to compile the dll for 32bit VPinmame.dll and VPinballX.exe.

Definitely NASM missing!

 

Please goto https://nasm.us and install both 32bit and 64bit (as Administrator!)

 

And do not forget to copy DX7SDK (https://osdn.net/pro...SDK/Dx7sdk.zip/) and add include and lib directories to the build path!


Edited by GInsonic, 29 March 2021 - 06:27 AM.


#1268 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 29 March 2021 - 07:48 AM

@jsm174 : Thanks, I don't think I'll be doing any code changes for pinmame any time soon - but, I would not mind being able to compile it, even though you've made it easy to get it of github ( awesome job btw )

 

@ginsonic : Thanks, I was not aware that there are different versions of nasm, that is probably my issue. DX7SDK, believe I've got that covered, appreciate the link though to verify.

 

Update : With the info from the last couple of pages, I've seem to have figured it out - thanks again guys.


Edited by Thalamus, 29 March 2021 - 09:31 AM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1269 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2021 - 07:49 PM

@jsm174 | @toxie : I believe that the latest builds at least of vpiname's setup.exe crashes if you use the 'Test' button. Not a huge problem, just use a old one, but, thought I should mention it. I tried both regular and "sc" of VPinMAME-3.4-184-74746b1-win-x86


Edited by Thalamus, 08 April 2021 - 07:50 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1270 jsm174

jsm174

    Enthusiast

  • Silver Supporter
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Indiana Jones

Posted 08 April 2021 - 07:55 PM

Did you uninstall and then reinstall?

 

Some methods that were in a previous release were deprecated.

 

184 from here right?

 

https://github.com/v.../runs/720340213



#1271 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2021 - 07:57 PM

Yes, from there. No, I didn't uninstall, never had to. I'll give it a go.


Edited by Thalamus, 08 April 2021 - 07:58 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1272 jsm174

jsm174

    Enthusiast

  • Silver Supporter
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Indiana Jones

Posted 08 April 2021 - 07:59 PM

Can you try just for the heck of it?



#1273 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2021 - 08:00 PM

Oh. Yes, that was the issue - as I said, never had to do it that way so that is what tripped me. Thanks :)


From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1274 jsm174

jsm174

    Enthusiast

  • Silver Supporter
  • 124 posts

  • Flag: United States of America

  • Favorite Pinball: Indiana Jones

Posted 08 April 2021 - 08:02 PM

cool. thanks. I'll keep an eye on it. I <think> it has something to do with the deprecated functions.



#1275 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 08 April 2021 - 08:30 PM

Yes, sounds plausible. But how does VP(X) work, but the Test button doesn't?!?!



#1276 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2021 - 08:38 PM

Haha. Yes, that is a good question. I tried this on both my cab and my computer before reporting and had no issues what so ever with playing. I wanted to look up the rom name and it is convenient to use the test button. That is when I noticed and started to try different things. Obviously, NOT trying to uninstall - LOL :)

 

First run after the uninstall now, the table was very laggy. Unplayable. Tried the procedure again, now with the old setup and again registering with the new and that problem was solved too. Might be just one of those odd things though. Chose each time not to clean the registry.


Edited by Thalamus, 08 April 2021 - 08:39 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1277 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 08 April 2021 - 08:45 PM

But did you maybe use an old setup.exe with that new/current VPinMAME.dll?

Cause when i use a new/current setup.exe, then the Test button also works without doing the uninstall first.



#1278 Thalamus

Thalamus

    Pinball Wizard

  • Platinum Supporter
  • 4,984 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 08 April 2021 - 08:50 PM

Both yes and no. I decided to put all the new files onto my cab, overwriting the ones I had. Used new setup.exe for the install part. I noticed later the crash, using the list function - no issues playing or anything. What I did then was to just copy an old setup.exe back and once I got the list up I thought that it was a bug with the list function of sorts. That is where the cab's status is now.

 

Here. I downloaded the same files ( desktop test maskin ), Did the same thing, then reported and well, then I did what I just wrote.

 

Hmmm, come to think of it - could it be that I never pressed the install on the cab ? It might very well be true. Many times, just overwriting the dll has been enought. So, now you made me unsure. Hmm. No, that can't be true, I would have tested the install on the crash situation. I'm sure of it.


Edited by Thalamus, 08 April 2021 - 08:55 PM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#1279 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 08 April 2021 - 09:47 PM

Both yes and no. I decided to put all the new files onto my cab, overwriting the ones I had. Used new setup.exe for the install part. I noticed later the crash, using the list function - no issues playing or anything. What I did then was to just copy an old setup.exe back and once I got the list up I thought that it was a bug with the list function of sorts. That is where the cab's status is now.

 

Here. I downloaded the same files ( desktop test maskin ), Did the same thing, then reported and well, then I did what I just wrote.

 

Hmmm, come to think of it - could it be that I never pressed the install on the cab ? It might very well be true. Many times, just overwriting the dll has been enought. So, now you made me unsure. Hmm. No, that can't be true, I would have tested the install on the crash situation. I'm sure of it.

 

I ran into same thing
Pinmame worked but test just closed setup

clicked uninstall, closed, clicked install, close
reopened clicked test, it exited
but tables ran
i rebooted and then it made a liar out of me and test worked
no idea why, maybe i should have uninstalled before popping the new files in i guess.

Or maybe some piece of the previous pinmame was floating in memory someplace?
No idea


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#1280 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 08 April 2021 - 09:55 PM

hmmmppf.. i guess this is the price for cleaning up some 15 year old todos..  ;-/