wghost / UPKUtils

Set of utilities to work with UPK files
GNU General Public License v2.0
58 stars 29 forks source link

UPK filename converted to lower case? #7

Closed shaygover closed 5 years ago

shaygover commented 5 years ago

Hi,

I'm trying to use PatcherGUI and UPKUtils to pacth the linux version of XCOM. Patching works only if I rename the UPK files to lower case. For example: UICollection_Strategy_SF.upk to uicollection_strategy_sf.upk

Can you help me locate the right function?

Thanks

wghost commented 5 years ago

std::transform(UPKFileName.begin(), UPKFileName.end(), UPKFileName.begin(), ::tolower);

I don't remember, but aren't upk files in lowercase for Linux version of the game? That line was added for a reason.

shaygover commented 5 years ago

No. The aren't. Maybe in earlier versions.

On Tue, Sep 17, 2019, 07:11 Anna Chingaeva notifications@github.com wrote:

std::transform(UPKFileName.begin(), UPKFileName.end(), UPKFileName.begin(), ::tolower);

I don't remember, but aren't upk files in lowercase for Linux version of the game? That line was added for a reason.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wghost/UPKUtils/issues/7?email_source=notifications&email_token=ACPGR4MMKTSS2ROJHPBZSE3QKBKGHA5CNFSM4IW32DQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63HEJA#issuecomment-532050468, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPGR4MZ34SDFSKL2ZNAL7DQKBKGHANCNFSM4IW32DQQ .

shaygover commented 5 years ago

Interesting, just reinstalled and files went lowercase... Closing