Jump to content



Photo
* * * * * 10 votes

PinSelect - an alternative to Hyperpin


  • Please log in to reply
356 replies to this topic

#121 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 18 April 2013 - 09:28 AM

Maybe it's not laziness, it's hassle saving. Which is what anyone wants working with computers. It sounds like grief , I don't blame ya. :P

 

One thing missing from HP is ability to relay what tablename is selected in the menu, or at least I think it is. I don't know if it can be done with ledblinky in the same way I have for hyperspin , where you can have a 2nd screen displaying marquees etc in game selection . This could be used for a tonne of external scripts etc. Hyperdmd being a main one on my list right now. I'd like to use that to display either video preview of the tables dmd or you can read pinemhi high scores, or even both come to mind.


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#122 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 18 April 2013 - 10:21 AM

Hmm what you mean with "ability to relay what tablename is selected in the menu"?

 

Btw: I found an easy way to support the settings.ini so next version uses only this file with some extra options like FPLaunch ;)

 

Edit: what about the feature to change the FPLaunch-focus-option when you use PinSelect? I mean if you use PinSelect I could check if hyperpinexe=pinselect.exe

        if not PinSelect would change it. But you have to change it back to hyperpin.exe if you would like to use HP again.


Edited by fuzzel, 18 April 2013 - 10:28 AM.


#123 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 18 April 2013 - 10:57 AM

I don't realize the difficulty to implement videos in pinselect.

 

But i'll switch to it once that will be available, like many people i assume ;)



#124 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 18 April 2013 - 11:56 AM

I'm pretty sure adding pinselects window class into fplaunch would solve the focus if its that bad. Oh , and it is a much cleaner system on launch of a table. Most, if not all of vp loading render is completely hidden,

 

Hmm what you mean with "ability to relay what tablename is selected in the menu"?

 

If you push "I" "F"  in hyperpin that opens instructions etc. This seems to me the only way to get HP to send "tablename" to autohotkey (fplaunch) for external scripts. Communication between the two.

 

If pinselect could give the tablename just by browsing tables, it can be used with ahk or similar, there is alot that can be done this way. 

 

 

Btw: I found an easy way to support the settings.ini so next version uses only this file with some extra options like FPLaunch

 

:otvclap:


Edited by chepas, 18 April 2013 - 12:06 PM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#125 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 19 April 2013 - 12:43 PM

great news for settings.ini

 

what chepas is asking is I think to just put table name on the bottom of the screen in some big black and white font - like hyperspin does?

 

by the way - about this delay - you could have one step and quick browse on same button without problems

 

 

on key down you go to next table (wheel and images)

 

then you don't do anything for some time (half a sec or less)

 

after half a sec if key is still down you switch to browsing mode and turn wheels fast and leave pf ad bg black, you check all the time if key is up, and turn wheels as fast as you can

 

when key is up - you show pf and bg image of the wheel that is currently on the screen


Edited by blur, 19 April 2013 - 12:44 PM.


#126 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 19 April 2013 - 01:20 PM

by the way - about this delay - you could have one step and quick browse on same button without problems

 

 

on key down you go to next table (wheel and images)

 

then you don't do anything for some time (half a sec or less)

 

after half a sec if key is still down you switch to browsing mode and turn wheels fast and leave pf ad bg black, you check all the time if key is up, and turn wheels as fast as you can

 

when key is up - you show pf and bg image of the wheel that is currently on the screen

 

yep I know how to do that ;) but doing it in that way would remove the possibility to letter-jump if you press the flipper buttons longer. Hmm perhaps the spinning option is better than letter-jump thing.

For doing the letter-jump you have to press extra buttons, period! :D
 



#127 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 19 April 2013 - 01:28 PM

