Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: DWJukebox 3.3 Released  (Read 2916 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
DWJukebox 3.3 Released
« on: November 14, 2008, 02:34:18 am »
I had a couple of minor bugfixes to make, resulting in version 3.2.1.  The additional fixes and features are:

  • Added IconFocusBoxThickness to [Display] section of JUKEBOX.INI.
  • Added TrackFocusBoxThickness to [Display] section of JUKEBOX.INI.
  • Fixed a bug that prevented BTN_SKIN_NEXT and BTN_SKIN_PREV from working from a clickable icon.
  • Fixed a bug decoding some Unicode strings.

As usual, you can get it from the DWJukebox website.

--Chris
« Last Edit: December 15, 2008, 02:42:06 am by Chris »
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: DWJukebox 3.2.1 Released
« Reply #1 on: November 14, 2008, 08:17:36 am »
any reason to start a new thread on any minor versions, just few day after?  Like I, Barcrest and UncleT do, use the allready wrote thread and just bumb it (thee is a edit function to change the version nb).

Otherwice nice you got the unicode string bug. what was happens here?
« Last Edit: November 14, 2008, 08:19:22 am by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: DWJukebox 3.2.1 Released
« Reply #2 on: November 14, 2008, 10:11:44 am »
I create a buffer to hold the text retrieved from the ID3 tag, then I look to see if it's Unicode and if so I run a routine to swap the endian-ness and then convert it from 16-bit Unicode to the UTF-8 used internally.  The buffer is a local buffer, and this is in C, so the buffer memory is not initialized.

So I retrieve the string from ID3; it comes back as ASCII, and is null terminated.  So I do the endianness swap and the Unicode conversion.  The problem is that the string is at this point terminated with a single null; Unicode uses at least two ulls to terminate the string.  Id the next byte in the buffer happens to be 0, it works fine, but if it's anything else it reads garbage.  So now I explicitly null out the buffer before I read into it.

Now that I know what it is, I'm surprised it hasn't happened a lot more often.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
DWJukebox 3.3 Released
« Reply #3 on: December 15, 2008, 02:41:27 am »
DWJukebox 3.3 has been released; you can get it from the DWJukebox Download Page.

This version adds three new screensaver options including the much-requested Slideshow, a display for the album cover of the currently playing song, a transparent titlestrip option, a new skin with art by Game Creature, and more.  This version should also be more friendly to running as the Windows shell; no more having to copy jukebox files to the root.

There is also an experimental feature for LCD Smartie users; the contents of the Now Playing display are dumped to a file called display.txt in the jukebox's program folder.  It's not perfect, as the display will glitch briefly if LCD Smartie reads it at the same moment it's being updated, but it will be replaced by better LCD support in the next version.

There is also a new feature that will allow the Windows screensaver to run.  This isn't perfect as the sound is likely to glitch coming out of the screensaver, but it allows use of the excellent GEISS screensaver.

Another big change for joystick users is that moving off the side of the page causes the screen to scroll; this should make joystick navigation much easier!

Here is the full change list:

  • Added slideshow screensaver.
  • Added the Windows screensaver, which activates the current default Windows screensaver.
  • Added ScreenSaver, SlideShowPath, and SlideShowInterval to [ScreenSaver] section of jukebox.ini.
  • Added MSG_SCREENSAVER.
  • Added CPUUsage setting to [Settings] section in jukebox.ini to control how much CPU priority the jukebox gets.
  • Added ShowKeys to [Controls] section to show what keys are being pressed.
  • Added [Display5] which displays the cover art of the song that is playing.
  • Added Transparent as a color option for titlestrips, which overrides the titlestrip image file.
  • Added AUTO as a setting for ColorDepth, Width, and Height in [Display] section of JUKEBOX.INI.
  • Added a chdir to the executable directory to allow the jukebox to run as the Windows shell and increase compatibility with front end software.
  • Added a dump of Display1 to a file called display.txt for use with LCD Smartie
  • Added skin gcretro.skn.
  • Added an album display to cd4-1.skn.
  • Changed GUI navigation to change pages when scrolling off the screen to left or right.
  • Changed focus line indent on classic-style song titlestrips.
  • Changed default value for [DisplayX] Enabled to False.
  • Changed default mappings in CONTROLS.INI.
  • Synchronized page change button repeats with page change animation
  • Fixed problems with slow and corrupted screenshots.
  • Fixed song stuttering on page changes.
  • Fixed page change accelleration.
  • Fixed page change animation when using mouse.
  • Fixed page change messages stacking up in the message queue.
  • Fixed BTN_NEXTALPHA and BTN_PREVALPHA to go to the first page with a new artist letter, not the first full page.
  • Fixed BTN_NEXTALPHA and BTN_PREVALPHA behavior when going through a Various Artists section.
  • Optimized calls to song poll function.

Enjoy!

--Chris
« Last Edit: December 15, 2008, 02:45:59 am by Chris »
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com