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: Khameleon tech demo available (successor to Kymaera front end)  (Read 7144 times)

0 Members and 1 Guest are viewing this topic.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Khameleon tech demo available (successor to Kymaera front end)
« on: September 26, 2007, 04:54:35 pm »
Hello,

Khameleon is a front end application which I developed starting from the Kymaera source code.

Some features include:
- six different alpha blending modes supported
- supports png, jpg, tga, bmp, and gif image formats
- background mp3 music play supported
- open source and free
- supports arbitrary rotation of text and images (not just horizontal/vertical)
- uses SDL for window management and sound and OpenGL for graphics
- will eventually be ported to Linux and Macintosh
- six skins included

I've assembled a self-contained demo (no configuration or other files necessary), which contains 62 selected games. I set up Mplayer as an emulator so when a game is launched it plays a movie.

Since the demo is self-contained, it is huge, weighing in at 100 megabytes. All you have to do is extract the demo and run khdemo.exe. If you extract the demo to c:\khdemo, you can right click the desktop and select "New->Shortcut" and create a shortcut to the demo. Or you can run the demo from a command prompt, or from the Run prompt.

Link to the zip file for the full demo

If you have any feature requests or bug reports, you can post to this thread, PM me, or email me at cakemeister AT comcast DOT net.

Enjoy!
« Last Edit: October 16, 2007, 03:09:21 pm by Cakemeister »
Old, but not obsolete.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #1 on: September 26, 2007, 06:39:03 pm »
400mhz Celeron 256mb memory

Shouldn't it  be Select skins instead of frontends?
Anyways here's me results:

AtomicFE crashes


khameleon crashes


Mamewah crashes


The rest run fine but extremely slow.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #2 on: September 26, 2007, 08:48:06 pm »
If you would like to send in a bug report, please turn on logging by editing the config\khameleon.kfg file. Set the entry "Log" to 1.

Thanks!
Old, but not obsolete.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #3 on: September 26, 2007, 10:11:00 pm »
E-mail sent.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #4 on: September 26, 2007, 11:02:49 pm »
Some fonts were missing out of the package:

     3184 : FT_New_Face failed (there is probably a problem with your font file)
     3184 : The filename was <Impact>, also tried <c:\windows\fonts\Impact.ttf>

Thanks for the report!
Old, but not obsolete.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #5 on: September 26, 2007, 11:22:21 pm »
No problem. You can email me the font so I can test the other skins that didn't work.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #6 on: September 27, 2007, 09:08:05 am »
Okay, I've added the missing font to the package and I put the download link back up.

I made a separate zip file with the updated executables and the missing zip files so no one has to redownload the entire package. I upxed the executables to minimize the zip file size.

Edit: Link removed Oct-16-07
« Last Edit: October 16, 2007, 03:10:15 pm by Cakemeister »
Old, but not obsolete.

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #7 on: September 27, 2007, 09:21:22 am »
Just when I was thinking Buddabing was working on something like this and who is Cakemeister, I see the little note under your avatar.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #8 on: September 27, 2007, 01:24:45 pm »
Some skins perform better than others. Here's the list from best to worst.

Ultrastyle
Mala
Dragon King
AtomicFe
Kymaera

Kymaera doesn't respond to button presses.
Mamewah doesn't load. Bug report Sent.

Test system
1.5 ghz AMD Sempron 2200
768mb ram

Will test on a 400 mhz 256mb next.




Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #9 on: September 27, 2007, 01:51:10 pm »
Well, the Kymaera skin has eight attract videos going on at once, so it will be a challenging skin to run on a lower-powered machine, especially at higher resolutions.

You might try running the skin at 640x480 for better performance, but I am getting 48 fps on the Kyamera skin even at 1600x1200x32. You can see your frames per second by looking at the log. I think I'll make a "toggle FPS" display for the release version, it's useful for diagnostics. The computer I'm running is a laptop with a Core Duo T2400 processor at 1.83 Ghz.

Old, but not obsolete.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #10 on: September 28, 2007, 01:54:38 pm »
So far the only one giving me trouble was MAMEWah.  It does not start or show an error.

