Jump to content



Photo

DMDdevice error when colorizing


  • Please log in to reply
9 replies to this topic

#1 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 984 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 26 August 2019 - 05:09 PM

Hey Peeps,

I already have Freezy up and running for a while. Works a treat so far.
However when enabling some colorization I run into an error.
See log :

[6] 2019/08/25 13:09:40.253  INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini. 
 [6] 2019/08/25 13:09:40.271  INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor 
 [6] 2019/08/25 13:09:40.271  INFO | Starting VPinMAME API through VPinballX.exe. 
 [6] 2019/08/25 13:09:40.278  INFO | [vpm] Open() 
 [6] 2019/08/25 13:09:40.278  INFO | [vpm] Set_4_Colors_Palette() 
 [6] 2019/08/25 13:09:40.278  INFO | Setting palette to 4 colors... 
 [6] 2019/08/25 13:09:40.278  INFO | [vpm] PM_GameSettings(1) 
 [6] 2019/08/25 13:09:40.278  INFO | Enabling game colorization 
 [6] 2019/08/25 13:09:40.278  INFO | Setting game name: totan_14 
 [6] 2019/08/25 13:09:40.278  INFO | Loading palette file at C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.pal... 
 [6] 2019/08/25 13:09:40.278  INFO | Loading virtual animation file at C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.vni... 
 [6] 2019/08/25 13:09:40.403  INFO | Loaded animation set VPIN v4, 434 animation(s) 
 [6] 2019/08/25 13:09:40.403  INFO | Setting color: #FFFF5820 
 [6] 2019/08/25 13:09:40.403  INFO | Loading palette file at C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.pal... 
 [6] 2019/08/25 13:09:40.419  INFO | Loading virtual animation file at C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.vni... 
 [6] 2019/08/25 13:09:40.419  WARN | Error initializing colorizer: Kan geen toegang krijgen tot het bestand C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.vni omdat het wordt gebruikt door een ander proces. System.IO.IOException: Kan geen toegang krijgen tot het bestand C:\Visual Pinball\VPinMAME\altcolor\totan_14\pin2dmd.vni omdat het wordt gebruikt door een ander proces.
   bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   bij System.IO.FileStream..ctor(String path, FileMode mode)
   bij LibDmd.Converter.Colorize.VniAnimationSet..ctor(String filename) in C:\Development\dmd-extensions\LibDmd\Converter\Colorize\VniAnimationSet.cs:regel 13
   bij LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:regel 167
 [6] 2019/08/25 13:09:40.419  INFO | Opening virtual DMD... 
[10] 2019/08/25 13:09:40.469  INFO | Found B2S, moving behind DMD. 
[10] 2019/08/25 13:09:40.469  INFO | Added VirtualDMD renderer. 
[10] 2019/08/25 13:09:40.481  INFO | PinUP DLL starting totan_14... 
[10] 2019/08/25 13:09:40.481  INFO | Added PinUP renderer. 
[10] 2019/08/25 13:09:40.481  INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False 
[10] 2019/08/25 13:09:40.481  INFO | Applying palette to render graphs. 
[10] 2019/08/25 13:09:40.481  INFO | Resizing virtual DMD to 128x32 
[10] 2019/08/25 13:09:40.497  INFO | Setting up 2-bit VPM Graph for 2 destination(s) 
[10] 2019/08/25 13:09:40.497  INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Rgb24) 
[10] 2019/08/25 13:09:40.535  INFO | Connecting VPM 2-bit Source to PinUP Writer (Gray2 => Gray2) 
[10] 2019/08/25 13:09:40.535  INFO | Setting up 4-bit VPM Graph for 2 destination(s) 
[10] 2019/08/25 13:09:40.535  INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Rgb24) 
[10] 2019/08/25 13:09:40.535  INFO | Connecting VPM 4-bit Source to PinUP Writer (Gray4 => Gray4) 
[10] 2019/08/25 13:09:40.535  INFO | Setting up RGB24-bit VPM Graph for 2 destination(s) 
[10] 2019/08/25 13:09:40.535  INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24) 
[10] 2019/08/25 13:09:40.535  INFO | Connecting VPM RGB24 Source to PinUP Writer (Rgb24 => Bitmap) 
 [6] 2019/08/25 13:09:50.953  INFO | [vpm] Close() 
 [6] 2019/08/25 13:09:50.953  INFO | Closing up. 
 [6] 2019/08/25 13:09:50.953  INFO | Source for 2 renderer(s) stopped. 
 [6] 2019/08/25 13:09:50.953  INFO | Source for 2 renderer(s) stopped. 
 [6] 2019/08/25 13:09:50.953  INFO | Source for 2 renderer(s) stopped. 

Translated to English it means, can't acces file because it's in use by another process.
Whut? 


**Each pinball machine is a tiny universe... that we control.**


#2 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 26 August 2019 - 05:27 PM

Is it always the same roms? --- If yes what are some of them

Do you just get the error or the color rom will not work?



#3 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 984 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 27 August 2019 - 04:43 PM

Thanks for your reply.
It's on every rom I try to use. For example Mars attacks and totan.
I see the Frenzy rom (4 colors) like I used to.
The colorized doesn't show. Which seems logic since it can't open the files claiming they are in use by another process.
What proces is using them seems unknown.
Both files are "unblocked" and directory is writable.

Maybe a Win10 thing?


**Each pinball machine is a tiny universe... that we control.**


#4 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 27 August 2019 - 05:05 PM

LCD or a real DMD - If so which one



#5 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 984 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 28 August 2019 - 05:58 PM

I'm sorry. 
LCD screen.
All is okay and in working order, except when running the colorization.


**Each pinball machine is a tiny universe... that we control.**


#6 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 28 August 2019 - 06:01 PM

What version of freezy are you using?



#7 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 984 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 28 August 2019 - 08:57 PM

I should have seen this question coming lol

Freezy is at 1.17.2

PinMAME sam build at 3.1

And VP at 10.6.0 3705


**Each pinball machine is a tiny universe... that we control.**


#8 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 28 August 2019 - 09:06 PM

I guess this should have been one of my 1st questions

Time to do some updating either use the -- 1.71  or I used the 1.73

The 1.72 is no good for COLOR

 

PinMAME sam build at 3.1 <---- Also update this

 

These 2 links are the same thing just different websites

http://vpuniverse.co...s#comment-42753

https://vpinball.com...on/#post-115676



#9 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,806 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 28 August 2019 - 10:03 PM

I should say 1.72 dll is bad



#10 numiah

numiah

    Pinball Fan

  • Members
  • PipPipPipPip
  • 984 posts
  • Location:Netherlands

  • Flag: Netherlands

  • Favorite Pinball: TOTAN

Posted 29 August 2019 - 04:52 PM

Success! 

Thank you for your endless support and patience.
Sometimes it's really hard to stay up to date with what is latest etc.
I would have put my house on it betting I was up to date.

Thanks again, I hope this thread can also help others.

:love39:


**Each pinball machine is a tiny universe... that we control.**