MXS Easy Launcher

Post anything about MX Simulator here. Please. I'm begging you.
Mikey
Posts: 7018
Joined: Sat Nov 08, 2008 1:27 am
Location: Melbourne
Contact:

Re: MXS Easy Launcher

Post by Mikey »

Now this is really cool!

I'd like it so that we could create our own MXS launch settings and than save them, like the Pre-Made ones you have, because of 64 bit i have too keep tying it in the custom directory...
My photography work
www.mikeowenphotographer.com
Servatis
Posts: 1103
Joined: Tue Aug 18, 2009 5:10 pm
Location: The Netherlands

Re: MXS Easy Launcher

Post by Servatis »

poidog808 wrote:And adding a user input for path is another great idea. Thanks for the awesome feedback...I will be on the grind :)

Code: Select all

Process.Start("mxsimulator:" + <parameters>);
an easy way to start MXS with C#.
MXS Garage 0.9 download here

---

Everytime you post something, a stupid baby gets punched in the face. Please post, for the smart children.

MXS Cares
cpt_Slow
Posts: 683
Joined: Sat Dec 15, 2007 5:58 pm
Team: Privateer
Contact:

Re: MXS Easy Launcher

Post by cpt_Slow »

Not entirely sure (can't check because I'm only using my phone right now) but pretty sure your bug is caused by the fact 'draw time' and 'draw fps' are actually saved in a line on the config file. If you wanted the launcher only to dictate it, you could just have 'don't draw' as the default command unless 'draw' is specified with the checkboxes? Really nice idea and pretty well implemented so far though. Maybe also have the erode strength editable and the option to launch on a custom track? ie. Checkbox says 'open track' with a parameter box where you type the track name. (could also bundle in my 360 controller force feedback program and have it launch that ;) :P Or maybe not :P )
22Ryann
Posts: 254
Joined: Sat Jul 09, 2011 9:44 am
Team: Thrashedkids

Re: MXS Easy Launcher

Post by 22Ryann »

It would be cool if when u made your custom launcher it placed it on the front page, and we can label it and permanently. As my main folder is "C:\Program Files (x86)\MX Simulator\mx.exe" and going in and clicking around the custom evrytime would be a hassle....

also just add an option menu were can add our root folder. so all the default buttons u made work.

Looking good man!
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

cpt_Slow wrote:Not entirely sure (can't check because I'm only using my phone right now) but pretty sure your bug is caused by the fact 'draw time' and 'draw fps' are actually saved in a line on the config file. If you wanted the launcher only to dictate it, you could just have 'don't draw' as the default command unless 'draw' is specified with the checkboxes? Really nice idea and pretty well implemented so far though. Maybe also have the erode strength editable and the option to launch on a custom track? ie. Checkbox says 'open track' with a parameter box where you type the track name. (could also bundle in my 360 controller force feedback program and have it launch that ;) :P Or maybe not :P )
Thanks for explaining that the draw function actually writes to the Config file, I did not know, It was making me nuts lol. Ive only been programming for 2 days. I've got the basic idea of the theory (thanks to html), but still learning the language and rules. This app is self contained and only outputs "process.string". The erode adjust is something Im working on...I got stumped because of the 3 arge rule Im hitting. But Im sure Ill get around it. Now as far as opening a dictated track...can that be done with a target line variation? If so that would be cool, but any actual game code mod, I am not ready and wouldn't touch it anyway.

thanks for your feedback!
my sig was infested...
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

Mikey wrote:Now this is really cool!

I'd like it so that we could create our own MXS launch settings and than save them, like the Pre-Made ones you have, because of 64 bit i have too keep tying it in the custom directory...
Thank you.

Saving your settings, thats pretty advanced stuff for me (read/write). This app is a really simple, self contained "exe" launcher. I hope to get good at this and create what your asking for :)
my sig was infested...
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

Servatis wrote:
poidog808 wrote:And adding a user input for path is another great idea. Thanks for the awesome feedback...I will be on the grind :)

Code: Select all

Process.Start("mxsimulator:" + <parameters>);
an easy way to start MXS with C#.
Where were you when I was creating the custom section lol, after butting my head to the screen a few time I realized writing a single string was not going to work :). and ended up doing exactly what you stated. Thanks none the less, because I would still be doing circle if I didnt figure it out.
my sig was infested...
cpt_Slow
Posts: 683
Joined: Sat Dec 15, 2007 5:58 pm
Team: Privateer
Contact:

Re: MXS Easy Launcher

Post by cpt_Slow »

The track launching can be done from the target line but only seems to put a 1000 lap race with a single bot on the track (no human) not sure how useful that is or if there's a way to launch a track with your default race settings. (If JLV could enlighten us? :P ) Might be useful for track builders but annoying that you can only spectate and not ride. It's simply "--track trackname" to launch into the 1000 lap race though.

As for saving configurations, being a programming noob myself (albeit C++ rather than C#) I actually found that reading and writing files was surprisingly easy. If you just have a basic .txt file which saves settings...however I get that this may ruin the simplicity and neatness of the app.

Anyway, nice work again and good luck with future updates :)
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

