From: James R. <rom...@gm...> - 2014-02-10 18:33:33
|
Is it possible to set up save game files (.rails) so that double-clicking on them starts the Rails program and loads in the save? If so, are there reasonably detailed instructions (possibly OS-specific) on how to make it work? Jim |
From: Tom M. <tom...@gm...> - 2014-02-10 19:37:17
|
I have a batch file I use with Windows that I associate with the .rails file type. This allows me to double-click on a .rails file no matter what directory it resides in and have the Rails program autostart. Sent via BlackBerry -----Original Message----- From: James Romano <rom...@gm...> Date: Mon, 10 Feb 2014 12:33:26 To: Development list for Rails: an 18xx game<rai...@li...> Reply-To: "Development list for Rails: an 18xx game" <rai...@li...> Subject: [Rails-devel] double-clicking to run? ------------------------------------------------------------------------------ Androi apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk |
From: James R. <rom...@gm...> - 2014-02-10 19:58:55
|
Hi Tom, I could associate the .rails type to the .bat file that runs rails via the java command. I think I could also set it up so that double-clicking on the .rails file passes the save file (.rails file) name to the .bat file and so that the .bat file would then pass the the save file name into the java command somehow. Does the java command allow such an argument, would it be passed along to Rails in a sensible way, and would Rails interpret it as a save file to load? I take it from your success that your answers to all those questions are "yes." Could you share the java command used in your batch file so that I may see how the file name argument should be passed along? Jim On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm...> wrote: > I have a batch file I use with Windows that I associate with the .rails > file type. This allows me to double-click on a .rails file no matter what > directory it resides in and have the Rails program autostart. > > Sent via BlackBerry > > -----Original Message----- > From: James Romano <rom...@gm...> > Date: Mon, 10 Feb 2014 12:33:26 > To: Development list for Rails: an 18xx game< > rai...@li...> > Reply-To: "Development list for Rails: an 18xx game" > <rai...@li...> > Subject: [Rails-devel] double-clicking to run? > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Tom M. <tom...@gm...> - 2014-02-10 20:00:50
|
I can send when I am home this evening. Sent via BlackBerry -----Original Message----- From: James Romano <rom...@gm...> Date: Mon, 10 Feb 2014 13:58:46 To: <tom...@gm...>; Development list for Rails: an 18xx game<rai...@li...> Subject: Re: [Rails-devel] double-clicking to run? Hi Tom, I could associate the .rails type to the .bat file that runs rails via the java command. I think I could also set it up so that double-clicking on the .rails file passes the save file (.rails file) name to the .bat file and so that the .bat file would then pass the the save file name into the java command somehow. Does the java command allow such an argument, would it be passed along to Rails in a sensible way, and would Rails interpret it as a save file to load? I take it from your success that your answers to all those questions are "yes." Could you share the java command used in your batch file so that I may see how the file name argument should be passed along? Jim On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm...> wrote: > I have a batch file I use with Windows that I associate with the .rails > file type. This allows me to double-click on a .rails file no matter what > directory it resides in and have the Rails program autostart. > > Sent via BlackBerry > > -----Original Message----- > From: James Romano <rom...@gm...> > Date: Mon, 10 Feb 2014 12:33:26 > To: Development list for Rails: an 18xx game< > rai...@li...> > Reply-To: "Development list for Rails: an 18xx game" > <rai...@li...> > Subject: [Rails-devel] double-clicking to run? > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: James R. <rom...@gm...> - 2014-02-11 18:11:23
|
I'd appreciate that, whenever you get to it. Jim On 2/10/2014 2:00 PM, Tom McCorry wrote: > I can send when I am home this evening. > Sent via BlackBerry > ------------------------------------------------------------------------ > *From: * James Romano <rom...@gm...> > *Date: *Mon, 10 Feb 2014 13:58:46 -0600 > *To: *<tom...@gm...>; Development list for Rails: an 18xx > game<rai...@li...> > *Subject: *Re: [Rails-devel] double-clicking to run? > > Hi Tom, > > I could associate the .rails type to the .bat file that runs rails via > the java command. I think I could also set it up so that > double-clicking on the .rails file passes the save file (.rails file) > name to the .bat file and so that the .bat file would then pass the > the save file name into the java command somehow. Does the java > command allow such an argument, would it be passed along to Rails in a > sensible way, and would Rails interpret it as a save file to load? I > take it from your success that your answers to all those questions are > "yes." > > Could you share the java command used in your batch file so that I may > see how the file name argument should be passed along? > > Jim > > > On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... > <mailto:tom...@gm...>> wrote: > > I have a batch file I use with Windows that I associate with the > .rails file type. This allows me to double-click on a .rails file > no matter what directory it resides in and have the Rails program > autostart. > > Sent via BlackBerry > > -----Original Message----- > From: James Romano <rom...@gm... > <mailto:rom...@gm...>> > Date: Mon, 10 Feb 2014 12:33:26 > To: Development list for Rails: an 18xx > game<rai...@li... > <mailto:rai...@li...>> > Reply-To: "Development list for Rails: an 18xx game" > <rai...@li... > <mailto:rai...@li...>> > Subject: [Rails-devel] double-clicking to run? > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > <mailto:Rai...@li...> > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: James R. <rom...@gm...> - 2014-03-08 02:39:02
|
Hi Tom, I still like to see how you do this. I guess the real question is whether it's possible to pass the save file name into Rails when via the java command, somehow. Jim On 2/10/2014 2:00 PM, Tom McCorry wrote: > I can send when I am home this evening. > Sent via BlackBerry > ------------------------------------------------------------------------ > *From: * James Romano <rom...@gm...> > *Date: *Mon, 10 Feb 2014 13:58:46 -0600 > *To: *<tom...@gm...>; Development list for Rails: an 18xx > game<rai...@li...> > *Subject: *Re: [Rails-devel] double-clicking to run? > > Hi Tom, > > I could associate the .rails type to the .bat file that runs rails via > the java command. I think I could also set it up so that > double-clicking on the .rails file passes the save file (.rails file) > name to the .bat file and so that the .bat file would then pass the > the save file name into the java command somehow. Does the java > command allow such an argument, would it be passed along to Rails in a > sensible way, and would Rails interpret it as a save file to load? I > take it from your success that your answers to all those questions are > "yes." > > Could you share the java command used in your batch file so that I may > see how the file name argument should be passed along? > > Jim > > > On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... > <mailto:tom...@gm...>> wrote: > > I have a batch file I use with Windows that I associate with the > .rails file type. This allows me to double-click on a .rails file > no matter what directory it resides in and have the Rails program > autostart. > > Sent via BlackBerry > > -----Original Message----- > From: James Romano <rom...@gm... > <mailto:rom...@gm...>> > Date: Mon, 10 Feb 2014 12:33:26 > To: Development list for Rails: an 18xx > game<rai...@li... > <mailto:rai...@li...>> > Reply-To: "Development list for Rails: an 18xx game" > <rai...@li... > <mailto:rai...@li...>> > Subject: [Rails-devel] double-clicking to run? > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > <mailto:Rai...@li...> > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Stefan F. <ste...@we...> - 2014-02-10 19:43:45
|
In principle Webstart allows to set some OS association like desktop icon, start menu entry and file association. However this is all optional, thus it depends on the Webstart implementation. I have added those options to an experimental webstart-file. Copy or click on the following link to try this: http://rails.sf.net/webstart/rails_desktop.jnlp With IcedTea OpenJDK Webstart on my Linux system it does nothing. However this might be different on Windows or Mac OS with Oracle JREs. Would be great to get some feed back, if and what this achieves on other systems. Stefan On 02/10/2014 07:33 PM, James Romano wrote: > Is it possible to set up save game files (.rails) so that > double-clicking on them starts the Rails program and loads in the save? > > If so, are there reasonably detailed instructions (possibly OS-specific) > on how to make it work? > > > Jim > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Stefan F. <ste...@we...> - 2014-03-08 12:12:25
|
Hi Jim, yes it is possible to pass the rails file as a command-line option: The java jar command looks like the following: java -jar rails-1.7.12.jar 1830.rails rails.bat and rails.sh are only wrappers around this command: Content of rails.bat e.g. is: "java -jar rails-1.7.12.jar %1" So the first argument after rails.bat or rails.sh is given to Rails and starts that save file. For Rails 2.0: In the current Rails 2.0 alpha 4 release this does not work, as I refactored game loading. However this is fixed now in rails_2_develop branch. So this will be possible with the next alpha again. Stefan On 03/08/2014 03:38 AM, James Romano wrote: > Hi Tom, > > I still like to see how you do this. > > I guess the real question is whether it's possible to pass the save file > name into Rails when via the java command, somehow. > > Jim > > > On 2/10/2014 2:00 PM, Tom McCorry wrote: >> I can send when I am home this evening. >> Sent via BlackBerry >> ------------------------------------------------------------------------ >> *From: * James Romano <rom...@gm...> >> *Date: *Mon, 10 Feb 2014 13:58:46 -0600 >> *To: *<tom...@gm...>; Development list for Rails: an 18xx >> game<rai...@li...> >> *Subject: *Re: [Rails-devel] double-clicking to run? >> >> Hi Tom, >> >> I could associate the .rails type to the .bat file that runs rails via >> the java command. I think I could also set it up so that >> double-clicking on the .rails file passes the save file (.rails file) >> name to the .bat file and so that the .bat file would then pass the >> the save file name into the java command somehow. Does the java >> command allow such an argument, would it be passed along to Rails in a >> sensible way, and would Rails interpret it as a save file to load? I >> take it from your success that your answers to all those questions are >> "yes." >> >> Could you share the java command used in your batch file so that I may >> see how the file name argument should be passed along? >> >> Jim >> >> >> On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... >> <mailto:tom...@gm...>> wrote: >> >> I have a batch file I use with Windows that I associate with the >> .rails file type. This allows me to double-click on a .rails file >> no matter what directory it resides in and have the Rails program >> autostart. >> >> Sent via BlackBerry >> >> -----Original Message----- >> From: James Romano <rom...@gm... >> <mailto:rom...@gm...>> >> Date: Mon, 10 Feb 2014 12:33:26 >> To: Development list for Rails: an 18xx >> game<rai...@li... >> <mailto:rai...@li...>> >> Reply-To: "Development list for Rails: an 18xx game" >> <rai...@li... >> <mailto:rai...@li...>> >> Subject: [Rails-devel] double-clicking to run? >> >> ------------------------------------------------------------------------------ >> Androi apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> >> ------------------------------------------------------------------------------ >> Androi apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> <mailto:Rai...@li...> >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: James R. <rom...@gm...> - 2014-03-08 14:43:32
|
Thank you, Stefan. Jim On Sat, Mar 8, 2014 at 6:12 AM, Stefan Frey <ste...@we...> wrote: > Hi Jim, > yes it is possible to pass the rails file as a command-line option: > > The java jar command looks like the following: > java -jar rails-1.7.12.jar 1830.rails > > rails.bat and rails.sh are only wrappers around this command: > > Content of rails.bat e.g. is: > "java -jar rails-1.7.12.jar %1" > > So the first argument after rails.bat or rails.sh is given to Rails and > starts that save file. > > For Rails 2.0: > In the current Rails 2.0 alpha 4 release this does not work, as I > refactored game loading. However this is fixed now in rails_2_develop > branch. So this will be possible with the next alpha again. > > Stefan > > On 03/08/2014 03:38 AM, James Romano wrote: > > Hi Tom, > > > > I still like to see how you do this. > > > > I guess the real question is whether it's possible to pass the save file > > name into Rails when via the java command, somehow. > > > > Jim > > > > > > On 2/10/2014 2:00 PM, Tom McCorry wrote: > >> I can send when I am home this evening. > >> Sent via BlackBerry > >> ------------------------------------------------------------------------ > >> *From: * James Romano <rom...@gm...> > >> *Date: *Mon, 10 Feb 2014 13:58:46 -0600 > >> *To: *<tom...@gm...>; Development list for Rails: an 18xx > >> game<rai...@li...> > >> *Subject: *Re: [Rails-devel] double-clicking to run? > >> > >> Hi Tom, > >> > >> I could associate the .rails type to the .bat file that runs rails via > >> the java command. I think I could also set it up so that > >> double-clicking on the .rails file passes the save file (.rails file) > >> name to the .bat file and so that the .bat file would then pass the > >> the save file name into the java command somehow. Does the java > >> command allow such an argument, would it be passed along to Rails in a > >> sensible way, and would Rails interpret it as a save file to load? I > >> take it from your success that your answers to all those questions are > >> "yes." > >> > >> Could you share the java command used in your batch file so that I may > >> see how the file name argument should be passed along? > >> > >> Jim > >> > >> > >> On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... > >> <mailto:tom...@gm...>> wrote: > >> > >> I have a batch file I use with Windows that I associate with the > >> .rails file type. This allows me to double-click on a .rails file > >> no matter what directory it resides in and have the Rails program > >> autostart. > >> > >> Sent via BlackBerry > >> > >> -----Original Message----- > >> From: James Romano <rom...@gm... > >> <mailto:rom...@gm...>> > >> Date: Mon, 10 Feb 2014 12:33:26 > >> To: Development list for Rails: an 18xx > >> game<rai...@li... > >> <mailto:rai...@li...>> > >> Reply-To: "Development list for Rails: an 18xx game" > >> <rai...@li... > >> <mailto:rai...@li...>> > >> Subject: [Rails-devel] double-clicking to run? > >> > >> > ------------------------------------------------------------------------------ > >> Androi apps run on BlackBerry 10 > >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > >> Now with support for Jelly Bean, Bluetooth, Mapview and more. > >> Get your Android app in front of a whole new audience. Start now. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > >> > >> > >> > ------------------------------------------------------------------------------ > >> Androi apps run on BlackBerry 10 > >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > >> Now with support for Jelly Bean, Bluetooth, Mapview and more. > >> Get your Android app in front of a whole new audience. Start now. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Rails-devel mailing list > >> Rai...@li... > >> <mailto:Rai...@li...> > >> https://lists.sourceforge.net/lists/listinfo/rails-devel > >> > >> > > > > > > > > > ------------------------------------------------------------------------------ > > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > > With Perforce, you get hassle-free workflows. Merge that actually works. > > Faster operations. Version large binaries. Built-in WAN optimization > and the > > freedom to use Git, Perforce or both. Make the move to Perforce. > > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Tom M. <tom...@gm...> - 2014-06-09 16:37:56
|
Sorry Jim. Your post got lost in the flurry if emails. Do you still need copy if the batch file I use? -------------------------------------------- Tom McCorry Sent from my iPad > On Mar 8, 2014, at 9:43, James Romano <rom...@gm...> wrote: > > Thank you, Stefan. > > Jim > > >> On Sat, Mar 8, 2014 at 6:12 AM, Stefan Frey <ste...@we...> wrote: >> Hi Jim, >> yes it is possible to pass the rails file as a command-line option: >> >> The java jar command looks like the following: >> java -jar rails-1.7.12.jar 1830.rails >> >> rails.bat and rails.sh are only wrappers around this command: >> >> Content of rails.bat e.g. is: >> "java -jar rails-1.7.12.jar %1" >> >> So the first argument after rails.bat or rails.sh is given to Rails and >> starts that save file. >> >> For Rails 2.0: >> In the current Rails 2.0 alpha 4 release this does not work, as I >> refactored game loading. However this is fixed now in rails_2_develop >> branch. So this will be possible with the next alpha again. >> >> Stefan >> >> On 03/08/2014 03:38 AM, James Romano wrote: >> > Hi Tom, >> > >> > I still like to see how you do this. >> > >> > I guess the real question is whether it's possible to pass the save file >> > name into Rails when via the java command, somehow. >> > >> > Jim >> > >> > >> > On 2/10/2014 2:00 PM, Tom McCorry wrote: >> >> I can send when I am home this evening. >> >> Sent via BlackBerry >> >> ------------------------------------------------------------------------ >> >> *From: * James Romano <rom...@gm...> >> >> *Date: *Mon, 10 Feb 2014 13:58:46 -0600 >> >> *To: *<tom...@gm...>; Development list for Rails: an 18xx >> >> game<rai...@li...> >> >> *Subject: *Re: [Rails-devel] double-clicking to run? >> >> >> >> Hi Tom, >> >> >> >> I could associate the .rails type to the .bat file that runs rails via >> >> the java command. I think I could also set it up so that >> >> double-clicking on the .rails file passes the save file (.rails file) >> >> name to the .bat file and so that the .bat file would then pass the >> >> the save file name into the java command somehow. Does the java >> >> command allow such an argument, would it be passed along to Rails in a >> >> sensible way, and would Rails interpret it as a save file to load? I >> >> take it from your success that your answers to all those questions are >> >> "yes." >> >> >> >> Could you share the java command used in your batch file so that I may >> >> see how the file name argument should be passed along? >> >> >> >> Jim >> >> >> >> >> >> On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... >> >> <mailto:tom...@gm...>> wrote: >> >> >> >> I have a batch file I use with Windows that I associate with the >> >> .rails file type. This allows me to double-click on a .rails file >> >> no matter what directory it resides in and have the Rails program >> >> autostart. >> >> >> >> Sent via BlackBerry >> >> >> >> -----Original Message----- >> >> From: James Romano <rom...@gm... >> >> <mailto:rom...@gm...>> >> >> Date: Mon, 10 Feb 2014 12:33:26 >> >> To: Development list for Rails: an 18xx >> >> game<rai...@li... >> >> <mailto:rai...@li...>> >> >> Reply-To: "Development list for Rails: an 18xx game" >> >> <rai...@li... >> >> <mailto:rai...@li...>> >> >> Subject: [Rails-devel] double-clicking to run? >> >> >> >> ------------------------------------------------------------------------------ >> >> Androi apps run on BlackBerry 10 >> >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> >> Get your Android app in front of a whole new audience. Start now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Androi apps run on BlackBerry 10 >> >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> >> Get your Android app in front of a whole new audience. Start now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> >> Rails-devel mailing list >> >> Rai...@li... >> >> <mailto:Rai...@li...> >> >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> >> >> >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. >> > With Perforce, you get hassle-free workflows. Merge that actually works. >> > Faster operations. Version large binaries. Built-in WAN optimization and the >> > freedom to use Git, Perforce or both. Make the move to Perforce. >> > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> > >> > >> > >> > _______________________________________________ >> > Rails-devel mailing list >> > Rai...@li... >> > https://lists.sourceforge.net/lists/listinfo/rails-devel >> > >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: James R. <rom...@gm...> - 2014-06-09 20:21:27
|
I think I have it more or less working. Thanks, though. On Mon, Jun 9, 2014 at 11:37 AM, Tom McCorry <tom...@gm...> wrote: > Sorry Jim. Your post got lost in the flurry if emails. Do you still need > copy if the batch file I use? > > > -------------------------------------------- > Tom McCorry > > Sent from my iPad > > On Mar 8, 2014, at 9:43, James Romano <rom...@gm...> wrote: > > Thank you, Stefan. > > Jim > > > On Sat, Mar 8, 2014 at 6:12 AM, Stefan Frey <ste...@we...> wrote: > >> Hi Jim, >> yes it is possible to pass the rails file as a command-line option: >> >> The java jar command looks like the following: >> java -jar rails-1.7.12.jar 1830.rails >> >> rails.bat and rails.sh are only wrappers around this command: >> >> Content of rails.bat e.g. is: >> "java -jar rails-1.7.12.jar %1" >> >> So the first argument after rails.bat or rails.sh is given to Rails and >> starts that save file. >> >> For Rails 2.0: >> In the current Rails 2.0 alpha 4 release this does not work, as I >> refactored game loading. However this is fixed now in rails_2_develop >> branch. So this will be possible with the next alpha again. >> >> Stefan >> >> On 03/08/2014 03:38 AM, James Romano wrote: >> > Hi Tom, >> > >> > I still like to see how you do this. >> > >> > I guess the real question is whether it's possible to pass the save file >> > name into Rails when via the java command, somehow. >> > >> > Jim >> > >> > >> > On 2/10/2014 2:00 PM, Tom McCorry wrote: >> >> I can send when I am home this evening. >> >> Sent via BlackBerry >> >> >> ------------------------------------------------------------------------ >> >> *From: * James Romano <rom...@gm...> >> >> *Date: *Mon, 10 Feb 2014 13:58:46 -0600 >> >> *To: *<tom...@gm...>; Development list for Rails: an 18xx >> >> game<rai...@li...> >> >> *Subject: *Re: [Rails-devel] double-clicking to run? >> >> >> >> Hi Tom, >> >> >> >> I could associate the .rails type to the .bat file that runs rails via >> >> the java command. I think I could also set it up so that >> >> double-clicking on the .rails file passes the save file (.rails file) >> >> name to the .bat file and so that the .bat file would then pass the >> >> the save file name into the java command somehow. Does the java >> >> command allow such an argument, would it be passed along to Rails in a >> >> sensible way, and would Rails interpret it as a save file to load? I >> >> take it from your success that your answers to all those questions are >> >> "yes." >> >> >> >> Could you share the java command used in your batch file so that I may >> >> see how the file name argument should be passed along? >> >> >> >> Jim >> >> >> >> >> >> On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm... >> >> <mailto:tom...@gm...>> wrote: >> >> >> >> I have a batch file I use with Windows that I associate with the >> >> .rails file type. This allows me to double-click on a .rails file >> >> no matter what directory it resides in and have the Rails program >> >> autostart. >> >> >> >> Sent via BlackBerry >> >> >> >> -----Original Message----- >> >> From: James Romano <rom...@gm... >> >> <mailto:rom...@gm...>> >> >> Date: Mon, 10 Feb 2014 12:33:26 >> >> To: Development list for Rails: an 18xx >> >> game<rai...@li... >> >> <mailto:rai...@li...>> >> >> Reply-To: "Development list for Rails: an 18xx game" >> >> <rai...@li... >> >> <mailto:rai...@li...>> >> >> Subject: [Rails-devel] double-clicking to run? >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Androi apps run on BlackBerry 10 >> >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> >> Get your Android app in front of a whole new audience. Start now. >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Androi apps run on BlackBerry 10 >> >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> >> Get your Android app in front of a whole new audience. Start now. >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> >> Rails-devel mailing list >> >> Rai...@li... >> >> <mailto:Rai...@li...> >> >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> >> >> >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> > With Perforce, you get hassle-free workflows. Merge that actually works. >> > Faster operations. Version large binaries. Built-in WAN optimization >> and the >> > freedom to use Git, Perforce or both. Make the move to Perforce. >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> > >> > >> > >> > _______________________________________________ >> > Rails-devel mailing list >> > Rai...@li... >> > https://lists.sourceforge.net/lists/listinfo/rails-devel >> > >> >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and >> the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://www.hpccsystems.com > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |