Thứ Năm, 12 tháng 1, 2017

Nexus Owners: Opening/Closing Ceremonies can be customized! part 1

WR^2X 06-05-2006 03:00 PM

Nexus Owners: Opening/Closing Ceremonies can be customized!
Well, we've known they could be customized for some time, but haven't known [i]how[/i] to customize them. I was under the impression that an updated version of the N1.0 software would do this for us, but AutoMeter might just be dragging their feet on that. Anyway, I asked them again if the software was coming out any time soon, and they sent me instructions with how to change the ceremonies myself.

As I originally suspected, it's just modification of plaintext files stored on an SD card. Below is the important excerpt from the directions they sent me, along with a copy of the default opening ceremony. I'll be changing my opening/closing ceremonies to match the STi very soon.

[b]Directions[/b]
[code]File Usage
If there is more than one file of the same valid file extension on the SD Card,
the most recent created date and time will loaded into internal memory.

Filenames may be of any length, but will be truncated within the C4 remote
to 8 characters. Filenames with the same first 6 characters will be
truncated to the 6 characters and a tilde (~) followed by an index number.

File Type Extensions
Opening Ceremony File: .ocf
Closing Ceremony File: .ccf
Demo Mode File: .dmf

FILE COMMAND TYPE ID
Parameter ID Data Bytes Valid Data Description ID
Type in data Range Defines
field
PP UWORD 2 0-1040 Pointer position 0x00
PS UBYTE 1 0-36 Pointer speed 0x01
DC UBYTE 3 0-63, 0-63, Dial Color. Red,
0-63 Green, Blue dial color 0x02
RI UBYTE 1 0,1 (off, on) Record Indicator. 0x03
PI UBYTE 1 0,1 (off, on) Peak Indicator. 0x04
WI UBYTE 1 0,1 (off, on) Warn Set Indicator. 0x05
TD UBYTE 1 0 - 255 Time delay.
In 10th of second 0x06
LP NONE 0 NONE Loop command to loop
Demo Mode. 0x07
CM NONE 0 NONE Color Morph turns on
morphing in ceremony. 0x08

UBYTE Unsigned 8-bit value
UWORD Unsigned 16-bit value
[/code]

[b]Default opening ceremony[/b]
[code]
dc 0, 0, 0
ps 10
pp 805
dc 63, 0, 0
dc 62, 0, 1
dc 61, 0, 2
dc 60, 0, 3
dc 59, 0, 4
dc 58, 0, 5
dc 57, 0, 6
dc 56, 0, 7
dc 55, 0, 8
dc 54, 0, 9
td 1
dc 53, 0, 10
dc 52, 0, 11
dc 51, 0, 12
dc 50, 0, 13
dc 49, 0, 14
dc 48, 0, 15
dc 47, 0, 16
dc 46, 0, 17
dc 45, 0, 18
dc 44, 0, 19
td 1
dc 43, 0, 20
dc 42, 0, 21
dc 41, 0, 22
dc 40, 0, 23
dc 39, 0, 24
dc 38, 0, 25
dc 37, 0, 26
dc 36, 0, 27
dc 35, 0, 28
dc 34, 0, 29
td 1
dc 33, 0, 30
dc 32, 0, 31
dc 31, 0, 32
dc 30, 0, 33
dc 29, 0, 34
dc 28, 0, 35
dc 27, 0, 36
dc 26, 0, 37
dc 25, 0, 38
dc 24, 0, 39
td 1
dc 23, 0, 40
dc 22, 0, 41
dc 21, 0, 42
dc 20, 0, 43
dc 19, 0, 44
dc 18, 0, 45
dc 17, 0, 46
dc 16, 0, 47
dc 15, 0, 48
dc 14, 0, 49
td 1
dc 13, 0, 50
dc 12, 0, 51
dc 11, 0, 52
dc 10, 0, 53
dc 9, 0, 54
dc 8, 0, 55
dc 7, 0, 56
dc 6, 0, 57
dc 5, 0, 58
dc 4, 0, 59
td 1
dc 3, 0, 60
dc 2, 0, 61
dc 1, 0, 62
dc 0, 0, 63
wi 1
td 1
pi 1
wi 0
td 1
ri 1
pi 0
td 1
pi 1
ri 0
td 1
wi 1
pi 0
td 1
wi 0
pp 0
dc 1, 1, 63
dc 2, 2, 63
dc 3, 3, 63
dc 4, 4, 63
dc 5, 5, 63
dc 6, 6, 63
dc 7, 7, 63
dc 8, 8, 63
dc 9, 9, 63
dc 10, 10, 63
dc 11, 11, 63
dc 12, 12, 63
dc 13, 13, 63
dc 14, 14, 63
dc 15, 15, 63
dc 16, 16, 63
dc 17, 17, 63
dc 18, 18, 63
dc 19, 19, 63
td 1
dc 20, 20, 63
dc 21, 21, 63
dc 22, 22, 63
dc 23, 23, 63
dc 24, 24, 63
dc 25, 25, 63
dc 26, 26, 63
dc 27, 27, 63
dc 28, 28, 63
dc 29, 29, 63
dc 30, 30, 63
dc 31, 31, 63
dc 32, 32, 63
dc 33, 33, 63
dc 34, 34, 63
dc 35, 35, 63
dc 36, 36, 63
dc 37, 37, 63
dc 38, 38, 63
dc 39, 39, 63
td 1
dc 40, 40, 63
dc 41, 41, 63
dc 42, 42, 63
dc 43, 43, 63
dc 44, 44, 63
dc 45, 45, 63
dc 46, 46, 63
dc 47, 47, 63
dc 48, 48, 63
dc 49, 49, 63
dc 50, 50, 63
dc 51, 51, 63
dc 52, 52, 63
dc 53, 53, 63
dc 54, 54, 63
dc 55, 55, 63
dc 56, 56, 63
dc 57, 57, 63
dc 58, 58, 63
dc 59, 59, 63
dc 60, 60, 63
dc 61, 61, 63
dc 62, 62, 63
dc 63, 63, 63
td 10
[/code]
kevinh211 06-08-2006 03:30 PM

