Jump to content

HyperLogo Wheel Image Generator 0.1


fata1err0r

Recommended Posts

HyperLogo.gifHyperLogo Wheel Image Generator 0.1

I have decided to abandon my mame2hyperspin project in favour of this one. I hope the following makes sense as its 2:40am :P

It allows you to open any HyperSpin Database XML and automatically generate the wheel logos for it.

Download : HyperLogo 0.1.zip (1.22mb)

You might need the Visual Studio 2008 Redist to run:

Visual Studio 2008 Redist

How to:

1. Click open and browse to your hyperspin/database/<emulator name>/<database>.xml

2. Click browse and go to any folder of your choice, or the corresponding images/wheel folder

3. Choose your font settings, fontface, size, stroke, colour etc...

4. Press Generate Logos

hyperLogo.jpg

hyperLogoScreen.jpg

Link to comment
Share on other sites

I'll give it a try later. Thank you. I had worked for a short while on making a little image magick script to do this but didn't get a chance to finish it, now it looks like I won't have to :D

I wonder what is easier for hyperspin to do, load in a bunch of images like this or, if bbb does go ahead and add this functionality, for hyperspin to auto generate the wheel text like he was thinking about.

Link to comment
Share on other sites

I think BBB should drop adding text to the wheel and get clone support and let clones use the primary theme working ASAP. With people like this stepping up to help the community we really don't need to waste Bill's time in adding something that the community has been able to do nicely.

Link to comment
Share on other sites

This tool looks like it will work just fine but it is something else that must be run. If you add a couple of games then you would have to run this again and generate the new images and so on. If BBB adds wheel text then nothing extra needs to be done just set a couple of options in the config and hyperspin takes care of the rest for whatever games you add at any time in the future.

But this tool is just what I wanted for now. I had started to work with image magick myself to do this but this is nice and easy and already finished.

What might be kind of cool is background support. being able to specify either a border and a pattern or a border and a background image for each wheel image it generates. Don't know how much work/how hard that would be for your program.

Thank you fata1err0r

Link to comment
Share on other sites

Nice, thanks fata1err0r, Im gonna try this now, I know people want me to add text support but this does look like a great tool and there is an advantage that I can see right away. Yes its possible for me to do this within the program but it's possible that it would slow the wheel down as it would have to dynamically create the wheel image each wheel turn. As soon as you start adding effects like strokes, glows, gradients then it could possibly slow the wheel down especially in hyperspin mode. With this there would be no slowdown at all.

The wheel would not be allowed to turn until the next wheel is fully created and ready to go, even though it would do this pretty fast it might not be fast enough, but thats not a sure thing since I havent actually tested it. Would be a shame to do all that programming just to find out that it does slow it down.

The other big advantage to this is the choice of font which you would not get in HS, you'd be stuck with whatever embedded fonts I choose.

Thanks fata1err0r, will this have gradient support in the future, 2 or 3 color ?

Link to comment
Share on other sites

yeah imagemagick is nice, very nice. I kind of had something working but it was just a simple command line script thing that read a directory and you had to specify the options each time. Nothing at all as nice as this program.

This page has some nice examples too like, backgrounds and gradients :D

http://www.imagemagick.org/Usage/text/

Thanks fata1err0r

Link to comment
Share on other sites

I think this type of tool would best be used if integrated into a "scan for new games" feature within HS. Example: scan rom dir .. build XML .. scan wheel image dir .. if no image corresponding to game .. then create temp image in a separate folder. There would be no impact to wheel spin if this is done ahead of time.

I agree that yet-one-more-stand-alone-tool will slowly make HS not very friendly for people outside the dedicated community.

Link to comment
Share on other sites

Yeah, I have been having a crashing issue as well... after about 2000 files it crashes in string allocation in imagemagic. Maybe there is some function to flush strings that i need to call, all of the pointers i am creating are being freed as far as i can tell. Give me a couple more days to try some things and if i can't work it out i might send it to you to check out if thats cool.

Link to comment
Share on other sites

It crashes instantly if I try that.

Faulting application HyperLogo.exe, version 0.1.0.0, time stamp 0x48a7002a, faulting module CORE_RL_magick_.dll, version 6.4.2.7, time stamp 0x48a1756c, exception code 0xc00000fd, fault offset 0x000ee4b7, process id 0x148c, application start time 0x01c9028a6df64ec2.

Link to comment
Share on other sites

its because the gba xml is using the pocketheaven naming :laugh: definitely a sign to switch over to the no-intro dat

I kid, I kid(not about switching :D) I'm pretty sure the no-intro naming is fairly lengthy also for the 2 in 1 games and such so it probably wouldn't help solve this problem if name length is the problem.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...