• Login
Community
  • Login

How to solve the Encoding Issue when reading a file in Notepad ++?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
16 Posts 4 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PeterJones @Ivan Bondarenko
    last edited by Aug 29, 2020, 9:16 PM

    @Ivan-Bondarenko ,

    Honestly, I would say that the filename is lying to you. That’s not how the file would look using the wrong encoding. (Based on the fact that there are some obvious plaintext snippets, like objects/crafting/props/...). My guess is that it’s not actually a text-based XML file, and is really some proprietary binary encoding – as to why they called it “xml”, I don’t know. (Either that, or they’ve taken an XML file and done some proprietary encryption or compression, without changing the filename, to prevent users from hacking their game. But a full/normal encryption or even compression wouldn’t leave chunks of legible text, which is why I’m guessing proprietary binary format.)

    I’d recommend going to a forum for your game, and asking whether it’s possible to convert the assetcatalog.xml into an actual XML file. (or, if they say, “it’s a plaintext file, encoding with XXX encoding”, we can help you convince Notepad++ to read that encoding, once we know what it is)

    Good luck.

    I 1 Reply Last reply Aug 31, 2020, 6:02 AM Reply Quote 3
    • I
      Ivan Bondarenko @PeterJones
      last edited by Ivan Bondarenko Aug 31, 2020, 6:02 AM Aug 31, 2020, 6:02 AM

      @PeterJones said in How to solve the Encoding Issue when reading a file in Notepad ++?:

      I’d recommend going to a forum for your game, and asking whether it’s possible to convert the assetcatalog.xml into an actual XML file. (or, if they say, “it’s a plaintext file, encoding with XXX encoding”, we can help you convince Notepad++ to read that encoding, once we know what it is)

      Thank you! This answer helped me a lot! I will try to find everything out.

      1 Reply Last reply Reply Quote 0
      • I
        Ivan Bondarenko @andrecool-68
        last edited by Aug 31, 2020, 6:04 AM

        @andrecool-68 Thank you for trying to help. But this doesn’t work.

        A 2 Replies Last reply Aug 31, 2020, 6:10 AM Reply Quote 0
        • A
          andrecool-68 @Ivan Bondarenko
          last edited by Aug 31, 2020, 6:10 AM

          @Ivan-Bondarenko Using the “Exeinfo Pe” utility, you can analyze what your file is packed with, because it really doesn’t look like a regular “XML”

          1 Reply Last reply Reply Quote 0
          • A
            andrecool-68 @Ivan Bondarenko
            last edited by Aug 31, 2020, 6:20 AM

            @Ivan-Bondarenko Here is an example of the “Exeinfo Pe” utility
            I renamed file-TXT to file-XML, but the utility shows the real face of the file … that it is a fake file-TXT

            Безымянный.png

            I 1 Reply Last reply Aug 31, 2020, 6:26 AM Reply Quote 0
            • I
              Ivan Bondarenko @andrecool-68
              last edited by Aug 31, 2020, 6:26 AM

              This post is deleted!
              A 1 Reply Last reply Aug 31, 2020, 6:38 AM Reply Quote 0
              • A
                andrecool-68 @Ivan Bondarenko
                last edited by Aug 31, 2020, 6:38 AM

                @Ivan-Bondarenko Для чего вы хотите его открыть, какой смысл этих действий?

                I 1 Reply Last reply Aug 31, 2020, 6:43 AM Reply Quote 0
                • I
                  Ivan Bondarenko @andrecool-68
                  last edited by Aug 31, 2020, 6:43 AM

                  This post is deleted!
                  A 1 Reply Last reply Aug 31, 2020, 6:46 AM Reply Quote 0
                  • A
                    andrecool-68 @Ivan Bondarenko
                    last edited by andrecool-68 Aug 31, 2020, 6:47 AM Aug 31, 2020, 6:46 AM

                    @Ivan-Bondarenko Это все детские глупости, и не стоит тратить время на бестолковые затеи!

                    I 1 Reply Last reply Aug 31, 2020, 6:54 AM Reply Quote 0
                    • I
                      Ivan Bondarenko @andrecool-68
                      last edited by Aug 31, 2020, 6:54 AM

                      This post is deleted!
                      A 1 Reply Last reply Aug 31, 2020, 7:00 AM Reply Quote 0
                      • A
                        andrecool-68 @Ivan Bondarenko
                        last edited by Aug 31, 2020, 7:00 AM

                        @Ivan-Bondarenko Этот форум повещен только программе Notepad++, а не взлому сайтов, программ или игр!
                        Юноша …ты вообще ошибся адресом!

                        I 1 Reply Last reply Aug 31, 2020, 7:05 AM Reply Quote 1
                        • I
                          Ivan Bondarenko @andrecool-68
                          last edited by Aug 31, 2020, 7:05 AM

                          @andrecool-68 Я прекрасно знаю, для чего этот веб сайт. И адресом я не ошибся. Последний мой вопрос был конкретно к тебе. Нет, так нет. В любом случае, спасибо.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Anatoliy Sergeev @Ivan Bondarenko
                            last edited by Sep 2, 2020, 8:23 PM

                            @Ivan-Bondarenko Привет. Последние несколько дней тоже занимаюсь декодированием этого файла. Тут явно что-то не так с кодировкой. Файл не зашифрован. Если будут подвижки, расскажи здесь как решил проблему. Если у меня получится, я тоже отпишусь.

                            P 1 Reply Last reply Sep 2, 2020, 8:43 PM Reply Quote 0
                            • P
                              PeterJones @Anatoliy Sergeev
                              last edited by PeterJones Sep 2, 2020, 8:44 PM Sep 2, 2020, 8:43 PM

                              @Anatoliy-Sergeev and @Ivan-Bondarenko ,

                              As @andrecool-68 pointed out, your question has nothing to do with Notepad++. You are trying to hack a binary file from a game. Notepad++ is a text editor. Notepad++ cannot be expected to be able to read every proprietary binary file. No text editor, whether it’s Notepad++ or any other text editor, should be expected to read a proprietary binary file. Notepad++ cannot interpret this binary file as text, even if you or the game designer lies and calls it an XML file. It does not matter whether it’s because the file is encoded or encrypted or compressed or just a proprietary binary format: it is not a text file, and Notepad++ cannot help you read it as text.

                              Please stop this discussion of game hacking here. It is off topic for this forum.

                              -----

                              @Анатолий-Сергеев и @Иван-Бондаренко ,

                              Как отметил @andrecool-68, ваш вопрос не имеет ничего общего с Блокнотом++. Вы пытаетесь взломать бинарный файл из игры. Блокнот++ - это текстовый редактор. Нельзя ожидать, что Блокнот++ сможет прочитать каждый проприетарный двоичный файл. Ни от какого текстового редактора, будь то Блокнот++ или любой другой текстовый редактор, нельзя ожидать, что он сможет прочитать проприетарный двоичный файл. Блокнот не может интерпретировать этот двоичный файл как текст, даже если вы или дизайнер игры лжёте и называет его XML-файлом. Не имеет значения, потому ли это, что файл закодирован или зашифрован, или сжат, или просто несвободный двоичный формат: это не текстовый файл, и Блокнот++ не может помочь вам прочитать его как текст.

                              Пожалуйста, прекратите обсуждение взлома игры здесь. Оно находится вне темы этого форума.

                              Переведено с помощью www.DeepL.com/Translator (бесплатная версия)

                              1 Reply Last reply Reply Quote 2
                              12 out of 16
                              • First post
                                12/16
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors