{"action":"created","issue":{"url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/1","repository_url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler","labels_url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/1/comments","events_url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/1/events","html_url":"https://github.com/07th-mod/higurashi-patch-compiler/issues/1","id":223558902,"number":1,"title":"Future development of Higurashi patches","user":{"login":"enumag","id":539462,"avatar_url":"https://avatars0.githubusercontent.com/u/539462?v=3","gravatar_id":"","url":"https://api.github.com/users/enumag","html_url":"https://github.com/enumag","followers_url":"https://api.github.com/users/enumag/followers","following_url":"https://api.github.com/users/enumag/following{/other_user}","gists_url":"https://api.github.com/users/enumag/gists{/gist_id}","starred_url":"https://api.github.com/users/enumag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enumag/subscriptions","organizations_url":"https://api.github.com/users/enumag/orgs","repos_url":"https://api.github.com/users/enumag/repos","events_url":"https://api.github.com/users/enumag/events{/privacy}","received_events_url":"https://api.github.com/users/enumag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":73,"created_at":"2017-04-22T11:39:27Z","updated_at":"2017-05-09T19:45:40Z","closed_at":null,"body":"cc @ItaloKnox, @DoctorDiablo, @Grelo, @jwgrlrrajn\r\n\r\n## Current problems\r\n\r\n- Installing a patch requires too many steps.\r\n- More complications if I want both PS3 and MG sprites.\r\n- Graphics take too much disk space.\r\n- Voice directories contain unused files.\r\n- Some voices or images may not work on Linux because of case sensitivity.\r\n\r\n## Features and goals\r\n\r\nLong story short this tool already deals with all the issues above. However it works fine for my needs only and requires more work and some changes to our development porcess if we want to make things better for everyone.\r\n\r\n### Single repository using Git LFS\r\n\r\nThe thing is we can create a single repository for each Higurashi episode and have it contain all voices graphics and scripts directly. We're not doing that at the moment because Git has isseues with large repositories but we should be able to solve this with Git LFS. It would be more convenient for development in my opinion.\r\n\r\nThe details might get a bit long and needs discussion so I'll create a separate issue for this.\r\n\r\n### Graphics compression\r\n\r\nFull HD graphics are awesome but the graphics patch for each episode is extremely large - about 2.5GB per episode with Watanagashi taking it to the extreme with 3.6GB. The thing is that all the PNG files are unnecesarily large because they're not using the highest compression level PNG supports. This compiler cuts them down to 1GB for Watanagashi and around 700MB for the others.\r\n\r\n### Voices filtering\r\n\r\nYou know how we need about 3 of the `s##` directories from the voices zip for each episode? Some episodes even require the same directories meaning that none episode needs all the files. To solve this the guide recommends symlinks to save space but that complicates the installation process even further.\r\n\r\nThis tool parses the scripts and deletes all the voice files that are not actually used for the episode. No need for any symlinks, the patch contains just what is needed for the episode.\r\n\r\n**Using the graphics compression and voices filtering I managed to cut down the Watanagashi patch (PS3 graphics + voices + MG patch) from 4.9GB down to 1.6GB.**\r\n\r\n### MG Sprites\r\n\r\nWith the current patches the games only work if the \"Updated Character Sprites\" option is enabled. \"Original Character Sprites\" don't work because the game will crash in some cases when a sprite is missing. Also who would want to use the old ugly sprites anyway?\r\n\r\nOn the other hand there are the new sprites created by MangaGamer which some people might prefer over the PS3 ones (I do because MG Rika looks way more cute than PS3 Rika). Of course some character sprites are missing which means making the patches fully compatible with MG Sprites requires some work. I don't think we should commit ourselves to do this for every episode. On the other hand there are already awesome [patches](https://github.com/jwgrlrrajn/higurashi-steam-sprite-mods) made by @jwgrlrrajn for Onikakushi, Watanagashi and Tatarigoroshi so why not include these as well? (Of course only if he decides to give us a permission to do so.)\r\n\r\nThe whole thing should work like this: All the PS3 graphics will go into the CG directory. If the player chooses the original sprites it will be the PS3 ones. If the player chooses updated sprites the game will use the MG sprites in CGAlt directory but if they don't exist the PS3 sprites will be used as a fallback for characters that don't have MG sprites or if any sprite like the zoom or weather variant is missing in CGAlt. We would not necessarily add all these sprites ourselves but we could easily include any sprites contributed by other people.\r\n\r\n**This tool already copies all the PS3 sprites into the CG directory and then copies the MG patch to the CGAlt directory.**\r\n\r\n### Fixing Linux issues\r\n\r\nWhile parsing the files this tool also updates the scripts so that all the files references match the file names exactly. The resulting patch should be fully compatible with Linux systems.\r\n\r\n### Summing up\r\n\r\nThe main goals here are to make the installation process easier by providing (ideally) just a single zip file with voices, scripts, PS3 sprited and (possibly) MG sprites included while making the patch as small as possible without any unused resources.\r\n\r\n----\r\n\r\n**So what do you guys think? Feel free to disagree with any of my proposals and make your own suggestions.**\r\n"},"comment":{"url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/comments/300280254","html_url":"https://github.com/07th-mod/higurashi-patch-compiler/issues/1#issuecomment-300280254","issue_url":"https://api.github.com/repos/07th-mod/higurashi-patch-compiler/issues/1","id":300280254,"user":{"login":"enumag","id":539462,"avatar_url":"https://avatars0.githubusercontent.com/u/539462?v=3","gravatar_id":"","url":"https://api.github.com/users/enumag","html_url":"https://github.com/enumag","followers_url":"https://api.github.com/users/enumag/followers","following_url":"https://api.github.com/users/enumag/following{/other_user}","gists_url":"https://api.github.com/users/enumag/gists{/gist_id}","starred_url":"https://api.github.com/users/enumag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enumag/subscriptions","organizations_url":"https://api.github.com/users/enumag/orgs","repos_url":"https://api.github.com/users/enumag/repos","events_url":"https://api.github.com/users/enumag/events{/privacy}","received_events_url":"https://api.github.com/users/enumag/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T19:45:40Z","updated_at":"2017-05-09T19:45:40Z","body":"Unfortunately I didn't make the compiler friendly to disk space. It might easily need around 10GB just to compile a single chapter. I could reduce it by removing the downloaded zips after they're unpacked but it will take same time to implement."}}
{"actor":{"display_login":"enumag"}}