thanks for the info, looks very confusing. ill try it out i've been waiting to change the start up sequence
WR^2X 06-10-2006 11:45 AM

So I just changed the startup and shutdown sequences to match the STi's this morning. It was initially somewhat confusing. Commands that run after position commands do not wait for the positioning commands to complete, so you have to put time delay commands after the positioning commands in order to allow them to complete. (I initially told the pointer to move to position 1040 - the end - but it was only getting to ~150, and I was like :huh: ) Also, the pointer range (0-1040) goes way outside of the numbers range on the gauge face. This makes sense, but was initially another point of confusion because setting the position command to 1040 moved the pointer almost all the way around the gauge face. I suppose I should have paid more attention to the factory opening code and what the gauge did when running it. :o

Anyway, here are the sequences I came up with. There is no way to get rid of the calibration at startup, so the gauges are still ~1 second behind the factory gauges. No big deal.

The opening sequence turns the gauge to full red then moves it to the end of the numbers on the face. At this point, it begins to flash the red "warn" indicator while the needle moves back to the lowest position on the gauge face. Flashing stops when the needle reaches position 0, and then the gauge startup sequence is over.

The closing sequence sets the pointer speed to maximum, blacks out the face of the gauge, and moves it to position 0.

Sooo much better than all of that color changing crap! :lol:

[b]STi-match opening sequence code[/b]:
[code]dc 63, 0, 0
ps 24
pp 805
td 12
pp 0
wi 1
td 1
wi 0
td 1
wi 1
td 1
wi 0
td 1
wi 1
td 1
wi 0
td 1
wi 1
td 1
wi 0[/code]
[b]STi-match closing sequence code[/b]:
[code]ps 36
dc 0, 0, 0
pp 0
td 6[/code]
Also I should note the procedure for updating the sequences. Put the files on your SD card (opening has to end with .ocf, closing has to end with .ccf, but they can be named whatever you want.) Then hold down the "Demo" button on the remote and turn the key to the "on" position. You should see a green light flash on the remote. It's pretty quick. If it flashes, the sequences have been updated. If not, I can't help you since I never had that problem. I didn't bother changing the demo sequence.
G3Red04WRX 06-10-2006 12:15 PM

TTIWWOV

Wanna see the new opening sequence, Please host even a crappy video of it please?

But big props to you for figuring out how to change them.
WR^2X 06-10-2006 12:21 PM

