Language stuff - General Discussion and Assistance - CHDK Forum

Language stuff

  • 27 Replies
  • 8734 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Language stuff
« on: 02 / December / 2008, 11:23:25 »
Advertisements
in #613 i added PlasmaHH's propcase comparer. using this nifty tool i found and updated quite a bunch of propcases on my s3is (gonna verifiy with a620 some day) - see PropertyCase - CHDK Wiki
now i need the corresponding propcases for dryos, i'm especially interested in the language setting.
if these match to the ones in vxworks i can cook up a system that automatically sets codepage & *.lng file upon cfg inialization (see 0000094: Subdivisions for rbf font directory - CHDK Bugtracker & bug #77)
« Last Edit: 11 / December / 2008, 17:27:45 by PhyrePhoX »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: changelog of trunk including comments / devtalk
« Reply #1 on: 02 / December / 2008, 16:23:39 »
now i am searching for params. it's very tedious though without a "param compare" function. tried to write one in C, but i failed.
so i modified reyalps new example script: www private pastebin - collaborative debugging tool
it creates a new param dump everytime you call the script. with these dumps you then can compare them on the PC. this is very tedious.
so we need a param compare function that operates in a similar fashion as the propcase compare. reyalp, i guess this should be easy for you... :)
i already created a wiki page: Params - CHDK Wiki

edit: for the script to work a LOGS dir has to exist in root.
« Last Edit: 02 / December / 2008, 16:26:56 by PhyrePhoX »

*

Offline msl

  • *****
  • 1277
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: changelog of trunk including comments / devtalk
« Reply #2 on: 02 / December / 2008, 16:24:36 »
i'm especially interested in the language setting.

Is done :) But the values are not equal.
CHDK-DE:  CHDK-DE links

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: changelog of trunk including comments / devtalk
« Reply #3 on: 02 / December / 2008, 16:30:09 »
hm, true, they are way different. BUT (and we need more people/cameras to verify) if they are the same on each propset, we can integrate these in a useful way. gonna check a620 now

edit: a620 & s3is language values are the same.
« Last Edit: 02 / December / 2008, 16:32:45 by PhyrePhoX »


*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: changelog of trunk including comments / devtalk
« Reply #4 on: 02 / December / 2008, 16:55:14 »
a570is 1.00e (Digic III wxworks)

property 61

2       English
257     Deutsch (German)
513     Francais (French)
769     Nederlands (Dutch)
1025    Dansk (Danish)
1281    Suomi (Finnish)
1537    Italiano (Italian)
1793    Norsk (Norweigian)
2049    "YKpaIHCbKa" (?)
2305    Svenska (Swedish)
2561    Espanol (Spanish)
2817    (symbolic 1) (?)
3073    "PyccKNN" (?)
3329    Portugues (Portugese)
3585    (Greek)
3841    Polski (Polish)
4097    Cestina (Czech)
4353    Magyar (Hungarian)
4609    Turkce (Turkish)
4865    (symbolic 2)
5121    (symbolic 3)
5377    (symbolic 4)
5633    (symbolic 5)
5889    Romana (Romanian)
6145    (symbolic 6)

(typos are possible as are errors in interpreting languages/nationalities, accents & other weirdness omitted due to lazyness. Listed in top-->bottom starting from the first column of choices in the language dialog)

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: changelog of trunk including comments / devtalk
« Reply #5 on: 02 / December / 2008, 17:08:42 »
2049 Ukrainian
3073 Russian

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: changelog of trunk including comments / devtalk
« Reply #6 on: 02 / December / 2008, 17:09:07 »
english seems to differ in msls and your camera... or one of you made a mistake (@msl & fudgey)?
anyhow,the rest seems to be the same. so we can use this propcase to do language depending stuff. nice.

*

Offline msl

  • *****
  • 1277
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: changelog of trunk including comments / devtalk
« Reply #7 on: 02 / December / 2008, 17:23:39 »
Definitive 1 for English, perhaps a different value for dryos and vxworks.

When you convert the values to hex, you can see a pattern.

CHDK-DE:  CHDK-DE links


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: changelog of trunk including comments / devtalk
« Reply #8 on: 02 / December / 2008, 17:48:49 »
well, fudgey reported 2 for english on his dryos cam. waiting for feedback by him.
what pattern do you see?

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: changelog of trunk including comments / devtalk
« Reply #9 on: 02 / December / 2008, 17:52:36 »
I must have typoed that one, it's 1 now that I've rechecked and PAL/NTSC has the same effect (NTSC=value in PAL - 1) so everything's the same.

 

Related Topics