Touhou Patch Center: เซิร์ฟเวอร์
{{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
You also need to do the following:
- Download and install Python 3, if you don't have it already. Be sure to make a note of the path it gets installed to.
(This is the programming language the repository build script is written in.) - Create a new directory named RepoDir inside your thcrap directory.
This will be your local repository path, where all your patch development will take place. - Inside RepoDir, create a new directory for each of your patches, named after their respective short ID. We'll use PatchDir as an example.
Patch setup
For each patch, create a file named patch.js in RepoDir\PatchDir. This is mandatory, the build script won't recognize the patch otherwise.
All files with a JS extension are JSON format files. You can validate their syntax using sites like JSONLint.
Note that anything you put in any of your patch directories will be published by the script, and downloaded by every user of your patches! |
Dependencies
These are set using the dependencies array in patch.js, and ensure that the configuration tool automatically pulls in all required functionality for your patch.
Dependency statements have the form repo_id/patch_id. repo_id is optional - leaving it out will resolve the given patch first on your repository, then globally across all repositories a user has discovered. Be careful, this might have unintended consequences when used with a patch not in your repository.
Some of the patches from the network you may want to bundle are:
- nmlgc/base_tsa: The basic technical support for Windows Touhou games. If your patch targets any of these games, make absolutely sure to include this one in some way! Otherwise, the configuration tool may not pull it in and the resulting configurations may not work!
- nmlgc/script_latin: Contains a font with sufficient Unicode coverage for Latin, Greek and Cyrillic scripts, some settings to make it look as nice as possible for every game, as well as Hepburn romanizations for common terms and images.
- nmlgc/western_name_order: Exactly what it says – Western name order for the enemy names during boss battles.
- thpatch/lang_en: Not only does this give you our up-to-date English translation, it also ensures that any other dependencies for a translation patch (such as all three patches mentioned above) will be present when selecting your patch in the configuration tool.
Examples
A basic configuration for a translation patch using a non-English Latin script language:
{ "dependencies": [ "nmlgc/base_tsa", "nmlgc/script_latin", "nmlgc/western_name_order" ] }
Pulls in all of the above (and maybe even more in the future) plus the English translations:
{ "dependencies": [ "thpatch/lang_en" ] }
Fonts
If your patch includes custom fonts, register them using the fonts object. This is a simple list of every font file name to load before starting the patched game:
{ "fonts": { "Font1.ttf": true, "Font2.otf": true } }
(thcrap does not look at the actual value of the key, true in this example.)
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.