KeepStay Posted June 18, 2015 Share Posted June 18, 2015 hi guys. i managed to extract music.fsb, and dl'd fsb extractor, but it needs pasword. I entetred mint78 w/e password but it did not work out. any help pls? Link to comment Share on other sites More sharing options...
KeepStay Posted June 18, 2015 Share Posted June 18, 2015 i tried evrey solution from this thread, but still didnt manage to extract music (stuck at fsb files), any help? Link to comment Share on other sites More sharing options...
MadDoctor5813 Posted June 19, 2015 Share Posted June 19, 2015 Have you tried my tool? It's here: https://github.com/MadDoctor5813/KWADExtractorV2/releases/tag/v2.3 If you don't want to extract everything, place just the sound.kwad file into the KWAD/ dir, and it will extract just the sounds. Feel free to contact me if you have any problems. Link to comment Share on other sites More sharing options...
Shirsh Posted July 27, 2015 Share Posted July 27, 2015 If there are any specific questions you have, i'll see about answering them.Hello, I have a question: build.lua contain example, like--Add some folders to the kwadPackageFolder( package, "./stuff", true )but is there a way to add in kwad not a folder but single file?I would ask you to share anim file of any game-character, for modding purposes (or Internationale portrait, to put scarf in it) but it's probably too improper request. Link to comment Share on other sites More sharing options...
Strelock Posted July 27, 2015 Share Posted July 27, 2015 Hello, I have a question: build.lua contain example, like--Add some folders to the kwadPackageFolder( package, "./stuff", true )but is there a way to add in kwad not a folder but single file?I would ask you to share anim file of any game-character, for modding purposes (or Internationale portrait, to put scarf in it) but it's probably too improper request. What is the purpose of adding a file without a root directory? What are you trying to achieve? Here is what you need to do to modify any existing game resource that resides in KWAD:Extract your resource from KWAD (Internationale portrait resides in gui.kwad). You can use my tool or MadDoctor5813's one. The main difference is that my tool extracts PNG's color channels in correct order and allows extraction of "Blob" files (text/fsb/lua/xml). Modify it (add scarf) Package it back with the same file hierarchy (package only files that you modified. In case of Internationale portrait file hierarchy should be "gui/images/gui/team_select_1_red.png" so in build.lua you need to change "./stuff" to "./gui"). Put your KWAD file somewhere in game directory (you can rename it) Mount your package somewhere in the code. I do it in "main.lua" after 108 KLEIResourceMgr.MountPackage( "movies.kwad", "data" )109 KLEIResourceMgr.MountPackage( "mymod.kwad", "data" ) Make sure to mount it to the same folder ("data" in case of Internationale Portrait). This will "replace" the original version.Klei animation/build files are in binary format. @MadDoctor sad that hes working on bin -> xml convertion by no signs of progress from him yet. つ ◕_◕ ༽つ GIFF Internationale with two scarves @Shirsh Link to comment Share on other sites More sharing options...
Shirsh Posted July 27, 2015 Share Posted July 27, 2015 What is the purpose of adding a file without a root directory? What are you trying to achieve? Here is what you need to do to modify any existing game resource that resides in KWAD:Extract your resource from KWAD (Internationale portrait resides in gui.kwad). You can use my tool or MadDoctor5813's one. The main difference is that my tool extracts PNG's color channels in correct order and allows extraction of "Blob" files (text/fsb/lua/xml). Modify it (add scarf) Package it back with the same file hierarchy (package only files that you modified. In case of Internationale portrait file hierarchy should be "gui/images/gui/team_select_1_red.png" so in build.lua you need to change "./stuff" to "./gui"). Put your KWAD file somewhere in game directory (you can rename it) Mount your package somewhere in the code. I do it in "main.lua" after 108 KLEIResourceMgr.MountPackage( "movies.kwad", "data" )109 KLEIResourceMgr.MountPackage( "mymod.kwad", "data" ) Make sure to mount it to the same folder ("data" in case of Internationale Portrait). This will "replace" the original version.Klei animation/build files are in binary format. @MadDoctor sad that hes working on bin -> xml convertion by no signs of progress from him yet. つ ◕_◕ ༽つ GIFF Internationale with two scarves @ShirshYou see, it works greatly for static images, but there's lack of scarf not in static image but in good old animated profile_anim = "portraits/lady_tech_face", we can dig parts of animation, and change it, but I can't see proper way to pack it into kwad without full lady_tech_face.anim (with build.xml and anim.xml in it)I tried to pack pieces with "anims/portrait/lady_tech_face" path, to try to replace default pieces by additional kwad. Builder create small .tex for every .pngBut looks like for default anims.kwad, builder create big group spritesheets anims.0.tex anims.1.tex outside anims folder (at least that's how it shows when extracted before processing to png), while folders like lady_tech_face.anim contain references to itor not, trial and error only way that I know >_<anyway, I think about trying to replace one big .tex sheet (for trying it I need to pack that file without folder) And yeah, there still no signs that .abld and .adef can be converted back to anim.xml and build.xml, so I try to find other ways btw, maybe I'm doing something wrong, but when I use your tool I didn't have .abld and .adef files at all. Link to comment Share on other sites More sharing options...
Shirsh Posted July 27, 2015 Share Posted July 27, 2015 Klei animation/build files are in binary format. @MadDoctor sad that hes working on bin -> xml convertion by no signs of progress from him yet.There was lockdecoder1.anim with builder, it can be opened like any zip and beside pngs have those xmls: xmls.zipafter building kwad with that anim and extraction by Doctor's extractor they became abld_adef.zipI have no idea, maybe that extraction not full too (all utils create slightly different output >_<)Certainly conversion would be the best option because it would be possible to make recolors of animated portraits for archives, skins for agents / enemies, etc. Link to comment Share on other sites More sharing options...
Strelock Posted July 28, 2015 Share Posted July 28, 2015 You see, it works greatly for static images, but there's lack of scarf not in static image but in good old animated profile_anim = "portraits/lady_tech_face", we can dig parts of animation, and change it, but I can't see proper way to pack it into kwad without full lady_tech_face.anim (with build.xml and anim.xml in it)I tried to pack pieces with "anims/portrait/lady_tech_face" path, to try to replace default pieces by additional kwad. Builder create small .tex for every .pngBut looks like for default anims.kwad, builder create big group spritesheets anims.0.tex anims.1.tex outside anims folder (at least that's how it shows when extracted before processing to png), while folders like lady_tech_face.anim contain references to itor not, trial and error only way that I know >_<anyway, I think about trying to replace one big .tex sheet (for trying it I need to pack that file without folder) And yeah, there still no signs that .abld and .adef can be converted back to anim.xml and build.xml, so I try to find other ways btw, maybe I'm doing something wrong, but when I use your tool I didn't have .abld and .adef files at all. Figured that you actually need animated portrait too late Texture atlases are not a problem.When the game loads animation "build" resource it references it by path (aka "alias", anims/blabla/bla.abld). The "build" references all images that it uses by "resource id" that is unique to the KWAD where it resides (i simplified a relationship). If the image is used directly (e.g. portrait icon) it is referenced by "alias".When you mounting additional KWAD files that have the same "aliases" resource manager will rebind this alias to the new resource. I hope this information can help you find a solution. I will try to come up with something if i will have time btw, maybe I'm doing something wrong, but when I use your tool I didn't have .abld and .adef files at all. Because they are not that useful outside of a KWAD file. Link to comment Share on other sites More sharing options...
Asphyxiator Posted August 11, 2015 Author Share Posted August 11, 2015 Hello again! It has been a while since I have checked this thread, and I am amazed! Thanks for the help, all of you, now I can have access to all of the sounds! - Asphyxiator Link to comment Share on other sites More sharing options...
KeepStay Posted September 5, 2015 Share Posted September 5, 2015 Have you tried my tool? It's here: https://github.com/MadDoctor5813/KWADExtractorV2/releases/tag/v2.3 If you don't want to extract everything, place just the sound.kwad file into the KWAD/ dir, and it will extract just the sounds. Feel free to contact me if you have any problems.it extract everything except the only thing i need - sounds. jesus christ.. How do i extract sounds? http://i.hizliresim.com/My83l2.png Link to comment Share on other sites More sharing options...
Strelock Posted September 5, 2015 Share Posted September 5, 2015 it extract everything except the only thing i need - sounds. jesus christ.. How do i extract sounds? http://i.hizliresim.com/My83l2.png It worked on older releases. KLEI probably did some changes to their packaging tool since resource aliases in sound.kwad start with a "/" instead of being relative. For now you can extract sound files by following these steps:Extract .fsb files from sound.kwad using KWADTool KWADTool.exe -i sound.kwad Extract sound files using FSB extractor fsbext.exe -p <password_can_be_found_in_this_thread> <path_to_extracted_fsb_file> (e.g. sound.kwad.d\sound\music.fsb) Link to comment Share on other sites More sharing options...
KeepStay Posted September 5, 2015 Share Posted September 5, 2015 y tnx, pass was mint78run52 the problem is - music files 14 channels wav files, how do u separate those channels? Link to comment Share on other sites More sharing options...
Strelock Posted September 5, 2015 Share Posted September 5, 2015 y tnx, pass was mint78run52 the problem is - music files 14 channels wav files, how do u separate those channels? I googled "Split 14 channel wav file" and found this SimpleWavSplitter Link to comment Share on other sites More sharing options...
KeepStay Posted September 5, 2015 Share Posted September 5, 2015 tnx, u really helped me. ive already tried to split it with some sort of video editing software, had similiar success but ur soft is simpler. Ive no idea why klei hasnt released their osts yet, so i must suffer sitting here spliting and merging those audio channels to enjoy game music outside of the game Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 12, 2015 Share Posted December 12, 2015 Can anybody please tell me how to type the code in Python? I really want to get the game's picture and animation in the gui.kwad file. Please help me step by step Link to comment Share on other sites More sharing options...
Shirsh Posted December 13, 2015 Share Posted December 13, 2015 Use Strelock's KWADTool, it not require Python. Just put gui.kwad into KWADTool folder and type into command line (if you don't know how to use command line, google it):KWADTool -i gui.kwad -o outputDirand you will have folder "outputDir" in KWADTool folder with all gui.kwad stuff (after that put gui.kwad back to normal place) Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 13, 2015 Share Posted December 13, 2015 Use Strelock's KWADTool, it not require Python. Just put gui.kwad into KWADTool folder and type into command line (if you don't know how to use command line, google it):KWADTool -i gui.kwad -o outputDirand you will have folder "outputDir" in KWADTool folder with all gui.kwad stuff (after that put gui.kwad back to normal place) Can you give me the download link of Strelock's Kwadtool please. Thank you so much. Link to comment Share on other sites More sharing options...
Shirsh Posted December 13, 2015 Share Posted December 13, 2015 Okay, link was on previous page in fourth comment before yours: https://github.com/Psimage/KWADToolAnd in instruction included to "API example" mod. Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 13, 2015 Share Posted December 13, 2015 Okay, link was on previous page in fourth comment before yours: https://github.com/Psimage/KWADToolAnd in instruction included to "API example" mod. Thanks for your help but it's still not work. I do step by step: 1. Extract file. 2. put gui.kwad into KWADTool folder in the KWADTool-master folder 3. Open Command Prompt 4. Type 'KWADTool -i gui.kwad -o outputDir' like you said. ==> Result: not work Please help. Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 13, 2015 Share Posted December 13, 2015 I've tried for 2 hour. Please help. Link to comment Share on other sites More sharing options...
Shirsh Posted December 13, 2015 Share Posted December 13, 2015 I've tried for 2 hour. Please help. I guess you need to write a path to exe, I use Total Commander (it search for exe in active tab), if you run cmd things slightly more complicated Link to comment Share on other sites More sharing options...
Shirsh Posted December 13, 2015 Share Posted December 13, 2015 Or you can make a shortcut to KWADTool.exe, right click it, in properties add to path"...\KWADTool.exe" -i gui.kwad -o outputDir Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 13, 2015 Share Posted December 13, 2015 I guess you need to write a path to exe, I use Total Commander (it search for exe in active tab), if you run cmd things slightly more complicated I've download Total Commander, what i need to do or type? Link to comment Share on other sites More sharing options...
Shirsh Posted December 13, 2015 Share Posted December 13, 2015 If you see a place to type commands (mid to right bottom part of screen, only f3-f8 buttons under it) just open kwadtool folder in one tab (this tab need to be active ie just click in it on something), write command likeKWADTool -i gui.kwad -o outputDir -e alland press "enter" Link to comment Share on other sites More sharing options...
JackTheReaper Posted December 13, 2015 Share Posted December 13, 2015 can you show mesome of your Screen picture? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.