BanishedTranslationTH
=====================
This is a Thai language translation mod repository for the game [Banished by Shinning Rock Software](http://www.shiningrocksoftware.com/).
Download
========
For normal gamers, you can download the latest release or older releases on the [Release](https://github.com/iAmMutun/BanishedTranslationTH/releases) page.
Contribute
==========
First of all, the current Thai font used in the translation is **TH Bai Jamjuree CP (TH Baijam)**. Get it from [f0nt.com](http://www.f0nt.com/release/13-free-fonts-from-sipa/) and install it on your PC.
Next, you need to properly install and set up the **Banished Mod Kit Beta**. More info on that can be found on the [developer's blog](http://www.shiningrocksoftware.com/2014-08-26-mod-kit-beta/). You don't need the graphics SDKs, they're huge, and we're just translating the game, not modding the graphics. Also, study the translation example from `README.html` in the mod kit, because I'm not going to explain about the translation process, only how to use the tools for doing it in Thai language more easily.
Once the mod kit is installed, clone this repository in to the mod kit directory. and you're almost ready. But before you can help translate Banished in to Thai, be noted, certain Thai characters commonly tend to have rendering issues in many programs and games, including Banished. The notably issues are the floating tone markers and overlapping vowels. We will discuss about that in a bit. For now, just remember that when you need to introduce Thai characters in any *.rsc* files, you have to move them inside `TH` folder and preserve the directory as if the`TH` folder was another mod folder. Also, save the file in UTF-8 format. Either with or without byte order mark (BOM) will work.
Now you're ready! Just edit those *.rsc* files, following the guidlines in the last paragraph.
To build the Thai translation mod, simply run the `Build.bat` script. This will create atleast two directories in our repository, `Build` and `bin`, as well as the `translationThai.pkm` file in the `bin/WinData` folder under mod kit directory. If you've already build the mod before, you may also want to clean up older files to avoid unintended left-over changes. To do that, simply run `Clean.bat`.
By default, when you run the `Build.bat`, the `UnicodeFix64.exe` will be called. [This is a small program I wrote](https://github.com/iAmMutun/BanishedTHUnicodeFix) to help us fix the problem with Thai language, as mentioned earlier. It'll change the Unicode of those problematic characters to the more appropriate one, based on their surrounding characters. Any *.rsc* files inside `TH` folder will be read then a fixed, UTF-16 converted file will be created at the corresponding path. If you use 32 bit Windows, change `UnicodeFix64.exe` to `UnicodeFix32.exe` in the `Build.bat` file using any text editor.
Lastly, you can see the result using the executable files shipped with the mod kit by running `TestRun32.bat` or `TestRun64.bat`. Or, you can run `Install32.bat`, `Install64.bat` or `InstallSteam.bat`, depending on which version of the installed game, to copy the `translationThai.pkm` file into the actual game direcotry. Note that these batch files assume that your game is installed at the default directory.
Happy translating! :)
banishedtranslationth=====================เป็นภาษาไทยแปลภาษา mod หรือเกม [ ขับไล่โดยแผ้วหินซอฟต์แวร์ ] ( http : / / www.shiningrocksoftware . com / )ดาวน์โหลด========สำหรับนักเล่นเกมปกติ คุณสามารถดาวน์โหลดรุ่นล่าสุดหรือเก่าออกใน [ ปล่อย ] ( https://github.com/iammutun/banishedtranslationth/releases ) หน้ามีส่วนร่วม==========ครั้งแรกของทั้งหมด ปัจจุบันไทย font ที่ใช้ในการแปลเป็น * * * * * ใบจามจุรี CP ( th TH ใบจาม ) * * เอามาจาก [ f0nt . com ] ( http://www.f0nt.com/release/13-free-fonts-from-sipa/ ) และติดตั้งในเครื่องคอมพิวเตอร์ของคุณถัดไปคุณต้องถูกติดตั้งและตั้งค่า * * เนรเทศ mod ชุดเบต้า * * ข้อมูลเพิ่มเติมเกี่ยวกับที่สามารถพบได้ในบล็อกของนักพัฒนา ] ( [ http : / / www.shiningrocksoftware . com / 2014-08-26-mod-kit-beta / ) คุณไม่จำเป็นต้องกราฟิก SDK , พวกเขากำลังขนาดใหญ่และเราก็แค่แปลเกมไม่ modding กราฟิก นอกจากนี้การศึกษาการแปลตัวอย่างจาก ` readme . html " ในชุดครับ เพราะผมไม่ได้จะอธิบายเกี่ยวกับกระบวนการแปล เพียงแต่วิธีการใช้เครื่องมือสำหรับทำภาษาไทยได้ง่ายขึ้นเมื่อชุดติดตั้ง mod คือ โคลน กรุ นี้ในไดเรกทอรี Kit mod และคุณเกือบจะพร้อมแล้ว แต่ก่อนที่คุณสามารถช่วยแปลเนรเทศในไทย ระบุไว้ บางตัวอักษรภาษาไทยโดยทั่วไปมักจะมีปัญหาในการแสดงอยู่หลายโปรแกรม และ เกมส์ รวมถึง เนรเทศ โดยเฉพาะประเด็นที่ลอยรูปวรรณยุกต์และสระซ้อนกัน เราจะหารือเกี่ยวกับเรื่องนั้นนิดหน่อย สำหรับตอนนี้ แค่จำไว้ว่าเมื่อคุณจำเป็นต้องแนะนำอักขระไทยในอากาศใด ๆไฟล์ * . * , คุณจะต้องย้ายไปอยู่ในโฟลเดอร์ th ` ` และรักษาไดเรกทอรีเช่นถ้า ` ` โฟลเดอร์ th mod อีกโฟลเดอร์ และบันทึกไฟล์ในรูปแบบลิงค์ มีหรือไม่มีลำดับไบต์มาร์ค ( บอม ) จะทำงานตอนนี้เธอพร้อมแล้ว ! แค่แก้ไขไฟล์ * . * ข้อมูลตามแนวทางในย่อหน้าสุดท้ายสร้างภาษาไทย mod แปล ใช้เพียงแค่ " สร้าง ค้างคาว ` สคริปต์ นี้จะสร้างอย่างน้อยสองไดเรกทอรีกรุของเรา " สร้าง " และ ` ` บินเช่นเดียวกับ ` ` translationthai . กลุ่มแฟ้มในโฟลเดอร์ windata ` ` บิน / mod ชุดภายใต้ไดเรกทอรี ถ้าคุณได้สร้าง mod ก่อน นอกจากนี้คุณยังอาจต้องการที่จะทำความสะอาดไฟล์เก่าเพื่อหลีกเลี่ยงที่ไม่ได้ตั้งใจไปเปลี่ยนแปลง ทำเพียงวิ่ง ` สะอาด ค้างคาว "โดยค่าเริ่มต้นเมื่อคุณเรียกใช้ " สร้าง ค้างคาว ` , ` ` unicodefix64 . exe จะถูกเรียกว่า [ นี้เป็นโปรแกรมขนาดเล็กที่ผมเขียน ] ( https://github.com/iammutun/banishedthunicodefix ) ที่จะช่วยให้เราแก้ไขปัญหากับภาษาไทย ตามที่กล่าวถึงก่อนหน้านี้ มันจะเปลี่ยน Unicode ที่ปัญหาตัวละครให้เหมาะสมมากขึ้น ตามอักขระโดยรอบ ข้อมูลใด ๆ * * ไฟล์ภายในโฟลเดอร์ th ` ` จะอ่านแล้วคง , UTF - 16 แปลงไฟล์จะถูกสร้างขึ้นในทางที่สอดคล้องกัน ถ้าคุณใช้ 32 บิต Windows , เปลี่ยน unicodefix64 ` ` ` unicodefix32 . exe กับ . exe " ใน " สร้าง ค้างคาว ` ไฟล์โดยใช้โปรแกรมแก้ไขข้อความใด ๆสุดท้าย คุณจะสามารถเห็นผลโดยใช้ไฟล์ปฏิบัติการที่มาพร้อมกับชุด mod ด้วยการวิ่ง ` ` หรือ ` testrun64 testrun32 ค้างคาว ค้างคาว " หรือคุณสามารถเรียกใช้ install32 ค้างคาว ` . ` , ` " หรือ ` installsteam install64 ค้างคาว ค้างคาว ` ซึ่งขึ้นอยู่กับรุ่นของการติดตั้งเกมคัดลอก ` ` translationthai . กลุ่มแฟ้มลงใน direcotry เกมที่แท้จริง โปรดทราบว่าไฟล์แบทช์เหล่านี้สมมติว่าเกมของคุณมีการติดตั้งเริ่มต้นที่ไดเรกทอรีมีความสุขแปล ! : )
การแปล กรุณารอสักครู่..