Let me see what I can do with the video... I've never been good at photographing these gauges because of the red.
WR^2X 06-10-2006 12:34 PM

Alright, got a video.

[url]http://www.rayrarey.com/STi/nexus.avi[/url]

3.3MB, 12 seconds. Doesn't look the greatest, but it shows the startup and shutdown. I'm sure this camera can do better, but it needs a new operator.
IronMonkeyL255 06-10-2006 02:07 PM

That's slick.

The delay isn't that bad. It look like the red spreads from the main dash to the gauges.
kevinh211 06-10-2006 03:16 PM

WR^2X, how did you write the file to the memory card?
am i able to just send the file on to the card through my digatal camera? then take the card out and put it into the nexus remote?
WR^2X 06-10-2006 03:20 PM

I have a computer with an SD card reader/writer built-in. If your camera can connect to your computer and you can drag and drop pictures from it onto your computer without any special programs, then you can write the new ceremony files to your computer, drag them to your camera's card, and upload them through the remote.
kevinh211 06-10-2006 03:28 PM

yeah i tryed to paste the file, and drag and drop. it doesnt work. i guess ill buy a reader/writer they're only like 20 bucks.
kevinh211 06-10-2006 09:53 PM

ok i tried it and cant get it to work
i have a file named open.ocf and close.ccf on a SD memory card. i used the same code WR^2X posted above.
i plug the SD card into the nexus remote
hold down the demo button
turn the power on
i do see a little light blink very quick once on the remote as soon as its powered, but nothing has been changed.
is that the right way?
WR^2X 06-10-2006 11:06 PM

Are you continuing to hold down the demo button while you turn the power on?
kevinh211 06-11-2006 12:52 AM

yeah
should i be seeing one green light or should it be blinking?
WR^2X 06-11-2006 01:18 AM

One quick green light.
sgtpeper 06-22-2006 12:05 PM

Fantastic info! Im gonna try it on my way out to my car in a lil bit :)

Jeff
sgtpeper 06-24-2006 02:29 AM

Hrmph I tried this as well and now my gauges seem to be working imporperly....

I will be calling autometer on monday to get to the bottom of this!!
humara 06-24-2006 02:40 AM

ok. i'm behind the times. those nexus gauges are cool and all. but hot dang, the sti cluster isn't worth the price difference between the wrx and the sti all by itself!!
sgtpeper 06-24-2006 02:52 AM

I have an STi.... Didnt need to buy a new cluster..
03twrx 06-24-2006 10:08 AM

So wait..... I don't understand. You can control the sweep of Nexus gauges? This thread rattles my noggen.
WR^2X 06-24-2006 10:33 AM

Yes you can. That was one of the original selling points of them (for me at least). It just took this long for Autometer to let us know [i]how[/i] to control it. You can control color, needle speed, needle position, and lights of the gauges. The syntax is actually pretty simple. What I'd really like to see though is the ability to change the color of the numbers, needle, and illumination ring indepent of one another. I think this should be possible, because certain preset illumination styles have these differing. If that were possible, you could make these gauges match the STi's perfectly.
humara 06-26-2006 03:20 AM

[QUOTE=humara]ok. i'm behind the times. those nexus gauges are cool and all. but hot dang, the sti cluster isn't worth the price difference between the wrx and the sti all by itself!![/QUOTE]
gah, my post sucked.
i meant the sti cluster is cool enough to make the sti worth it over the wrx. i know you have an sti. i wish i did.
short:nice gauge setup and nice car.
:alien:
sgtpeper 06-26-2006 03:04 PM

Haha thanks :)
David Medina 06-26-2006 03:25 PM

i think it looks cool with the STI cluster going first then the follow up with the nexus gauges.
sgtpeper 06-26-2006 03:37 PM

Woohoo!!!

I figured out the problem!!!

You MUST write the code in note pad. Do NOT use word or anything else :)

So much happier now :)

Jeff
WR^2X 06-26-2006 09:21 PM

[QUOTE=sgtpeper]Woohoo!!!

I figured out the problem!!!

You MUST write the code in note pad. Do NOT use word or anything else :)

So much happier now :)

Jeff[/QUOTE]Yeah... Word will save formatting characters. The files need to be plaintext. Glad you got it working! :disco:
sgtpeper 06-26-2006 10:08 PM

sooo my question is: how did you figure out which color does what?