cpt_Slow wrote:The track launching can be done from the target line but only seems to put a 1000 lap race with a single bot on the track (no human) not sure how useful that is or if there's a way to launch a track with your default race settings. (If JLV could enlighten us? :P ) Might be useful for track builders but annoying that you can only spectate and not ride. It's simply "--track trackname" to launch into the 1000 lap race though.

As for saving configurations, being a programming noob myself (albeit C++ rather than C#) I actually found that reading and writing files was surprisingly easy. If you just have a basic .txt file which saves settings...however I get that this may ruin the simplicity and neatness of the app.

Anyway, nice work again and good luck with future updates :)
You should have not told me I/O is surprisingly easy haha, now that will be my next goal, thanks for the feedback again. Im having a blast learning everything. I had no idea how rewarding app building could be. Hopefully JLV will grace us with more "target-line" functionality. Id love to do a full blow Interface launcher app :)
my sig was infested...
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

I failed to mention (but you may always assume this) All thanks goes to JLV for creating a game worth putting so much effort into it. Form tracks, objects, rider and bike skins, and apps.

Thank you JLV.

-poidog808
my sig was infested...
KTM57
Posts: 13863
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: MXS Easy Launcher

Post by KTM57 »

If you could also set it up where we could choose to start MXS in High Priority mode as well, it would be nice!
This is a block of text that can be added to posts you make. There is a 255 character limit.
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

KTM57 wrote:If you could also set it up where we could choose to start MXS in High Priority mode as well, it would be nice!
Care to give some details? and I will try.
my sig was infested...
KTM57
Posts: 13863
Joined: Wed Jul 07, 2010 2:42 am
Location: TX
Contact:

Re: MXS Easy Launcher

Post by KTM57 »

Well, if you go to the Task Manager and Processes, you can set mx.exe to High Priority. High Priority mode will just put MXS above other processes on the totem pole, so MXS processing gets done before MSN, your internet browser, Ventrilo or Xfire, etc. You can create a .bat file that will start up MXS in High Priority mode, which I have uploaded to share with you guys (you should really thank yzmxer608 for telling me about it), so I figure you can probably do it too. :P

The .bat file is simply this, can't remember where I found out the scripting but you can basically just paste in your target line for MXS if it's not the same as mine.

@echo off
cd /d C:\Program Files (x86)\MX Simulator
start /high mx.exe

Download .bat file

Create a shortcut to the desktop, choose the icon to be the same as mx.exe and use that as your new shortcut if you want it in High Priority!

Maybe you can implement this into your launcher? Would be nice to only have one shortcut instead of 4!
This is a block of text that can be added to posts you make. There is a 255 character limit.
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

KTM57 wrote:Well, if you go to the Task Manager and Processes, you can set mx.exe to High Priority. High Priority mode will just put MXS above other processes on the totem pole, so MXS processing gets done before MSN, your internet browser, Ventrilo or Xfire, etc. You can create a .bat file that will start up MXS in High Priority mode, which I have uploaded to share with you guys (you should really thank yzmxer608 for telling me about it), so I figure you can probably do it too. :P

The .bat file is simply this, can't remember where I found out the scripting but you can basically just paste in your target line for MXS if it's not the same as mine.

@echo off
cd /d C:\Program Files (x86)\MX Simulator
start /high mx.exe

Download .bat file

Create a shortcut to the desktop, choose the icon to be the same as mx.exe and use that as your new shortcut if you want it in High Priority!

Maybe you can implement this into your launcher? Would be nice to only have one shortcut instead of 4!
This seems possible, I will definitively have it on my to do list. Im learning how to "read/write" so that you can save your settings. Once I have that under my belt I will try to implement this function as well. Thanks for the info and feedback :)
my sig was infested...
poidog808
Posts: 315
Joined: Wed Sep 14, 2011 3:54 am
Team: Pro Squids

Re: MXS Easy Launcher

Post by poidog808 »

poidog808 wrote:
cpt_Slow wrote:The track launching can be done from the target line but only seems to put a 1000 lap race with a single bot on the track (no human) not sure how useful that is or if there's a way to launch a track with your default race settings. (If JLV could enlighten us? :P ) Might be useful for track builders but annoying that you can only spectate and not ride. It's simply "--track trackname" to launch into the 1000 lap race though.

As for saving configurations, being a programming noob myself (albeit C++ rather than C#) I actually found that reading and writing files was surprisingly easy. If you just have a basic .txt file which saves settings...however I get that this may ruin the simplicity and neatness of the app.

Anyway, nice work again and good luck with future updates :)
You should have not told me I/O is surprisingly easy haha, now that will be my next goal, thanks for the feedback again. Im having a blast learning everything. I had no idea how rewarding app building could be. Hopefully JLV will grace us with more "target-line" functionality. Id love to do a full blow Interface launcher app :)
Well thanks to the inspiration from cpt Slow, the new version will allow you to save your directory path! I will be posting update soon:)
my sig was infested...
Post Reply