blur Posted August 4, 2011 Share Posted August 4, 2011 Sam from your code you get description from xml, we still need rom name to get hi score right? I agree that we could put it in xml. For replay scores - dont worry how to make them. We are doing code for it. When code is done somebody will jump in with images. We could support png jpg swf and maybe pdf though its not necesarry three formats is just enough as for menu - you could leave the place for return to game exit pause instructions replay scores flyer high scores print screen (will save screenshot an rotate it) view screenshot (not necessary) auto positioning (only for fp) i hope it is not too much lines did you tried gdi and menu system with future pinball it would be pitty if they will not work over open gl screen, though i can always draw printscreen as before - still it would be awesome if they would work natively cause printscreen on fp also has some problems Link to comment Share on other sites More sharing options...
samwyze Posted August 4, 2011 Author Share Posted August 4, 2011 Sam from your code you get description from xml, we still need rom name to get hi score right?I agree that we could put it in xml. For replay scores - dont worry how to make them. We are doing code for it. When code is done somebody will jump in with images. We could support png jpg swf and maybe pdf though its not necesarry three formats is just enough as for menu - you could leave the place for return to game exit pause instructions replay scores flyer high scores print screen (will save screenshot an rotate it) view screenshot (not necessary) auto positioning (only for fp) i hope it is not too much lines did you tried gdi and menu system with future pinball it would be pitty if they will not work over open gl screen, though i can always draw printscreen as before - still it would be awesome if they would work natively cause printscreen on fp also has some problems I used the hyperpin database xml, but just checked and rom name isn't there so we would still need an ini txt or xml with the rom info. Probably txt or ini is fine (maybe even csv?) I'm using an ini to convert keycodes from hyperpin to ahk so perhaps the two could be merged. PDF looks a real pain to read with ahk, don't think anyone has done it directly. Should be able to use any image format that xp natively supports. Also, could use ahk to parse .doc files and create images from them if needed, but would have to be done at our end, cause word has to be active to do it. I don't think gdi+ will draw over opengl, there is a library being developed for ahk to do it, but it's not very user friendly yet afaik. I haven't set up FP, with my cab being pretty trashed it's prob not gona happen for a while - so, sorry, it's not on my priorty list At the moment the menu has, return to game, instruction card, flyer (not completed, only shows front page - haven't written the loop to parse image directories yet, lazy!) and exit. Do you think I need to add pause to menu? The menu has a 'heading' that says that So just need replay, hiscores and screenshot - though I'll just send you what I've got when I'm done with flyers. Oh, and it's probably buggy as LOL (I don't test my scripts often, when I do, I test them in the field - ha ha ha) Link to comment Share on other sites More sharing options...
blur Posted August 4, 2011 Share Posted August 4, 2011 you are doing loop instructions - flyer? then you can add replay levels in between There are two ways we could do it 1. on one menu item we have instr replays and flyer and we just browse through them all (easyier for you no new menu) 2. Separate menu for instr replays flyer in first option you could even add high scores as the first screen an browse through all images we can even skip menu and open high scores and all images right away any way im away from comp till 16. August so take your time then i have one week of work and again two weeks of vacation without comp and cab ;( Link to comment Share on other sites More sharing options...
samwyze Posted August 6, 2011 Author Share Posted August 6, 2011 Just letting everyone know, as blur is away I've decided to spend some time rebuilding my minipin. Working on the script has got me buzzing on digital pinball again and it'd definately be easier for testing (more fun anyway!) Got most of the code I wanted to get done finished anyway, been writing a simple settings editor that can be released with the next version, no more editting ini files Also lets you set HyperPin settings, but I assume by the time you're installing a mod, you've probably got those sussed. Link to comment Share on other sites More sharing options...
OzStick Posted August 7, 2011 Share Posted August 7, 2011 Guys, may I suggest that it would be a good idea to add instructions in the ZIP files? It's all well and good to disperse info "on the fly" in this thread but it ends up very confusing for those of us that read a few posts then download the update after being sold on what it offers. Having just gone through a harrowing 3 hours of "WTF have I done wrong" if there was a detailed instruction PDF or txt file to accompany the new FPLaunch files I would have read it from start to finish and worked out in moments why I was getting the PNG pics "flashing" when I was holding down ESC instead of quitting back to HP!! It's all good now as I realised I needed to alter the settings.ini file. Please don't take this as criticism - I really appreciate the clever work you're all doing with HP, VP, FP etc. THis is just a friendly suggestion to hopefully prevent others from getting so confused and frustrated as I did....... Link to comment Share on other sites More sharing options...
samwyze Posted August 7, 2011 Author Share Posted August 7, 2011 Guys, may I suggest that it would be a good idea to add instructions in the ZIP files?It's all well and good to disperse info "on the fly" in this thread but it ends up very confusing for those of us that read a few posts then download the update after being sold on what it offers. Having just gone through a harrowing 3 hours of "WTF have I done wrong" if there was a detailed instruction PDF or txt file to accompany the new FPLaunch files I would have read it from start to finish and worked out in moments why I was getting the PNG pics "flashing" when I was holding down ESC instead of quitting back to HP!! It's all good now as I realised I needed to alter the settings.ini file. Please don't take this as criticism - I really appreciate the clever work you're all doing with HP, VP, FP etc. THis is just a friendly suggestion to hopefully prevent others from getting so confused and frustrated as I did....... LOL - I was actually just looking at a program to compile chm help files, sorry for your headache! Will include one in the upcoming release for sure now. Thanks for the push Link to comment Share on other sites More sharing options...
blur Posted August 7, 2011 Share Posted August 7, 2011 (edited) oz Did you read installation guide from the second post in this thread? How did you found what to do? There is link to manual in first few rows of the script. Edited August 7, 2011 by blur Link to comment Share on other sites More sharing options...
zebulon Posted August 10, 2011 Share Posted August 10, 2011 Hey Blur, quick question for you. I've modified my loading screen with a newer graphic and wondered if there is a way to change the progress bar color to Maroon (80000) I've been through the progress bar part of the script a batch of times and can't seem to find the current reference to blue (current color). Thanks Link to comment Share on other sites More sharing options...
samwyze Posted August 10, 2011 Author Share Posted August 10, 2011 (edited) Hey Blur, quick question for you.I've modified my loading screen with a newer graphic and wondered if there is a way to change the progress bar color to Maroon (80000) I've been through the progress bar part of the script a batch of times and can't seem to find the current reference to blue (current color). Thanks In 1.295wip3 it's line 575: Gui, Add, Progress, x%xLoadProgress% y%yLoadProgress% w%wLoadProgress% h%hLoadProgress% -smooth 0x8 c0C32A5 vLoading vertical BackgroundFFFFFF change to: Gui, Add, Progress, x%xLoadProgress% y%yLoadProgress% w%wLoadProgress% h%hLoadProgress% -smooth 0x8 c80000 vLoading vertical BackgroundFFFFFF and recompile. Also if you want to change background colour you can (you can see it's currently white(FFFFFF) Any chance you can post gfx here? Had a thought it might be good to collect them - perhaps start a new thread for custom fplaunch gfx but not sure who uses them. Edited August 10, 2011 by samwyze Link to comment Share on other sites More sharing options...
zebulon Posted August 11, 2011 Share Posted August 11, 2011 In 1.295wip3 it's line 575:Gui, Add, Progress, x%xLoadProgress% y%yLoadProgress% w%wLoadProgress% h%hLoadProgress% -smooth 0x8 c0C32A5 vLoading vertical BackgroundFFFFFF change to: Gui, Add, Progress, x%xLoadProgress% y%yLoadProgress% w%wLoadProgress% h%hLoadProgress% -smooth 0x8 c80000 vLoading vertical BackgroundFFFFFF and recompile. Also if you want to change background colour you can (you can see it's currently white(FFFFFF) Any chance you can post gfx here? Had a thought it might be good to collect them - perhaps start a new thread for custom fplaunch gfx but not sure who uses them. Awesome, thanks Sam. I looked at that line but the color code didn't match any of the reference codes I had so I thought it best to leave that alone. Here's those pics..... Link to comment Share on other sites More sharing options...
zebulon Posted August 11, 2011 Share Posted August 11, 2011 Not to derail the thread, but here's some pics of the end result...well until I modify the .ahk Link to comment Share on other sites More sharing options...
Darkfall Posted August 11, 2011 Share Posted August 11, 2011 That looks awesome, Zeb! Link to comment Share on other sites More sharing options...
Numiah Posted August 11, 2011 Share Posted August 11, 2011 Pretty neat ! Makes me wonder all of a sudden if the Hyperpin menu's can be modded as well... Hmmm.. Link to comment Share on other sites More sharing options...
samwyze Posted August 11, 2011 Author Share Posted August 11, 2011 Very nice lets get a bunch posted so we can release them as options...if you don't mind of course! Any other gfx peeps out there wana share? Sent from my Ideos using Tapatalk Link to comment Share on other sites More sharing options...
zebulon Posted August 11, 2011 Share Posted August 11, 2011 Thanks Guys, Sam, I tried the modification you gave me for the progress bar but the color remained blue. Is it possible that it's being overwritten by the default color of the hyperpin menu?(speaking of which, anyone know if it's possible to change that? I think it's called screen.bmp) Link to comment Share on other sites More sharing options...
samwyze Posted August 11, 2011 Author Share Posted August 11, 2011 Did you recompile the ahk script? I remember playing with it before I decided to mimic hyperpin gfx, so it should work. Link to comment Share on other sites More sharing options...
zebulon Posted August 12, 2011 Share Posted August 12, 2011 I made a copy, edited and recompiled it and it looks the same (blue progress bar). It's not a big deal, so I haven't put any further attempt into it. I'll try it again tomorrow. For all I know, I may not have renamed it properly (although I'd expect an error in launching). Link to comment Share on other sites More sharing options...
samwyze Posted August 12, 2011 Author Share Posted August 12, 2011 Gui, Add, Progress, x%xLoadProgress% y%yLoadProgress% w%wLoadProgress% h%hLoadProgress% [color="Red"]-smooth[/color] 0x8 c80000 vLoading vertical BackgroundFFFFFF Just had another look at it - when you force it to use segments it defaults to xp classic theme colours. Get rid of the minus smooth option and you should be ok Link to comment Share on other sites More sharing options...
zebulon Posted August 12, 2011 Share Posted August 12, 2011 Will give it a try, thanks Sam! Link to comment Share on other sites More sharing options...
zebulon Posted August 13, 2011 Share Posted August 13, 2011 Nope, any modification to the script, recompile and replacement of the .ahk and .exe causes it to lock into a loop and freeze until I bring up the task manager and bring the focus back to hyperpin.exe. It's fine as it is, I'm just getting picky is all. Thanks for the assistance Sam!! Link to comment Share on other sites More sharing options...
samwyze Posted August 13, 2011 Author Share Posted August 13, 2011 Nope, any modification to the script, recompile and replacement of the .ahk and .exe causes it to lock into a loop and freeze until I bring up the task manager and bring the focus back to hyperpin.exe.It's fine as it is, I'm just getting picky is all. Thanks for the assistance Sam!! Thats very odd - only thing I can think of is that it's not recompiling properly. Are you using ahk standard (older version) or ahk L (newer version) I think the script is using ahk standard (although blur will need to confirm) which could cause the issue. Link to comment Share on other sites More sharing options...
zebulon Posted August 13, 2011 Share Posted August 13, 2011 Autohotkey_L...upgraded to the latest version. Tried with the standard version !st. Process: - edited (changed color value only) wip3, recompiled, forgot about copying over the .exe, worked with no change (obviously) -edited wip3 (changed color value only), recompiled, moved over .exe and .ahk, worked with no change -edited wip3 (removed -smooth), recompiled, moved over .exe and .ahk, looped -edited wip4 (changed color value only), recompiled, moved over .exe and .ahk, looped -edited wip4 (removed -smooth), recompiled, moved over .exe and .ahk, looped -edited wip4 (replaced both vales), recompiled, moved over .exe and .ahk, looped -updated autohotkey to latest version, tried again, looped If I even recompile without editing, it loops. Dunno, obviously there's a problem with my autohotkey installation or a conflict in the output. Link to comment Share on other sites More sharing options...
Dna Disturber Posted August 13, 2011 Share Posted August 13, 2011 (edited) For the hiscore support I discovered a nice way to connect the tablenames to a rom (PINemHI only works with romnames) Assuming PINemHi and all ini files would be in the same directory as hyperpin the code would look like : CreatePauseScreen: Gui, Destroy Gui, Color, 800000 Gui, Margin, 0, 0 WinGetTitle,romnice,ahk_class MAME IniRead, romname,.\TabletoRom.ini,romfind,%romnice% Runwait, %comspec% /c pinemhi %romname%>.\HiTemp.txt,,Hide Fileread, contents,l:.\HiTemp.txt Gui,Font,s25,Courier New Gui,Add,Text,CFF7F50 +Center, %contents% Gui +AlwaysOnTop -Caption +Lastfound Gui, Show, AutoSize Center, pauseScreen Return Normally you should create a tabletorom.ini which includes: tablename=rom.nv but considering that the tablenames may vary from person to person I invented a new way to let people use an ini-file that has the same values for everyone. Using fplaunch I grab the vpinmame window and extract the rom's "nice" name. This is the same for everybody. So now we have to create an ini file that contains: rom "nice" name = rom.nv for example the rom for medieval madness could be mm_109c When I extract the nice rom name it's Medieval Madness (1.09C,Profanity) so in the ini file this would look like : Medieval Madness (1.09C,Profanity)=mm_109c.nv Medieval Madness (1.09B)=mm_109b.nv So no one needs to alter an ini file to match their tablenames to the roms, they all can use the same using this technique.....Way easier and user-friendly I will go and start creating such an ini file *EDIT* ini-file is ready and will be available with the new version of PINemHi (all roms are present that vpinmame supports - 1279 to be exact) Edited August 13, 2011 by Dna Disturber Link to comment Share on other sites More sharing options...
samwyze Posted August 14, 2011 Author Share Posted August 14, 2011 For the hiscore support I discovered a nice way to connect the tablenames to a rom (PINemHI only works with romnames)Assuming PINemHi and all ini files would be in the same directory as hyperpin the code would look like : Normally you should create a tabletorom.ini which includes: tablename=rom.nv but considering that the tablenames may vary from person to person I invented a new way to let people use an ini-file that has the same values for everyone. Using fplaunch I grab the vpinmame window and extract the rom's "nice" name. This is the same for everybody. So now we have to create an ini file that contains: rom "nice" name = rom.nv for example the rom for medieval madness could be mm_109c When I extract the nice rom name it's Medieval Madness (1.09C,Profanity) so in the ini file this would look like : Medieval Madness (1.09C,Profanity)=mm_109c.nv Medieval Madness (1.09B)=mm_109b.nv So no one needs to alter an ini file to match their tablenames to the roms, they all can use the same using this technique.....Way easier and user-friendly I will go and start creating such an ini file *EDIT* ini-file is ready and will be available with the new version of PINemHi (all roms are present that vpinmame supports - 1279 to be exact) Very good, will have this added to the new fplaunch *when* it's ready Link to comment Share on other sites More sharing options...
tspringett Posted August 19, 2011 Share Posted August 19, 2011 Hi, sorry if this has been gone over before (48 pages is alot to go through). I installed the latest fplaunch and am having a problem on load of a table. After selecting a vp table the table loads up but the focus does not go to the active table. I can alt+tab to the active table and play. Was working ok on the non MOD. Is there something I need to do to fix this? Thanks T Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now