Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

HyperSpin Event Dispatch System (EDS)


Antos

Recommended Posts

Posted

Yeah sure :) This is really for a custom thing for my HyperSpin.

 

I've make a theme, and in this theme the game informations are displayed in a artwork because of a custom font (can't change the font in HyperSpin, so I had to do that !). But I have a lot of game, accros 12 systems (nearly 8000 games) !

So, when creating my theme, I've make one artwork per game ! With a very long and complex process 'cause the artworks are in SWF (for better quality). If I want to add one game, this is painfull !

 

So, I had and idea ! Make just on SWF file for all the game, as a default artwork in the theme of the systems ! And hopefuly, HyperSpin execute the ActionScript in SWF :) The idea behind the Python script is to load my database, in a CSV format, for each system, and wait for an event sent by Event Dispatcher, through a Named Pipe. Each time a game is selected (event 9), the Python script look for the game informations stored (ex : Pokemon Red on GameBoy) and save those info' in a TXT file, with this format : editor|game|year

 

After that, it waits for another event !

 

Then in the SWF file, it look for the TXT file, retrieve the info' inside and display them, with my custom font ! This works really well and it's really fast, despite all the operation !

 

(sorry if my english is bad !!! )

 

 

Your English is fine. For me anyway... I am French. Thanks for the info! 

Feel free to post a screenshot if you have a chance, that would be great.

(Wish that .Net could play swf files with transparency)

HyperMarquee & Event Dispatch System

  • 4 weeks later...
  • Replies 686
  • Created
  • Last Reply
Posted

So I've been struggling with this and HyperMarquee for a couple of days now and still can't get EDS to display any marquees :unhappy: .

I've setup HyperMarquee as per the guide>

 

And I've watched the video on EDS setup and have pointed hyperHQ to the renamed ledblinky.exe file, Plus set the path to hypermarquee but still nothing, I was going to load one of the pipeservice test files to see if it appears but the file isn't on the install.

I'm running win10 64bit and have installed the .net files, I'm also trying to run on another pc with win7 64bit and still can't get a display on that either, so I must be missing something ?

I do get a warning every time I run EDS don't know if that's normal ?

Please tell me where I'm going wrong, Thanks :turned:

Setup_zpsyxuyo9kg.jpg

EDS%20copy_zpsredrtooj.jpg

Posted

Just found out where I was going wrong :wacko3: The video I watched neglected to say that I needed to change the parameter line to match my Hypermarquess config file :woot:

 

One thing still nagging me is Hypermarquee doesn't close the last window\instance so I'm left with multiple open hypermarquee's I must need a switch to shut down the last image ?

 

EDIT**CBR wasn't ticked so that was the culprit :thumbsup:

Posted

Just found out where I was going wrong :wacko3: The video I watched neglected to say that I needed to change the parameter line to match my Hypermarquess config file :woot:

One thing still nagging me is Hypermarquee doesn't close the last window\instance so I'm left with multiple open hypermarquee's I must need a switch to shut down the last image ?

EDIT**CBR wasn't ticked so that was the culprit :thumbsup:

two things, did you change PID as well on eds.

i think you are missing a "." right before the png extension and after the [filename] wildcard

Posted

Hay Sevenseal,

No I didn't change the PID, Would I also need to change that to my hypermarquee config save name and what would be the outcome ?

Yes the . is there it just looks like it isn't due to the image being compressed to save bandwidth :thumbsup:

 

Thanks for your reply btw.

Posted

What would be the command line for transitioning from wheel art picture when in game replacing it with the mame marquee topper image of the game being played ?

 

Is there a list of preset command lines anywhere other than the ones that come supplied ?

Posted

Hay Sevenseal,

No I didn't change the PID, Would I also need to change that to my hypermarquee config save name and what would be the outcome ?

Yes the . is there it just looks like it isn't due to the image being compressed to save bandwidth[emoji106]

Thanks for your reply btw.

yes both parameter name used has to match pid as well... then disable cbr
Posted

What would be the command line for transitioning from wheel art picture when in game replacing it with the mame marquee topper image of the game being played ?

Is there a list of preset command lines anywhere other than the ones that come supplied ?

not sure what you are asking for?
Posted

I'm looking for the current one "wheel art" then when I'm playing the game on mame to display the marquee of the game aka this>

rtype_zpso5wz7lsd.png  then this>        rtype_zpszwpu8yci.png

Obviously closing the first one before displaying the second one.

Thanks.

Posted

I've got the Marquee topper working but I want it to display only when playing the rom\game, it runs at the same time as the wheel art though.My Hypermarquee details are >E:\HyperSpin\Emulators\[system]\marquees\[FileName].png

Marquee_zps3x5qdiy4.png

 

