Quick update time. It seems that the file that is most likely to contain the text data is encrypted. It probably has the text data because it's the only one there that's not found in other games and it was where BBS0.dat, which is the file edited to translate BBS, was found. If some can decrypt it, that would be fantastic. I can't make any progress at all since I can't find the entire dialogs due to the file being encrypted.
Update! I think I figured it out. I extracted the data.cpk, found the data for the days, edited day00, which I assume is the prologue, and rebuilt the data.cpk. This significantly lowered the filesize for some reason, and the game didn't start up. I'm trying to fix this
EDIT:
Update to the update!
I found out why the filesize went way down. There are a bunch of duplicates in the .cpk for some reason, and I don't know how to deal with em.
Hey, I realize this is a bit out of the blue, but I wondered how you decrypted the data files. I'm trying to get a hold of the script myself so I'll have an easier time playing through the game (as I won't have to waste so much time looking up kanji), but ran into the problem of not being able to extract it.
can't find that thread -^()^-
but i take it you could use UMDGen, right?
i'll take a foray into there in a day or two, when i can get my (virtual) hands on the iso...
nvm, found it, pulled the game apart and all...
I don't think you're going to find anything useful in the day folder. all of those just seem to be pointers to the pack folder, where i'm finding some real text, followed by random save screen stuffs...
i looked at all the day files, and they all had that same save data crap followed by nothing but random addresses and directories and stuffs...the only one that had anything was day/000.dat, and it was about a paragraph. Possibly the prologue, but whatever, it's a loner, relatively speaking...
all the REAL data is in the pack folder.
I'm not sure about the pak files like msg_emiya_r01_000.pak, htat is, pak files with real names. I think they're graphics files, since they're about 1% header and 99% random data. Worst case, it's actually the text, but all compressed, though if all of those pak files are text, then we're looking at 400 Mb of text, which i believe to be a statistic impossibility (maybe not for kinoko nasu but...)
I am concerned about hese files, in particular emi001.pak, because there's definitely a pointer table at the beginning of it, which is something that is used, at least in nds roms, to say taht there's text.
then we have the unnamed pak files (as i have decided to call them)
the pak files with crap like:000021_0.pak. i've played enough games in japanese to tell the difference between a full sentence in japanese and absolute gibberish.
If you open that file, for example, in some hex editor (i'm using windhex and Madedit) and look around, you'll find a bunch of interesting things...
like at:
16E8C, if you can read Kana, you'll notice that there are a bunch of interesting names, like, Arcueid, and Archer. I'm not sure if those are used, anywhere, but further down, you'll find some place names and stuff until you get to:
00018E38, where you find another sub-file (or at least the flag 30h 96h, which i htink is the beginning of a sub-file, though i haven't looked aorund long enough to be sure...)
There, you will find something even more interesting. Something I believe to be a tutorial, actually, as it's got random crap like HP, and MP randomly in there...
I think, that what it uses to say who says what, it has #RUBS Master (or Masutaa, if you'd like)#RUBE although sometimes it has a
#RUBS Masutaa#RUBE some kanji name, which isn't always he same...
Later on, I found a few things which I think display the Servant's name or something:
#C120200255 Archer (or AaChiYaa, to be true to the language) #CDEF.
From what I can understand of random punctuation, kana and hiragana, there is a conversation going on between them...
i think i should actually turn on the game and play it abit, even if just to find the opening text or something. I'm under the impression that it uses some special format to display the master's name, but then again, maybe not...
update:
ok, now i'm seriously confused. Every one of those pak files seem to be repetitions of each other with just a little bit more. There is no text in 000310_0.pak, for example, that doesn't show up in 000327_0.pak...and the text is all just in the beginnings of those files...i still think the script is somewhere in those pak files, though. I'm not sure. I'll keep looking...
update2:
ok, so i actually turned the game on and looked for some text, and one of the first things said in the game is Classmate. So i opened up the data.cpk and searched for "Kurassumeto" and find nothing.
So that means one or more of three things:
the script is not in data.cpk (which sounds kind of stupid to me...)
the script is not in shift-jis encoding (plausible)
the script is compressed (can't imagine why they'd sacrifice efficiency for space, but...)
so...does anyone know what kind of compression psp games might usually have?
update3:
so...I wrote a quick script to find instances of #REND, which i believe to be the command to render the image of whoever's talking. the .pak files had them, sure, as expected. the day/00xx.dat files did not, and, interestingly enough, the .cmp files did as well. I looked inside them and found nothing but gibberish, so I refined the search to look for #R, which tjrned out a reasonable amount of them, some 20-30 for each one, which makes sense considering the fact that there's #RUBS too...
I looked a little closer at those files and did indeed find correct, non-gibberish uses of #CDEF, #REND, #RUBS and all that stuff, but there were also bits of #RwEND and #C2%^55120 and stuff which is making me think it's compressed in some way or another. I AM finding instances of "Archer", sometimes mangled, and I AM seeing bits and pieces of dialogue, but every few bytes or so, there's some random byte that shows up and messes everything up. It slowly gets worse and worse as the file goes on until there is nothing but incomprehensible gibberish. i'm guessing most of that gibberish is graphical data, since no game can possibly have 400+Mb of text, thoguh i'm at a loss as to why they'd put their dialogue text in the middle of their graphics data...
i'm going to search the .pak files again, just to be sure, for any instance of "Classmate", because i'm hoping i'm mistaken...
not finding "classmate", but after looking for "Masutaa" in all the .pak files, I found this much:
the beginning parts of each of those numbered .pak files are all the same, but there are some fairly large differences later on. i don't understand it, so i can't tell how different they are...
emi000.pak was definitely interesting since there was a huge block of text, coherent text as far as I can tell, and it's dialogue, since he's addressing his Masutaa. ner000.pak and tam000.pak are the same as well.(the three SErvants you can get are EMIya, NERo and TAMamo, thus the emi, ner and tam) Once again, i don't understand them and i'm not quite 100% sure what the game is like, so could they be like the different things they say depending on what route you take?
i kinda need someone to take a look at that part and confirm it for me, though...
Hey, there. Not to discourage you or anything, but maybe you should try editing some of the Japanese text into English and recompile them back into the iso first. Just to make sure you actually know what you're doing. It would suck terribly if you finish the translation and realise you can't put the edited files back into the iso and still have it work on your psp. And if you have to recompile it all into data.cpk before replacing the file in the iso, then how would you release a patch file? Of course, if you've already got that cover, then I apologise for butting in. Sorry.
the prolbem right now is that i can't get to the script. it's in the .cmp files and it's compressed along some version of the lzss scheme that i'm trying to figure out. i'm asking around for help, but i'll post back here if ever i manage to figure it out. can't test anything until i actually find what i need to edit.
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
Another video game prototype has been found and preserved, and this time, it's none other than the game that spawned an entire franchise beloved by many, the very...
Anbernic is back with yet another retro handheld device. The upcoming RG28XX is another console sporting the quad-core H700 chip of the company's recent RG35XX 2024...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
Two classic titles join the Nintendo Switch Online Expansion Pack game lineup. Available starting April 24th will be the motorcycle racing game Extreme G and another...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...
In 2017, the United States Federal Communications Commission (FCC) repealed net neutrality. At the time, it was a major controversy between internet service providers...
only ps5 updated to latest firmware can go on psn, jailbroken ones just don't use psn or they risk getting flagged or banned, altho spouting profanity in online play alredy does that