Jump to content

Recommended Posts

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 empty

I'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 by CryingWestern
Link to post
Share on other sites

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 empty

I'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.rar

http://www.mediafire.com/download/co9bdyktphy5ti0/update.arc

I 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 by Deep Blue
Link to post
Share on other sites

Btw, sorry for the main posts being down. The reason is simply that the last forum update has messed it up completely, The spoiler tags don't work, the editing is broken, many images aren't uploaded anymore, and other problems.

Until all of these problems are fixed, I won't put it back up on the forum. Aside from the pictures, most of the problems are no related to me though.

My appologies

Link to post
Share on other sites

So I'm going mad with this problem...how the hell do I repack the txt into .mjo and then into .arc I tried everything and the files are always 0kb I already tried so many combinations  >_>

any place where i can find info about this engine specially the text scripting and how to use the tools to pack and unpack the files? 

EDIT: Using AE i managed to pack the .mjo into .arc but i still cant convert the txt into mjo:saber:

Edited by Deep Blue
Link to post
Share on other sites

So I'm going mad with this problem...how the hell do I repack the txt into .mjo and then into .arc I tried everything and the files are always 0kb I already tried so many combinations  >_>

any place where i can find info about this engine specially the text scripting and how to use the tools to pack and unpack the files? 

EDIT: Using AE i managed to pack the .mjo into .arc but i still cant convert the txt into mjo:saber:

All you need is arc_conv from w8m. Version from that github is fine: https://github.com/GAEndGears/majiro-tools/blob/master/arc_conv.7z?raw=true

To unpack .arc (I would assume you use update.arc) type in console: arc_conv update.arc
Folder update.arc~ would be created. Copy one of the files from this folder to the folder above (copy nard00.mjo for ex).

To convert file to text format type (I use nard00.mjo as example): text_conv majiro nard00.mjo > nard00.txt

After you're done with .txt changes, to pack back to .mjo type: text_conv majiro nard00.mjo nard00_.mjo < nard00.txt. This will create file nard00_.mjo in same folder (also initial nard00.mjo file should be present! do not delete it).

After that copy that file nard00_.mjo to update.arc~ folder, delete old nard00.mjo and rename it to nard00.mjo (e.g. replace old nard00.mjo with newly created) and pack it back to update.arc using this: arc_conv.exe --pack majiro update.arc~ update.arc 2 (notice 2 - that's majiro format version, in your update.arc it was V2, so that's why I put 2 here).

You should get newly created update.arc.

Link to post
Share on other sites

I finally did it, so my mistake was on not letting the original mjo file in the same folder when I tried to convert the txt into mjo again so you need to do this

text_conv majiro originalfile.mjo yournewfile.mjo > youredited.txt 

what a pain in the ass, then I just use AE to compress them, also I need to edit both files to make the things i edited  to work correctly, when i say both files I mean

nar3_00.mjo which contain some lines of the scrip and then the main file nar3.mjo, i guess they did this because all the stories are divided into chapters and you can select them individual but it also checks the main scrip (?) anyway if you dont do this it will generate a chaos....this engine is a mess, the way it handle the lines, for example how you  add the furigana

lets say I want to write 私達 and add furigana then i need to write it like this

1わたし
2私
3たち
4達
what a piece of garbage...

also everytime you go to the next line the program jumps to the next line to, even NScripter was much more robust and simple to work with... I'm not sure i want to spend time with this at all, also when I try to bypass the main files using the update file I need to add the number of the line i want to edit...is just a nightmare to work with.

I tried and it works with AE Majiro Arc ver 1.000, with 3 and 2 it doesnt even start it just tell me (I guess) that is a dif majiro ver

Thanks both of you for helping me with this.

EDIT: for anyone how wants to unpack the files in the future, use arc_conv because AE sometimes it breaks the files so when you try to convert the mjo to txt it will give you a 0k file but it doesnt happen with arc_conv

Edited by Deep Blue
Link to post
Share on other sites

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.

Hey there Scorp,

if you only need the script for extraction, I released a set of python 3 scripts for dumping sn.bin archives (tested on a handful of psp/ps3/x360 titles).