Two%20windows%20copy_zps2u5gewwg.jpg

Posted

I've got the Marquee topper working but I want it to display only when playing the rom\game, it runs at the same time as the wheel art though.My Hypermarquee details are >E:\HyperSpin\Emulators\[system]\marquees\[FileName].png

Marquee_zps3x5qdiy4.png

 

Two%20windows%20copy_zps2u5gewwg.jpg

in eds on event tab, select only 4

Posted

Thanks for the replies :thumbsup:

What should the close filter be set to ?

I've only had a quick test but it's still not doing the correct thing, I'll do some more testing tomorrow as it's late here.

Thanks SS.

Posted

I've not been able to close my wheel image when the game starts, I've tried adding a 4 on the close filter ? as suggested but I still get this in game>

Rtype%20copy_zps3zmwa8rf.jpg

 

This is what I'm trying to get in game when running both pipes>

Rtype-marquee%20copy_zpsr6dlqtch.jpg

And then close the above topper art when the game shuts down to hyperspins wheel art.

 

If I run both pipes both images appear.

My eds settings (disregard the disable checks>

EDS%20copy_zps1ynncf6m.jpg

 

Ty.

Posted

I've not been able to close my wheel image when the game starts, I've tried adding a 4 on the close filter ? as suggested but I still get this in game>

Rtype%20copy_zps3zmwa8rf.jpg

This is what I'm trying to get in game when running both pipes>

Rtype-marquee%20copy_zpsr6dlqtch.jpg

And then close the above topper art when the game shuts down to hyperspins wheel art.

If I run both pipes both images appear.

My eds settings (disregard the disable checks>

EDS%20copy_zps1ynncf6m.jpg

Ty.

4 = game exit

3 = game launch

look at pdf close to look at what event trigger you want to use

your event filter on eds is when to open something

your close filter on eds is when to exit something

just to note it is bad to have the same event number in each because it cancel each other

Posted

Thanks Sevenseal,

I have read the pdf event filter section but not being a programmer myself it's making my head spin, I've played with different combinations but I'm still stuck.

Thanks, Guess I'll keep tying :wallbash:

Posted

Hi,

 

For the one you would like to close at game launch, put 3 in your close filter. This will tell the instance to close when a game is launched since this is what you are looking for. I mean close filter is up to you, HS throw an event and you decide what to do with it. You do not need coding knowledge, but you need to understand how events and EDS work. 

 

Ps . Don't be shy to experiment...

HyperMarquee & Event Dispatch System

Posted

Hi Antos,

Thank you for your time and reply, Yes I have been experimenting with event filters :good: If you look up 3 postings #391 that I've already put the 3 in close filter to no effect :unhappy:  So i'm stumped, Thank you again. 

Posted

Hi Antos,

Thank you for your time and reply, Yes I have been experimenting with event filters :good: If you look up 3 postings #391 that I've already put the 3 in close filter to no effect :unhappy:  So i'm stumped, Thank you again. 

 

I looked at your post #391, but I can't see 3 in your close filter...

HyperMarquee & Event Dispatch System

Posted

Opps sorry that was a pic before I added the 3 , Here is the current non working one which I also added a 2 to close on frontend close as the 3 won't close.(ignore disable check).

3_zpscfsvs7do.jpg

Posted

Opps sorry that was a pic before I added the 3 , Here is the current non working one which I also added a 2 to close on frontend close as the 3 won't close.(ignore disable check).

3_zpscfsvs7do.jpg

if you want your hi2text to work right you need add "MAME-Goyles-HitoText" to your PID as well. if you are using it, you must set your app to hypermarquee as well if thats your plan

 

for your mame artwork one, change your IPC method, it is now pipe(cli) instead it needs to be pipe, only pipe will be used anything relating to hypermarquee

Posted

if you want your hi2text to work right you need add "MAME-Goyles-HitoText" to your PID as well. if you are using it, you must set your app to hypermarquee as well if thats your plan

 

for your mame artwork one, change your IPC method, it is now pipe(cli) instead it needs to be pipe, only pipe will be used anything relating to hypermarquee

 

i agree, but need to clarify the "MAME-Goyles-HitoText" do not need to PID since you are using CLI.

HyperMarquee & Event Dispatch System

Posted

i agree, but need to clarify the "MAME-Goyles-HitoText" do not need to PID since you are using CLI.

yes sir you are correct, stuck in consistency mode

Posted

Thanks, I did have it in the PID as you told me to do in another post but removed it while trying to trouble shoot, it wouldn't work with it in the PID either.

Not sure what you mean by "set your app to hypermarquee as well"

I have Hypermarquee pointing to Hitotext.exe,Hi folder and Nvram but all I get in HS is a quick flash & close of a dos box.

Archived

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

×
×
  • Create New...