Is it all explained in the real manual on this?

Thanks
Jeff
WR^2X 06-26-2006 10:35 PM

It's pretty easy from the directions that Autometer sent me:
[code]DC UBYTE 3 0-63, 0-63, Dial Color. Red,
0-63 Green, Blue dial color[/code]First number is red, second is green, third is blue. Mix and match varying numbers to create whatever color you want. 262,144 combinations! Although I just stuck with 63,0,0 (full red, no green, no blue) because that's what the stock cluster is. :p
sgtpeper 06-26-2006 10:58 PM

Yep figured it out after some playing around. I am trying to have mine flash blue at their highest point since thats what color they turn when they hit peak spot.

Why do you have yours show the warn light when turning on? When does that light really ever come on?

Just having fun :)
sgtpeper 06-27-2006 12:30 AM

Took awhile of playing around but now mine start up and turn off similarly.

Gauge turns red up to highest point, then pauses, turns blue, and begins to come down in blue, but then changes to red a few tenths of a second later.. A very long code... as I used the dimming thingys.

Now I may end up changing it again so it goes to the highest point, flashes blue black blue black a few times, then turns red and comes back to 0.

We shall see.

Its actually kind of fun to play with :)

Jeff
Handsdown 06-27-2006 01:17 AM

that's so awesome... i'll definitely want this if/when i get gauges.
WR^2X 06-27-2006 05:35 AM

[QUOTE=sgtpeper]Yep figured it out after some playing around. I am trying to have mine flash blue at their highest point since thats what color they turn when they hit peak spot.

Why do you have yours show the warn light when turning on? When does that light really ever come on?

Just having fun :)[/QUOTE]I have it flash the warn light to match the flashing of the shift warning light on the tach in the cluster.
Impreza Rider 07-30-2006 05:01 PM

ok, I can't seem to get this to work. I upload the files to the SD card, using the same code that's posted here. I get the quick green flash, but the sequences aren't updated. Anyone know anything I might possibly be doing wrong?
kevinh211 07-30-2006 05:15 PM

[QUOTE=Impreza Rider]ok, I can't seem to get this to work. I upload the files to the SD card, using the same code that's posted here. I get the quick green flash, but the sequences aren't updated. Anyone know anything I might possibly be doing wrong?[/QUOTE]
i seem to be having the same problem :(
WR^2X 07-30-2006 06:58 PM

You guys have the right extensions on the files?
kevinh211 07-30-2006 11:28 PM

[QUOTE=WR^2X]You guys have the right extensions on the files?[/QUOTE]
is there anyway you can host the txt file or email it to me so i can try again. maybe im making the file wrong.
WR^2X 07-30-2006 11:38 PM

You should be able to just copy and paste what I posted before. Name the opening ceremony opening.ocf, and name the closing ceremony closing.ccf. Create and save them in Notepad in textonly format. Do not use anything else that may introduce formatting characters or other goofy stuff. Make sure that they are actually saving with .ocf and .ccf extensions. A lot of programs will stick their own extensions on the file when you save, and most Windows users hide file extensions anyway. You may be seeing closing.ccf, but the file could actually be named closing.ccf.txt. To avoid this, when saving in Notepad, put double quotes around the filename. (Save as "closing.ccf", not closing.ccf). Stick them on an SD card and follow the directions for uploading them. It's that easy.
Impreza Rider 07-31-2006 05:28 PM

Ahh...my files were named open.ocf.txt, so I fixed that, and will try again. Thanks :)
Impreza Rider 08-01-2006 07:58 AM

Cool...I got it to work. My problem was the file names.

Now...has anyone figured out how to turn the needle pointer on without turning the gauge face on...or maybe just having the gauge really dim and have the needle light up?
WR^2X 08-01-2006 08:20 AM

As far as I know, there isn't a command for that. Whether or not Auto Meter will add it, I don't know. It would seem possible, since the gauge face and needle can have different colors (although that is not end-user programmable either), and colors can be deleted. It's a question of how they wrote the firmware for the gauges.
kevinh211 08-01-2006 04:27 PM

finally got mine to work. i think my computer was naming the file open.ocf.txt so i put open.ocf in quotes and saved then tried again and it works. :banana:
the opening and closing is a lot better then before, thanks WR^2X

Không có nhận xét nào:

Đăng nhận xét