Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-05-2012, 09:40
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
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;
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Demonn (24-10-2012)
Sponsored Links
  #2  
Old 29-05-2012, 09:53
redetav redetav is offline
Registered User
 
Join Date: Mar 2012
Location: Brazil
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
redetav is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
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;
Maybe it's just a small fix, maybe after yener90 finish your current projects, he look at that, but we have to thank him for all he has done and is doing, thanks yener90.
Reply With Quote
  #3  
Old 29-05-2012, 14:32
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
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!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 00:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com