Jump to content

johnparker007

  • Posts

    2,656
  • Joined

  • Last visited

  • Days Won

    119

Posts posted by johnparker007

  1. Another little update - added a quick and basic 7 segment VFD down in the bottom-left corner of the screen. 

    (plenty of potential for eye candy effects at a later point with a more complex/time-consuming VFD renderer, but this'll do the job for now :) )



    @geordie52 I think this is the download:

     

    • Like 2
  2. Thanks for all the positive feedback guys, it's taking the edge off my hangover that's still lurking around :) 

    One more update for today: I've hooked up the ROM-controlled reel lamps.  While they're working properly logically, I'll be able to make them look better than they do here - but these are fine as placeholders.  I'm just gonna everything basically working first, then do a second round of polishing up the graphics where needed.

     

    • Like 3
    • Awesome 3
  3. Had a look into ways to deal with the masked lamps - decided the best approach is the simple one :)  I was originally going to do something more involved, but this way should be quicker to implement and it'll look like the original layout artist intended.

    Short demo video - the glass is 4x AI upscaled, and the lights smoothly fade up/down.  Will be able to do the slight ramp up/ramp down that the incandescent bulb era machines would have with this technique too.

     

    • Like 6
    • Awesome 2
  4. I've recently been tinkering with making a 3D machine renderer.  I was originally playing with using AI for upscaling low res textures, then got quite heavily sidetracked! 

    I'd been posting in the DXcellent layout discussion forum (back when it was just about AI upscaled textures), but a friend on here advised this would be a better place to post updates, now that it's turned into a more technical project.

    Here it is rendering an MFME instance.  The flashing sphere above the reels is the first test lamp (the start button lamp).  The reel symbol textures in this demo are an example of the AI upscaled textures - they were generated from the low res ones in the layout.



    For further info on the AI upscaling stuff with some more examples, here's the original thread:
     

     

    • Like 13
  5. 6 hours ago, A:E said:

    What happens with masked lamps.  I’m assuming that is possible, this looks so amazing.

    J

    With Unity, it's got a ton of ways of rendering stuff, various pipelines etc.  I think a shader may end up being the way to go.  So unlike mfme's inbuilt renderer that has dark and light images, it would have say just a large glass 'lamps off' image, and then illuminate areas on that image dynamically with the shader to simulate the individual lamps behind the glass, reels etc.  Summats like that anyway :) 

    • Like 2
  6. 11 hours ago, Reg said:

    Will try this at the weekend.  This is the actual size, always liked the red one but the layout was a little small so this could be very good. :)

    image.thumb.png.5b00cfba98b7049ce5d2beab341130c4.png

    Had a quick go with the green one I found on here out of interest, as I'm still amazed how much it can get out of the source images :) - some improvements, though it does struggle with the tiny writing on the location squares around the edge of the board: 

    Original
    monopolyclub_original.thumb.png.a90cc3ac59668c31a3eb5b779e64f000.png

    Scaled
    monopolyclub_scaled.thumb.png.ed1f92af4bbc39d66552745c6160e61c.png


    Some more writing:

    Original
    image.thumb.png.6182ea76fedc8bba66093bbf50a87370.png

    Scaled
    image.thumb.png.e757ca5e9e5321ca562f6a6f0a0178e7.png


    Some 'cards' on the board...

    Original
    image.thumb.png.29b39b4a3c8b738f7f442bda6b36d802.png

    Scaled

    image.thumb.png.dea6bb96ec10e61798d2022edd08b559.png



    Some more writing:

    Original
    image.thumb.png.1bbdf4fff816d1d1bc0c583dc8e72e04.png

    Scaled
    image.thumb.png.309cafa57af2b27000c84fd4f31cad29.png
     

    • Like 1
    • Awesome 1
  7. 19 hours ago, infection said:

    Does this mean you can enhance flyers which are poor?

    I hope so :)  (the AI might run into problems with moire/rosette artifacts inherent in the printing process, prob depends on scan resolution to original dpi ratio).  That said it'll probably be perfectly fine - I have no flyers to test, though I've put a full guide above that should help get you going for simple manual AI upscaling of images.

     

    5 hours ago, Amusements said:

    Thanks for the info. I had a play with the 64bit UI but ran out of time (Visitor). Just wondering which waifu engine you had running, and if you could maybe explain a bit more about the post process a bit. Thanks:) 

    The post process stuff - I only had to do that to those BARs, but it's standard Photoshop / gimp stuff.  Unsharp mask is a good tool for sharpening images (it's not AI upscaling though!), and saturation is just increasing the colour saturation of images that look a little 'washed out'.

    • Like 5
  8. Bear with me, I'll knock up a quick guide with some screenshots as this GUI version makes it very straightforward - then everyone can start using this for fun or even building/improving layouts straightaway (albeit manually).

    Edit - ok that's done - see below :) 

     

    GUIDE TO INSTALLING AND USING WAIFU2X GUI TO UPSCALE IMAGES USING AI


    (1) Download latest stable build Installer from this link: http://d0.ananas.chaoxing.com/download/f2addaafa64f1bd0a7dc0eb7eeb74d1e?fn=Waifu2x-Extension-GUI-v2.56.52-Win64

    (note the link above may expire - then visit: https://github.com/AaronFeng753/Waifu2x-Extension-GUI and scroll down to find the link to latest stable Windows build)
    image.png.8e5611a90cabb5c89a8aaa867ba18983.png

     

    (2) Then extract the downloaded 7z to a folder on your desktop (you will need to install 7zip if you don't have it, it's free: https://www.7-zip.org/ ) image.png.9220176598e9df3801a0f6254e3da77b.png



    (3) Open the folder (A) on your desktop and launch the program (B)
    image.png.09cde1338921da4a488844731fe3c657.png



    (4) Have an image to hand to upscale, and drag and drop that image onto the area indicated in the waifu2x window (here I'm using an image from an old converted MAME layout I dug out of my old project backup files)
    image.thumb.png.34e741e6faef2af84bcd505e4c70f5b7.png



    (5) You should now see your file details in the top area (A).  Now set the values in the area (B) as shown (users with slower PCs may wish to reduce the scale from 16 to say 2-4 if they want quicker results and a smaller scale; also noise can be set to -1 if the source image is very clean)
    image.png
     


    (6) Now click Start (A) and the image will be upscaled and saved with a file suffix in the same folder as the source image (B) ... (in my case desktop to make this guide clearer)
    image.png

    Open up that new file and zoooooooooom in!  ;)

    • Like 5
  9. Hey guys :) 

    I had been using a less user-friendly command line lib with a custom batch file for recursive runs, but I've found a more user friendly way so the non-coders can get in on the upscaling action straight away; this has a GUI.  I'm looking forward to seeing what you guys upscale! ;) 

    Note that for the [BAR] reel symbols above, they benefitted from some post processing steps (I think it will be best to always perform these after the upscale stage is complete).

    The version including a GUI is here:

    https://github.com/AaronFeng753/Waifu2x-Extension-GUI

    I think a tool could be developed to automatically upscale the massive back catalog of existing MFME layouts, but that's a conversation for a few months time.  This would potentially open up very detailed textures for a 'photorealistic' 3D renderer (generated from 2D layouts)... allowing for VR arcades (with a non-headset mode), so one could reel peek etc, and the visuals would stay sharp even when just the reels and surrounding glass are taking up a lot of the screen.

    Also new layouts could be hand-constructed from a lower resolution flyer/photo/scan that has been upscaled/processed, to provide sharper graphics in general.

    Have fun :)

    For a crude text I scaled my browser rendering down to 25% and took a screengrab of my post above - view this below at 100% zoom in your browser, and it should show the sharpness improvements more clearly at a closer scale to what you'd see when running a layout on a 1080p screen (which I am using). You would see better improvements with a 4k display and viewing the original reel images further up.

    image.png

    • Like 3
    • Thanks 1
  10. 5 hours ago, slasher said:

    With regards to the other project, I believe I still have all the files on my server if you ever need anything from it or wanted to kick it back up again

    Cheers Slasher :)   I do have the work backed up (though not the website backend), and good to know there's more copies out there!

    Just had a little play with some reel symbols as they were always low res (I don't know if that's changed with newer layouts):

    These are purely upscaled:
     

    reelsym_original_1.png.0e0dd25b6defb8af14221c810aba94aa.pngreelsym_scaled_1.png.b3bdb773ea866b26e6f97a5dbf781765.png

    reelsym_original_2.png.1bb5dd3de63294cdfefe4e8dc37b5b5e.png
    reelsym_scaled_2.png.0f2536afba244502ad4d40fd80c9ab13.png

    reelsym_original_3.png.6a0835a8b0a9c6843b9219874e90dc16.png
    reelsym_scaled_3.png.7754359a925c540bf6dcf2f08f20f427.png

    These had a couple of extra stages:
     

    reelsym_original_4.png.be3976de43c1f82348f52719c964584a.png
    reelsym_scaled_4.png.e6e56d06f8954a4c830a5c5b3fe6f9c7.png

    reelsym_original_5.png.d93703d9cabcbf26ff203e38a886f5d8.png
    reelsym_scaled_5.png.e5dcd21bcd670a64850e43db2140b8ad.png

    reelsym_original_6.png.d30ba887c861b740dc23b6e8a32c181b.png
    reelsym_scaled_6.png.d95097ee03046e1bde9585f8bb0e9688.png

    For the upscaling, I'm using the waifu2x library (setting 16x 0n), and for the bars above I ran an unsharp mask and saturation post pass.
     

     

     

    • Like 2
    • Awesome 1
  11. Hiya A:E :)  Thanks for the info and offer to test :) 

    Hey davep180 :)  For various reasons (that I don't want to get into on this thread), we won't know the best way to progress this tech into something usable for a few months.  Something will come of it though - I did a project involving FME layouts in the past, and was always bothered by the issue of low resolution (especially as 4k and 8k monitors are already available).

    • Like 4
  12. Hi there :) 

    I was just having a quick play with AI upscaling (as it'd be possible to build a tool to automatically upscale existing layouts, removing pixellation).  I've been away from the scene for a long time - has this already been done?

    Here's an example, where I took Dr Who's dark 'lamps off' background image and processed it.  Better results could probably be obtained with further fettling, but it shows the 'depixellation' effect well enough.

    Original image:
    dr_who_lightsoff_original_scale.thumb.png.5b518c826192b44014a684229f5ae70a.png

    Processed image:
    dr_who_lightsoff_large_scale.thumb.png.c347361b62237c15e7b8190ebd111f32.png

    Original image:
    dr_who_lightsoff_original_scale_2.thumb.png.243dfc6952b2c59b349f265588d719e8.png

    Processed image:
    dr_who_lightsoff_large_scale_2.thumb.png.64809d0e6ae8b5871f4243d4ad0432ca.png


    EDIT: came back to this, and grabbed an image of an older machine (Super Nudge Gambler) from one of the posts on this site, to see how the process would look with that:

    Original image:
    super-nudge_gambler_original.thumb.png.16d28f0a2b6423878fff9c82053141aa.png

    Processed image:
    super-nudge_gambler_scale.thumb.png.df1c80c0977b9041570abf1aae96ea97.png


    EDIT 2: grabbed another era of machine from an image from this site, and processed that to see how it would look:

    Original image:
    wig_wam_original_1.thumb.png.0520434cc093ff75d6aa930f1c36577f.png

    Processed image:
    wig_wam_scale_1.thumb.png.02d7e45ee80759d1f44ccd4fff8392f6.png


    Original image:
    wig_wam_original_2.thumb.png.1fe2f04fed80a9ea1a688e83b2b6b67e.png

    Processed image:
    wig_wam_scale_2.thumb.png.a4eb606abbae462c3f7aaca5ca58ca7a.png


    A test of some larger artwork:


    Original image:
    ghost_buster_original_1.thumb.png.71c0a7e231758a4788f8cc5b741688d2.png

    Processed image:
    ghost_buster_scaled_1.thumb.png.8f871865186f80900f8403481f4d07f5.png


    Original image:
    ghost_buster_original_2.thumb.png.b23d759c163a7e30f2d2a8e568b41e4c.png

    Processed image:
    ghost_buster_scaled_2.thumb.png.bee81fc4a20676d941b24ba4e152f152.png
     

    • Like 9
    • Awesome 5
  13. I've read through this thread with a tear in my eye, truly touching and heartfelt messages.

    Chris had such a positive impact on all of us here now (and the many people who've been regulars on these forums in the past, myself included).  

    It's an inspiration to me how his work helped some people take control of their serious gambling addictions - genuine life-changing stuff.  From that place of darkness (for some at least) - this has blossomed into a 20 year explosion of creative light, from a close-knit community that built up around him.  

    From Chris working tirelessly on his outstanding MFME emulator, to people dumping ROMs and capturing artwork from fruit machines far and wide, to others tying these things together to build gorgeous layouts, and yet others making websites like fruit-emu, dadsfme etc, so we could collaborate and bond over our shared love of this unique corner of our culture.

    For me personally - Chris, through his work - led me on an exciting journey of discovery; delving into the innards of MFME and MAME, learning how fruit machines work, down to such abstractions as segment display signal decoding and coin mechanism security protocols... and he was an all round nice guy in our limited communications.

    He has certainly left the world better than he found it.

    I'll be raising a glass tonight to our fallen rider, here's to you Chris, rest in peace.

    • Like 14
×
×
  • Create New...