fata1err0r Posted August 16, 2008 Share Posted August 16, 2008 HyperLogo 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 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 Link to comment Share on other sites More sharing options...
RetroBorg Posted August 16, 2008 Share Posted August 16, 2008 Looks interesting, I like the preview window, I'll give it a go tommorrow. Link to comment Share on other sites More sharing options...
Dazz Posted August 16, 2008 Share Posted August 16, 2008 Wow, another excellent contribution to the community! I'll give this a try out and see how well it works. Many Thanks! Link to comment Share on other sites More sharing options...
joebells Posted August 16, 2008 Share Posted August 16, 2008 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 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 More sharing options...
Dazz Posted August 16, 2008 Share Posted August 16, 2008 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 More sharing options...
joebells Posted August 16, 2008 Share Posted August 16, 2008 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 More sharing options...
Ego-X Posted August 16, 2008 Share Posted August 16, 2008 This looks like an excellent tool. Thank you! Link to comment Share on other sites More sharing options...
BadBoyBill Posted August 16, 2008 Share Posted August 16, 2008 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 More sharing options...
amchine Posted August 16, 2008 Share Posted August 16, 2008 Works great! Thanks! Gradient support would really be awesome! Link to comment Share on other sites More sharing options...
BadBoyBill Posted August 16, 2008 Share Posted August 16, 2008 Cool was just playing with it, works great, do your libraries support outer stroke? It looks like its doing center stroke? Where the stroke is drawn half inside the font and half outside the font. Link to comment Share on other sites More sharing options...
joebells Posted August 17, 2008 Share Posted August 17, 2008 I have no problem just using the tool if its alot of work to add and then might end up causing lag. Link to comment Share on other sites More sharing options...
fata1err0r Posted August 17, 2008 Author Share Posted August 17, 2008 Yes, I decided to use ImageMagick this time around. I am planning on making many effect options, it is quite trivial now since I.M. is so awesome Check out this page http://www.imagemagick.org/Usage/fonts/ I'll do some work on it this week, and I should have a new release for you next weekend. Good to hear you all are finding it useful Link to comment Share on other sites More sharing options...
BadBoyBill Posted August 17, 2008 Share Posted August 17, 2008 Awesome, those examples are great. Thanks. Link to comment Share on other sites More sharing options...
joebells Posted August 17, 2008 Share Posted August 17, 2008 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 http://www.imagemagick.org/Usage/text/ Thanks fata1err0r Link to comment Share on other sites More sharing options...
spoetzl Posted August 17, 2008 Share Posted August 17, 2008 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 More sharing options...
brian_hoffman Posted August 20, 2008 Share Posted August 20, 2008 I tried the app tonight... I love the idea but Im having a problem using it as it crashes a quaterway through... It maybe due very long file names? Im using on my gba.xml Link to comment Share on other sites More sharing options...
fata1err0r Posted August 20, 2008 Author Share Posted August 20, 2008 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 More sharing options...
brian_hoffman Posted August 20, 2008 Share Posted August 20, 2008 sounds good! Link to comment Share on other sites More sharing options...
fata1err0r Posted August 20, 2008 Author Share Posted August 20, 2008 Note: if you uncheck overwrite files, you can resume where you left off... but it requires you to write down the font settings to keep it looking consistent. Link to comment Share on other sites More sharing options...
brian_hoffman Posted August 20, 2008 Share Posted August 20, 2008 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 More sharing options...
joebells Posted August 20, 2008 Share Posted August 20, 2008 its because the gba xml is using the pocketheaven naming definitely a sign to switch over to the no-intro dat I kid, I kid(not about switching ) 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 More sharing options...
brian_hoffman Posted August 20, 2008 Share Posted August 20, 2008 Im going to use the no intro dat. Ill start tommorow on that. Link to comment Share on other sites More sharing options...
joebells Posted August 20, 2008 Share Posted August 20, 2008 cool, thanks brian Link to comment Share on other sites More sharing options...
BadBoyBill Posted August 20, 2008 Share Posted August 20, 2008 Try breaking the loop at around 1500 games and restarting it where it left off. I had similar problems with working with the listxml and so did Spiderstyle in HyperHQ. Link to comment Share on other sites More sharing options...
fata1err0r Posted August 22, 2008 Author Share Posted August 22, 2008 Found the memory leak, imagemagick wasn't freeing memory even though the image object was going out of scope. So for now im gonna make it static and post a message to their forum. But i should send a fixed version out tomorow Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.