https://github.com/mchubby/yetireg_tools

 

I won't be around to help much, so if you need proper tools, you'd rather recruit someone to hack this.

 

Greets and out,
Nanashi3

Link to post
Share on other sites

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.

Hey there Scorp,

if you only need the script for extraction, I released a set of python 3 scripts for dumping sn.bin archives (tested on a handful of psp/ps3/x360 titles).

https://github.com/mchubby/yetireg_tools

 

I won't be around to help much, so if you need proper tools, you'd rather recruit someone to hack this.

 

Greets and out,
Nanashi3

Well, I unpacked and extract the portions myself, that's trivial thing, I believe you can just unpack using Okamura own LZSS.C code from 1989.

That's a pity you did not digged much into what these opcodes meant, but thx :) Will try to take a look later, as I believe there would lot of compatibility issues with different titles.

Btw, I do not see any jump/call bytecode command elaborated in your extjis_psp-cc.py. Did you really missed them? As if yes you would never be able to recompile script back if you edited something.

Link to post
Share on other sites

Hi,

I was planning on making edits to the files eyecatch_0705 to eyecatch_spring in hoshimemo to include the year as well as the date,

and even used the exact font (via test drive, no way am I spending $500 on one font), correct format (24BMP with alpha) and everything, and discovered crass can't repack them into bins. :(

Unfortunately, repacking tools rest on the EH project, so I'm left with nothing to work with, unless by some miracle I can work out/find a method for doing so, or someone points me in the right direction.

Link to post
Share on other sites

Well, I unpacked and extract the portions myself, that's trivial thing, I believe you can just unpack using Okamura own LZSS.C code from 1989.

That's a pity you did not digged much into what these opcodes meant, but thx :) Will try to take a look later, as I believe there would lot of compatibility issues with different titles.

Btw, I do not see any jump/call bytecode command elaborated in your extjis_psp-cc.py. Did you really missed them? As if yes you would never be able to recompile script back if you edited something.

Yes indeed, the script merely dumps text and has no way to reconstruct. It is left as an exercise to the reader :)

Unfortunately, I'm afraid my MIPS proficiency has rusted. delay slot etc. */me forgot it all*

If you need a few pointers for PSP C+C, I gathered a few annotations when I browsed the eboot. Hopefully PPSSPP improved its debugging capabilities.

Data symbols

ptr_curSN  091D1700
g_nScripts 09A25CE0
ptrOpcode_ 09A41A70   << Instruction Pointer, should be useful for locating jumps

Function symbols

Lzss_decompress 08850F34
opcode_sub2b 088567D8
opcode_sub4b 08856854
OP00_0b  088568B0
OP01_var 088568E4
OP10     08857040 

And the function table for opcodes seems to be .data:0888F164

Sorry I can't be of much help XO

 

Link to post
Share on other sites

You can try these tools though not sure if it will work (you'll need to link a path through cmd to use these as well I believe).

I believe AE has a converter and packer. Haven't used it yet though. So whether it works or not, i don't have a clue.

I tried running bin_archiver through cmd, imported the module, and ran "bin_archiver -c graph graph.bin" (usage instructions were the format "bin-archiver.py folder output.bin")

The folder was in the same directory as the script, and the same name as given in the above command. I got:

File "<stdin>", line 1
   bin_archiver -c graph graph.bin

   bin_archiver -c graph graph.bin

                                              ^

SyntaxError: invalid syntax

No dice :(

And is AE the same as Akerou? If so, he's planning to add a repacker, though I don't know when.

Edited by K450
Link to post
Share on other sites

Alright, uninstalled all other versions and installed the recommended (3.0) release. This was the result:

 

You're not invoking the tool correctly. Check here: http://i.imgur.com/NUU6Anv.png

METHOD #1 : Usually, you should run a script directly from the command prompt (and not python's shell)

METHOD #2 : If you really wanted to run the pack function from the python shell, that's how it should be done. Make sure bin_archiver has the .py file extension, otherwise it won't import.

METHOD #3 : Don't repack a new bin. For the FVP engine, you can make a new folder within the game directory. Give it the same name as the original bin (excluding the .bin extension) and put your modified files in that folder.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...