binaryfail Posted September 27, 2015 Share Posted September 27, 2015 Hey guys, I am currently trying to create an interface patch for new Astronauts game 'Tou no Shita no Exercitus'. I have used arc_conv to extract files from gxp archives. For game scripts I got two files: moacode.mwb modlist.dat (This contains list of all files inside moacode.mwb) Mwb file is zlib compressed. And I am trying to decompress a zlib compressed file. Output should be an UTF-8 encoded binary file. I don't know how should I go about it. Someone at http://tieba.baidu.com/p/3740571040?pn=2 successfully decoompressed this file (View output at http://tieba.baidu.com/photo/p?kw=galgame&flux=1&tid=3740571040&pic_id=51da04f3d7ca7bcb45f43662bb096b63f424a8c0&pn=1&fp=2&see_lz=0). But I can't seem to get it to work. Can anyone please guide me in the right direction. The start of zlib data should be easy to look for. Just find the bytes 78 9C in this case. In the .mwb file, the value at 0x14 is the uncompressed size and the value at 0x18 is the compressed size. The data itself starts at 0x1C. temporaryuser381 and MerzZly 1 1 Quote Link to comment Share on other sites More sharing options...
Kelebek1 Posted September 28, 2015 Share Posted September 28, 2015 The start of zlib data should be easy to look for. Just find the bytes 78 9C in this case. In the .mwb file, the value at 0x14 is the uncompressed size and the value at 0x18 is the compressed size. The data itself starts at 0x1C. It won't always be 9C though. You'll also find 01 for no compression and DA for best. MerzZly and temporaryuser381 2 Quote Link to comment Share on other sites More sharing options...
temporaryuser381 Posted September 29, 2015 Share Posted September 29, 2015 guys, thaks alot for the tip. I got it to unpack successfully. Quote Link to comment Share on other sites More sharing options...
Scorp Posted October 1, 2015 Share Posted October 1, 2015 Anyone know bytecode script decompiler for Regista games? The ones here: http://regista.co.jp/pro.htm (apart from older ones like Ever17) Script usually stored in sn.bin. So for example Cross+Channel on PSP have that type of script. I believe even some recent games like Phantom have it (upgraded obv). It is compressed with usual lzss from 89, with no modifications, so you can easily decompress it. Obv header have the offsets for script parts, but what about script itself? I ask this because text is mixed with script bytecode (as usual), and script have jumps forward/backward, counted in bytes, so seems without full list of byte commands (not necessarily real meaning, just correct list of parameters, obv) would be not possible to translate any of these. Quote Link to comment Share on other sites More sharing options...
Yoxall Posted October 5, 2015 Share Posted October 5, 2015 (edited) Edit: Nevermind. I kinda solved it. Does anyone know a good image batch editing program that I can use to merge character expressions to their sprites? Edited October 20, 2015 by Yoxall Quote Link to comment Share on other sites More sharing options...
sekto Posted October 22, 2015 Share Posted October 22, 2015 (edited) Hi, anyone know what engine uses Snow Sakura? https://vndb.org/v71I want to translate this game in french, but I don't find the text.I have only found many file .bin and. isf but I don't find a method for open them. I think the text is in this file : http://www.mediafire.com/download/cs8fm6smmi6zcte/ISFThis is the text no ? Edited October 22, 2015 by sekto Quote Link to comment Share on other sites More sharing options...
Narcosis Posted October 22, 2015 Share Posted October 22, 2015 If I remember correctly, most of the D.O.'s games used Ikura engine (either the original, or one of the later iterations). It's was hacked long ago, so you might even try the AE tools or ExtractData.I want to translate this game in french, but I don't find the text.With that kind of english, I can only wish you good luck. Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 22, 2015 Share Posted October 22, 2015 I've got the scripts extracted and everything done, however, the scripts seemed to have come with an extra byte after each character.It comes up with this,Instead of this, Quote Link to comment Share on other sites More sharing options...
sekto Posted October 23, 2015 Share Posted October 23, 2015 (edited) What method did you use to extract the text?With that kind of english, I can only wish you good luck. I am very bad at writing but I can understand a text.And this is also to improve my English I want to do this translation. Edited October 23, 2015 by sekto Quote Link to comment Share on other sites More sharing options...
Narcosis Posted October 23, 2015 Share Posted October 23, 2015 I've got the scripts extracted and everything done, however, the scripts seemed to have come with an extra byte after each character.It comes up with this,Instead of this,Japanese characters usually take up two or more bytes instead of one. I guess that's the only logical explanation for this kind of thing. I don't know what G-Collections did with the original during localization, but it was propably a rather sloppy job. Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 23, 2015 Share Posted October 23, 2015 What method did you use to extract the text?I through them into AE to extract the scripts, then I used a hex editor and ROR'ed the scripts.Japanese characters usually take up two or more bytes instead of one. I guess that's the only logical explanation for this kind of thing. I don't know what G-Collections did with the original during localization, but it was propably a rather sloppy job.Yeah, I figured that was the case. I'm guessing the engine can't support single byte characters, so i'm guessing the extra byte was so the engine would read it, However, it's a hidden key used so it wouldn't do one of those character jumps. Quote Link to comment Share on other sites More sharing options...
sekto Posted October 23, 2015 Share Posted October 23, 2015 Hum if you give me the file i can decrypt the others with the function key file script into ae (Data tool) no? Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 23, 2015 Share Posted October 23, 2015 I think that might work, i haven't used that feature yet though. Quote Link to comment Share on other sites More sharing options...
sekto Posted October 24, 2015 Share Posted October 24, 2015 (edited) I have found a tool for extract the scripts and it work. . https://www.assembla.com/spaces/hanahira/subversion/source/6/Tools/ArcTool But don't know how repack after. Well I can recompil after but the game crash when he try to read the text edited. Edited October 25, 2015 by sekto Quote Link to comment Share on other sites More sharing options...
sekto Posted October 28, 2015 Share Posted October 28, 2015 (edited) Nobody has solved this type of crash? Edited October 28, 2015 by sekto Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 28, 2015 Share Posted October 28, 2015 Well that's a repacking issue. It might also be an opcode issue. Quote Link to comment Share on other sites More sharing options...
Lewdful Posted October 30, 2015 Share Posted October 30, 2015 Hi, I need assistance on extracting the images from .war file. I've read on this thread and other places for information but still no go. I would like to extract them as .bmp but when I extract using Crass with I think is the newest version of RioShiina .cui I get s25 files instead of the .bmp or png files. I also put the pid in the parameter and RioShiina as the specify cui. Any help would be appreciated! Thank you. Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 30, 2015 Share Posted October 30, 2015 The cui's haven't been updated since 2009, so there really isn't a never version. So if they've updated the encoding for the archives, crass won't have it. Quote Link to comment Share on other sites More sharing options...
Lewdful Posted October 30, 2015 Share Posted October 30, 2015 So how would I go about extracting the files? Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted October 31, 2015 Share Posted October 31, 2015 don't know. Quote Link to comment Share on other sites More sharing options...
Deep Blue Posted November 5, 2015 Share Posted November 5, 2015 How do I extract or see the content inside .mjo file? they were inside .arc files that I extracted with crass, the weird thing is the files have some text but mixed in between just weird characters is like the text is broken in some parts.The engine of the vn is Majiro or so it seems... Quote Link to comment Share on other sites More sharing options...
Scorp Posted November 5, 2015 Share Posted November 5, 2015 How do I extract or see the content inside .mjo file? they were inside .arc files that I extracted with crass, the weird thing is the files have some text but mixed in between just weird characters is like the text is broken in some parts.The engine of the vn is Majiro or so it seems...AnimED? arc_conv? Tried them? You again do not mention game title, without it the answer would be quite generic. Quote Link to comment Share on other sites More sharing options...
Deep Blue Posted November 5, 2015 Share Posted November 5, 2015 (edited) How do I extract or see the content inside .mjo file? they were inside .arc files that I extracted with crass, the weird thing is the files have some text but mixed in between just weird characters is like the text is broken in some parts.The engine of the vn is Majiro or so it seems...AnimED? arc_conv? Tried them? You again do not mention game title, without it the answer would be quite generic.sorry i forgot to put the name of the game it is narcissu 3rd, I tried using this https://github.com/GAEndGears/majiro-tools but when i convert the text (with text_conv.exe) like text_conv majiro 1.mjo > 1.txt the txt comes out emptyI'm going to sleep and gonna keep trying tomorrow maybe im doing something wrong Edited November 5, 2015 by Deep Blue Quote Link to comment Share on other sites More sharing options...
CryingWestern Posted November 5, 2015 Share Posted November 5, 2015 (edited) How do I extract or see the content inside .mjo file? they were inside .arc files that I extracted with crass, the weird thing is the files have some text but mixed in between just weird characters is like the text is broken in some parts.The engine of the vn is Majiro or so it seems...AnimED? arc_conv? Tried them? You again do not mention game title, without it the answer would be quite generic.sorry i forgot to put the name of the game it is narcissu 3rd, I tried using this https://github.com/GAEndGears/majiro-tools but when i convert the text (with text_conv.exe) like text_conv majiro 1.mjo > 1.txt the txt comes out emptyI'm going to sleep and gonna keep trying tomorrow maybe im doing something wrong I'll try, once i can find a link to the game, or if you could upload the scripts. Edited November 5, 2015 by CryingWestern Quote Link to comment Share on other sites More sharing options...
Deep Blue Posted November 5, 2015 Share Posted November 5, 2015 (edited) How do I extract or see the content inside .mjo file? they were inside .arc files that I extracted with crass, the weird thing is the files have some text but mixed in between just weird characters is like the text is broken in some parts.The engine of the vn is Majiro or so it seems...AnimED? arc_conv? Tried them? You again do not mention game title, without it the answer would be quite generic.sorry i forgot to put the name of the game it is narcissu 3rd, I tried using this https://github.com/GAEndGears/majiro-tools but when i convert the text (with text_conv.exe) like text_conv majiro 1.mjo > 1.txt the txt comes out emptyI'm going to sleep and gonna keep trying tomorrow maybe im doing something wrong I'll try, once i can find a link to the game, or if you could upload the scripts.I uploaded the one that I unpacked and the original, http://www.mediafire.com/download/gfxziml8ae9kyes/update.rarhttp://www.mediafire.com/download/co9bdyktphy5ti0/update.arcI want to modify nard00 to nard16 but it just doesn't work it could be of great help if you can teach me how to do it and how do i repack them again after modifying them. thanks!I almost forgot there is a way to unpack them since they are here http://tlwiki.org/?title=Narcissu_3#Scripts but I can't use that since is modify i don't know how they put all the scrips into a main one like this either nar3.sjs Edited November 5, 2015 by Deep Blue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.