diff --git a/decode.c b/decode.c index 7f0d51d..7f1ced2 100644 --- a/decode.c +++ b/decode.c @@ -37,5 +37,5 @@ int main(int argc,char *argv[]) { putchar(10); putchar(0); } - printf("%d strings\n",nstrings); + fprintf(stderr,"%d strings\n",nstrings); } diff --git a/recode.c b/recode.c index 677c303..097e3cc 100644 --- a/recode.c +++ b/recode.c @@ -12,6 +12,18 @@ void readstring(FILE *f, char *p) { while((c=fgetc(f))!=10 && !feof(f)); } +unsigned short crc16(const unsigned char *data, int len) { + unsigned short crc = 0xFFFF; + int i; + if (len) do { + crc ^= *data++; + for (i=0; i<8; i++) { + if (crc & 1) crc = (crc >> 1) ^ 0x8408; + else crc >>= 1; + } + } while (--len); + return(~crc); +} int main(int argc,char *argv[]) { char data[200000]; @@ -87,6 +99,7 @@ int main(int argc,char *argv[]) { id[8]=off; strcpy(data+off,"RG_VOICE_DATA"); off+=strlen("RG_VOICE_DATA"); + data[off++]=0xf1; // this looks like a checksum at the end of the file but data[off++]=0x8d; // it doesn't seem to matter if it's wrong id[6]=off; diff --git a/translated.txt b/translated.txt index 28541d8..c8a2ee0 100644 --- a/translated.txt +++ b/translated.txt @@ -60,7 +60,7 @@ "Option" "Configuration" "Vehicle" -"Camera Settings" +"Camera" "Initialization" "Position" "Fix" @@ -354,7 +354,7 @@ "Search start" "Advanced Routing" "Delete" -"Sort / manual" +"Sort/manual" "boarding IC specified" "Entrance IC" "Exit IC specified" @@ -444,14 +444,14 @@ "Hide" "display" "Bluetooth Settings" -"Connection destination change / delete" +"Connection destination change/delete" "Registration" "Passkey" "Radio wave" "ON" "OFF" -"Connection destination change / delete" -"Hands-free / BT AUDIO" +"Connection destination change/delete" +"Hands-free/BT AUDIO" "BT AUDIO" "hands free" "/" @@ -505,13 +505,13 @@ "The new route" "Destination" "Land" -"20km / h" -"30km / h" -"40km / h" -"50km / h" -"60km / h" -"80km / h" -"100km / h" +"20km/h" +"30km/h" +"40km/h" +"50km/h" +"60km/h" +"80km/h" +"100km/h" "Intersection guidance display" "Estimated arrival time speed (general road)" "Expected time of arrival rate (toll road)" @@ -589,9 +589,9 @@ "3 number" "RV" "Minivan · 1BOX" -"Parking restriction (vehicle size) / length (L)" -"Parking restriction (vehicle size) / width (W)" -"Parking restriction (vehicle size) / height (H)" +"Parking restriction (vehicle size)/length (L)" +"Parking restriction (vehicle size)/width (W)" +"Parking restriction (vehicle size)/height (H)" "%c%c%c cm" "Setting initialization" "Logo display setting" @@ -603,7 +603,7 @@ "Smart loop setting" "Option setting" "Vehicle info setting" -"Camera Settings" +"Camera" "Start the Easy Setup" "Later to set up" "Forward" @@ -619,7 +619,7 @@ "E Start screen to display the" "TV to" "VICS graphic info screen to display the" -"MUTE the ON / to OFF" +"MUTE the ON/to OFF" "Volume setting screen to display the" "Return to home" "Changing the source" @@ -787,7 +787,7 @@ "Function 2" "Function 3" "Function 4" -"Auto / Manual" +"Auto/Manual" "No Title" "No Name" "PAUSE" @@ -906,7 +906,7 @@ "View" "Subtitle change" "Voice switching" -"L / R switching" +"L/R switching" "angle" "return" "10 key search" @@ -943,7 +943,7 @@ "Delete" "OFF" "AV menu" -"Audio Settings" +"Audio Setup" "Fader/balance setting" "Fader 0" "Front %d" @@ -969,7 +969,7 @@ "DYNAMIC THEATER" "ACTOR'S STAGE" "RELAX LIVING" -"System setting" +"System Setup" "Wide Mode setting" "FULL" "JUST" @@ -1153,7 +1153,7 @@ "Main channel" "All channels" "Reception performance priority" -"Program guide acquisition / search priority" +"Program guide acquisition/search priority" "Auto (%s)" "Manual (%s)" "TV function setting" @@ -1347,7 +1347,7 @@ "PAUSE" "STOP" "10 key search" -"► / ∥" +"►/∥" "■" "repeat" "random" @@ -1356,7 +1356,7 @@ "View" "Back" "Exit" -"► / ∥" +"►/∥" "repeat" "random" "list" @@ -1410,8 +1410,8 @@ "Mobile phone app log (Simple)" "Mobile phone app log (Detail)" "Mobile phone handler log (none)" -"Log Batch (app / error / capture / sensor / probe / VICS / Version / Ast)" -"Log batch erase (app / capture / sensor / probe / VICS)" +"Log Batch (app/error/capture/sensor/probe/VICS/Version/Ast)" +"Log batch erase (app/capture/sensor/probe/VICS)" "File Management" "LOG setting" "Sensor - log (OFF)" @@ -1762,12 +1762,12 @@ LonLat:" "Yes" "No" "Abort" -"Camera Settings" +"Camera" "Front-side view monitor" "Side blind monitor" "Back camera" "Back-up camera polarity" -"Connected camera settings" +"Connected camera" "Back camera" "Front camera-side camera + back camera" "ON" @@ -1894,7 +1894,7 @@ LonLat:" "conversion" "Non-conversion" "OK" -"Whole / half-width" +"Whole/half-width" "next page" "Previous page" "Hiragana" @@ -2418,11 +2418,11 @@ OK?" "Please check the connection of communication equipment to get in communication" "Communication equipment is in use" "Please operate after performing a communication connection setting" -"It is in check the disk" -"It is a disk that can not be played" -"I can not be operated while driving" -"Please enjoy only in the voice is running" -"The preset mode was switched to the user preset" +"Checking disk" +"Disk can not be played" +"Not allowed while driving" +"Audio only is allowed while driving" +"Preset mode switched to user preset" "You can not search" "High temperature or for low temperature, can not be played. Please remove the disk" @@ -2492,12 +2492,12 @@ Please check the ETC on-board device" "Congestion check is not possible" "Congestion check is not possible" "No more it does not send the facility" -"SA / PA could not be found" +"SA/PA could not be found" "ETC is available" "No more..." "No more it does not send the facility" "Congestion check is not possible" -"SA / PA could not be found" +"SA/PA could not be found" "No more..." "Congestion check is not possible" "Congestion check is not possible" @@ -2714,7 +2714,7 @@ This phone does not support hands-free phone call" "FM volume of EXT1, EXT2" "FM iPod volume" "FM volume of the VTR" -"Source DVD / CD / ROM / DivX +"Source DVD/CD/ROM/DivX You can not set the time other than" "CD and FM as a reference, ROM, you can adjust the volume of DivX" "Please enter a personal identification number" @@ -3442,7 +3442,7 @@ Please wait a moment" "9600" "38400" "%s [%s]" -"%d / 16" +"%d/16" "ACC" "PPCM" "SDDS" @@ -3729,7 +3729,7 @@ Phone call from %s?" "Meal" "welcome home" "Destination" -"info / Settings" +"info/Settings" "communication" "Destination" "Registered location" @@ -3758,7 +3758,7 @@ Phone call from %s?" "An error has occurred on the server" "Please register from WEB" "Please register from WEB" -"SD / USB video output setting" +"SD/USB video output setting" "full" "Aspect ratio fixed" "all" @@ -3852,7 +3852,7 @@ Sorry" Do you want to register?" "Please select a point to overwrite" "Source DVD -When a non-iPod video / VTR / AUX can not be set" +When a non-iPod video/VTR/AUX can not be set" "New SD card inserted. Add this SD card for PC link?" "Inserted SD card is not registered in the machine. @@ -3900,7 +3900,7 @@ Device Number:%s" Data will be reflected in the next startup" "You start to read the registration site data" "Start the update. -SD / USB source is turned OFF" +SD/USB source is turned OFF" "Failed to upgrade. Please download again the data" "An error has aborted the update. @@ -4276,7 +4276,7 @@ connection fees will occur.OK?" "Rear view camera" "Rear view camera image quality adjustment" "Source DVD / -When a non-iPod video / AUX can not be set" +When a non-iPod video/AUX can not be set" "Save Route To SDCard (ON)" "Save Route To SDCard (OFF)" "Load Route From SDCard" @@ -4286,7 +4286,7 @@ When a non-iPod video / AUX can not be set" "Eco Score" "Ekogeji" "Eco-prize" -"Eco Display setting ON / OFF" +"Eco Display setting ON/OFF" "Current" "The average Ekogeji history" "Eco-score history" diff --git a/updated/b1853.bmp b/updated/b1853.bmp index 91ab312..f0e387f 100644 Binary files a/updated/b1853.bmp and b/updated/b1853.bmp differ diff --git a/updated/b223.bmp b/updated/b223.bmp index df8571f..7662bac 100644 Binary files a/updated/b223.bmp and b/updated/b223.bmp differ diff --git a/updatemrz99.zip b/updatemrz99.zip index a61ced4..d29eceb 100644 Binary files a/updatemrz99.zip and b/updatemrz99.zip differ