mirror of
https://github.com/SabreTools/NDecrypt.git
synced 2026-02-04 05:35:53 +00:00
--citra option can't handle comments #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smesgr9000 on GitHub (Feb 18, 2024).
on Version 0.2.5 on linux
part of my aes_keys.text
according to strace the first generator line was read but than stopped on the file
if I remove the comment. The file is read as expected.
I think the following change could fix the issue, but can't test due to not having a Visual Studio setup atm.
@mnadareski commented on GitHub (Feb 18, 2024):
Strictly speaking, lines with
#at the start are not treated as comments in INI files. That being said, I can try to handle that case for nonstandard INIs like the one you have.@smesgr9000 commented on GitHub (Feb 18, 2024):
thanks for looking into this. What makes you think this is an INI file? The documentation of the file is rather limited, but if you have a look at the CITA source code they clearly handle "#" stuff. See Line 221
cbe8987036/src/core/hw/aes/key.cpp (L221)@mnadareski commented on GitHub (Feb 18, 2024):
It's formatted as key-value pairs similar to a headless INI file. That's why I think it's an INI file internally. I understand they specifically have handling for that, but as per the spec for INI, it's not valid.