This is from the log
     1250 : Entering idle loop
     1296 : FT_New_Face failed (there is probably a problem with your font file)
     1296 : The filename was <fonts\Arial.ttf>, also tried <fonts\fonts\ARIAL.ttf.ttf> and <c:\windows\fonts\fonts\Arial.ttf.ttf>

I copied the arial.ttf file from windows/fonts into Khameleon/fonts and then it worked fine.

I am very excited to see this. 

Thanks for your effort.
« Last Edit: September 28, 2007, 02:00:42 pm by ErikRuud »
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #11 on: September 28, 2007, 02:45:43 pm »
I had the same error. Don't know if you got my bug report. Did the same as Erik Ruud now everything works fine.

I'm getting 99% cpu usage though with all skins.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #12 on: September 28, 2007, 03:52:47 pm »
If you want to run MAME instead of my demo "emulator", you can use this attached mame.txt and rename it to config\mame.emu. Change the paths in the config\mame.emu to reflect your MAME installation, change the "Emulator" field in config\khameleon.kfg to mame.emu, and change the skin to whatever skin you want. Keep in mind that some of the skins use marquees for game names and the text may not look right.

You can generate game lists for Khameleon with my ListGen utility.

@gonzo: How are you measuring CPU usage? When I run Khameleon windowed and look at the CPU usage with Windows Task Manager it typically runs 40-50%. Also, I've fixed the font problem in the latest executable in the gonzo.zip file.

(EDIT Oct 16 2007 removed .emu file attachment)
« Last Edit: October 16, 2007, 03:11:58 pm by Cakemeister »
Old, but not obsolete.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #13 on: September 28, 2007, 04:20:19 pm »
Great! I've got it launching mame now!
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #14 on: September 28, 2007, 05:22:09 pm »
I just click on run. Then CTRL+ALT+DEL.


How do you run it in windowed mode?
« Last Edit: September 28, 2007, 05:24:19 pm by gonzo90017 »

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #15 on: September 28, 2007, 05:55:02 pm »
You can run Khameleon in windowed mode by running it with the -windowed command line option. You can't do it from the khdemo.

Other command line options I have are:

-resolution=1024x768x32 (runs at specified resolution, you need the x's)
-skinfile=skins\mala.skn (run the Mala skin, overriding any entry in the emulator file)
-listwrap (list wraps around at the end a la Kymaera)
-nolistwrap (list does not wrap around, a la Mamewah)
-fullscreen (opposite of -windowed)
Old, but not obsolete.

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #16 on: September 28, 2007, 06:21:11 pm »
I was able to run Mame37b16 succesfully. Is there a way to generate a list or is that still to come?
I'm still getting 99% cpu usage on both the 400 mhz and 1.5 ghz test pc's.


Goz

  • KOTA
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3421
  • Last login:June 25, 2024, 10:06:41 pm
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #17 on: September 28, 2007, 06:52:04 pm »
I'm getting 2% CPU utilization accross all skins can you tweak it to be a little more efficient? jk nice program

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #18 on: September 28, 2007, 07:27:43 pm »
My list generator currently runs only on versions of MAME which support the -listxml option. I don't remember what version that started.

I dimly recall writing a program some time ago called info2xml which converted the -listinfo output of MAME into XML. Maybe I could use that as input to listgen. I'll look into that.

Old, but not obsolete.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #19 on: September 28, 2007, 08:30:48 pm »
I have gotten it to work with the O2em Odyssey2 emulator except I can't get it to find the snaps.

I am seeing about 50% usage on my duo core laptop.  It does drop to zero when I launch an emu.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #20 on: September 28, 2007, 08:43:33 pm »
I have also noticed that you have inherited the Kymaera quirk of repeating entries when the game list is shorter than the available scroll space.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #21 on: September 28, 2007, 09:27:21 pm »
What cpu do you have Goz?

Goz

  • KOTA
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3421
  • Last login:June 25, 2024, 10:06:41 pm
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #22 on: September 29, 2007, 01:00:09 am »
What cpu do you have Goz?
Quad core Q6600 overclocked to 3.4Ghz

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #23 on: September 29, 2007, 01:17:13 am »
That explains the differences in cpu usage.

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #24 on: September 29, 2007, 05:43:31 am »
Nice Job!   Sounds very promising!  :)

