Jump to content

Recommended Posts

Posted

Now that i'm home and i can see the file, I'll say that it is the file you are looking for, and it isn't encrypted, however, I don't think i can do more then that, so you can work off the archive directly if you want.

Posted

I just translate the choices and some etc. for me and for my friend. In fact I manage to TL 10% of the scripts Koikano even it's UI's, I just got tired of google-ing those unknown kanjis and end up stopping the translation (I'm still learning japanese though).

Posted

Hello everyone, I'm trying to extract the script from a game called Yoiyo Mori no Hime. It's a psp game released some weeks ago. It's stored in a filed called SCRIPT.DAT (iso had it in allcaps). It's a new game from a new company, so I'm having trouble with figuring things out.

 

When I put SCRIPT.DAT in a hex editor...

  1. It has ADVF at the beginning; a header (if it is) that I've never seen before. The rest of the .dat files in the game also contain ADVF or ADVG near the start of the file.
  2. When I change the encoding to SHIFT-JIS, the lines in the script looks fine, but the names of the speakers are nowhere to be found.

edit: grammar

Posted

heads up, we most of us don't like downloading the games to figure out the problem, just upload the file so anyone of us can try it out.

 

EDIT: Also not many people can do PSP games, so don't count on much help.

Posted

 

EDIT: Also not many people can do PSP games, so don't count on much help.

 

Yep, I figured that I could have a little more luck over at gbatemp, but creating a new thread for the typical hard-to-determine .dat file could be more trouble than it's worth, especially for the regular ROMhackers who have to answer the same question all the time.

 

But here's the original file, 2mb.

Posted

Format's pretty simple, but that doesn't help decompilation since the game isn't there to test. Without a proper decomp it would just be bodging strings, and hoping to get lucky that there aren't any jumps or flow control in it.

 

Header:

long magic (ADVF)

long ukn (version number?)

long file count

 

Entries:

long absolute pos

long length

long ukn (possibly compressed or uncompressed length if the file was compressed, but all null here)

 

Don't know about the individual script formats, need some investigation from the game. The strings are all integrated into the script directly, so changing string length may break things if there's any flow control. Opcodes are all words, text-related ones are all above 0x90. 0x95 is narration, 0x96 is not sure (voiced lines?), 0x9e has text too. I can't be sure without the game. 0x93 are like labels or something.

 

I would've gotten an older game from them and checked that one, but VNDB says this is the only game this company has made, so can't do that either.

Posted

Hello, and sorry in advance if this is a stupid question. I was able to extract the script.dat and arc.dat files for the VN tsujidou-san no junai road using exwhaledat, but I was wondering how would I repackage in edited script files back into the game?

  • 2 weeks later...
Posted

Does anyone bother to find out format of xtx/spc files? Asmodean was not able to figure it out (at least on my PC remake of Phantom of Inferno it tell "unsupported format").

Posted

Why so serious? By me remake is so much better even in terms of code (that awful Macromedia Director in old version, bleeeeh). And no, I am not working on it, I just wondering about images :) Anyway, if you started that - you have a tool to extract files from cst archives (Macromedia Director protected files)? Did not found any working urls for such a thing...

Ok yeah it's just compression, not encryption. I haven't made a decompresser yet, but here's the decompressed file: http://a.pomf.se/ixanzt.rar

EDIT: Ok, made a decompresser and a fake compressor: http://a.pomf.se/qfzmbb.rar

Actually it is just 100% standard LZSS from 1989 by Haruhiko Okumura - https://oku.edu.mie-u.ac.jp/~okumura/compression/lzss.c

You can just compile the script by my link (do not forget to change 0x20 in buffer to be 0x0) and this would do perfect compress/decompress.

Posted

Has anyone had any luck with Minori games, I want to translate Bittersweet Fools or Kimi ga nozomu eien. The file in quesiton is a .mip file, if I can't hack the game then a graphics dump of the game would be wonderful. That way I could rebuild the game. 

Posted

Missing some definition files, the res.mip is just a load of images all together, there should be another file with their locations and sizes. I get the feeling there's one for the script too.

Posted

Missing some definition files, the res.mip is just a load of images all together, there should be another file with their locations and sizes. I get the feeling there's one for the script too.

By me TOC in the beginning of res.mip and is crypted by some blowfish (or maybe just a simple xor)... Which you never know, unless you hack original game to see how it load file (well, if this is xor, you could try to figure it out without original game, but I does not posess such skills).
Posted

There are three discs for the game, one for installation, one to play and another for the music. I'll upload the discs so you all can access them too. You can only see music files on the play disc so the rest may be hidden. The image below is from the main directory so the other files may be on the play disc.

main.png

Btw could whoever looked inside the files I uploaded upload whatever was inside the res.mip and sc.mip.

Don't know if links are allowed but here's the PC version of Bittersweet Fools.

https://mega.co.nz/#!a5EglAwD!bG6cmxzWL0yzZPVxBgoT8fuNmJxsSOX5odm63O-dvyU

https://mega.co.nz/#!uo9XGSxa!oqntd-jIiKbQBmbhCq0F5FiJObNnyY2iUiK47CB0Sgo

https://mega.co.nz/#!69t32RBD!o1iw-PsyPD2kXQ9o1sOd5FYcQ0gSLuDrjiGyFk_hyt4

It's a simple xor with 0xFF. The res file is just a whole list of PNG chunks together.

What tools did you use to do this?

Posted

What tools did you use to do this?

 

My own, it's really not too hard to just xor a file with the same byte.

 

 

There are three discs for the game, one for installation, one to play and another for the music. I'll upload the discs so you all can access them too. You can only see music files on the play disc so the rest may be hidden. The image below is from the main directory so the other files may be on the play disc. 

 

main.png

 

Btw could whoever looked inside the files I uploaded upload whatever was inside the res.mip and sc.mip. 

 

Don't know if links are allowed but here's the PC version of Bittersweet Fools.

 

https://mega.co.nz/#!a5EglAwD!bG6cmxzWL0yzZPVxBgoT8fuNmJxsSOX5odm63O-dvyU

https://mega.co.nz/#!uo9XGSxa!oqntd-jIiKbQBmbhCq0F5FiJObNnyY2iUiK47CB0Sgo

https://mega.co.nz/#!69t32RBD!o1iw-PsyPD2kXQ9o1sOd5FYcQ0gSLuDrjiGyFk_hyt4

 

https://www.mediafire.com/?3y1xirzao3ieoak

 

That will extract all the images from res.mip, and it'll give you the xor'd version of both res and sc. Run it as "BittersweetFools.exe res.mip" or sc.mip.

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...