Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
retroartebox
Posts: 5 Joined: Mon Jan 07, 2019 9:21 pm
Post
by retroartebox » Tue Jan 03, 2023 12:01 am
I need help from masters in powershell and binary files. I'm trying to decode .xml files using powershell and this is the code I'm using:
Code: Select all
Get-ChildItem -path 'D:\yatomanne.xml' -Recurse | ForEach-Object {
$content = $_ | Get-Content
Set-Content -PassThru $_.Fullname $content -Encoding UTF8 -Force} | out-file D:\converted1.txt
It works fine for the yatomanne.xml but not for the coldring2link.xml, and it's strange because both files have the same header, they are game files, can someone help me understand why coldring2link.xml doesn't convert?
Here is an attachment of the files:
https://drive.google.com/file/d/1Mj0CId ... sp=sharing
https://drive.google.com/file/d/1uXtnri ... sp=sharing