yup, you would have to lose letter jump on that button :) (didn't get it first time :))

 

by the way - it's great idea to change hiperpin to pinselect, but - what about changing pinselect.exe to hyperpin.exe (file name?)

 

when i tried to rename pinselect it crashed, people who switch between the two could do it more easy if hyperpin.exe is allowed name for pinselect exe file?


Edited by blur, 19 April 2013 - 01:32 PM.


#128 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 19 April 2013 - 05:29 PM

what chepas is asking is I think to just put table name on the bottom of the screen in some big black and white font - like hyperspin does?

 

:pinnochio:  Not sure why I'm having a hard time to explain. 

 

Try this way:

Launch Pinselect > PinSelect Menu > Tables Choice

 

In the table choice and as you browse tables each time a game is selected. Being able to know what tablename is currently on to send to an external ahk or similar command. Tablename preferably or description.

 

All fairly easy stuff ? and as HP is right now (I think) the only way for this communication is through the exit menu/ instructions/ or flyer


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#129 Swisslizard

Swisslizard

    DOF inventor & coder

  • VIP
  • 152 posts

  • Flag: Switzerland

  • Favorite Pinball: The Machine

Posted 19 April 2013 - 06:37 PM

Regarding table video playback, it might be a option you use VLC for that. There is even a library which allows to embed VLC in a .net application. Have a look at http://vlcdotnet.codeplex.com/


Programming is a race between software engineers striving to build  idiot-proof programs, and the universe trying to produce bigger idiots. So far, the universe is winning.


#130 jasonsmith

jasonsmith

    Enthusiast

  • Members
  • PipPipPip
  • 214 posts
  • Location:BC, Canada

  • Flag: Canada

  • Favorite Pinball: AFM

Posted 19 April 2013 - 06:55 PM

by the way - about this delay - you could have one step and quick browse on same button without problems

 

 

on key down you go to next table (wheel and images)

 

then you don't do anything for some time (half a sec or less)

 

after half a sec if key is still down you switch to browsing mode and turn wheels fast and leave pf ad bg black, you check all the time if key is up, and turn wheels as fast as you can

 

when key is up - you show pf and bg image of the wheel that is currently on the screen

 

yep I know how to do that ;) but doing it in that way would remove the possibility to letter-jump if you press the flipper buttons longer. Hmm perhaps the spinning option is better than letter-jump thing.

For doing the letter-jump you have to press extra buttons, period! :D
 

 

Most of us have nudge buttons, we should use those for letter jumping. 

 

Flipper Button:

 

[down] = slow scroll through tables. (Might only see 1 or 2 tables before fast scroll kicks in)

[down >1.5s] = fast scroll through tables

[up] = focus on selected table

 

Nudge Button:

 

[down] = slow scroll though each letter. (Might only see 1 or 2 letters before fast scroll kicks in)

[down >1.5s] = fast scroll through letters

[up] = focus on selected table.



#131 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 19 April 2013 - 08:06 PM

Regarding table video playback, it might be a option you use VLC for that. There is even a library which allows to embed VLC in a .net application. Have a look at http://vlcdotnet.codeplex.com/

Yep I tried that. It seems it have problems with VLC 2.x. But I'm not done testing all possibilities, maybe I find something out that works well in my case here...



Most of us have nudge buttons, we should use those for letter jumping. 

 

Flipper Button:

 

[down] = slow scroll through tables. (Might only see 1 or 2 tables before fast scroll kicks in)

[down >1.5s] = fast scroll through tables

[up] = focus on selected table

 

Nudge Button:

 

[down] = slow scroll though each letter. (Might only see 1 or 2 letters before fast scroll kicks in)

[down >1.5s] = fast scroll through letters

[up] = focus on selected table.

Copy that !



:pinnochio:  Not sure why I'm having a hard time to explain. 

 

Try this way:

Launch Pinselect > PinSelect Menu > Tables Choice

 

In the table choice and as you browse tables each time a game is selected. Being able to know what tablename is currently on to send to an external ahk or similar command. Tablename preferably or description.

 

All fairly easy stuff ? and as HP is right now (I think) the only way for this communication is through the exit menu/ instructions/ or flyer

 

Just out of curiousity: what you want to do with that information? Any special ideas for extra ahk's or scripts?



#132 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 20 April 2013 - 10:21 AM

there was one idea to show things over hyperpin with fplaunch

 

something like - you press a button and fplaunch is started with some options - fplaunch knows from options or from checking which keys are pressed that he should show something on the screen and not launch the table - like dna's hiscores, or game count, or time spent in game

 

this idea is I think something in that direction

 