The Mamewah screen doesn't work for me.

But others , no problem.

I think you have a little bug in your scrolling routine. On the AtomicFE layout , i think you have a one pixel vertical row that should not be here.

Do you have have a config tool and a layout editor?




Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #25 on: September 29, 2007, 09:06:59 am »
Nice Job!   Sounds very promising!  :)

The Mamewah screen doesn't work for me.


There's a workaround for that, see above, it will be fixed in the next release.

Quote

I think you have a little bug in your scrolling routine. On the AtomicFE layout , i think you have a one pixel vertical row that should not be here.


I see that. Not sure of the cause, though.

Quote

Do you have have a config tool and a layout editor?


I have one but it is incomplete. You are welcome to contribute source code.  ;D


Old, but not obsolete.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #26 on: September 29, 2007, 10:01:06 am »
Just when I was thinking Buddabing was working on something like this and who is Cakemeister, I see the little note under your avatar.

Yeah, what's with the new profile?

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #27 on: September 29, 2007, 10:02:13 am »
Kymaera has a DOS version.  Any thoughts to making one?

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #28 on: September 29, 2007, 01:13:35 pm »
There may or may not be a DOS version of Khameleon. The core libraries are platform and OS-independent, so only the display and sound code would have to be compatible with DOS. Kymaera used Allegro for display, which works with DOS. I could do that for the DOS version of Khameleon, but there is some stuff missing from Allegro that I would have to write, such as the movie handling code. And font handling in Allegro is poor.

I changed profiles because the buddabing AT houston DOT com email address is going away. Time Warner made a deal with Comcast and now Comcast is my ISP.

I chose not to register under one of my web-based email addresses because there are some sites that do not allow registration from web-based email addresses.



Old, but not obsolete.

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #29 on: September 29, 2007, 02:53:23 pm »
Quote
Quote

Do you have have a config tool and a layout editor?



I have one but it is incomplete. You are welcome to contribute source code. 


I'm working on "something" for Atomic, but i think once it is done for Atomic, it could be usefull for Khameleon. But let me finish the thing for Atomic, and i will contact you to see if we can do something together. ;)

I just noticed something... your Front End is called Khameleon ,  but AtomicFe's Mascotte is a Cameleon.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #30 on: October 02, 2007, 04:03:13 pm »
I've written a little utility to convert the -listinfo output of MAME versions older than version v0.85 into XML. The XML can then be input to my ListGen list generator and it should be able to produce a Khameleon game list from it.

To do this, change the listgen.ini so that "reuse_mame_data" is set to 1 (or use the -reuse_mame_data parameter), and copy the output of info2xml to listxml.txt.

I tested the program with two or three older versions, I didn't test every possible variant. So if anyone finds a version of MAME that causes problems with ListGen of the kind "Parse error, expected foo and found bar", please contact me.

The info2xml utility can be found here. Source code is included.
Old, but not obsolete.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #31 on: October 03, 2007, 01:12:57 am »
Finally got a chance to check this out! Very impressive Buddabing!

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #32 on: October 04, 2007, 01:25:43 am »
I see that. Not sure of the cause, though.

My guess would be that you have a texture on a quad that your wrapping around? Perhaps you need to add a small amount to the texture coordinates, say 1.01f or something to that effect so there is no one pixel gap.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #33 on: October 04, 2007, 10:25:19 am »
I think that problem was due to the way OpenGL does antialiasing.

I changed the line

Code: [Select]
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);

to

Code: [Select]

glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_NEAREST);

and the seam went away.
Old, but not obsolete.

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Khameleon tech demo available (successor to Kymaera front end)
« Reply #34 on: October 04, 2007, 11:25:00 am »
I've also added a FPS indicator. Surprisingly, the MAMEWah skin is the slowest, even though it appears to be the simplest graphically. At 640x480x32 resolution, the Atomic skin runs at 350 fps on my machine and the MAMEWah skin runs at only 40 fps! The MAMEWah skin has a lot of text on it so I guess that text drawing is what slows the frontend down the most.
Old, but not obsolete.