Skip to content

Commit

Permalink
use HANDLE_CHARSETS to avoid BG2EE crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mike1072 committed Feb 10, 2016
1 parent 5a75487 commit 1d7564a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions wheels/setup-wheels.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ AUTHOR ~For help troubleshooting installation problems, go to the Wheels of Prop
VERSION ~v4~
README ~wheels/readme-wheels.html~
AUTO_EVAL_STRINGS
AUTO_TRA ~%s~
AUTO_TRA ~wheels/tra/%s~



ALWAYS
// Convert charsets to utf-8 so that non-English EE games won't crash
ACTION_IF NOT VARIABLE_IS_SET cd_always THEN BEGIN
OUTER_SET cd_always = 1
ACTION_DEFINE_ARRAY cdnoconvert BEGIN setup END // List of tra files that contain ONLY strings for the WeiDU installer and NOT game content
LAF HANDLE_CHARSETS INT_VAR infer_charset = 1 STR_VAR tra_path = ~wheels/tra~ noconvert_array = cdnoconvert END
END

OUTER_SET debug_variable=0
OUTER_SPRINT scsroot wheels
OUTER_SET read_resources=1
Expand All @@ -23,12 +30,12 @@ END

LANGUAGE
"English"
"wheels/tra/english"
"english"
~wheels/tra/english/setup.tra~

LANGUAGE
"Francais (Mornagest)"
"wheels/tra/french"
"french"
~wheels/tra/english/setup.tra~
~wheels/tra/french/setup.tra~

Expand Down
Binary file added wheels/tra/iconv/iconv.exe
Binary file not shown.
Binary file added wheels/tra/iconv/libcharset1.dll
Binary file not shown.
Binary file added wheels/tra/iconv/libiconv2.dll
Binary file not shown.
Binary file added wheels/tra/iconv/libintl3.dll
Binary file not shown.

0 comments on commit 1d7564a

Please sign in to comment.