Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 43

Thread: Korean language support

  
  1. #21

    Default Re: Korean language support

    Code:
    {"font24k.fon", 0, 561744, 0x20AB, 0, 24, 0x2400, 72, 1, 12, 24, 24, 24, 0, 1, 1, 4, 2},
    If you change the code as above, you will get Korean output.


    But there is a problem.

    Click image for larger version. 

Name:	scr00005.jpg 
Views:	11 
Size:	215.6 KB 
ID:	1989

    Some Korean words are not displayed.


    Click image for larger version. 

Name:	scr00006.jpg 
Views:	9 
Size:	206.6 KB 
ID:	1990

    Characters in the ANSI area appear garbled.

    The save names you should see are 1, 2, 3, 4 ...



    Something seems to be different depending on the font size, but there is a limit to looking at the code.

    It seems to have to be seen while connecting the debugger and tracking, but it is impossible because it cannot be build.


    Thank you.

  2. #22

    Default Re: Korean language support

    Quote Originally Posted by mu mu View Post
    Code:
    {"font24k.fon", 0, 561744, 0x20AB, 0, 24, 0x2400, 72, 1, 12, 24, 24, 24, 0, 1, 1, 4, 2},
    If you change the code as above, you will get Korean output.


    But there is a problem.[...]
    Something seems to be different depending on the font size, but there is a limit to looking at the code.

    It seems to have to be seen while connecting the debugger and tracking, but it is impossible because it cannot be build.


    Thank you.
    If you want to build, try this:

    Code:
    Open Powershell as Administrator and type: "Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux". Restart.
    Click here: https://www.microsoft.com/store/apps/9N9TNGVNDL3Q to install Ubuntu 18.04 from windows store.
    
    Type: "sudo apt update && sudo apt upgrade" and confirm
    
    sudo apt install make
    sudo apt install unzip
    sudo apt install gcc
    sudo apt install g++
    sudo apt-get install gcc-mingw-w64-i686
    sudo apt-get install g++-mingw-w64-i686
    
    make standard
    make heavylog
    Debugging you can try to do through visual studio instead. I'm no expert there but Trass3r managed to get KeeperFX debugging to work through Visual Studio and cv2pbd. For this download and install Visual Studio - the free version works - and put cv2pdb in your system folder. When you build the game, you'd get a .pdb file, make sure that's in the same directory as the keeperfx you want to debug.
    Last edited by YourMaster; May 4th, 2020 at 09:11.

  3. #23

    Default Re: Korean language support

    I am a windows c# programmer.

    It may take a long time or fail because it is an unfamiliar build environment.

    I'll reply to the thread when I modify it.

    Thanks for the support.

  4. #24

    Default Re: Korean language support

    It can be build with visual studio as well I believe. I'm no expert at all, but you're free to come and ask for help in the #development channel on the keeperfx discord.

  5. #25

    Default Re: Korean language support

    Click image for larger version. 

Name:	dk1_640x480.jpg 
Views:	7 
Size:	123.1 KB 
ID:	1999
    640x480

    Click image for larger version. 

Name:	dk1_1024x768.jpg 
Views:	9 
Size:	250.7 KB 
ID:	2000
    1024x768

    Click image for larger version. 

Name:	dk1_1280x720.jpg 
Views:	6 
Size:	304.9 KB 
ID:	2001
    1280x720

    Click image for larger version. 

Name:	dk1_1280x1024.jpg 
Views:	5 
Size:	344.3 KB 
ID:	2002
    1280x1024

    Click image for larger version. 

Name:	dk1_2560x1300.jpg 
Views:	6 
Size:	876.2 KB 
ID:	2003
    2560x1300

    Finally modified.

    I wrote code to scale using an existing 16 size font.

    So Aliasing is hard, but corresponds to multiple sizes.

    https://drive.google.com/file/d/1TQ8...ew?usp=sharing

    I think you can refer to the comments in "=^^=" or look at the differences.

    It probably works for other Asian languages.

    And I foud problem
    Click image for larger version. 

Name:	dk1_define_keys.jpg 
Views:	17 
Size:	234.0 KB 
ID:	2004
    The last line of text in "option -> define key" is strange.

    Thank you.

  6. #26

    Default Re: Korean language support

    No thank you. I'll look into it for sure.

  7. #27

    Default Re: Korean language support

    I've looked at it, and it mostly works great. Also in the other Asian languages.

    I did notice the english text does not look so great anymore:



    I merged both english and korean into one image, so you can see the difference. The original font is narrow and bold, instead of wide and narrow.
    I'm assuming you're aware of this, and this is the best that we can do. If you are, I'm happy to accept it like this.



    The 'Define keys' menu works just fine for me. You'd probably want to delete your save\settings.dat and for you it will work as well.

    But, the real problem is, I can no longer open the highscore menu when I have Korean. I get a black screen and it will hang there. When I look at the log it seems it will try to create the high score screen over and over again. Do you have any idea what the problem is there? I've put the code you provided, slightly modified, on github, here.
    Last edited by YourMaster; May 28th, 2020 at 22:33.

  8. #28

    Default Re: Korean language support

    Click image for larger version. 

Name:	dk1_font16j.gif 
Views:	11 
Size:	20.7 KB 
ID:	2029

    When using Asian languages, the alphanumeric font is different because the font contained in the "*.font" file is printed.

    Inside the red box is the ANSI output. One half of the font size is written in half. I don't know why.

    So. ANSI parts are copied from existing Chinese fonts.

    The font looks like that and is printed like that.

    I agree that this is the best because it is an inevitable problem.

    "Define keys" comes out well with "delete settings.dat"

    Click image for larger version. 

Name:	dk1_score_board.jpg 
Views:	13 
Size:	234.5 KB 
ID:	2028

    I fix score board black.

    https://drive.google.com/file/d/1xx5...ew?usp=sharing

    check coment "//=^^= score black" or Just look for differences from the previous source.

    Thank you.
    Last edited by mu mu; June 3rd, 2020 at 06:13.

  9. #29

    Default Re: Korean language support

    Thank you, it works great. I've included it into the new Alpha. See here.

  10. #30

    Default Re: Korean language support

    Alpha works fine.

    Now we need a launcher.

    Click image for larger version. 

Name:	dk1_launcher.jpg 
Views:	6 
Size:	85.2 KB 
ID:	2032
    For testing purposes, I just modified the binary. (launcher.exe : CHI -> KOR, 简体中文 -> 한국어 )

    Tried to build but failed.

    Thank you.

Similar Threads

  1. a little question in chinese language
    By updata in forum KeeperFX
    Replies: 2
    Last Post: November 12th, 2014, 01:52
  2. Language
    By bluluxabica in forum Dungeon Keeper 1
    Replies: 3
    Last Post: June 18th, 2014, 18:09
  3. Switch language dungeon keeper
    By chrisssj2 in forum DK1 Troubleshooting
    Replies: 3
    Last Post: February 12th, 2010, 14:22

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •