|
|
|
#1
|
||||
|
||||
|
just like resident evil its missing the get locale code ( peterf1999 posted this in another topic ) I'll just paste it here so yener may update his script to include this bit of code ( BOLD needs to be changed for Street Fighter of course.
Code:
[Registry]
Root: HKLM; Subkey: SOFTWARE\Capcom\RERC; ValueName: locale; ValueType: String; ValueData: {code:GetLocales}; Flags: uninsdeletekey
function GetLocales(Param: string): string;
begin
case GetUILanguage and $3FF of
$10: Result:='1040';
$09: Result:='1033';
$0A: Result:='1034';
$07: Result:='1031';
$0C: Result:='1036';
$15: Result:='1045';
$19: Result:='1049';
$13: Result:='1043';
else Result:='1033';
end;
end;
|
| The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
Demonn (24-10-2012) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
||||
|
||||
|
A more comprehensible and maintainable version (plain Pascal, never used Inno Setup myself):
Code:
function GetLocales(Param: string): string; var UILanguage: Integer; begin UILanguage := GetUILanguage and $3FF; if not (UILanguage in [$10, $09, $0A, $07, $0C, $15, $19, $13]) then UILanguage := $09; Str($0400 or UILanguage, Result); end;
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** | Grumpy | PC Games - CD/DVD Conversions | 252 | 16-07-2024 20:35 |
| Street Fighter X Tekken DVD9 to DVD5 | Brunao | PC Games - CD/DVD Conversions | 3 | 17-12-2012 01:38 |