Attemting to create an english patch for Boku wa tomodachi ga sukunai PSP game.

Started by Yuki_Hayato, April 21, 2023, 08:31:04 PM

Previous topic - Next topic

Yuki_Hayato

Hi!

Since I found a translator, I started looking about how to create an english patch. I've read most of the post but since english isn't my first language, I've encountered some issues. First I extracted the ISO got the INS/SYS/USRDIR folders. Seems like that game works like Oreimo and Toradora since it's made from the same devs, I tried to contact the teams but I didn't found the devs sadly, got some help from someone but I'm still stuck about what to do. My goal is to extract the scripts so I can change them into english, from what I have seen, I need to look at the res.dat file in INSDIR, when I check it in Hex or just a file viewer, I can see this:


We can see the script.dat and other stuff, but why are they in res.dat? I looked at Quickbms and crystaldex and other stuffs but (maybe because I struggle with english) it doesn't help.

A bit further, the HEX looks like this :


I think the scripts are in this mess but I tried to modify a bit or use other language to have something decent but yet again I failed.

When I looked at the game is PPSSPP, I found this:


Seems like the game use this picture to write letter by letter, I don't know if it's good or not (and I don't know how PPSSPP managed to take this out of the game lol)

EDIT: From what I tried, this picture is from the file font.dat in USRDIR since when I delete it, their is no text in the game


Well I think I've said it all, since this game has a spin off called Kirameki school life, I'm pretty sure that if I translate one game, the other one would be the same strategie to use.

Thanks for reading!

KingMike

I would reupload that font image with a proper background color. It seems to be an image with a transparent background. It will probably not be visible to many users.
"My watch says 30 chickens" Google, 2018

Yuki_Hayato

Good news, I progressed a bit, I managed to extract files from RES.dat and I found this:



That's basically all files I suppose, especially that we can see the scripts.

BUT

A typical folder look like this:





I can't really open .GIM files, I tried with GIMViewer but it just doesn't work, I think the problem is that those GIMs look like this



Which is unreadable contrary to a few ones in other folder which are readable and looks like this:



Even if I try gimconv, it just tells me that it's the wrong format (?????)

Furthermore, it contains .mtn files, .wav.vol and .hca files, tried to seek some readers online but seems like they don't work for me.

I feel like I'm close and I just need to go throught a big wall lol

FFaddic

Admittedly I don't know much about PSP hacking/translating but presumably the next step would be to try and create a tbl file. You should try doing some relative searching (Monkey Moore is good for this) to try and find some lines of text.

Bunkai

Quote from: Yuki_Hayato on April 23, 2023, 10:37:47 AMGood news, I progressed a bit, I managed to extract files from RES.dat and I found this:



That's basically all files I suppose, especially that we can see the scripts.

BUT

A typical folder look like this:





I can't really open .GIM files, I tried with GIMViewer but it just doesn't work, I think the problem is that those GIMs look like this



Which is unreadable contrary to a few ones in other folder which are readable and looks like this:



Even if I try gimconv, it just tells me that it's the wrong format (?????)

Furthermore, it contains .mtn files, .wav.vol and .hca files, tried to seek some readers online but seems like they don't work for me.

I feel like I'm close and I just need to go throught a big wall lol

take a look at these files, should get you those gim files converted in png to edit them (with gimconv)

https://github.com/Bunkai9448/digipet_PSP/tree/main/Gim2png_bat

You can also use this to get you an idea of how to work with the font

https://github.com/Bunkai9448/digipet_PSP/blob/main/RE_Guide.md#The-Font

Hope it helps, and best of lucks with your project.

PS: I have a guide of all the above including some info about system messages and a few more things in case there are more things you can take advantage of https://www.romhacking.net/documents/905/
Curiosity leads to knowledge,
be curious.