#PS Vita - How to edit eboot strings and spr4 files?

37 messages · Page 1 of 1 (latest)

olive hemlock
#

Hi! naosmiley
I'm translating P4D rn, but I have some issues: There are hardcoded texts in the eboot file, I can edit it with hex editor but some texts don't have enough space for me to edit it. Like I want to edit a text called "Items" to something like "Items 1234567890qwerty", is it possible to expand the text or something like that?

The second issue I'm having is the .spr4 files, I can't open it with the newest version of Amicitia, but I can with the older one (https://github.com/tge-was-taken/Amicitia/releases/tag/v0.3-alpha). But I can't save it and I got this error:

olive hemlock
split bronze
#

Hi
I am also trying to edit some text in eboot.bin but I couldn't any edit I make on 010 editor the game stops working and I couldn't find a way to decrypt and edit the file

olive hemlock
#

you need to decrypt it with fagdec

split bronze
#

I was able to modify it directly by modifying the HEX codes without having to decode but it is a bit tedious.

olive hemlock
#

Yeah that's what I'm doing too

olive hemlock
#

sec

pulsar olive
olive hemlock
#

i saw somewhere that you can use unmakeself thingy but i havent tried it myself

pulsar olive
olive hemlock
#

those are the menu texts that you need

#

you need to keep the exact size tho, or the game just wont boot. I think you can write the text somewhere and then change the pointer but i also havent tried it

pulsar olive
#

Hmm 'kay

#

Thx for help

pulsar olive
sharp skiff
#

I'm working with replacing strings on the P4G exe, so yes, you need to keep the exact size of the texts. If you want to replace the word "Add with "Adds" then you can do it using the "..." as a reference of the limit you have to make changes, just make sure it doesn't surpass thoses dots. Ex: "Add content....." to "Adds content..."

pulsar olive
sharp skiff
olive hemlock
#

thats how i translate those strings on p4g pc, not sure if it works on this game

sharp skiff
# olive hemlock yea, but you can try redirect its pointers

What I had to do to replace the english field names from P4G was make abbreviations of the words I was trying to use, because the space available to write what you want sometimes is not enough. I'm interested on knowing how you make redirections since that would be useful for me instead of just browsing on the EXE and trying to make the words fit naolurk

olive hemlock
#

u can use this if u want

#

starting at line 324 is when i change the pointers of the strings that need more space

#

just dont change anything ending with "_2" or "_redir:

pseudo lanternBOT
olive hemlock
#

then search for the string that you need to redirect, and then click on its xref

#

you will see its pointer

#

what i usually do is write the longer string on other languages string like German

#

and then i just type the starting address of the string i want the pointer to redirect to

sharp skiff
# olive hemlock

Oh thanks a lot! It definitely would help. So what I'm understanding here is: You first make the change for the text you want (EX: Capsule Machine being something like Máquina de Cápsulas on spanish), and then you make the same but with a _2 so Inaba Exe Patcher would take whatever you specify on that field as a continuation of the word to have more space for the string?

sharp skiff
#

Oh yeah, it definitely works like that! Before I had to call the Men's Bathroom the "Baño Mascul." and now it displays correctly as "Baño de Hombres" CinemaIgor

#

Gonna make a separate thread and tag you there for another question I have since I wanna do another change with other string of the game, but I don't wanna differ for the topic of this thread

pulsar olive
#

This "Fin" text also on eboot.bin?