Hacking [PSP] La Pucelle Ragnarok Translation

D

Deleted User

Guest
Take your time.
You translated the eboot.bin insanely fast!
All you can do from now on it's extra, the game is already pretty much playable for everyone, granted the story is a big part of the game but this is no race =P
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
Falo,

I tried the software and after making a minor "tweak" to some script text and then repackaging the ISO everything crashes on load. Something is not calculating the file pointers right for talk.dat.

Another minor concern is that I have still have to use SHIFT_JIS code for the letters Q, V, q, x and y. I need a way to insert letters and also punctuation with SHIFT-JIS code.

Also as far as the LZS compression, it has to be perfect or it will crash the PSP. I had it very close and it would work fine on the emulator but crash the PSP on load. My version does work but it is very slow since its in Python and single threaded.
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
Falo,

Also how are you calculating the pointers for each script talk?

I cannot seem to figure out who you got the pointers?

-ChepChep
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
Falo,

Also how are you calculating the pointers for each script talk?

I cannot seem to figure out who you got the pointers?

-ChepChep

the talk format is simple:

4 byte - entry_count
4 byte - entry_count //dupe
loop entry_count
4 byte - script_pointer
4 byte - unknown
4 byte - unknown
2 byte - unknown
2 byte - unknown
4 byte - unknown
4 byte - unknown
2 byte - unknown
2 byte - unknown
4 byte - unknown // many unknown's ^^

to calculate the offset: (script_pointer + (entry_count * 0x20) + 0x8)
the first script_pointer is always 0

//edit:
i did a quick test, by editing talk01_jp.dat and copy/paste all the PS2 text unchanged into the intro script, and it fully worked (jpcsp)...
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
omarrio,

Sure here is the script I am currently working on:
http://www.tarranoth.com/LPR/talk01_jp.dat

Falo,

It works when I do not insert any new spaces into the script. What I need to do is to add extra space to make room for the English to fit. If I change it too much things crash and burn when I try to load it into PPSSPP.

//edit
I tried it again and it works as long as you do not insert any new characters.

-ChepChep
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,627
Country
Germany
Update:


I have succesfully edited the font, it's possible to add all missing ASCII letters, but there is a bigger problem, using ASCII letters instead of JASCII / SHIFT-JIS breaks the script, i know that my editor fully works when i use JASCII, but i'm unable to find where the game stores the font width, therefor it's not a good solution to use JASCII (texts would go over the dialog box).

fontB.fnt contains the letter id's, fontB.ftd isn't used by the game, i can replace everything with zero's and the font doesn't change...

Also some new opcode names:
0x06 - Play Voice (PS2), Voice End (PSP)
0x07 - Play Voice (PSP)
0x09 - Label
0x0B - PPV (Plot Progression Value)
0x0C - Goto (Label)
0x14 - Show Choice

The first unknown value in the script table tells most of the Label values for the goto opcode, both label are identical in the PS2 and PSP version, i can now easily track down which english PS2 text matches the japanese PSP text.

//Edit found the problem
the script wants 2 byte letters, if i add enough 0x00 at the end of each text then it works
 
  • Like
Reactions: Linka

xhai

Well-Known Member
Member
Joined
Sep 19, 2012
Messages
173
Trophies
0
XP
109
Country
D

Deleted User

Guest
*___*
I'm on hold with this game, i'll just wait for your final patch, it's not worth playing now since an update may come any time and make the experience much better.
Specially for me that haven't played the PS2 version.
 

Linka

Well-Known Member
Member
Joined
Sep 13, 2013
Messages
248
Trophies
0
Age
34
XP
189
Country
United States
I just wanna say, thank you for the work you put into this!

I haven't been able to really give it more of a go (cause Disgaea D2 came out), but I look forward to the chapter 1 translation!
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
How are you liking Disgaea D2? I have yet to buy a PS3. I kinda waiting for them to drop to reasonable prices ones the PS4 comes out. I tend to stay a generation behind so I can get everything cheap.
 

Linka

Well-Known Member
Member
Joined
Sep 13, 2013
Messages
248
Trophies
0
Age
34
XP
189
Country
United States
If you want a PS3, I suggest you look right now. Gamestop's clearing out their stock of refurbished PS3's and they're all going for $150 regardless of model. Which means the 60GB PS2-compatible PS3s are free game, too. You have no idea how much of a tempting offer that is to me. I caved and bought one, so yeah. Today is Powerup Rewards members only, but tomorrow is everyone. Also you get a free game with it and Disgaea 3 is one of the eligible ones.

As for Disgaea D2, I'm really liking it! It goes back to the banter that Laharl/Flonne/Etna had, it gets rid of the limited item bag you can take into battle, you get a LOT more freedom as to customizing generics, the color shop from D4 returns and you get access to it from the Dark Assembly right from the get-go, they improved a lot of the mechanics, there's a bunch of extras like the cheat shop (which lets you lower or increase different gains) and the training room (which affects what stats a character might gain at level up), there's none of the mana shop business anymore from D3/D4-- it's all master/apprentice again with a new twist: You can choose who masters and who apprentices on the fly, allowing basically anyone to end up learning any basic skill, the maps give detailed previews before you go in, it keeps track of a lot more things in the game, and just.

tl;dr: it's a pretty massive upgrade over even D4, and I can't recommend it enough. The worst things in it are just a couple bugs that NISA needs to iron out, but that's about it.
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
Its is tempting but the biggest issue is that there are only about 5-6 games I want to play on it. (D3, D4 and DD2) I am moving in the next few weeks so ordering anything is a bad idea right now.
 

Linka

Well-Known Member
Member
Joined
Sep 13, 2013
Messages
248
Trophies
0
Age
34
XP
189
Country
United States
Ah, alright! I figured I should say it since they're obviously clearing stock for the PS4 now.
 

ChepChep

Well-Known Member
Member
Joined
Feb 9, 2011
Messages
611
Trophies
0
XP
876
Country
United States
The other game I really want to play is Ni no Kuni: Wrath of the Witch Witch. Not really worth buying a PS3 for 4 games you really want to play and a few others. I guess I am getting old and find it frustrating how most systems do not even have 6-10 rpgs that I want to play. Right now most of the rpgs are on either the PSP or DS.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/2UeWMgjwogU?si=PfULn0Jf4XpnU6M_ Now I know how to install m.2