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: CDG Player with zip support (command line) {updated to v4}  (Read 7650 times)

0 Members and 1 Guest are viewing this topic.

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
CDG Player with zip support (command line) {updated to v4}
« on: January 27, 2007, 06:20:05 pm »
Why?
Since some have requested a CDG-Player with zip support, I have updated my old previous code to v.2, and adapted to BlitzMax instead of Blitz+.

Download:
http://www.spacefractal.com/files/App/cdgPlayer.zip (updated at nov 2010)

News:
This version is removed rotation (easy to put back, if I got requests), but I have added support for zip files, since there was 2-3 threads about it in the past.

Command line:
Just feed up with full path to the command line, and it should now start, so you can use any FE. Mamewah is here my highly recommered, but others can been used too.

Included with source:
As you read, the complete source is included, so if you want to compile it to Linux or mac, do that. You may need to use FMod instead of Bass, wich dosent exists to Linux, but should not been very hard, since only few calls is used.

Addition Software:
None extra software is needed, and should work very well on Win 98 and have tested it on Vista RC1 (wich was developed on). Windows Media Player is not used at all, but use bass.dll instead.

« Last Edit: November 26, 2010, 02:08:47 am by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: CDG Player with zip support released (command line)
« Reply #1 on: January 27, 2007, 08:06:41 pm »
That's impressive, you actually decode the cdg file yourself :)

I thought that bass.dll had some built in decoder for it, but it must be for the mp3 file.

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: CDG Player with zip support released (command line)
« Reply #2 on: January 27, 2007, 08:26:27 pm »
bass.dll was only used for mp3 playback, since blitzmax "only" support ogg and wav (mp3 was removed due to license). blitzmax exists to Linux and Mac as well. Bass.dll does support these files also.

Decodning CDG was fun, since I found a very good document (http://www.jbum.com/cdg_revealed.html) about it. So this is why it very integreated in Arcade Music Box.

bass.dll could also play from memory as well, so Im was not required to unpack to harddrive first.

Since I have released the source as well, a Blitzmax owner can create a little FE. Im wont do that now, since Im allready have plan it to my next Jukebox application as well. Im wont work on 2 same things, since why it command line only now.
« Last Edit: January 27, 2007, 08:31:39 pm by Space Fractal / Denmark »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: CDG Player with zip support released (command line)
« Reply #3 on: January 27, 2007, 10:46:10 pm »
This fits my needs perfectly...  Thank you very much!



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: CDG Player with zip support released (command line)
« Reply #4 on: June 11, 2008, 05:46:39 pm »
Some still search for this player. so I pushed this very old thread.

I just updated to version 3 to fix a slowdown bug and possible to use 640x480 as resoultion (if 321x240 or 320x240 diddent found).
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Musicman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 28, 2008, 11:18:45 am
  • Living under dangerous addiction#$%#&^
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #5 on: June 12, 2008, 06:42:31 pm »
Hey Space :
Since you are expert in CDG+mp3
Do you know why WMP CDG plug ins (any available that I know) work but NOT PROPERLY
(i.e. wmp show and play 7:00 instead 3:40) for VBR mp3 only????
for MP3 CBR they work properly.

Thanks for your time.

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: CDG Player with zip support (command line) {updated to v3}
« Reply #6 on: June 13, 2008, 01:15:53 am »
I doesn't use WMP with CDG, so no I have no idea. I allways use BASS in my applications.

If you look in this page (Why does WMP show the wrong time for Variable Bitrate (VBR) MP3 files?):
http://zachd.com/pss/pss.html

Your mp3 tags is wrong and need to been fixed by a tagger software to fix your times detected.

It have also nothing to due anything with CDG at all!!!
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Musicman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:August 28, 2008, 11:18:45 am
  • Living under dangerous addiction#$%#&^
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #7 on: June 13, 2008, 11:11:03 am »
OK
Txs

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #8 on: October 08, 2010, 01:28:41 pm »
Does anyone still have the player? The Link is dead and I can't reach space fractal by pm unfortunately...

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: CDG Player with zip support (command line) {updated to v3}
« Reply #9 on: October 09, 2010, 11:05:03 am »
sorry for the very long delay. Link fixed. All my apps is still on spacefractal.com (but if its link on a old domain, this domain then shold work).
« Last Edit: October 09, 2010, 03:56:31 pm by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #10 on: October 10, 2010, 03:22:59 pm »
thanks mate!

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #11 on: October 31, 2010, 09:04:49 am »
i just tried out the cdg player it works well! can i change resolution to 1024x576 at 85 hz?

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: CDG Player with zip support (command line) {updated to v3}
« Reply #12 on: November 03, 2010, 08:44:34 am »
do yo mean 1024x768? I have not heard at that resoulution.

This app was designed with arcade monitors and ArcadeVGA when I wrote this one for few years ago and was designed with 320x240, 321x240 and 640x480 in mind. CDG is also low resolution graphics (no its not text, its just using graphics tiles) so no need to do higher.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #13 on: November 07, 2010, 11:51:13 am »
oh sorry i meant 1024x768. i use a 22" crt and its perfect size for most games.
cdgplayerv3 however doesnt display full screen and it flickers at 60 hz (which i can live with)
does it automatically use 640x480 or can i somehow specify which res it should use? i know cdg is graphic tiles it would just be awesome to have it fill the screen!

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: CDG Player with zip support (command line) {updated to v3}
« Reply #14 on: November 13, 2010, 12:00:30 pm »
I don't set any Hz, so its should use desktop Hz? But I have not really supported this app for years, but later this week or next week, I do the improvements to do any resolution in the command line or by setting. But I'm are little bit injured (not to been talk here), so I need wait to been fresh again.

But the source code in blitzmax is included, and its really self explained here.

You can also use MultiFE which does not change any resolutions for CDG only part (and also I meant I optimized some cdg commands in some songs that use fading), even its a FE (also started as Jukebox app), its can works with any other frontends out here and can quit by Escape and all.

When done I write here.

Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v3}
« Reply #15 on: November 14, 2010, 06:27:42 am »
awesome! that sounds good space fractal!
i wanna use your program in conjunction with hyperspin. i used to use gameex for karaoke but i'm now using hyperspin and your cdg player is the best choice for such a setup!
concerning hz:
the monitor runs at 100Hz at the moment but when in cdg player it switches down to 60! Thanks for your ongoing support mate! Much appreciated!

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: CDG Player with zip support (command line) {updated to v4}
« Reply #16 on: November 20, 2010, 10:15:01 am »
sorry for the very long delay, the app is updated to support any resolution, which you can set in config.ini now.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 112
  • Last login:July 20, 2024, 06:14:53 am
Re: CDG Player with zip support (command line) {updated to v4}
« Reply #17 on: November 24, 2010, 07:03:06 pm »
YEY! Thanks a lot mate! Here is one happy camper :applaud:

update: i wasn't able to download it from the link.. :(
« Last Edit: November 24, 2010, 07:06:11 pm by mrchrister »

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: CDG Player with zip support (command line) {updated to v4}
« Reply #18 on: November 25, 2010, 05:05:52 pm »
should works now. I forget to update the link itself, not just the text (which was correct, but not when you clicked on it).
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.