Hacking [Solved] Proper undub of Valkyrie Profile Lenneth (PSP)

  • Thread starter zeropain
  • Start date
  • Views 25,087
  • Replies 55
Z

zeropain

Guest
OP
Wait, wait, are you really working on undubbing the PS1 version of Valkyrie Profile? I thought this was a joke...
 

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
not really but i took a look.
if it's not too much trouble i might finish it, but that really depends on how fast i get bored figuring out how the TOC works.
decompressing the compressed files is not really an issue, i just need to get to them first.
 
Z

zeropain

Guest
OP
Im not expecting anything, but its still great that you might consider it!
Lets hope the best.
 
Z

zeropain

Guest
OP
Hey, at least we have the undub for the PSP version :D
 
Last edited by ,

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
okay it's now hacked.

the table consists of 2 parts;
the sector start address table (4b/entry) encrypted with large primary key
the sector size table (1b/entry) encrypted with a smaller secondary key
the addresses are propably disk absolute, if you take the container out of the game, the point of entry is 0x41300 (this is technically relevant but if you know what you're doing it doesnt matter much)

this is disk 1 of US version, i'll have to mess with the other ones to pick up if they use identical values or something else.

Edit: they be more or less all the same, i can fetch the key from each of the 4 disks and decrypt the TOC just fine.
i guess i gotta get some tools programmed lol... *facedesk*
 
Last edited by Kitsu-neechan,

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
nevermind, there's still a couple kinks to work through it.
....sector addressing would have been too easy anyway. I was close, but not entirely correct (if you get to the point where i am, you'll see what goes wrong after 70 sectors or so of extracting :P)

im expecting to have a fully working extractor/rebuilder in couple days.
 

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
getting to the point where i am is hardly difficult (hint: i posted the cryptokey earlier lol)
you'd still need the second key to get the second portion of the table but if you have the first key and can figure out where it came from, getting the second is not really rocket science.
 
Last edited by Kitsu-neechan,

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
well it' 6:30pm in potato land and since binaryfail (blacklabels programmer) is sleeping, it looks like we missed our little imaginary deadline of 2017, but oh well...
the unpacker, valkrypt now decrypts and reads (correctly this time) file tables from all disks of all versions of valkyrie profile ps1, and once we spend an evening more for the easy generic coding of actually making an unpacker/repacker around the existing code, there we have it.

Didnt make it for this year, but i did state it earlier already that it's for some other christmas :P

making the actual undub will take some days, depends on how much of digging i have to do to locate all the audio and how much the filetrees actually differ between versions. From what iv'e seen it's not too far left compared to the psp version so im not expecting it to take a month.
 
Last edited by Kitsu-neechan,
  • Like
Reactions: zeropain
Z

zeropain

Guest
OP
Take your time @Kitsu-neechan.

I appreciate every minute you are spending into this ''project''. Thank you for everything so far.

Happy New Year :)
 
Last edited by ,

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
well i started sorting it out now, but the catch 22 is that it more or less behaves like the psp version did when i worked through that back in the day.
what that means is that i have 3851 voice samples to go thought and match, but unlike psp, this is only for disk 1 :P (meaning i propably have to do the same shit again for disk 2)

since the filetrees do differ, and some of the audio is under the compressed multi-file containers, automated matching cant reliably be done.... this will take a moment to complete lol.
sans the amount of manual labor involved, there shouldn't be any technical issues left, unless something unexpected comes up later on.

edit: disk 1 done @.@
 
Last edited by Kitsu-neechan,
  • Like
Reactions: 726a67 and zeropain

726a67

New Member
Newbie
Joined
Jan 4, 2018
Messages
1
Trophies
0
XP
52
Country
United States
well i started sorting it out now, but the catch 22 is that it more or less behaves like the psp version did when i worked through that back in the day.
what that means is that i have 3851 voice samples to go thought and match, but unlike psp, this is only for disk 1 :P (meaning i propably have to do the same shit again for disk 2)

since the filetrees do differ, and some of the audio is under the compressed multi-file containers, automated matching cant reliably be done.... this will take a moment to complete lol.
sans the amount of manual labor involved, there shouldn't be any technical issues left, unless something unexpected comes up later on.

edit: disk 1 done @.@

I made an account here specifically to say thank you for your [pleasantly unexpected] work on this project.

I've waited a really long time for an undub - proper or otherwise - of the PSX version of VP.

Your progress thus far sounds extremely impressive and I can't wait to see the finished product! Thanks again!
 

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
the undub is practically done already, all that is missing is the rebuild mode from the tool to put it back together.
there's a couple things im still messing with though.
It might be possible to merge the disks into one without the need to remove any content from the game, so if that's feasible, it's definitely something im going to try and do.

edit:
to be exact: it IS possible to merge the 2 disks into one without removing any of the data, and it WILL work, the question that remains is, does it work with real hardware?
As usual with anything i do, if it doesnt run on the actual thing, I consider it trash and worthless, and refuse to release any such thing out in the wild.
the problem doesnt really come from whether or not such an image can be built or not, or even the fact if it fits on a normal CD-R or not (quite possibly it does, although barely.) the question is more like, is the ps1 actually capable of reading the full disk like that.
It was brough to my attention by people who are far more well versed on ps1 hacking that the ps1 does indeed have such a hardware limitation in place, which effectively prevents it from reading the last sectors of a completely filled disk.

either way, I got some 300 or so files to sort out from disk2, and then it's all good.
Building the merged disk is simply a matter of copying a few files over, and patching out the CD change function of the game.
 
Last edited by Kitsu-neechan,

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
so it's done.
it works.
I tried to record a bit with epsxe but the sound is so bad with emulators it's not even funny. (VP is a real bith to emulate. it requires really precise audio timing and runnign 1080p recording on top of emulating it cause the audio to garble up.)
burning it to a cd atm. I'll record something off real hardware later on.

at any rate, it's done, and it works. That is all
 
Z

zeropain

Guest
OP
Thats fantastic! Thank you so much for your hard work. I cant thank you enough!
 

Kitsu-neechan

Coffee makes your kokoro go doki doki
Member
Joined
Apr 9, 2015
Messages
307
Trophies
0
Age
36
XP
1,831
Country
Finland
I guess it's about time.
People have regularly been bothering me about this ever since i undubbed the psp version.
at any rate, im playing it on real hardware atm from a disk. so far so good.
 
  • Like
Reactions: ThoD and 726a67

AlternativeZero

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
250
Trophies
0
XP
817
Country
Awesome, it's good to hear that the PS1 version got some love since I heard it featured some improvements that weren't included in the PSP version.

It's a shame the PS1 is harder to work with than the PSP otherwise more people can make the undubbed version of many great games.
 
Z

zeropain

Guest
OP
It's a shame the PS1 is harder to work with than the PSP otherwise more people can make the undubbed version of many great games.

I dont know how many games for the PS1 features voice acting, but off the top of my head there are Tales of Destiny II (Tales of Eternia in Japan) and Grandia where i would love to see an undub as well (i love the english voice acting in Grandia though).
 
Last edited by ,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BigOnYa, I might resume using gdevelop