Page 2 of 2

Re: NXT run program on launch

Posted: 14 Oct 2011, 01:16
by mattallen37
~ savecoder - You are partly right. Sure it is .rso, but that doesn't matter. Also, where did you hear about this "! Autorun" thing? I have never heard about that before.

~ shadowwatch - I'm 100% certain that if you name it "! Startup" (don't worry about the extension, but it needs to be a capital "S"), that it will work fine. I have done it a zillion times.

Re: NXT run program on launch

Posted: 14 Oct 2011, 01:31
by savedcoder
mattallen37 wrote:I'm 100% certain that if you name it "! Startup" (don't worry about the extension, but it needs to be a capital "S"), that it will work fine. I have done it a zillion times.
:shock: What firmware do you use? It doesn't work for me. (custom firmware build almost identical to stock 1.29.)
mattallen37 wrote:Also, where did you hear about this "! Autorun" thing? I have never heard about that before.
I don't remember exactly. I think I read about it somewhere...

Re: NXT run program on launch

Posted: 14 Oct 2011, 01:34
by mattallen37
I have done it on many of the EFWs, and most recently, on the latest version of EFW.

If you are using a custom FW, is it that stripped one that was discussed a while ago on these forums? I didn't remember that it was actually made, but if so, I wouldn't be surprised if that code was stripped from it.

Edit: What's more, there was an obvious error in the picture that the TO posted. He had the program named "! startup", and it needs to be "! Startup".

Re: NXT run program on launch

Posted: 14 Oct 2011, 10:17
by shadowwatch
thx for the help guy's it works
I indeed needed the other firmware installed it and it works great now :D

Re: NXT run program on launch

Posted: 14 Oct 2011, 14:13
by savedcoder
~Matt: We were both right and both wrong, I guess. I tested with the EFW and stock firmware , and "! Autorun.rxe" doesn't work. :oops: However, you have to use "! Startup.rxe". Anything else fails. And yes, the EFW is definitely required.
mattallen37 wrote:If you are using a custom FW, is it that stripped one that was discussed a while ago on these forums? I didn't remember that it was actually made, but if so, I wouldn't be surprised if that code was stripped from it.
Nope. It's a build I made myself. It's identical to the stock FW, except that I removed the TryMe menu.

Re: NXT run program on launch

Posted: 14 Oct 2011, 14:17
by shadowwatch
one thing in the program is it "! Startup.rbt"
when you replace .rbt for .rxe it won't work (didn't worked for me)

Re: NXT run program on launch

Posted: 14 Oct 2011, 14:19
by mattallen37
Oh, okay. I didn't realize that it needed to be EFW.

.rbt means it is an NXT-G file on the computer. .rxe is the executable that gets downloaded to the NXT.