all of that can be done in pinselect/hyperpin also, but for hyperpin it was impossible since there was no activity for years so now people just think - if we could make that in fplaunch it would be done in no time :) and you know who (you're looking at him baby  :)) will put it in official release also in no time :)

 

the thing is hp/pinselect knows what table name is all the time since it reads it from xml, and can do all of that, and fuzzel can do it in no time (yeah baby :) btw great job fuzzel)

 

and flyer and instr. cards are done purely in hyperpin - so when you press flyer button in hyperpin it doesn't call fplaunch - it opens flyer from hp directly,

I only open flyer if flyer key is pressed during the game - so flyer is not good example of hp-fplaunch communication



#133 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 20 April 2013 - 02:24 PM

ah now i understand ;) so what about a feature to define an external tool in the settings with additional options and the first or last parameter is always the description name?

If you press a defined key PinSelect would call that external tool with the paramters.



#134 blur

blur

    Pinball Fan

  • VIP
  • 1,500 posts

  • Flag: Croatia

  • Favorite Pinball: Amazing Spiderman, Black Hole, Totem



Posted 20 April 2013 - 06:48 PM

like plugins system so every one can program plugins and cal them on a key - sounds great


Edited by blur, 20 April 2013 - 06:49 PM.


#135 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 21 April 2013 - 12:07 AM

Just out of curiousity: what you want to do with that information? Any special ideas for extra ahk's or scripts?

Just too many ideas on back burner that are not possible in HP from the table selection menu. Mostly to do with scores, table tracking, dmd, videos. Pinball in a nutshell. While in game it hasn't been a problem because fplaunch can handle it.

 

Having some of them key assignments doesn't sound bad, I'll take any you can throw this way but would also be good to call an external tool/script, if you wanted, each time a table is browsed.

 

 

(you're looking at him baby   :))

lol


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#136 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 22 April 2013 - 06:45 AM

Ok v1.7 is up (post# 1). If you use this version you can delete your pinselect.exe.config it now reads the settings from the HP settings.ini file.

If you have focus problems with FPLaunch either configure hyperpinexe=pinselecet.exe in the FPLaunch section of the settings.ini file or rename PinSelect.exe into hyperpin.exe.


Edited by fuzzel, 22 April 2013 - 06:46 AM.


#137 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 22 April 2013 - 06:59 AM

Damn you fuzzel, I'm trying to work on a table but I have to test this now :dblthumb:


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#138 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 22 April 2013 - 07:10 AM

yeah I know life can be sooo hard :D


Edited by fuzzel, 22 April 2013 - 07:10 AM.


#139 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 22 April 2013 - 07:21 AM

Before I get into testing the external tool I may need to go through the thread to see why L&R Shift don't work still. Loaded HP to see if my config was borked but still works fine in there. So when I exit Pinselect it's always done with Alt+F4 because can't select the exit.

 

Weird problems with tool. I load hyperdmd without a scene to test, very quick to load but I'll load this as a startup program anyway, and basicly the scenes would be called from the service menu key.

 

What happens is, Pinselect loses all control when this tool is running. So you can't exit, browse tables, actually you can't do anything until this external program process is closed. If i pushed the letter jump up & down while in this external tool, it doesnt register as I said but as soon as the process is closed , all of the key presses I made suddenly work and have to watch it do what I pressed before hand.

 

You can try and alt-tab between programs but that doesnt make blind bit of difference untill the external process is closed.

 

One reason why I wanted to be able to do this with ahk is because I would ideally have one project folder with one scene. This scene folder would contain the videos but instead of having 300 video entries in the hyperdmd ini ,one line of text for the video name could be changed with ahk.


Edited by chepas, 22 April 2013 - 07:37 AM.

Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#140 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 22 April 2013 - 08:10 AM

I've tried switching tables with L/R shift and it worked without any problems here.. :hmm:

The external tool stuff is really experimental. I did some short tests with FPLaunch to see if something really happens. PinSelect launches the tool and waits until the tool terminates. If you would like

to play some videos on the dmd while selecting tables with PinSelect than I fear this isn't possible with this version. I will add another option if PinSelect should wait for the child process to terminate or not.