Touhou Patch Center:Servers/th: Difference between revisions
PartyParrot (talk | contribs) (Created page with "(thcrap ไม่ได้ดูที่ค่าจริงของคีย์ '' true '' ในตัวอย่างนี้)") |
PartyParrot (talk | contribs) No edit summary |
||
Line 93: | Line 93: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
(thcrap ไม่ได้ดูที่ค่าจริงของคีย์ '' true '' ในตัวอย่างนี้) | (thcrap ไม่ได้ดูที่ค่าจริงของคีย์ ''true'' ในตัวอย่างนี้) | ||
==== OK, and how do I do X? ==== | ==== OK, and how do I do X? ==== |
Revision as of 02:06, 29 January 2021
{{Project overview/Template:Pagelang}}
กระจก
เพื่อให้แน่ใจว่าการแปลของเราพร้อมใช้งานข้อมูลแพตช์ที่ใช้โดย Touhou Community Reliant Automatic Patcher จะถูกทำมิเรอร์ในเซิร์ฟเวอร์หลายเครื่อง
Server | URL |
---|---|
thpatch.net main server (HTTPS) | https://srv.thpatch.net/ |
ในฐานะเซิร์ฟเวอร์หลัก srv.thpatch.net เป็นแหล่งข้อมูลที่ทันสมัยที่สุดและได้รับคำแปลโดยตรงหลังจากที่ทำในวิกิ กระจกอีกบานจะดึงสถานะล่าสุดจากที่นั่นทุกนาที
เช่นเดียวกับเนื้อหาในวิกิคำแปลและรูปภาพบนเซิร์ฟเวอร์นี้ได้รับอนุญาตภายใต้ Creative Commons Attribution-ShareAlike 4.0 International
เพื่อนบ้าน
รายการนี้มีลิงก์ไปยังที่เก็บโปรแกรมแก้ไขของบุคคลที่สามที่ไม่อยู่ภายใต้การควบคุมของเรา เมื่อชี้ไปที่ Touhou Patch Center เครื่องมือกำหนดค่าจะเสนอให้เลือกแพตช์จากที่เก็บเหล่านี้ด้วย
หากคุณต้องการให้ที่เก็บของคุณรวมอยู่ในรายการนี้โปรดส่งเมลไปที่ submissions@thpatch.net ซึ่งมีเส้นทางสาธารณะไปยังที่เก็บของคุณ (นี่คือ "servers" ค่าใน repo.js ) ในกรณีที่คุณใช้ Git เพื่อจัดการเซิร์ฟเวอร์ของคุณคุณยังสามารถขอให้ทำมิเรอร์โดยอัตโนมัติได้ที่ mirrors.thpatch.net ขอแนะนำอย่างยิ่งเพื่อให้แพตช์ของคุณพร้อมใช้งานในกรณีที่โฮสต์ดั้งเดิมเกิดล่ม
URL | Title | Patches |
---|---|---|
https://mirrors.thpatch.net/nmlgc/ | Nmlgc's patch repository |
(missing support for TH07 and TH08))
(by sibgamer, http://tinyurl.com/real-bullet-size))
|
https://raw.githubusercontent.com/Ghildrean/touhou-es-es/master/ | Traduccion al castellano |
|
https://raw.githubusercontent.com/Gamer251/thcrap-gamer251/master/ | The Amateur Modder |
This mod has a few bugs in the fighting games.) |
https://raw.githubusercontent.com/soap925/BurntToast-Mod-Stockhouse/master/ | BurntToast12's Mod Stockhouse |
|
https://raw.githubusercontent.com/Nutzer/Touhou-8.3/master/ | Nutzer |
|
https://raw.githubusercontent.com/Zrrg/UnKnwn/master/ | UnKnwn Thcrap Repository |
|
https://raw.githubusercontent.com/DTM9025/DTM/master/ | DTM's Patch Repository |
|
https://mirrors.thpatch.net/wobuffet3/ | Wobuffet3's patches |
|
https://mirrors.thpatch.net/PookChang'e/ | Pook Chang'e's Patches |
|
https://mirrors.thpatch.net/MasterGameFTW3561/ | MGFTWH3561's Mods |
|
https://raw.githubusercontent.com/Tearff/Tear/master/ | Tear's Touhou Mods |
|
https://raw.githubusercontent.com/GhostPhanom/GhostPhanom-Thcrap/master/ | GhostPhanom's strange thoughts |
|
https://mirrors.thpatch.net/Bravi/ | Bravi's creations |
A stage 6 midboss got added in th13, 15, and 16 as well. Okina in Stage 6, Extra (turned into Phantasm) that got a revamp, Wrong/Nightmare Saturdays that got a stage background revamp too Yukari in Day 10 Futo and Tojiko in Stage 5 Seiran in Stage 1 Mayumi in stages 5 and 6, got new additions to Keiki's fight too Megumu in stage 5.)
Also please refrain from selecting this patch along with the OCOkina patch...)
Okina's fight has the order of the seasons shuffled, and Mai and Satono drop too many ressources. Keiki and Saki also seem to be affected by a curse, making them wrathful.)
|
https://raw.githubusercontent.com/Priw8/thmod/master/ | Priw8's mods |
|
https://mirrors.thpatch.net/Splashman/ | Splashman's BGM patches. |
|
https://mirrors.thpatch.net/MoriyaFaith/ | @MoriyaFaith#9287 |
|
https://mirrors.thpatch.net/PKWeegee/ | PKWeegee |
|
https://mirrors.thpatch.net/dass7/ | DassRepo |
|
https://raw.githubusercontent.com/SMB7/SMB3Memes/master/ | SMB3's Meme Patches |
|
https://raw.githubusercontent.com/WindowDump/thcrap_mods/master/ | Window Dump's Mod Dump |
|
https://mirrors.thpatch.net/Vasteel/ | Misc Touhou mods |
|
https://raw.githubusercontent.com/Daikarasu/DaiMod/master/ | Daikarasu's repository of Touhou patches |
Currently supports: th14, th15, th16, th16.5, th17, th18, th18.5)
Makes every attack purely RNG. (v2.0))
Adds a TF2-styled kill cam to the game, which zooms in to the enemy that killed you (if it is still alive). Should be fully compatible with vanilla replays!)
|
https://mirrors.thpatch.net/Clover/ | Clover Music Mods |
|
https://raw.githubusercontent.com/32th-System/crap/master/ | 32th's Patch Repo |
|
https://mirrors.thpatch.net/Gensokyo.EXE/ | Gensokyo Executors |
|
https://mirrors.thpatch.net/pgj1997/ | Pgj1997's Patches |
|
https://raw.githubusercontent.com/rosenrose/thmod/master/ | rosenrose's Patch Repo |
(TH10)MarisaA→ReimuC style, MarisaC→ReimuA style (TH11)ReimuA→MarisaA style, ReimuB→MarisaB style, MarisaB→ReimuB style)
by Dide, https://snipestalker.blog.me/221508374213)
|
https://mirrors.thpatch.net/AsyrafFile/ | Tampalan THCRAP AsyrafFile |
|
https://raw.githubusercontent.com/ExpHP/thcrap-patches/master/patches/ | Patches by ExpHP |
UM not well-tested. Defaults to 16x everything. To configure, see http://exphp.github.io/thpages/#/mods/bullet-cap)
|
https://raw.githubusercontent.com/Arandui/trash_patch/master/ | Trash Ideas |
|
https://mirrors.thpatch.net/tpZHCNex/ | thpatch zh-hans ex-patches |
|
https://raw.githubusercontent.com/bttf0504/thmod/master/ | BTTF's Patch Repo |
|
https://raw.githubusercontent.com/chrisGrando/thcrap-patches/master/ | Dreamland's Crazy Tea Party |
|
https://mirrors.thpatch.net/sqrt/ | Welcome to sqrt-net! |
|
https://mirrors.thpatch.net/someguy/ | Bullet Artistry |
|
https://mirrors.thpatch.net/LmocinemodPatchRepo/ | Lmocinemod's (Low-Effort) Patch Repository |
|
https://raw.githubusercontent.com/zero318/thcrap_patches/master/patches/ | zero318's Patch Pile |
|
https://raw.githubusercontent.com/PartyParrotTH/PartyParrot-s-Patches-Repository/master/ | Party Parrot's Patches Repository |
|
https://mirrors.thpatch.net/WilliamDavi/ | This Repository maybe have some bgm and bullets edits |
|
https://mirrors.thpatch.net/shirokura/ | shirokura's Repository |
|
https://raw.githubusercontent.com/yeashie/yeashiePatches/master/ | yeashie |
|
https://mirrors.thpatch.net/redirectto/ | redirectto's patches |
|
https://mirrors.thpatch.net/Revenant/ | Revenant's Touhou hacks |
|
https://raw.githubusercontent.com/WishMakers0/th_crap/master/ | Wish's Scripts |
|
https://mirrors.thpatch.net/Guy/ | Guy's patches |
|
https://raw.githubusercontent.com/KabanFriends/THGTE/master/ | Project 6 (a.k.a. Touhou Project: Google Translate Edition) |
|
https://mirrors.thpatch.net/Shoxlu/ | Some projects. |
|
https://mirrors.thpatch.net/Kogasas_Mods/ | Kogasa's Mods |
|
https://mirrors.thpatch.net/TESM/ | TESM's Patches |
|
https://mirrors.thpatch.net/Clb184/ | Clb184 stuff |
|
https://mirrors.thpatch.net/Wasted/ | Wasted mods |
|
https://raw.githubusercontent.com/BrosterMedia/touhoupatches/main/ | Broster Thcrap Repository |
|
https://mirrors.thpatch.net/egor/ | egor's patches |
|
https://mirrors.thpatch.net/mintymods/ | Mints' Semi-Functional Patch Repository |
|
https://mirrors.thpatch.net/yova/ | Yova's Repository of Hirokawa Ghost |
|
https://mirrors.thpatch.net/SuperChrim/ | SuperChrim's Patch Repository |
Supports th6, th7, th8, th9, th10, th11, th12, th13, th14, th143, th15, th16)
|
https://mirrors.thpatch.net/TRDario/ | TRDario's patches |
|
https://mirrors.thpatch.net/yuureiki/ | yuureiki's Patches |
|
https://mirrors.thpatch.net/tpZHCHTex/ | Thpatch Chinese Traditional ex-Patches. |
|
https://mirrors.thpatch.net/farawayvision/ | FarawayVision's patches |
|
https://raw.githubusercontent.com/megapig9001/megapig9001-mods/main/ | Megapig9001 Mods |
|
https://mirrors.thpatch.net/SSM/ | SSM's Patches |
|
https://mirrors.thpatch.net/catysumi/catysumi/ | Profaned Red Moon Team |
|
https://mirrors.thpatch.net/DedeHead/ | ZeZunStyler's Mods |
|
สร้างเซิร์ฟเวอร์แพทช์ของคุณเอง
'โปรดทราบว่าคู่มือนี้ค่อนข้างล้าสมัย' วิธีที่ใช้บ่อยที่สุดในการโฮสต์ตอนนี้คือผ่าน mirrors.thpatch.net ซึ่ง ทำการ repo_update.py โดยอัตโนมัติ สิ่งที่คุณต้องทำคือสร้าง repo.js และ patch.js ที่เหมาะสมสำหรับแพตช์ของคุณและเผยแพร่ผ่าน git ดูรายละเอียดเพิ่มเติมใน [1] บน เซิร์ฟเวอร์ discord ของเรา โปรดทราบว่า GitHub สำหรับ Windows ถูกแทนที่ด้วย GitHub Desktop ซึ่งมีอินเทอร์เฟซ <! - (น่ากลัว) -> ที่แตกต่างกัน |
ในบิวด์ 2014-01-26 thcrap มีสคริปต์ Python เพื่อช่วยในการสร้างเซิร์ฟเวอร์แพตช์อัปเดตด้วยตัวเองซึ่งคุณสามารถเผยแพร่แพตช์ของคุณเองในขณะที่สามารถควบคุมได้ทั้งหมด แม้ว่าสิ่งนี้อาจฟังดูค่อนข้างเกี่ยวข้อง แต่ก็ไม่ได้ซับซ้อนขนาดนั้น - เราตั้งใจออกแบบระบบในลักษณะที่ไม่จำเป็นต้องใช้ซอฟต์แวร์เซิร์ฟเวอร์โดยเฉพาะ สิ่งใดก็ตามที่ใช้โปรโตคอล HTTP และอนุญาตให้จัดเก็บและส่งไฟล์ไปยังเว็บโดยพลการในขณะที่ยังคงรักษาชื่อไฟล์และโครงสร้างไดเร็กทอรีไว้ได้
คุณไม่จำเป็นต้องจ่ายเงินสำหรับพื้นที่เว็บเพื่อดำเนินการนี้ มีผู้ให้บริการพื้นที่เก็บข้อมูลบนคลาวด์ฟรีหลายรายที่ใช้งานได้เช่นกัน ด้านล่างนี้คุณสามารถดูบทแนะนำเกี่ยวกับวิธีตั้งค่าที่เก็บของคุณเองได้จากหนึ่งในนั้น บทช่วยสอนทั้งหมดนี้เขียนขึ้นสำหรับ Windows เท่านั้น แต่ถ้าคุณใช้ระบบปฏิบัติการอื่นคุณจะไม่มีปัญหาในการปรับตัว ☺
ภาพรวม
เพื่ออธิบายคำศัพท์:
- อันดับแรกเรามี แพทช์ โดยพื้นฐานแล้วสิ่งเหล่านี้เป็นเพียงคอลเลกชันไฟล์ที่ไม่ได้เรียงลำดับซึ่งให้การแทนที่ข้อมูลเกมดั้งเดิมบางอย่าง แพทช์เดียวสามารถให้ข้อมูลสำหรับเกมได้ไม่ จำกัด จำนวน
* แพตช์ถูกจัดกลุ่มใน ที่เก็บ เหล่านี้เป็นคอลเลกชันของแพตช์ต่างๆที่นำเสนอและควบคุมโดยบุคคลหรือชุมชนเดียว
คุณเริ่มต้นด้วยการสร้าง ที่เก็บ ตามด้วย แพทช์ อย่างน้อยหนึ่งรายการซึ่งคุณจะเผยแพร่บน เซิร์ฟเวอร์ เป็นประจำ
การตั้งค่าในเครื่อง
ขั้นแรกคุณต้องนึกถึง รหัสย่อที่ไม่ซ้ำกันทั่วโลก สำหรับที่เก็บของคุณ นี่อาจเป็นเพียงชื่อของคุณหรือชื่อชุมชนของคุณ เพื่อประโยชน์ของบทช่วยสอนนี้เราจะเรียกมันว่า RepoDir
คุณต้องดำเนินการดังต่อไปนี้:
- ดาวน์โหลดและติดตั้ง Python 3 หากคุณยังไม่มี อย่าลืมจดบันทึกเส้นทางที่ได้รับการติดตั้ง
(นี่คือภาษาโปรแกรมที่สคริปต์สร้างที่เก็บเขียนไว้)
# สร้างไดเร็กทอรีใหม่ชื่อ RepoDir ภายในไดเร็กทอรี thcrap ของคุณ
นี่จะเป็น local repository path ซึ่งจะมีการพัฒนาแพตช์ทั้งหมดของคุณ # Inside RepoDir สร้างไดเร็กทอรีใหม่สำหรับแต่ละแพตช์ของคุณซึ่งตั้งชื่อตาม ID แบบสั้นที่เกี่ยวข้อง เราจะใช้ PatchDir เป็นตัวอย่าง
การติดตั้งโปรแกรมแก้ไข
สำหรับแต่ละแพตช์ให้สร้างไฟล์ชื่อ patch.js ใน RepoDir \ PatchDir 'สิ่งนี้จำเป็น' สคริปต์บิลด์จะไม่รู้จักแพตช์เป็นอย่างอื่น
ไฟล์ทั้งหมดที่มีนามสกุล JS คือ ไฟล์รูปแบบ JSON คุณสามารถตรวจสอบความถูกต้องของไวยากรณ์ได้โดยใช้ไซต์เช่น JSONLint
{{mbox | text = โปรดทราบว่า อะไรก็ได้ 'ที่คุณใส่ใน' any 'ของไดเร็กทอรีโปรแกรมแก้ไขของคุณจะเผยแพร่โดยสคริปต์และดาวน์โหลดโดยผู้ใช้แพตช์ของคุณทุกคน
การพึ่งพา
สิ่งเหล่านี้ตั้งค่าโดยใช้อาร์เรย์ dependencies ใน patch.js และตรวจสอบให้แน่ใจว่าเครื่องมือกำหนดค่าดึงฟังก์ชันที่จำเป็นทั้งหมดสำหรับโปรแกรมแก้ไขของคุณโดยอัตโนมัติ
คำสั่ง Dependency มีรูปแบบ repo_id / patch_id repo_id เป็นทางเลือก - การปล่อยไว้จะเป็นการแก้ไขแพตช์ที่กำหนดก่อนในที่เก็บของคุณจากนั้นจะใช้ทั่วโลกในที่เก็บทั้งหมดที่ผู้ใช้ค้นพบ โปรดระวังสิ่งนี้อาจส่งผลโดยไม่ได้ตั้งใจเมื่อใช้กับโปรแกรมแก้ไขที่ไม่ได้อยู่ในที่เก็บของคุณ
ome ของแพตช์จากเครือข่ายที่คุณอาจต้องการรวมกลุ่มคือ:
* nmlgc / base_tsa : การสนับสนุนทางเทคนิคขั้นพื้นฐานสำหรับเกม Windows Touhou 'หากแพตช์ของคุณกำหนดเป้าหมายไปที่เกมเหล่านี้อย่าลืมรวมเกมนี้ไว้ด้วยอย่างใดอย่างหนึ่ง! * nmlgc / script_latin : มี ฟอนต์ที่มี Unicode ที่ครอบคลุมเพียงพอสำหรับสคริปต์ละตินกรีกและซิริลลิก การตั้งค่าบางอย่างเพื่อให้ดูดีเหมือน เป็นไปได้สำหรับทุกเกมเช่นเดียวกับ Hepburn romanizations สำหรับคำศัพท์และภาพทั่วไป * nmlgc / western_name_order : ตรงตามที่กล่าวไว้ - ลำดับชื่อตะวันตกสำหรับชื่อศัตรูระหว่างการต่อสู้กับบอส * thpatch / lang_en : สิ่งนี้ไม่เพียง แต่ให้การแปลภาษาอังกฤษที่ทันสมัยแก่คุณเท่านั้น แต่ยังช่วยให้มั่นใจได้ว่าการอ้างอิงอื่น ๆ สำหรับโปรแกรมแก้ไขการแปล (เช่นแพตช์ทั้งสามที่กล่าวถึงข้างต้น) เมื่อเลือกโปรแกรมแก้ไขของคุณในเครื่องมือกำหนดค่า
ตัวอย่าง
การกำหนดค่าพื้นฐานสำหรับโปรแกรมแก้ไขการแปลโดยใช้ภาษาสคริปต์ละตินที่ไม่ใช่ภาษาอังกฤษ:
{ "dependencies": [ "nmlgc / base_tsa", "nmlgc / script_latin", "nmlgc / western_name_order" ] }
ดึงข้อมูลทั้งหมดข้างต้น (และอาจจะมากกว่านี้ในอนาคต) พร้อมคำแปลภาษาไทย:
{ "dependencies": [ "thpatch/lang_th" ] }
แบบอักษร
หากแพตช์ของคุณมีฟอนต์ที่กำหนดเองให้ลงทะเบียนโดยใช้อ็อบเจ็กต์ ฟอนต์ นี่คือรายชื่อไฟล์ฟอนต์ทุกตัวที่ต้องโหลดก่อนเริ่มเกมที่แพตช์:
{ "fonts": { "Font1.ttf": true "Font2.otf": true } }
(thcrap ไม่ได้ดูที่ค่าจริงของคีย์ true ในตัวอย่างนี้)
OK, and how do I do X?
Well, thcrap can do a lot of things. ☺ Until we have described them all, your best bet is to look at how our patches do the things you intend to do. If you still have questions, just visit our IRC chat, ask us, and we'll be glad to help you.
Server setup
The rest of this tutorial differs depending on the webspace or server provider you use.
Using GitHub
This is the recommended option. It will keep your repository under a revision control system and thus store the entire history of your patches, which can then be viewed nicely on the GitHub website. We are also thinking about adding direct Git support to the thcrap updater in the future, which would make this setup even simpler.
If you're already familiar with Git: Just run repo_update.py every time before you commit. If you aren't, how to set it up on Windows:
- Make sure you have version 2014-05-08 or later of thcrap. This build introduces some important changes to the repository script which make GitHub support possible in the first place. Also make sure that thcrap.zip and it's contents are in the same directory as your patches. Otherwise you will get an error that repo_update is missing.
- Register a new free account on GitHub if you don't have one yet.
On your dashboard, create a new repository with the default settings. Its name does not necessarily have to correspond with the name you chose for RepoDir in your local setup.
- Download and install the GitHub Windows client and log in with your GitHub account.
In the Options menu, set the default storage directory to your thcrap directory, and put your name and e-mail address in the configure git section.
Clone the repository you created on GitHub into your thcrap directory.
If your local repository directory shares its name with the one on GitHub, this will fail. In that case, just rename your local directory temporarily, then move all of its contents into the newly created directory after the cloning process is complete.In the newly cloned directory, create a file named Update.bat, which you will use to launch thcrap's update script:
C:\path\to\python.exe ..\scripts\repo_update.py
pause
That's it for the basic setup. After you have made some edits to your patches, this is how you publish them:
- Run Update.bat.
- Open the GitHub client and navigate to your patch repository. This should give you all changes since the last commit as well as the option to create a new one.
Be sure to do this immediately after running the update script! If you run thcrap with the patch you are editing before committing, the updater will overwrite your changes with the last state on the server!As of 2017-02-05, automatic updates are automatically disabled if the patch is located inside a git repository. Verify the changes you are about to commit. If everything went fine, each file you changed should now have a different checksum in the files.js file of the affected patches:
- Then, simply click commit to master, followed by publish, and your changes are live.
Making your repository known
In order for your patch to be seen and able to be used by others globally, there are generally three methods:
- After your repository has been uploaded, anyone else can then discover it by calling thcrap_configure with your URL as a command-line parameter.
- If you have a own website, blog, etc., you can upload a custom version of the thcrap archive containing the repo.js file inside your local repository directory. This is generally not recommended, though
- The best method, however, is to contact us on Discord and tell us your repository URL to get listed in the Touhou Patch Center network as one of our neighbors.