Zero_Fucks_Given Posted June 1, 2022 Posted June 1, 2022 4 hours ago, amorrow28 said: Btw I may be giving away my work but I’m definitely not doing it for free… as far as I can tell, giving away my mod has gotten me 1. nude mods, 2. dozens of screenshots, 3. a gifted-to-me copy of hajimari, 4. the push I needed to get better at texture / modeling / scripting work (I’m really enjoying using my own mod honestly and there’s no way I would have done that much work if it was just for my own use), and 5. did I mention nude best girl????? I personally see little reason to charge (even when free my mod has barely over 200 downloads), and plenty of legal risk (these assets don’t belong to me). Honestly I have to keep thanking @Zero_Fucks_Given for gifting Hajimari to a random stranger on the internet, which really opened up the floodgates - I hope he feels he got his money’s worth! I got a bunch of really fire mods several people re interested in the trails series and several friends the money or what I would get from it never really crossed my mind I just wanted to get a great under looked game the love and attention it deserved not to mention it literally blew up cs3 cs4 and hajimari modding and all you dedicated and wonderful modders brought what I would say a hell of a breath of life into these two games I thank yall and salute yall for yall hard work and dedication to bring your own flavor to this already great game thank you all from the bottom of my heart 4
amorrow28 Posted June 1, 2022 Posted June 1, 2022 2 hours ago, Zero_Fucks_Given said: I got a bunch of really fire mods several people re interested in the trails series and several friends the money or what I would get from it never really crossed my mind I just wanted to get a great under looked game the love and attention it deserved not to mention it literally blew up cs3 cs4 and hajimari modding and all you dedicated and wonderful modders brought what I would say a hell of a breath of life into these two games I thank yall and salute yall for yall hard work and dedication to bring your own flavor to this already great game thank you all from the bottom of my heart If I could like twice, I would! 1
amorrow28 Posted June 2, 2022 Posted June 2, 2022 (edited) Index of my CS4 tutorials and where to find my mod: Spoiler My first post linking to Fairy Tail mod video and how I adapted for CS4: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3730952 How to edit existing mods (and how to setup Blender): https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3757792 How to get a model into Blender (basic modding part 1): https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3767886 How to get a mod back into the game (basic modding part 2): {that's this post} How to work with textures in CS4: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3779614 How to work with weights: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3786873 If you don't care about tutorials and just want the mod I made, here it is: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3775051 Info on how to use the nude mods with my mod here: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3832221 Tutorial time! Part 2 to this prior tutorial, sorry to leave you all hanging: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3767886 This time let's do some skirt deleting! Hopefully you don't really need this tutorial specifically (since I will have deleted nearly all the skirts already haha), but it's meant to be used as a springboard to other mods. But hey, who's to stop you from using this to delete, oh I dunno, Rean's coat or something. Disclaimer: There are easier ways to do this (like handling = skip, see the fairy tail mod video I linked on page 6). But for more complex modding, you're gonna want to use Blender. 1. Grab your model, here is the same model of Juna that I grabbed from part 1. Don't worry that none of the numbers match up, I accidentally deleted the frame dump and had to get a new one. Look around - hold down mouse wheel click (MWC) to spin around, Shift-MWC to pan, mouse wheel scroll (MWS) to zoom in and out. Here you can see I've spun around to the back. Spoiler 2. Switch to edit mode, and face select. Spoiler 3. In edit mode, it defaults to select all for some reason. Deselect. Press Alt-A, or literally MLC anywhere (except the model) and it will deselect all. Spoiler 4. Once you have an idea of how the whole model looks in relation to the polygons of interest, go ahead and hide all the meshes you don't need. DON'T SKIP THIS STEP - even if you can't see through the other meshes, Blender assumes you can and will select invisible trianges behind them. If you don't hide the other meshes, you may well end up deleting things you didn't mean to! Spoiler 5. Press C for circle select. Holding down mouse left click (MLC), you can "paint" the polygons you want to delete. MLC selects, MWC deselects, and MWS adjusts the size of your circle (brush). Be sure to do this from multiple angles! Press mouse right click (MRC) to exit circle select mode so you can move around, then spin/pan/zoom with MWC/Shift-MWC/MWS, then press C to go back into circle select, MLC/MWC to select and deselect more, MRC to exit circle select and look around... You get the idea. Spoiler 6. Once you're reasonably happy, MRC on the field and select "Delete Faces." Spoiler 7. Tada! If you're not happy (for example random polygons still there), select and delete more. Or press Ctrl-Z to undo and adjust your selection. Spoiler 8. When you're happy go back into object mode. Spoiler 9. Unhide all the other meshes to see your work as a whole. (I purposely did a quick and simple mod for this tutorial, it's very possible you might need to change more than one mesh depending on what you're trying to achieve. Just repeat the steps on each mesh, one at a time.) Spoiler 10. Export your meshes into a folder inside the Mods folder. Spoiler 11. Copy in the vb_split.py script and run it. It will split the buffers and create a skeleton .ini file for you. Spoiler 12. Edit the .ini file. Spoiler You will need the index buffer hash. First, see what mesh you just saved in Blender, in my case here it's mesh #000032. Spoiler Go to the output folder of the frame dump and look up the IB number from the filename for mesh #000032. Grab the associated pixel shader as well. Spoiler Put in the IB hash and uncomment all the code lines for the TextureOverride section. Spoiler Go back into the game, and press F10. If you already have the pixel shader override (from my mod), you're done! Spoiler You might be happy at this point, but more likely you'll want to make more changes. Just export in Blender, run the vb_split.py script again, and reload in game (F10). vb_split.py will NOT overwrite your .ini file, so you only have to put in the hashes once! If you don't see any change, first make sure you have mods enabled (F2) and that you reloaded 3Dmigoto (F10)! If it still doesn't work, then 3Dmigoto probably doesn't know to look for the new files. Add a pixel shader override section (see step 12 above to see where this goes and how I got the numbers). [ShaderOverride_JunaSkirtTutorial] hash = 8c1693fc42196c3d run = CommandListActivate Still doesn't work? Or it works intermittently? Maybe there are 2 pixel shaders. Look in the log.txt in the frame dump folder (NOT the output folder), and search for your IB hash. See what pixel shaders are calling it, there may be more than one. Congrats, now you know how to get a model out of CS4 and into Blender, make a few edits, and inject your changes back into CS4! I look forward to trying out your mods. ? EDIT: Wait, you don't care about skirts (blasphemy!!) but just want, oh, I dunno, huge butts? You know enough now to try it. Use part one of my tutorial to grab the model Use my older tutorial on *ahem* resizing. Now use this tutorial for saving and injecting. And once you're happy, share! Edited August 5, 2022 by amorrow28 5
ludger166 Posted June 2, 2022 Posted June 2, 2022 (edited) Its great too see everyone making progress on different verity and types of mods like skirts, costumes, body size n proportion's, you fellas are the real heroe`s ???????? Just haven't been feelin well last few days, a little under the weather, but hope to get back too trying to mod Aurelia relatively soon! Edited June 2, 2022 by ludger166 1
DORODERE Posted June 2, 2022 Posted June 2, 2022 I have very minimal time for games lately. Between this being a very long RPG and all the other games coming out..I've been playing this slowly on and off for over a year now. My playthrough started in the swimsuit DLC, moved to towel costumes, then see through towel mod and now full blown nude mod. It's kind of funny to see my single drawn out playthrough change so much. 1
xiyangyang2 Posted June 2, 2022 Posted June 2, 2022 40 minutes ago, Switch608 said: 的帮助下 @amorrow28 ,我在 HAJIMARI 中构建了我的伊甸园,现在我也在 CS4 中构建了我的伊甸园。 ? ? ? 它似乎夹杂着奇怪的东西: 牛逼 期待大佬更多作品 1
amorrow28 Posted June 2, 2022 Posted June 2, 2022 (edited) Ok, I've updated my model swap injector script, it can now accept command line arguments (very useful for automation) and it can inject into .pkgs with compressed XML files (CS3/CS4)! I think this going to be the last update for a while, as I finally beat CS4 and I want to focus on my skirt mod update. Disclaimer: I've written it to be relatively safe and foolproof, but this is trickier than installing 3Dmigoto mods and you could theoretically break your game to the point of needing to reinstall (but that would be hard if you only use my tools). In Steam, you do not ever need to reinstall because you can go to {right click game name} Properties -> Local Files -> Verify Integrity of Game Files and it will fix all your broken files. I am NOT providing any support for these tools. I am providing these tools so others can make their own mods to share. Again, these are tools, not mods. (BUT! I will include a sample mod that I made for you to try, so keep reading!) EDIT: Download here: https://github.com/eArmada8/ed8_inject/releases Instructions: Spoiler Newer, more detailed tutorial here! 1. You need to know what models you want to mess with. Grab my python script that decodes the names table from my github (direct link), and put it in {CS3 / CS4 / Hajimari folder}/data/text/dat_en (or /data/text/dat if using fan translation), and execute it. It will spit out table.csv, which can be opened in excel or openoffice, etc. 2. Grab extract_pka.py here and aa - inject model.py here, as well as the unpackpkg.py library (the pka and pkg libraries are forked from uyjulian, all credit to them). Put it into {CS3 / CS4 / Hajimari folder}/data/asset/D3D11. For CS3/CS4, run extract_pkg.py, press enter (first question asks for pka and defaults to assets.pka), then second question asks which files you need. If you put in a search term, it will match and grab multiple files (typing in CHR087 is like *CHR087*). You don't need extract_pka for CLE Hajimari since it's not archived in the first place. If you download my sample mod below, it comes with these three files already - newest versions always at github. 3. Execute aa - inject model.py. It asks for the source .pkg, then it asks for the target .pkg. It will make a backup of the target, and then push the source into the target. If there is a backup of the source, it will always use the backup to inject. This means: 1. As long as you only use my tool instead of editing your own files, your original files are safe, 2. You can do easy swaps (inject A->B and then B->A will result in a swap, because it will always use the backup original of B to inject), and 3. You can restore the original model by injecting into itself (inject A->B and then B->B will restore B to original, because again it will always use the backup original of B to inject). It will never overwrite the first backup, so you can literally do A->B, C->B, D->B, and then B->B and you will still end up with B. NOTE: The injector expects the target to already exist and will refuse to inject into a new file. This is for two reasons: 1. so that it can make a backup, and you won't be confused on re-injections, and 2. to prevent confusing you if you make a spelling mistake (since it wouldn't otherwise cause an error). So in CS3/CS4, extract BOTH source and target, not just source. 4. CS4 will read .pkg files preferentially over the .pka file without further fuss. CS3 will do so as well, BUT you need to move the files to {CS3 folder}/data/asset/D3D11_us (or at least I did with mine - NIS America Steam release). My suggestion for CS3 is to move everything over except the .pka file and extract_pka.py. Keep your backups in D3D11_us as well, and you can inject back and forth. 5. To do whole model swaps, you will need to replace at a minimum columns B,D,E in the excel sheet from step 1. Maybe other parts too, I haven't fully figured this out. Be careful, the model parts in column E are often shared. You may also want to swap the .inf files. So I've been experimenting. If you've been following the Hajimari thread where @Switch608 and I have been developing this (understandable if you haven't, plenty of spoilers), we've shown that swapping costumes in Hajimari is pretty trivial as the assets are unpacked and the XML files are uncompressed. We also swapped a few costumes in CS4. Here's what I've achieved today! Moving assets between games: Here is a costume exclusive to CS4, injected into CS3. Turns out their formats are identical. @Whayameen wanted to see if whole models could be replaced for the a certain scene. The answer is sort-of yes. Here you can see a new character in place on stage! (Mild spoiler) Spoiler Unfortunately, the original character has some fancy physics that the new character lacks, I think. The new character seems pretty content to just stand there and look pretty. I'm betting there's something else that needs to be injected (or maybe I injected too much?), I don't know what. Spoiler I also figured out the XML compression issue, allowing default costumes to be changed! (This was an issue because the filenames were of different length - if you don't know what I'm talking about then don't worry about it.) Here, you can see I've backported Alisa's bathing costume into CS3. (Implications... HMM... I'll wait here while you think about this.) Unfortunately the NISA CS3/CS4 assets are compressed with lz4 and the CLE Hajimari assets are compressed with zstandard, so they aren't compatible with each other. I think I can make a "convertor" by decompressing the files, but the resultant files will be huge unless I can also figure out how to recompress them. I'm not going to bother for the moment, but maybe I'll come back to it later. I have no idea what NISA will do with Hajimari, if they'll use lz4 or zstandard or what. So no nude Elie in CS4 for now, sorry, but I really want to work on my mod for a while. As promised here is my sample mod for CS4! It will achieve the exact thing you see in the spoiler-marked images above. Extract to {STEAM}\The Legend of Heroes Trails of Cold Steel IV\data\asset\D3D11 and you'll see two batch files, I promise it's obvious which one injects the mod and which one restores the original configuration. Just double click and enjoy. Spoiler kloe2schera.7z And before you say this mod is mostly useless - I'm aware. This was a super simple mod designed for folks to see how to make their own! I'm looking forward to seeing what the community does with this. Edited September 20, 2023 by amorrow28 4
amorrow28 Posted June 2, 2022 Posted June 2, 2022 (edited) Yeah ok, I was going to stop. But the more I thought about it, the more I realized that the whole damn point of this was to have naked Elie in CS4. Isn't that right, @Switch608? ? SO CLOSE! (This screenshot is CS4) I have absolutely no idea why, but the nude mods aren't activating for her. 3Dmigoto doesn't seem to like my new package. Grr. Maybe Switch608 can figure it out? There are definitely new pixel shaders involved, since the shaders actually seem to be carried over from Hajimari along with the archive, but I wasn't able to activate overrides. EDIT: Problem solved, grab the newest version of my inject tools! Anyway! Here is my new decompressor tool. It removes all compression (Elie's bath costume went from 5.3 mb to 14.8 mb) but now CS4 will load it just fine. My tool should be able to remove both lz4 and zstandard compression, meaning you could forward port CS3/CS4 assets too if you wanted to (I haven't tested it, but I'm sure someone wants to run around with Sharon in bandages?). https://github.com/eArmada8/ed8_inject/releases It does require my fork of unpackpkg.py to be in the same directory, and you also need to install the zstandard lib. Type "python -m pip install zstandard" into the command line to install the library. Quote How to do the Elie towel swap: Go to {STEAM}\THE LEGEND OF HEROES HAJIMARI NO KISEKI\data\asset\D3D11 in the windows command line and type "aa - decompresspkg.py" CHR089_C02 It will create a folder called decompressed_output. Go into that folder and copy CHR089_C02.pkg to the {STEAM}The Legend of Heroes Trails of Cold Steel IV\data\asset\D3D11 folder. Go to {STEAM}The Legend of Heroes Trails of Cold Steel IV\data\asset\D3D11 in the windows command line and type extract_pka.py assets.pka C_CHR089.pkg "aa - inject model.py" C_CHR089_C02 C_CHR089 Done! Want to use Elie's swimsuit instead? substitute C_CHR089_C65 for C_CHR089_C02. Don't try C65, trust me. It's not a complete model. Edited February 9, 2023 by amorrow28 2
amorrow28 Posted June 3, 2022 Posted June 3, 2022 (edited) @Whayameen Quote Holy hell! Literally this made all the coding worth it! (well all the screens, but that one is striking!) @Switch608 - you were 100% correct, I was injecting too many files! When I reduced it down to two injections (columns B&D in the spreadsheet, they share column E), it achieved exactly what I intended! extract_pka.py assets.pka C_CHR085 extract_pka.py assets.pka C_CHR087 "aa - inject model.py" C_CHR085 C_CHR087 "aa - inject model.py" C_CHR085_FC1 C_CHR087_FC1 Spoiler Her dress definitely doesn't have the correct physics and her legs clip right through, but that's what skirt delete mods are for I suppose... ? Edited June 3, 2022 by amorrow28 1
untestedpower Posted June 3, 2022 Posted June 3, 2022 14 minutes ago, amorrow28 said: Her dress definitely doesn't have the correct physics and her legs clip right through, but that's what skirt delete mods are for I suppose... ? Well Kloe was never meant to do more than simply walk around so they never bothered making her dress make sense for combat or dancing or the like.
untestedpower Posted June 3, 2022 Posted June 3, 2022 1 hour ago, Whayameen said: Her hands are a smidge off the mark but that's inevitable since Rose is a little bit shorter than Altina. Maybe she will grab 'em just right if I swap Juna for someone taller like Laura or Sara. Now that the floodgates are open there's a lot to try out! ? I mean the obvious solution is to have a mod made for Rose. Considering the smaller bodies already exist for Altina and the like that shouldn't be that difficult should it? 1
amorrow28 Posted June 3, 2022 Posted June 3, 2022 On 6/1/2022 at 1:16 PM, coomi said: I made some edits to the smaller girls to more closely resemble the original towel body. Namely, I shrunk their shoulders and thighs, as they were pretty large on the original nude model. The comparison image is not great but you should get the general idea. I edited Fie, Tio, Altina, Renne and Tita. Towa was fine without any edits. I also tried to fix some of the beginner mistakes in my first models. I spent well over an hour trying to fix a weird shape in Altina's armpit. It would have been faster to just remake the model from scratch. Reveal hidden contents misery Install by overwriting the files from my earlier release, on the previous page. small body rework.7z 1.26 MB · 68 downloads I forgot to say thank you in the chaos of developing the asset swap tools! I’ll try these out asap, looks like everyone is already downloading them though. ? 1
amorrow28 Posted June 3, 2022 Posted June 3, 2022 (edited) 6 hours ago, Whayameen said: @amorrow28 I think so too! I'm going to try and get more screens like this now that you and Switch opened the doors for easy model swapping. @Switch608 Oh damn good catch! I didn't see your method before I posted my screenshots. After injecting only the files amorrow mentioned it worked just fine: Hide contents Juna still got the last laugh in the end. Her hands are a smidge off the mark but that's inevitable since Rose is a little bit shorter than Altina. Maybe she will grab 'em just right if I swap Juna for someone taller like Laura or Sara. Now that the floodgates are open there's a lot to try out! ? A Tale of Two Altinas, by Charles @Whayameen ? At first I wondered why you didn't just swap the models so that Juna hugs Rose at the end, but as I scrolled down I realized the genius of your storytelling. That last shot really rounds out the story, it's like Altina #1 intended to get Altina #2 a hug all along! (It kind of reminds me of Vivi and Linde from CS1/CS2 haha) EDIT: Seriously, I'm obsessed with this sequence. The casting, the directing, the cinematography! (Altina's expression in #5 and #7! The single line of dialogue!) Edited June 3, 2022 by amorrow28 1
amorrow28 Posted June 3, 2022 Posted June 3, 2022 1 hour ago, Whayameen said: @undeadclown99 I'm not sure if someone would go out of their way to make a mod for just one quick scene, but I'd certainly welcome it! I'm going to try some other combinations later and see how if they work out better. @amorrow28 O-oh yeah...! That's exactly it! It's not like I forgot to swap Altina for Rose and didn't want to re-do the whole battle again or anything. I'm glad you were able to recognize my genius. *flips hair* Oh no, of course not. Of course everything was deliberate. ? On the topic of offering advice you already know btw, there is always god mode and one-hit kill! When I need to prototype costume changes in models (or shaders) that literally only appear for a few seconds between battles, cheat engine has saved my life. I can't be bothered to beat bosses over and over again just to see what it looks like when I change the color of someone's underwear. ? Although now that I have beaten the game, I can use the debug room with reckless abandon! Use this save file, and you can watch any cutscene to your heart's content, for the most part. ed8_psv4 debug room.7z Spoiler Although weirdly it's buggy compared to the CS3 debug room. Watching the fairy spring cutscene, for example, it won't load Randy and keeps giving errors (just hit enter to proceed). Which of course, no Randy, total dealbreaker I'm sure. 2
WreckedRonin77 Posted June 3, 2022 Posted June 3, 2022 Are these nude mods available to download yet? 1
amorrow28 Posted June 4, 2022 Posted June 4, 2022 (edited) Here's a third update for my CS4 skirt delete mod! I've beaten the game, jumped into the debug room, looked around. This is a much bigger update than I initially intended, and I hope you enjoy all the stuff (including mods to many more DLC costumes and many more tights deletes). This mod is also available in .pkg format! https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=4026587 Version 1.3a HERE with bugfix - https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3775051 CS4_UnSkirtMod_v1.3_with_3Dmigoto_1_3_16.7z - OBSOLETE NOTE: PLEASE DELETE THE PRIOR MOD (delete the Mods/UnSkirtMod folder), OR THERE WILL BE ERRORS. ALSO UPDATE THE NUDE TOWEL MOD IF INSTALLED. Instructions for compatibility for @S_S_Majin's nude towels mod is included in archive, just follow the included directions (does not come with the mod). Information on compatibility with @coomi's nude mod: https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=3832221 I included a save file for NG+ - see the README on how to use; know that it overwrites whatever you have in slot 260. If you are in the middle of the game and don't want to start over, you can use cheat engine to give yourself costumes. (BTW This update has been a little more delayed than intended, mostly because I tried to fix some ugly pixel shader issues. I managed to fix the same issues in CS3 in v1.1a, but unfortunately CS4 refused to be tamed. So yeah. The [very minor] problems remain. This was supposed to be the last release, but it probably isn't. Also, the Hajimari update is delayed, but coming. I'm just tired.) Notes on changes to prior existing skirt deletes: Quote There are a fair number of changes to previously modded costumes, and I expect you will like most if not all of the changes. If you don't, the old files are still there, just go into the directory and replace the files. There's one that I really like the old length though, so much so that I don't use the new default myself - Elie. I made the right one default because I felt it matches the spirit of the mod more, but if you'd also like the left one, go into the Elie folder and rename the "Short Dress" folder to "DISABLED Short Dress". (In fact you can turn off anything you like by slapping a "DISABLED" in front of it...) If you're wondering why I went back to revise old skirts, it's because @Whayameen threw down some sort of loony gauntlet and I couldn't help myself. I still don't take requests, but that guy is a legend. Edited March 15, 2023 by amorrow28 11
m7355 Posted June 4, 2022 Posted June 4, 2022 On 6/3/2022 at 4:40 AM, amorrow28 said: Ok, I've updated my model swap injector script, it can now accept command line arguments (very useful for automation) and it can inject into .pkgs with compressed XML files (CS3/CS4)! I think this going to be the last update for a while, as I finally beat CS4 and I want to focus on my skirt mod update. Disclaimer: I've written it to be relatively safe and foolproof, but this is trickier than installing 3Dmigoto mods and you could theoretically break your game to the point of needing to reinstall (but that would be hard if you only use my tools). In Steam, you do not ever need to reinstall because you can go to {right click game name} Properties -> Local Files -> Verify Integrity of Game Files and it will fix all your broken files. I am NOT providing any support for these tools. I am providing these tools so others can make their own mods to share. Again, these are tools, not mods. (BUT! I will include a sample mod that I made for you to try, so keep reading!) Instructions: Hide contents 1. You need to know what models you want to mess with. Grab my python script that decodes the names table from my github (direct link), and put it in {CS3 / CS4 / Hajimari folder}/data/text/dat_en (or /data/text/dat if using fan translation), and execute it. It will spit out table.csv, which can be opened in excel or openoffice, etc. 2. Grab extract_pka.py here and aa - inject model.py here, as well as the unpackpkg.py library (the pka and pkg libraries are forked from uyjulian, all credit to them). Put it into {CS3 / CS4 / Hajimari folder}/data/asset/D3D11. For CS3/CS4, run extract_pkg.py, press enter (first question asks for pka and defaults to assets.pka), then second question asks which files you need. If you put in a search term, it will match and grab multiple files (typing in CHR087 is like *CHR087*). You don't need extract_pka for CLE Hajimari since it's not archived in the first place. If you download my sample mod below, it comes with these three files already - newest versions always at github. 3. Execute aa - inject model.py. It asks for the source .pkg, then it asks for the target .pkg. It will make a backup of the target, and then push the source into the target. If there is a backup of the source, it will always use the backup to inject. This means: 1. As long as you only use my tool instead of editing your own files, your original files are safe, 2. You can do easy swaps (inject A->B and then B->A will result in a swap, because it will always use the backup original of B to inject), and 3. You can restore the original model by injecting into itself (inject A->B and then B->B will restore B to original, because again it will always use the backup original of B to inject). It will never overwrite the first backup, so you can literally do A->B, C->B, D->B, and then B->B and you will still end up with B. NOTE: The injector expects the target to already exist and will refuse to inject into a new file. This is for two reasons: 1. so that it can make a backup, and you won't be confused on re-injections, and 2. to prevent confusing you if you make a spelling mistake (since it wouldn't otherwise cause an error). So in CS3/CS4, extract BOTH source and target, not just source. 4. CS4 will read .pkg files preferentially over the .pka file without further fuss. CS3 will do so as well, BUT you need to move the files to {CS3 folder}/data/asset/D3D11_us (or at least I did with mine - NIS America Steam release). My suggestion for CS3 is to move everything over except the .pka file and extract_pka.py. Keep your backups in D3D11_us as well, and you can inject back and forth. 5. To do whole model swaps, you will need to replace at a minimum columns B,D,E in the excel sheet from step 1. Maybe other parts too, I haven't fully figured this out. Be careful, the model parts in column E are often shared. You may also want to swap the .inf files. So I've been experimenting. If you've been following the Hajimari thread where @Switch608 and I have been developing this (understandable if you haven't, plenty of spoilers), we've shown that swapping costumes in Hajimari is pretty trivial as the assets are unpacked and the XML files are uncompressed. We also swapped a few costumes in CS4. Here's what I've achieved today! Moving assets between games: Here is a costume exclusive to CS4, injected into CS3. Turns out their formats are identical. @Whayameen wanted to see if whole models could be replaced for the a certain scene. The answer is sort-of yes. Here you can see a new character in place on stage! (Mild spoiler) Reveal hidden contents Unfortunately, the original character has some fancy physics that the new character lacks, I think. The new character seems pretty content to just stand there and look pretty. I'm betting there's something else that needs to be injected (or maybe I injected too much?), I don't know what. Reveal hidden contents I also figured out the XML compression issue, allowing default costumes to be changed! (This was an issue because the filenames were of different length - if you don't know what I'm talking about then don't worry about it.) Here, you can see I've backported Alisa's bathing costume into CS3. (Implications... HMM... I'll wait here while you think about this.) Unfortunately the NISA CS3/CS4 assets are compressed with lz4 and the CLE Hajimari assets are compressed with zstandard, so they aren't compatible with each other. I think I can make a "convertor" by decompressing the files, but the resultant files will be huge unless I can also figure out how to recompress them. I'm not going to bother for the moment, but maybe I'll come back to it later. I have no idea what NISA will do with Hajimari, if they'll use lz4 or zstandard or what. So no nude Elie in CS4 for now, sorry, but I really want to work on my mod for a while. As promised here is my sample mod for CS4! It will achieve the exact thing you see in the spoiler-marked images above. Extract to {STEAM}\The Legend of Heroes Trails of Cold Steel IV\data\asset\D3D11 and you'll see two batch files, I promise it's obvious which one injects the mod and which one restores the original configuration. Just double click and enjoy. Hide contents kloe2schera.7z 15.95 kB · 16 downloads And before you say this mod is mostly useless - I'm aware. This was a super simple mod designed for folks to see how to make their own! I'm looking forward to seeing what the community does with this. I put table_ decode. Py is placed in the hajimari/data/text/dat folder, and no table is generated What's wrong with CSV files? 1
UnitZ Posted June 4, 2022 Posted June 4, 2022 I've said this before and I'll happily say it again. Your doing the lord's work modders. Thank you. 3
amorrow28 Posted June 5, 2022 Posted June 5, 2022 20 hours ago, Whayameen said: @amorrow28 I have praised your work, like 20 times this week so this must be getting old but regardless: thank you my friend, your contributions have been invaluable to this community. As far as I'm concerned you're the real legend here. ?? I have taken a peek and already noticed some changes that I didn't even thought about asking. I have a feeling CScreens4 is going to have a lot more images than usual. Maybe I'll just take the Falcom route and separate it into two parts. ? Thanks! I don't think it's possible for receiving praise to get old. CS4 has been a wild ride, and I'm still buzzing from finishing it. First, sorry, I NEED to gush about the ending. (warning I do make a comparison to Sky SC ending) Spoiler So I think my opinion is not the popular opinion, but I actually really liked the "normal" ending, for two reasons: 1. I knew going in that it wasn't the true canon ending (I've modded Hajimari after all), so I wasn't going to be upset by what actually happened. Very different experience from when I finished Sky SC, which I played blind. I was not ready, although that moment of Estelle and Joshua together as the Ark crumbled was so beautiful. 2. It was the PERFECT mirror to the CS1 ending (with Millium taking Celine's place). In CS1, Rean is powerless, defeated by Crow, grasping for control of the situation, and his friends sacrifice themselves to save him while he yells "let me stay!!!" In CS4, he and Valimar choose to go, knowing exactly what awaits, but knowing it has to be done while his friends are the ones screaming for him to stay (and this time Crow comes with him). (I dunno who made the decision to have Elliot be the one to yell "NOOOOOO" but that tore me to my very soul - Elliot, terminally optimistic and cheerful, Rean's first friend - this was literally his one moment of dramatic anguish, saved for the end. Brilliant.) And the true ending!!!!! It's like Falcom is saying to you, "We know it took you 9 freaking games and probably close to 1000 hours to get here. You deserve this moment!" I know everyone who's beaten the game has taken their own screenshot, but I have to share mine: I understand some folks don't like the whole coming back to life thing but honestly everyone had by this point anyway and I found the moments really powerful, especially Millium. To think, I found her annoying and kind of pointless in CS1 - how far she's come. Also, I don't think I really understood her turn at the end of CS3 until now, but just wow - her secret plan to save Altina and Rean at all costs, and how she called Rean before the Gral to tell him she was going to take care of everything... I've literally been listening to Ai No Uta and Finale -Radiant Hope- on repeat. I know there's Hajimari (and I'm looking forward to the NISA release - I LOVE the CS dubs), but honestly if Falcom said CS4 was the end forever I would've been just fine. Ok, enough of that. Version 1.3 is a big jump - @Whayameen take your time to enjoy! No pressure on taking screenshots, we're not going anywhere. I was just looking, v1.2 was 45.6 mb and 1139 files, v1.3 is 72.2 mb and 1548 files (mod folder only)! For whoever is interested, I wanted to point out a few things though. Quote 1. I think I managed to do most things on the list (it was not my intention but I did a few and just kept going). If it's not done at this point, it really is because it can't be. Most of the changes are default, but Towa's complete skirt delete isn't due to model gap. I did make one I'm mostly happy with, I left a few polygons in a strategic place to minimize the effect so I think it's useable. Using the shorter version is the same process as Rixia's wedding dress, just move the .ini file into the option folder. 2. I actually lengthened Tita's (default costume) coat by one panel. When I did her Sky outfit, I found I had to use a longer coat because her lower mesh is actually missing the upper edge for some reason, but I found I really liked the look of the coat being longer than the shirt - it looked very natural. For those of you who like the shorter default coat from prior versions, same process as #1, just move the .ini file. Assuming you even noticed, haha. 3. I redid the "shirt" outfit for Altina and Tita in Blender. I didn't like how the simple "handling = skip method" deleted their hair accessories. I'm sure it's been driving you all crazy too, haha. 4. Two things for Roselia. A. Mature Roselia has a weird piece of cloth in front of her thighs, it can't be helped because for some reason they put this stupid piece of invisible fringe that's borrowed from normal Roselia (sharing hash) and I need that fringe to make normal Roselia work. The only fix is to have mature Roselia have a long skirt, which is no fun. If the cloth bothers you, change "RoseliaMature" to "DISABLED RoseliaMature". B. I did delete Roselia's tights, but I dunno... she kind of looked better with them and that crazy naughty underwear. I couldn't salvage them, the tights were drawn over them. Again, just put DISABLED in front of "RoseliaTightsDelete.ini" if you like. 5. The appearance of costumes in the costume menu is a huge mixed bag. Some shaders in there REALLY misbehave in game so I can't make all the costume mods appear in the menu. I thought about completely disabling custom appearances in there entirely but figured that was overkill. (Ugh PIXEL SHADERS they drive me crazy! It's why my Angelica mod looks so bad - I almost deleted it but decided the end user could make the decision.) 6. I did in the end replicate some mods done before like Juna's Casuals - mods done previously by manipulating alpha channels but mine are done in Blender. Juna's Casuals are pretty much the same, but Emma's magical outfit I realized I could push further so I did: Honestly I like TSV's better, but once I uncovered that backside... well I couldn't undo THAT in good conscience. But, like everything else on this list, just disable the correct files, and you'll get the other option. The downside to such an expansive update is that it's just plain intimidating to have to port the whole thing to Hajimari now. CS3 was easy, very few of the updates were compatible with it. Plus, my attention has been distracted with this crazy asset swap experiment we have going on. Remember this scene from CS3? Probably not like this you don't... Quote
SonicMan1234 Posted June 5, 2022 Posted June 5, 2022 A damn shame I beat Hajimari right before this mod explosion. ;-;. I hope the dedicated Trails community here can manage to get Kuro modded sooner once it launches on PC. Hopefully anyway.
SirDoge Posted June 5, 2022 Posted June 5, 2022 Don't know if this is the right place to ask,but any thoughts on making something similar for Tokyo Xanadu Ex ? It seems to be using the same engine as the Trails games,also features the obligatory japanese bathhouse scene.
PepeLordd Posted June 5, 2022 Posted June 5, 2022 7 hours ago, SirDoge said: Don't know if this is the right place to ask,but any thoughts on making something similar for Tokyo Xanadu Ex ? It seems to be using the same engine as the Trails games,also features the obligatory japanese bathhouse scene. not the same engine no, also sure has a bath scene but they are not wearable.
amorrow28 Posted June 5, 2022 Posted June 5, 2022 (edited) Sigh. Small update, I caught a bug while preparing the Hajimari update, I assumed that the texture map for the two Rose models were identical and they are not. This only affects tall Roselia, but in the interest of completion here is version 1.3a. If you're updating from 1.3, you don't need to delete anything (it will automatically overwrite the 1 file changed). If you're updating from older than 1.3, you do need to delete the old UnSkirtMod folder first. This mod is also available in .pkg format! https://www.loverslab.com/topic/166239-trails-of-cold-steel-4-mod-request/?do=findComment&comment=4026587 CS4_UnSkirtMod_v1.3a_with_3Dmigoto_1_3_16.7z You can see how her shoulders and chest now have proper texture. (Ignore the random motes of light, that's from the scene, not the model) As always, info on using the nude mod with my mod here: Enjoy! Edited March 15, 2023 by amorrow28 4
untestedpower Posted June 5, 2022 Posted June 5, 2022 7 hours ago, SirDoge said: Don't know if this is the right place to ask,but any thoughts on making something similar for Tokyo Xanadu Ex ? It seems to be using the same engine as the Trails games,also features the obligatory japanese bathhouse scene. Yeah there's no costume option in Xanadu, pretty sure. There's also the fact that the models are vita-quality, like CS1 and 2 so there's probably less interest.
SirDoge Posted June 5, 2022 Posted June 5, 2022 Well that sucks,was hoping it's possible.Oh well,thank you all for answering.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now