-
Notifications
You must be signed in to change notification settings - Fork 55
Description
What happened?
When a user wants to play the game in a language other than English, several files need to be updated or added:
- All files in
main/video/must be replaced localized_<languagename>_iw0X.iwdfiles must be added tomain- The
zone/<languagename>/folder must be added localization.txtmust be replaced
Typically, users change the game's language through Steam and then copy over the necessary files. However, if the main folder still contains localized_english_iw0X.iwd files alongside the new ones, the game will crash on startup with the following error:
To fix this, users need to manually remove or rename the localized_english_iw0X.iwd files. While this works, it's not ideal.
It would be great if the game could automatically detect when a different language is being used (e.g., by checking the localization.txt file), and then ignore or bypass whatever causes this error. That way, users wouldn't have to delete or rename otherwise valid English files just to switch languages.
Expected behavior
Switching to a different language should not require removing valid English language files to prevent the game from crashing.
Steps to reproduce the behavior
- Have an English copy of the game in a separate directory
- Change the language of the game via Steam and let it download new language files
- Replace
main/video/andlocalization.txt, add thezone/<languagename>/folder and thelocalized_<languagename>_iw0X.iwdfiles - Launch
iw4x.exe
How often does this occur?
- Always
- Sometimes
- Rarely
- Only once
IW4x Version
r4930
Operating System
- Windows 10
- Windows 11
- Other:
CPU
No response
GPU
No response
RAM
No response
Did IW4x crash?
- Yes
- No
Crash address
No response
Minidump file
No response
Error message
Couldn't load image 'specialty_new_nonenglish'
Console output or error messages
Mods or custom content
No response
Screenshots/Videos
No response
Additional information
No response
Checklist
- I have searched existing issues to ensure this is not a duplicate
- I am using the latest version of IW4x from the develop branch
- I have read the documentation and troubleshooting guides
- I have provided all the requested information above