Command & Conquer Generals Modding - Text Editing with CSF and STR Files

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 15

  • @vindirect
    @vindirect 4 года назад +2

    Nice, this is very useful :D don't stop making these tutorials!!!!!!!!!!!!!!

    • @1738Creations
      @1738Creations  4 года назад +2

      Thanks, I'm trying. Work, work, work in the week then trying to put these videos together on the weekends. They take forever!

    • @vindirect
      @vindirect 4 года назад +1

      @@1738Creations yeah i know it's really hard

  • @emersonwanderley556
    @emersonwanderley556 4 года назад +1

    The DTR file found in CNC LABS Forum:
    www.cnclabs.com/forums/cnc_postsm145012_-Public-Sources.aspx#145012

  • @1738Creations
    @1738Creations  4 года назад

    There's a new tool which can convert CSF files directly to STR. It should work, then again I wrote it so who knows. It's just a simple: select input file -> select output file -> convert. The STR files generated with this program should be more accurate than the original STR file from 2002/2003:
    - drive.google.com/file/d/1A8Rvxp69_LkOG334N8fNHTc5UkWWXUjZ
    - Also on moddb
    - ...final backup on my website if desperate
    This was requested by someone who is welcome to tag their name here if they want! The original CSFEditor from 2003/2003 would not work with some non-English CSF files when exporting to XML. Some people just want to work with STR files and that was the only way to convert them. I think the issue was with Russian CSF files? This should work with any language in Generals, Zero Hour or any mods.
    ...also, not knocking anyone, but the original CSFEditor has issues. The one which springs to mind is that it frequently cuts off large bodies of text. I beleive 1 instance of this is due to reading values in the CSF which are meant to indicate how long a string is? Those values are wrong a lot of the time. Also if CSFEditor encoutners a quote it cuts the wrong there, so single player dialogue was wrong. This should* not happen with this conversion.
    The only option in the program is how to interpret line breaks. The game reads vertical lines as line breaks. It also reads escape line breaks (/n). It also, also reads literal line breaks. This is user dependent so I added an option for it.
    Problem; the CSF file seems to have a sort of language marker inside. This is not present in the STR. I couldn't get it to work. This means the STR is always using the English text format, so non-English characters are very likely to not render correctly. This may depend on the language version you have installed or system language? Mine is English and it wouldn't render Russian characters when using the STR file.

    • @1738Creations
      @1738Creations  4 года назад

      ...and if you want to know how easy the CSF file was to read and output, I put a video on bitchute:
      - www.bitchute.com/video/BttiBxmXLkcF/
      It really is easy, any of you can do it. I'm not a programmer.

  • @FunniestVidz3
    @FunniestVidz3 3 года назад +1

    hi bro nice tutorial... How can I make the file in .str format?

    • @1738Creations
      @1738Creations  3 года назад

      There are lots of places to download the str file. They're all slightly different. All the ones I've found are English. I wrote a tool to convert the csf to an str in any language. It's on MODDB and no one complains about it:
      - www.moddb.com/games/cc-generals/downloads/csf-to-str-093
      The tool might even work with Battle for Middle Earth? Same engine.
      Or if you want a direct link to an str (not sure how accurate it is):
      - 1738creations.co.uk/projects/ccg/utils/generalsstr.zip

  • @bassiyo
    @bassiyo 3 года назад

    I want you to help. I am working on making a mod and I need you to change the language of the game to Arabic. Do you agree to help?

    • @ragereaver8576
      @ragereaver8576 3 года назад

      This dude has already given you the tools on decrypting the text files.
      The tool you now need is called Google translate, and a trick called ctrl c, ctrl v -> translate

    • @bassiyo
      @bassiyo 3 года назад

      @@ragereaver8576 I find a problem that the csf editor does not process the Arabic language
      And there are people who have added the Arabic language, but they have a monopoly on the method

    • @ragereaver8576
      @ragereaver8576 3 года назад

      @@bassiyo then offer to pay this dude. He has bills to pay, and even less time to help some rando commenting on his video asking him to do your job for you.
      Heck you didn't even stick a like on his video.

  • @playgamess3795
    @playgamess3795 Год назад +1

    anuspanda😂