![g2a games csv file format g2a games csv file format](https://cdn-images-1.listennotes.com/podcasts/aus-plays-sv_cheats-1-chris-alex-jaiden-josh-icZMKuoW4Nk--fPAm3c0g_4.1400x1400.jpg)
![g2a games csv file format g2a games csv file format](https://static.sitejabber.com/img/urls/1017523/picture_315789.1619112145.jpg)
There is no French equivalent for STR_GOOD. Note some interesting and highly flexible aspects of the above syntax. You can have as many or as few as you like.īelow this line the CSV file contains one line for each string definition starting with the string name, and followed by the translations for the different languages: With this line you define the order in which the language columns are arranged. The very first line of any csv must contain a statement like this: Therefore it is recommended to use English there. However, when game language doesn't match any of the languages listed in stringtable, the first column is selected by default.
![g2a games csv file format g2a games csv file format](https://ichef.bbci.co.uk/news/976/cpsprodpb/503B/production/_107793502_4e2e7c7c-4f83-4198-90e2-6da4e7dfebba.jpg)
whether English comes first, or French, or Czech, is irrelevant). English has one column, French has another.) The order of the columns doesn't matter. The basic idea is that every language is assigned one column. The characters STR tell the engine to look in 'stringtable.csv' as opposed to somewhere else. In point of fact, the naming convention inside a csv is such that the first three letters of any variable (more later) must begin with STR, and referenced in mission.sqm, description,ext or anywhere else as $STRsomething. You will get a 'blank' if a specific language (e.g 'german') is not endlessly repeated as well.ĬSV files are used in Operation Flashpoint exclusively as a string lookup tables.Īlthough the engine uses other files with the extension CSV, the file for missions, addons, and campaigns is 'stringtable.csv' and must be located in the primary folder of the mission, the addon, or, the campaign. It is no longer possible to simply stateĪnd have all languages accept it. For whatever reason, Bohemia Interactive have destroyed the default language. Arma 2 and Arma 3 both accept CSV but use Stringtable.xml in preference.Armed Assault accepts ANSI, Unicode and UTF-8 encoding (Unicode will be converted to UTF-8 on load).You need to convert back to ANSI (e.g remove the 3 byte UTF "BOM" (byte order mark) tag at beginning of file when converting back the the real game). Operation Flashpoint cannot accept UTF encoding.Operation Flashpoint uses ANSI encoding, the codepage is defined by the font used.' DO NOT use a word processor (like MS-Word, or Write) to edit this file though, as it will corrupt it, unless you are very knowledgeable and careful. One could theoretically use a spreadsheet program (like Excel) to edit the file, but that would be serious overkill. The file stringtable.csv is an ASCII text file, and can be edited with any text editor. This variable will then contain the actual string, read from stringtable.csv, with the language that's being read depending on the game settings.
#G2a games csv file format code
Instead of using message strings directly in the code you are using a variable. They are used in addons, missions, and scripts.Īny strings that are used in the game can be kept separate from the code, and can therefore easily be edited and expanded into different languages. Stringtables are used to make internationalization easier for the game. 9 Different sounds under different languages.