From: Bob P. <bob...@gm...> - 2012-05-01 21:16:42
|
Provided that there's an available SMTP relay (I might be able to host one - and there's plenty of them available for free albeit some for nefarious purposes), it would be convenient to add a "Notify by Email" option to a game. Each player's email address would have to be entered but once there, when a player finished their move, they could notify the group/next player that it was their turn. the email could automatically contain the last set of moves (as is the case with the copy buffer) and automatically add an appropriate subject line. It could even attach the .rails file removing the need to use dropbox or other file store. Just a thought, not a priority. |
From: Erik V. <eri...@xs...> - 2012-05-03 12:26:52
|
This is an idea I've already had in mind for a potential PBEM option. But I don't see why a dedicated SMTP server would be required. I'm not sure what kind of email interface is supported by Java, but I would try to use either the user's local email system, or his (or any) remote SMTP server. The former might not be portable, though. Erik. From: Bob Probst [mailto:bob...@gm...] Sent: Tuesday, May 01, 2012 11:17 PM To: Development list for Rails: an 18xx game Subject: [Rails-devel] Enhancement Idea: Automated emails notifications Provided that there's an available SMTP relay (I might be able to host one - and there's plenty of them available for free albeit some for nefarious purposes), it would be convenient to add a "Notify by Email" option to a game. Each player's email address would have to be entered but once there, when a player finished their move, they could notify the group/next player that it was their turn. the email could automatically contain the last set of moves (as is the case with the copy buffer) and automatically add an appropriate subject line. It could even attach the .rails file removing the need to use dropbox or other file store. Just a thought, not a priority. |
From: Chris S. <chr...@gm...> - 2012-05-03 14:54:04
|
Would such systems work behind my work's corporate firewall? -- Chris Please consider the environment before printing this e-mail. On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs...> wrote: > This is an idea I’ve already had in mind for a potential PBEM option. > > > > But I don’t see why a dedicated SMTP server would be required. I’m not sure > what kind of email interface is supported by Java, but I would try to use > either the user’s local email system, or his (or any) remote SMTP server. > The former might not be portable, though. > > > > Erik. > > > > From: Bob Probst [mailto:bob...@gm...] > Sent: Tuesday, May 01, 2012 11:17 PM > To: Development list for Rails: an 18xx game > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > Provided that there's an available SMTP relay (I might be able to host one - > and there's plenty of them available for free albeit some for nefarious > purposes), it would be convenient to add a "Notify by Email" option to a > game. > > > > Each player's email address would have to be entered but once there, when a > player finished their move, they could notify the group/next player that it > was their turn. the email could automatically contain the last set of moves > (as is the case with the copy buffer) and automatically add an appropriate > subject line. It could even attach the .rails file removing the need to use > dropbox or other file store. > > > > Just a thought, not a priority. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Bob P. <bob...@gm...> - 2012-05-03 15:01:13
|
SMTP wouldn't be blocked but an external host IP might be. You could point it at a corporate SMTP relay - but that's probably a bigger breach of IT policy than playing games at work. Of course, you could also use your local corporate mail client if that functionality were programmed and other than having the mail go through corporate servers, it would be fine. I don't use a local mail client so that option would not be of use to me. On Thu, May 3, 2012 at 10:53 AM, Chris Shaffer <chr...@gm...>wrote: > Would such systems work behind my work's corporate firewall? > > -- > Chris > > Please consider the environment before printing this e-mail. > > > On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs...> wrote: > > This is an idea I’ve already had in mind for a potential PBEM option. > > > > > > > > But I don’t see why a dedicated SMTP server would be required. I’m not > sure > > what kind of email interface is supported by Java, but I would try to use > > either the user’s local email system, or his (or any) remote SMTP server. > > The former might not be portable, though. > > > > > > > > Erik. > > > > > > > > From: Bob Probst [mailto:bob...@gm...] > > Sent: Tuesday, May 01, 2012 11:17 PM > > To: Development list for Rails: an 18xx game > > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > > > > > Provided that there's an available SMTP relay (I might be able to host > one - > > and there's plenty of them available for free albeit some for nefarious > > purposes), it would be convenient to add a "Notify by Email" option to a > > game. > > > > > > > > Each player's email address would have to be entered but once there, > when a > > player finished their move, they could notify the group/next player that > it > > was their turn. the email could automatically contain the last set of > moves > > (as is the case with the copy buffer) and automatically add an > appropriate > > subject line. It could even attach the .rails file removing the need to > use > > dropbox or other file store. > > > > > > > > Just a thought, not a priority. > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Edward R. <ed...@we...> - 2012-05-03 15:21:32
|
SMTP would almost certainly be blocked from desktops. On Thursday, 3 May 2012 at 16:00, Bob Probst wrote: > SMTP wouldn't be blocked but an external host IP might be. You could point it at a corporate SMTP relay - but that's probably a bigger breach of IT policy than playing games at work. > > Of course, you could also use your local corporate mail client if that functionality were programmed and other than having the mail go through corporate servers, it would be fine. > > I don't use a local mail client so that option would not be of use to me. > > On Thu, May 3, 2012 at 10:53 AM, Chris Shaffer <chr...@gm... (mailto:chr...@gm...)> wrote: > > Would such systems work behind my work's corporate firewall? > > > > -- > > Chris > > > > Please consider the environment before printing this e-mail. > > > > > > On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs... (mailto:eri...@xs...)> wrote: > > > This is an idea I’ve already had in mind for a potential PBEM option. > > > > > > > > > > > > But I don’t see why a dedicated SMTP server would be required. I’m not sure > > > what kind of email interface is supported by Java, but I would try to use > > > either the user’s local email system, or his (or any) remote SMTP server. > > > The former might not be portable, though. > > > > > > > > > > > > Erik. > > > > > > > > > > > > From: Bob Probst [mailto:bob...@gm...] > > > Sent: Tuesday, May 01, 2012 11:17 PM > > > To: Development list for Rails: an 18xx game > > > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > > > > > > > > > Provided that there's an available SMTP relay (I might be able to host one - > > > and there's plenty of them available for free albeit some for nefarious > > > purposes), it would be convenient to add a "Notify by Email" option to a > > > game. > > > > > > > > > > > > Each player's email address would have to be entered but once there, when a > > > player finished their move, they could notify the group/next player that it > > > was their turn. the email could automatically contain the last set of moves > > > (as is the case with the copy buffer) and automatically add an appropriate > > > subject line. It could even attach the .rails file removing the need to use > > > dropbox or other file store. > > > > > > > > > > > > Just a thought, not a priority. > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Rails-devel mailing list > > > Rai...@li... (mailto:Rai...@li...) > > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... (mailto:Rai...@li...) > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Erik V. <eri...@xs...> - 2012-05-07 19:26:42
|
Anyhow, we cannot address external SMTP blocking from within Rails. Sending an email seems to be simple to do with JavaMail. It can send mail to a named SMTP host with optional authentication. Attachments can be done as well. Picking up incoming mail would be an entirely different matter; I have little hope to have Rails support that. Erik. From: Edward Rustin [mailto:ed...@we...] Sent: Thursday, May 03, 2012 5:21 PM To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications SMTP would almost certainly be blocked from desktops. On Thursday, 3 May 2012 at 16:00, Bob Probst wrote: SMTP wouldn't be blocked but an external host IP might be. You could point it at a corporate SMTP relay - but that's probably a bigger breach of IT policy than playing games at work. Of course, you could also use your local corporate mail client if that functionality were programmed and other than having the mail go through corporate servers, it would be fine. I don't use a local mail client so that option would not be of use to me. On Thu, May 3, 2012 at 10:53 AM, Chris Shaffer <chr...@gm...> wrote: Would such systems work behind my work's corporate firewall? -- Chris Please consider the environment before printing this e-mail. On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs...> wrote: > This is an idea I’ve already had in mind for a potential PBEM option. > > > > But I don’t see why a dedicated SMTP server would be required. I’m not sure > what kind of email interface is supported by Java, but I would try to use > either the user’s local email system, or his (or any) remote SMTP server. > The former might not be portable, though. > > > > Erik. > > > > From: Bob Probst [mailto:bob...@gm...] > Sent: Tuesday, May 01, 2012 11:17 PM > To: Development list for Rails: an 18xx game > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > Provided that there's an available SMTP relay (I might be able to host one - > and there's plenty of them available for free albeit some for nefarious > purposes), it would be convenient to add a "Notify by Email" option to a > game. > > > > Each player's email address would have to be entered but once there, when a > player finished their move, they could notify the group/next player that it > was their turn. the email could automatically contain the last set of moves > (as is the case with the copy buffer) and automatically add an appropriate > subject line. It could even attach the .rails file removing the need to use > dropbox or other file store. > > > > Just a thought, not a priority. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: Mike B. <com...@ip...> - 2012-05-08 02:53:25
|
Next best thing: can the rails save games be defined as a mime type within windows that autolaunches and loads the game? May need a version of the executable that doesn't present menu options etc because it knows that its job is to load a save game - which means that creating it should be just about the last step, only performed once all the other code is stable, but it would come close to solving this problem. Mike Bourke Campaign Mastery http://www.campaignmastery.com <http://www.campaignmastery.com/> Co-author, Assassin's Amulet <http://www.legaciescampaignsetting.com/> http://www.legaciescampaignsetting.com _____ From: Erik Vos [mailto:eri...@xs...] Sent: Friday, 4 May 2012 4:56 AM To: 'Development list for Rails: an 18xx game' Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications Anyhow, we cannot address external SMTP blocking from within Rails. Sending an email seems to be simple to do with JavaMail. It can send mail to a named SMTP host with optional authentication. Attachments can be done as well. Picking up incoming mail would be an entirely different matter; I have little hope to have Rails support that. Erik. From: Edward Rustin [mailto:ed...@we...] Sent: Thursday, May 03, 2012 5:21 PM To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications SMTP would almost certainly be blocked from desktops. On Thursday, 3 May 2012 at 16:00, Bob Probst wrote: SMTP wouldn't be blocked but an external host IP might be. You could point it at a corporate SMTP relay - but that's probably a bigger breach of IT policy than playing games at work. Of course, you could also use your local corporate mail client if that functionality were programmed and other than having the mail go through corporate servers, it would be fine. I don't use a local mail client so that option would not be of use to me. On Thu, May 3, 2012 at 10:53 AM, Chris Shaffer <chr...@gm...> wrote: Would such systems work behind my work's corporate firewall? -- Chris Please consider the environment before printing this e-mail. On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs...> wrote: > This is an idea I've already had in mind for a potential PBEM option. > > > > But I don't see why a dedicated SMTP server would be required. I'm not sure > what kind of email interface is supported by Java, but I would try to use > either the user's local email system, or his (or any) remote SMTP server. > The former might not be portable, though. > > > > Erik. > > > > From: Bob Probst [mailto:bob...@gm...] > Sent: Tuesday, May 01, 2012 11:17 PM > To: Development list for Rails: an 18xx game > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > Provided that there's an available SMTP relay (I might be able to host one - > and there's plenty of them available for free albeit some for nefarious > purposes), it would be convenient to add a "Notify by Email" option to a > game. > > > > Each player's email address would have to be entered but once there, when a > player finished their move, they could notify the group/next player that it > was their turn. the email could automatically contain the last set of moves > (as is the case with the copy buffer) and automatically add an appropriate > subject line. It could even attach the .rails file removing the need to use > dropbox or other file store. > > > > Just a thought, not a priority. > > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 120507-1, 08/05/2012 Tested on: 8/05/2012 12:52:34 PM avast! - copyright (c) 1988-2012 AVAST Software. http://www.avast.com |
From: Erik V. <eri...@xs...> - 2012-05-08 09:02:52
|
I'm not enough a Windows expert to provide much help here. I'm using Outlook 2010, from where you can start an application or script on arrival of messages with certain characteristics, but there doesn't seem to be an option to save any attachments first in some folder. So I don't think I would be able to make your idea work in my environment. Erik. From: Mike Bourke [mailto:com...@ip...] Sent: Tuesday, May 08, 2012 4:53 AM To: 'Development list for Rails: an 18xx game' Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications Next best thing: can the rails save games be defined as a mime type within windows that autolaunches and loads the game? May need a version of the executable that doesn't present menu options etc because it knows that its job is to load a save game - which means that creating it should be just about the last step, only performed once all the other code is stable, but it would come close to solving this problem. Mike Bourke Campaign Mastery http://www.campaignmastery.com <http://www.campaignmastery.com/> Co-author, Assassin's Amulet <http://www.legaciescampaignsetting.com/> http://www.legaciescampaignsetting.com _____ From: Erik Vos [mailto:eri...@xs...] Sent: Friday, 4 May 2012 4:56 AM To: 'Development list for Rails: an 18xx game' Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications Anyhow, we cannot address external SMTP blocking from within Rails. Sending an email seems to be simple to do with JavaMail. It can send mail to a named SMTP host with optional authentication. Attachments can be done as well. Picking up incoming mail would be an entirely different matter; I have little hope to have Rails support that. Erik. From: Edward Rustin <mailto:[mailto:ed...@we...]> [mailto:ed...@we...] Sent: Thursday, May 03, 2012 5:21 PM To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications SMTP would almost certainly be blocked from desktops. On Thursday, 3 May 2012 at 16:00, Bob Probst wrote: SMTP wouldn't be blocked but an external host IP might be. You could point it at a corporate SMTP relay - but that's probably a bigger breach of IT policy than playing games at work. Of course, you could also use your local corporate mail client if that functionality were programmed and other than having the mail go through corporate servers, it would be fine. I don't use a local mail client so that option would not be of use to me. On Thu, May 3, 2012 at 10:53 AM, Chris Shaffer <chr...@gm...> wrote: Would such systems work behind my work's corporate firewall? -- Chris Please consider the environment before printing this e-mail. On Thu, May 3, 2012 at 5:11 AM, Erik Vos <eri...@xs...> wrote: > This is an idea I've already had in mind for a potential PBEM option. > > > > But I don't see why a dedicated SMTP server would be required. I'm not sure > what kind of email interface is supported by Java, but I would try to use > either the user's local email system, or his (or any) remote SMTP server. > The former might not be portable, though. > > > > Erik. > > > > From: Bob Probst [mailto:bob...@gm...] > Sent: Tuesday, May 01, 2012 11:17 PM > To: Development list for Rails: an 18xx game > Subject: [Rails-devel] Enhancement Idea: Automated emails notifications > > > > Provided that there's an available SMTP relay (I might be able to host one - > and there's plenty of them available for free albeit some for nefarious > purposes), it would be convenient to add a "Notify by Email" option to a > game. > > > > Each player's email address would have to be entered but once there, when a > player finished their move, they could notify the group/next player that it > was their turn. the email could automatically contain the last set of moves > (as is the case with the copy buffer) and automatically add an appropriate > subject line. It could even attach the .rails file removing the need to use > dropbox or other file store. > > > > Just a thought, not a priority. > > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 120507-1, 08/05/2012 Tested on: 8/05/2012 12:52:34 PM avast! - copyright (c) 1988-2012 AVAST Software. |
From: Mike B. <com...@ip...> - 2012-05-08 10:14:59
|
If you open an attachment in outlook, it copies the attachment to a temporary folder and then opens it using the 'open' command configured for the mime type. So it should be possible to receive a saved game by email and open the game directly with a correctly configured executable - but you won't know where the temporary file is, so you can't open it manually, it all has to happen automatically in one operation. Mike Bourke Campaign Mastery http://www.campaignmastery.com Co-author, Assassin's Amulet http://www.legaciescampaignsetting.com ________________________________________ From: Erik Vos [mailto:eri...@xs...] Sent: Tuesday, 8 May 2012 7:03 PM To: 'Development list for Rails: an 18xx game' Subject: Re: [Rails-devel] Enhancement Idea: Automated emails notifications I'm not enough a Windows expert to provide much help here. I'm using Outlook 2010, from where you can start an application or script on arrival of messages with certain characteristics, but there doesn't seem to be an option to save any attachments first in some folder. So I don't think I would be able to make your idea work in my environment. Erik. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 120507-1, 08/05/2012 Tested on: 8/05/2012 8:14:09 PM avast! - copyright (c) 1988-2012 AVAST Software. http://www.avast.com |
From: John D. G. <jd...@di...> - 2012-05-08 04:33:50
|
On 2012-05-07 19:52, Mike Bourke wrote: > Next best thing: can the rails save games be defined as a mime type within windows that autolaunches and loads the game? May need a version of the executable that doesn’t present menu options etc because it knows that its job is to load a save game – which means that creating it should be just about the last step, only performed once all the other code is stable, but it would come close to solving this problem. The activating end of this would be fairly easy to configure in Mozilla if the "run rails and load save game" combination can be performed by one command line. Of course you'd still need a mime type, but something along the lines of "x-application/rails" would do fine. |
From: Bill R. <ro...@gm...> - 2012-05-08 04:49:40
|
On 2012-05-08, at 12:33 , John David Galt wrote: > On 2012-05-07 19:52, Mike Bourke wrote: >> Next best thing: can the rails save games be defined as a mime type within windows that autolaunches and loads the game? May need a version of the executable that doesn’t present menu options etc because it knows that its job is to load a save game – which means that creating it should be just about the last step, only performed once all the other code is stable, but it would come close to solving this problem. > > The activating end of this would be fairly easy to configure in Mozilla if the > "run rails and load save game" combination can be performed by one command line. > Of course you'd still need a mime type, but something along the lines of > "x-application/rails" would do fine. Rails supports savegames passed as command line arguments, though this is not exactly documented anywhere. I have a shell script for each of my PBEM games that runs the correct version of rails with the most recent savegame from dropbox. The (two-line) script I use won't work on a system without find, grep, and tail (i.e. some kind of *nix or MacOS), but I've included it in the case that it is useful to someone. Obviously you will need to edit the script to point at the right paths. #!/bin/bash cd /Applications/Games/rails-1.7.3 java -jar ./rails-1.7.3.jar "`find ~rosgen/Dropbox/PBEM/1856 -maxdepth 1 | grep \.rails | tail -n 1`" Bill |