Jump to content

Takeshi

Members
  • Posts

    10
  • Joined

  • Last visited

About Takeshi

  • Birthday 12/02/1996

Profile Information

  • Gender
    Male
  • Location
    France

Otaku Web

  • Visual Novel Database (VNDB)
    77532

Recent Profile Visitors

1385 profile views

Takeshi's Achievements

Fuwa Novice

Fuwa Novice (2/11)

0

Reputation

  1. Kelebek1 : It's all ok, binaryfail gave me a tool to unpack the parts of the decompressed file, and another tool to track the opcodes that the game calls while running the game, I'm currently writing some code to extract the strings into a file and then repack new file by modifying the 'goto' locations in the file. As you said, it's long and boring, but up until now, I'm done with the first script file (there are 98 script files, and 94 of them contain strings, for a total of 20106 lines (plus the choices that I didn't take into account for now) and the script my code can handle only contain 142 lines ) Btw, the extracting/repacking tool I'm writing will use the extractor you gave me, can I add your name in the credits ?
  2. So basically any replacement and original must have exactly the same size in bytes... Do you think there's'a way to edit it simply ? I even tried to erase a kana from the text and then rewrote it, it didn't work. EDIT : Ok I figured out how you did the modifications, not only there's the size restriction but also find the bytes sequences and replace them with encoded text sequences is pretty long... I hope there's a way to indicate the lines' size inside the bin, otherwise we'd have to edit the executable, and that'd be a completely different story... EDIT 2 : Well I worked on the binary file, I've noted ome patterns for displayed lines : (all the independant valors are hexadecimal, the names and lines are encoded either in Japanese Shift JIS either in ASCII (S JIS characters use 2 bytes each) ) Narrative parts : [sometimes similar pre-sequence] 00 45 [beta sequence] [line1] [closure sequence] (45 [following beta sequence] [following line] [closure sequence]...) Voiced lines : [sometimes similar pre-sequence] 90 0D 00 [character name] 00 44 [alpha sequence] 59 45 [beta sequence] [line1] (25 E4 [second part if separated]) [closure sequence] The parts in brackets () are optional Alpha sequence : for voiced lines, indicate which audio file take in vo.afs Beta sequence : line number. For the voiced lines, even those containing two lines separated by a '25 E4' have only 1 alpha sequence and 1 beta sequence ; but as narrative parts contain a lot of separated lines (see above) each line has its own beta sequence Closure sequence : 00 4A FF FF 6A FF FF FF FF 49 FF FF FF FF : the same throughout the whole file The pre-sequences are different for narrative and voiced lines, and aren't the same throughout all the file I named the alpha and beta sequences arbitrarily on my draft, they have some kind of specific form, but they have a logical order I still haven't found the string lengths in the binary file, I'm continuing to search, but I'm afraid that they could be in the executable If anything is unclear in what I said just ask me. Btw, maybe I should open a separated topic ? Anyway, I keep trying to decode the file, if you have anything new, please tell me EDIT 3 : Mea culpa, the beta sequence isn't a global counter of lines, it is reinitialized each time a scene ends. Which means, by counting occurence of the first beta sequence (+opcode) : "45 FF FF 00 00" that there are 94 scenes, of variable sizes. But I confirm that alpha sequences are indicators for voice files. And there's one more thing, I tried to add a byte in one of the very last lines, and it crashed instantly, which means that the program loads the whole binary file at the very beggining, and compare all the string lenghts in the same time.
  3. Wow, you're great, I tried your program and it seems it works, but strangely, I can't edit the file. More precisely, I open the uncompressed file with notepad++, indicate the character setting to Japanese Shift JIS, find the first line (殺される), but whatever I put into this line, when I recompile the file, the game runs, but when I click on 'Start', the screen goes black and returns to the menu. So the last question is how you edited it ? Why is there still weird text and symbols around the game's text in the decrypted file ? (And did you run the game in standard locale or Japanese locale ?) So really, thank you for your work, I will add the translation of this novel to my projects (in fact it's the next one)
  4. Oh, don't worry, there is a prelude part, with some text and choices before the video, you can have a view of what look like the display if that's the question. (The first video doesn't appear at the very beggining). Basically, I just replaced all the content of the heaviests archives with the smallest file of each original archive, you will only hear 1 sound and see 1 picture with the text. Thank you again for giving it a look
  5. Ok, I'll try to prepair a 'light version' for editing, if I reduce the game that much, you will not be able to go past the first video but if it's enough... EDIT : Done, I have a light version (314 Mo, 187 Mo in a .zip), I'm uploading it now, the game runs correctly up to the first video (missing in the package). I'm uploading it right now. Btw I just realized I gave you the French notation Mo instead of MB up until now, sorry for that x) EDIT 2 : Here is the link : [i deleted the link, PM me for information]
  6. Ok, my quest seems harder than I thought, I didn't manage yet to contact the Chinese team, but I obtained their release : the original executable is 835 ko, their patch consist in a 389 ko replacement executable and a 38 Mo .chs file, it seems I'll have no choice but to ask them directly, (and pray to be understood, I don't understand a word of Chinese)
  7. Yeah, thanks anyway, I'll search methods to open bin files from xbox games, since the original remake was a xbox game. But still, why these guys let all the multimedia files readable for anyone but hid the script behind an ugly encryption ? EDIT : It seems that a Chinese amateur group released a patch, I'll try to contact them.
  8. Well, I kinda feared it... Don't you know any way to decrypt it ? (Well, I know that doing that with no clue about used encryption method is pretty impossible but maybe that format has already been used in another game...)
  9. I tried running game after having replace th voices archives with an archive containing only the 9 last files of the original archive : the game put these 9 voices files on the 9 first lines and then refused to go any further (the game didn't crash, but th story couldn't continue), but it didn't crash. Then I tried to delete some random parts in sn.bin, either the game return to the menu when i click "start game", either it crash. I tried to edit bg00.afs by replacing the two first files with copies of the two following files : there wasn't any problem. Here's what I think about the afs archives : as long as there's the good number of files there's no problem if the content isn't the expected content, the first of the two extractors I used for these archives (afs util from shentrad) just gave me formatless files (file01, file02, etc.) only the second one (crass) gave me the files' names and formats (I had to use the first one to repack though). The game just take the content of the archives in the order they are put. But editing the sn.bin carelessly (well as I only see some weird symbols I can't know what I'm editing) seems to cause the game to have tougher reactions. The absence of an expected video file just stop any progression, just like the absence of voices files.
  10. Even Villains have standards!

  11. Hi, first, since English isn't my native language, I may speak strangely, sorry for that I'm trying to do the preliminary work for translation on the game "Phantom - Phantom of inferno" (The recent PC remake) but I'm facing a difficulty I can't defeat (I'm usually good with that kind of stuff though -_- ). In the data folder, I have : -the dx folder with the videos -some afs archives -a file called "sn.bin" First I assumed the script with the game's text would be in one of the archives, but when I opened all the archives, I only found .spc and .xtx picture files (which I couldn't open, but that's not important), and some .ahx and .adx audio files (musics and sound effects). There wasn't any file that could be the script. So all of this led me to think that the key is this sn.bin file, as its size (around 1.4Mo) is close of the expected size for a script (imo). But here's my problem : I can't open it, I can't find any solution on the internet, no matter which encodage I try to read it with, there's only gibberish characters and I'm pretty annoyed now. So if any of you already managed to open a .bin file from a nitroplus game, or if any of you has a clue about the position of the script file of this game, please tell me (I'm becoming upset here ) Here I put a description of the game's files : In the main folder : 1 folder and some files about registration of the game (anti-copy protection, that's not my matter here), the main executable ph.exe, the uninstaller and the icon (and a text version of copyright notice ) and the data folder. In the data folder : -the dx folder, containing the game's videos -font48.xtx, as it's a picture format, I guess that's simply the game's font -0flist.dir : a text file containing the names of the 7 .afs archives and the sn.bin file -bg00.afs and bg01.afs contain 1934 pictures on .spc format -bgm.afs contains .adx format music -bgs.afs contains smaller versions of the 1934 pictures, on the smaller .xtx format -sys.afs contains some pictures and a file : adxmem.bin but as it's only 844 ko I don't think that's what I'm seeking for -vo.afs contains .ahx audio files, but I can't read all these files, and even if the music are played by VLC, I can't hear a sound (well, I guess that's not important anyway) these files are certainly the voices -se.afs contains .adx sound effects (gun sounds, car sounds, and the likes) -sn.bin is the mystery file I can't open, since it was listed in the 0flist.dir I'm pretty sure it's hiding something important, and since I didn't found it elsewhere, I assume that's the script file. Here is a link for the problematic file : https://mega.co.nz/#!1ZwVWQgD!qqtG5Q7I7rZRIK41SnavJKK57204pFMwYCM6CImZAKY(If you dont like MEGA or if it doesn't work for you, I can send the file or any other file from the game by mail, just ask me) Well I hope someone have a solution for me, because I'd really like to share this good visual novel with people.
×
×
  • Create New...