Guest Posted February 28, 2020 Share Posted February 28, 2020 Let's start modding discussions on LoveR Kiss for Switch! ### Thread Rules ? Buy the game to support developers! To respect forum rules, please don't upload Rinze and Magical Yumina photos (looks very young). Don't ask about the basics of Switch modding. Learn about it on other sites. ### File Format ? Archive: CPK You can use any CPK unpacker/packer tools, just google it. Texture: FPACTEX Contains multiple BNTX textures, which can be edited with Switch-Toolbox . Model: FPAC Almost the same as RecoLove model format, but it has Tangent (x, y, z) and Sign (+1/-1) between Normal and Vertex Color data blocks. ### Links ?️ Official Website Official Twitter Link to comment
Guest Posted February 28, 2020 Share Posted February 28, 2020 Current researching status: Thanks to Switch-Toolbox, texture modding succeeded very easily. Just unpack CharaTex.cpk, search BNTX data and open/edit it on Switch-Toolbox. Left = texture modded, Right = original swimsuit Now we need to find the way to edit mesh data, because swimsuit mesh has a lot of visible cloth wrinkles and bulges. Link to comment
DORODERE Posted February 28, 2020 Share Posted February 28, 2020 Just picked up this game myself. Looking forward to seeing what can be done! I wish more games on Switch got some decent mods. DOAX3S never got a damn thing =( 1 Link to comment
Guest Posted February 29, 2020 Share Posted February 29, 2020 Finished injecting arbitrary mesh (adding / editing vertices). Link to comment
DORODERE Posted February 29, 2020 Share Posted February 29, 2020 1 hour ago, arc037461 said: Finished injecting arbitrary mesh (adding / editing vertices). Looks great! Link to comment
Guest Posted March 1, 2020 Share Posted March 1, 2020 Inject DOA5 mesh + increase texture size to 2K = Link to comment
Guest Posted March 4, 2020 Share Posted March 4, 2020 Tutorial for Texture Editing Editing texture is very easy just like other games. ### Requirements Buy the game and DLC. (DLC contains less data, so it's easier than modding main game.) Knowledge of Switch modding https://github.com/KillzXGaming/Switch-Toolbox (Thanks author!) ### Step 1. Unpacking Unpack CharaTex.cpk file. You'll get many files like 000, 001, 002, 003, .... The first 000 file is a txt (csv) file, which contains costume IDs, so don't touch this file. And the remaining files (001, 002, ...) are the texture archive files (FPACTEX files) for each costume. File order is as follows; Riria, Nanatsu, Christa, Romi, Rinze, Yumina, Himari, and Magical Yumina. ### Step 2. Getting BNTX from FPACTEX Open a FPACTEX file in hex editor. At address 0x08, there is the number of contained data. In this case, it's 0x16 = 22. From address 0x10, there are 22 pieces of { int offset; int size; }. We should skip empty data with "offset" or "size" is zero. Go to each "offset", copy bytes with "size" bytes, and save it with filename "*.bntx". Now we got multiple BNTX files. ### Step 3. Edit BNTX file in Switch Toolbox Open BNTX file in Switch Toolbox. With texture selected in left tree, right click it and choose Replace. Load your PNG image and click "OK". (You can use a larger image like 2K=2048x2048, but you need to fix "offset" and "size" manually in Step 4.) From "File" menu, run "Save as", and you'll get new modded BNTX file. ### Step 4. Inject BNTX back to FPACTEX Overwrite new BNTX data into FPACTEX file at original offset. If you used a larger image, you should add BNTX data at the end of FPACTEX file, and fix corresponding { int offset; int size; }. ### Final Step. Repacking Repack CharaTex.cpk file. Run the game, enjoy your own mod. Link to comment
Guest Posted March 9, 2020 Share Posted March 9, 2020 Mesh Modding Tips (1) Model Data Structure Here is the difference compared to RecoLove model format. ///// details of FPACMESH data blocks ///// block[0] = { boundingBoxPos1 = { float x, y, z }; boundingBoxPos2 = { float x, y, z }; byte meshCount; // 0: morph, 1: has one mesh, 2: has two meshes byte unknown[5]; }; ///// if meshCount > 0 ///// block[1] = { short _faceCount; // faceCount = _faceCount / 3 short materialId; byte unknown1[12]; int vertexCount; byte unknown2[12]; vertices = { float x, y, z } x vertexCount; // padding here normals = { float x, y, z } x vertexCount; // padding here tangents = { float x, y, z, sign } x vertexCount; // not used? // padding here vertexColors = { float R, G, B, A } x vertexCount; // padding here UVs = { float U, V } x vertexCount; // padding here faces = { short idx0, idx1, idx2 } x faceCount; // padding here } x meshCount; // The game uses unique values below block[2] = { uniqVertices = { float x, y, z } x uniqVertexCount; // uniqVertexCount = size / 12 }; block[3] = { uniqNormals = { float x, y, z } x uniqNormalCount; // uniqNormalCount = size / 12 }; block[4] = { uniqVertexColors = { float R, G, B, A } x uniqVertexCount; }; block[5] = { uniqUVs = { float U, V } x uniqUVCount; // uniqUVCount = size / 8 }; block[6] = { uniqWeights = { int boneCount; weights = { int boneId; float weight; } x boneCount; } x uniqVertexCount; }; // unique IDs are defined in block[7] block[7] = { short uniqVertexIds[vertexCount]; short uniqNormalIds[vertexCount]; short uniqUVIds[vertexCount]; short uniqVertexIdsCopy[vertexCount]; // same as uniqVertexIds byte unknown[vertexCount]; byte zeros[vertexCount]; } x meshCount; block[8] = { boundingBoxPos1 = { float x, y, z }; boundingBoxPos2 = { float x, y, z }; boundingBoxPos3 = { float x, y, z }; // same as boundingBoxPos1 boundingBoxPos4 = { float x, y, z }; // same as boundingBoxPos2 }; block[9] = { tangentsPerCornerVertex = { float x, y, z, sign } x (faceCount x 3); // not used? }; (2) How Can I Inject a Larger FPACMESH Data? If you want to replace the first FPACMESH[0], insert new empty data (1-2MB of "00") between FPACDRMS and FPACMESH[1], then change offsets. Now you can replace the empty data with new FPACMESH data, without vertex count limits. The same technique can be used in RecoLove also. Link to comment
anym3 Posted March 29, 2020 Share Posted March 29, 2020 Right now you can't get anything like this on the Switch. Would you please share what you already have? Most of us can't do this. Link to comment
gavinyueng Posted April 1, 2020 Share Posted April 1, 2020 The steps are complicated and my abilities cannot be completed at the moment. Link to comment
Guest Posted April 2, 2020 Share Posted April 2, 2020 22 hours ago, gavinyueng said: my abilities cannot be completed at the moment In general, modding console game is far difficult than modding PC game. I suggest you to try modding other popular games first (eg. Mario or Zelda). Link to comment
gavinyueng Posted April 4, 2020 Share Posted April 4, 2020 On 4/2/2020 at 7:29 PM, arc037461 said: In general, modding console game is far difficult than modding PC game. I suggest you to try modding other popular games first (eg. Mario or Zelda). I will try it. I really like your work. Can you share it? Link to comment
DORODERE Posted April 4, 2020 Share Posted April 4, 2020 1 hour ago, gavinyueng said: I will try it. I really like your work. Can you share it? They don't share the mods, just tutorials. You'll have to either do it yourself or wait for someone else to do it and share. Link to comment
zecknor Posted May 16, 2020 Share Posted May 16, 2020 Hopefully someone skilled with share what they made. Bought the modding tool for my switch just for this game. 1 Link to comment
anym3 Posted May 21, 2020 Share Posted May 21, 2020 It looks like this one may just be forgotten and dropped but I hope I'll be proven wrong. Link to comment
zecknor Posted May 21, 2020 Share Posted May 21, 2020 it's not dropped, he just doesn't share the files but offer the method. But the method is pretty complex. Link to comment
char967 Posted December 14, 2020 Share Posted December 14, 2020 Got the texture editing, but how to edit the model and Inject DOA5 mesh? need some help, how to open the model in blender? 10 Link to comment
pizaieeei Posted January 5, 2022 Share Posted January 5, 2022 Can you give me a more detailed explanation? Link to comment
zecknor Posted February 2, 2022 Share Posted February 2, 2022 On 12/14/2020 at 11:38 AM, char967 said: Got the texture editing, but how to edit the model and Inject DOA5 mesh? need some help, how to open the model in blender? I'm completely stuck on ### Step 2. Getting BNTX from FPACTEX are you able to explain it in an easier way on what to do in hex edit? Link to comment
ScarletNoir Posted September 28, 2022 Share Posted September 28, 2022 Has any mods for this been shared yet? I don't really have the expertise to do it myself Link to comment
brocklee Posted December 6, 2022 Share Posted December 6, 2022 A lot of thanks to the research and the method shared. Still waiting for the mod file since this is way too difficult for most of us including me. Link to comment
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