ROM Hack [Completed] Love Plus English Translation Patch

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
jjjewel: I took a look at the font problems and I think I found the problem and fixed it however I'm not sure where the nftr is located to verify. I have verified I can change the default character width to something other than 12.

There are 2 fonts in folder test_font. The main one used in the name input and the dialogs is the LC12 one. (The LC10 is used for your profile in LP, and for capsule toy descriptions in LP+.)

Thank you very much.

Ok it looks like its working. You can try it out yourself http://www.mediafire...awde0ggz0gzz4pv

EDIT: In NFTRedit you need to modify the "Next Offset" field for each character.
Thank you very much. I'm trying it now.
(Sorry, I went to bed when you posted it, so I didn't reply until now. :P)

Edited: Should there be a pack.bat included in the program? I got error with pack.bat and I couldn't find it. (It's my first time with Asm hacking, so I'm not sure if I did something wrong.)

By the way, was it very difficult to figure this out? I wonder if you could write some guide for how you found out what addresses you need to change to make it vwf? (Only if it doesn't take much of your time and you think it's not too complicated to explain. I probably won't be able to understand it now, but I'm still trying to learn how people hack games in higher level. It will be helpful for other hackers too. :))
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,205
Country
New Zealand
Thank you very much. I'm trying it now.
(Sorry, I went to bed when you posted it, so I didn't reply until now. :P)

Edited: Should there be a pack.bat included in the program? I got error with pack.bat and I couldn't find it. (It's my first time with Asm hacking, so I'm not sure if I did something wrong.)

By the way, was it very difficult to figure this out? I wonder if you could write some guide for how you found out what addresses you need to change to make it vwf? (Only if it doesn't take much of your time and you think it's not too complicated to explain. I probably won't be able to understand it now, but I'm still trying to learn how people hack games in higher level. It will be helpful for other hackers too. :))

Well it might be hard to explain but the general process went like:
1. Find the routine drawing each character. (I did this for digimon lost evolution and this game used the same function, so it didnt take long to find).
2. Find where it was incrementing the y position.
3. Then make it use the proper character width rather than the hardcoded 12.

Yes I forgot to remove the call to pack.bat but its not required all it does is repack the game into a .nds using ndstool
 
  • Like
Reactions: 1 person

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
Thank you very much. I'm trying it now.
(Sorry, I went to bed when you posted it, so I didn't reply until now. :P)

Edited: Should there be a pack.bat included in the program? I got error with pack.bat and I couldn't find it. (It's my first time with Asm hacking, so I'm not sure if I did something wrong.)

By the way, was it very difficult to figure this out? I wonder if you could write some guide for how you found out what addresses you need to change to make it vwf? (Only if it doesn't take much of your time and you think it's not too complicated to explain. I probably won't be able to understand it now, but I'm still trying to learn how people hack games in higher level. It will be helpful for other hackers too. :))

Well it might be hard to explain but the general process went like:
1. Find the routine drawing each character. (I did this for digimon lost evolution and this game used the same function, so it didnt take long to find).
2. Find where it was incrementing the y position.
3. Then make it use the proper character width rather than the hardcoded 12.

Yes I forgot to remove the call to pack.bat but its not required all it does is repack the game into a .nds using ndstool
Thank you very much~~~. It worked now. :yay:

The name in the name input screen didn't change, but when it appears in dialog scripts, they have correct spacing now. Yay!

(If anyone else wants to try this program, you might need to download a few .dll files to make armips.exe work. And then you have to create "UNPACK" folder in the same folder you extracted the .rar file.)

And thank you for the explanation. I still don't understand how it works, but I'll keep this a reference when I attempt to learn ASM again next time. :wub:
 

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
There's some problems after hacking the vwf codes. I'm trying to see what I can do with it now.

0000ez.png

The text in mails and webs are now a little misaligned and got shifted a little to the right. (These texts are in /text folder which is different from the dialog text that comes from /arc folder. The dialog text works perfectly with vwf.) Since the first line seems to show up okay, I'll see if it's because of the line break code or something. I'll update about this issue later. :)

Edited: Doesn't seem to be the line break problem. I might have to revert the arm9.bin back to fixed width again.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,205
Country
New Zealand
There's some problems after hacking the vwf codes. I'm trying to see what I can do with it now.

0000ez.png

The text in mails and webs are now a little misaligned and got shifted a little to the right. (These texts are in /text folder which is different from the dialog text that comes from /arc folder. The dialog text works perfectly with vwf.) Since the first line seems to show up okay, I'll see if it's because of the line break code or something. I'll update about this issue later. :)

Edited: Doesn't seem to be the line break problem. I might have to revert the arm9.bin back to fixed width again.
If you provide a save and instructions how to view the original text and how to display it in the game I will take a look and see what the problem is.

EDIT: Apparently its because the alignment is based on half of the fixed width I managed to get it to look correct by making it remove an extra 4 pixels probably not the cleanest solution but it seems to work, let me know if there are any other problems.

Modify the stopFullWidthMainDialog.asm to include the bolded lines
.org 0x0207BD44
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207BDF4
; SUB R5, R8, #6
sub r5, r8, #10


.org 0x0207BE84
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]
.org 0x0207C0CC
; LDR R1, [SP,#0x10]
mov r1, r0
 

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
EDIT: Apparently its because the alignment is based on half of the fixed width I managed to get it to look correct by making it remove an extra 4 pixels probably not the cleanest solution but it seems to work, let me know if there are any other problems.

Modify the stopFullWidthMainDialog.asm to include the bolded lines
.org 0x0207BD44
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207BDF4
; SUB R5, R8, #6
sub r5, r8, #10

.org 0x0207BE84
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]
.org 0x0207C0CC
; LDR R1, [SP,#0x10]
mov r1, r0

:wub: Thank you very much. I'll probably have time to try it tonight or tomorrow. (I caught a cold and I have a terrible headache now.) I'll report later how it goes.

Edited: Everything looks fine except the e-mail part that the text is still misaligned. (The mail probably uses different text routine?)

You can access e-mail in pre-confession mode after you play the game for a while and the girl likes you enough, or after you get a confession. Please let me know if you need a save file to test it. (I got no$GBA save and Wood R4 save.)


0001lp.png
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,205
Country
New Zealand
Ok how about this it seems to fix the mail screen, I also changed the other routine to do 10 instead of 6 so hopefully there shouldn't be any more indentation...
; Love Plus
; Main dialog text boxes disable variable width this re-enables it
.nds ; Set the architecture to NDS
.open "arm9.bin",0x02000000 ; Open arm9.bin for output.
; 0x02000000 will be used as the
; header size
.arm

.org 0x0207BCD0
; SUB R7, R0, #6
sub r7, r0, #10

.org 0x0207BD44
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207BDF4
; SUB R5, R8, #6
sub r5, r8, #10

.org 0x0207BE84
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207C040
; SUB R0, R4, #6
sub r0, r4, #10
.org 0x0207C0CC
; LDR R1, [SP,#0x10]
mov r1, r0

.close

; make sure to leave an empty line at the end
 

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
Ok how about this it seems to fix the mail screen, I also changed the other routine to do 10 instead of 6 so hopefully there shouldn't be any more indentation...
; Love Plus
; Main dialog text boxes disable variable width this re-enables it
.nds ; Set the architecture to NDS
.open "arm9.bin",0x02000000 ; Open arm9.bin for output.
; 0x02000000 will be used as the
; header size
.arm

.org 0x0207BCD0
; SUB R7, R0, #6
sub r7, r0, #10

.org 0x0207BD44
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207BDF4
; SUB R5, R8, #6
sub r5, r8, #10

.org 0x0207BE84
; LDR R0, [SP,#0x14]
; LDR R1, [SP,#0x10]
mov r1, r0
ldr r0, [sp,#0x14]

.org 0x0207C040
; SUB R0, R4, #6
sub r0, r4, #10
.org 0x0207C0CC
; LDR R1, [SP,#0x10]
mov r1, r0

.close

; make sure to leave an empty line at the end
Yes! It seems to work perfectly now. Thank you very much~~~ :wub:

May I add your name to the project's Hacker list? Otherwise I can credit you in the special thanks section. Thank you very much.
 

izy280

New Member
Newbie
Joined
Aug 12, 2006
Messages
3
Trophies
0
XP
122
Country
France
The translation was done really fast Oo. Thanks a lot !!
Thanks for all the hard work ! You are the best !!

( Hope it will be released soon :P )
 

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
The release will be a little delay. I've been sick so I barely have time to work on the patch. (Fever and headache and romhacking don't go well together. T_T)

It might take a week or two for me to double-check everything before the release. Please be patient and wait a little bit. :wub:
 

Intranet

Member
Newcomer
Joined
Aug 6, 2009
Messages
20
Trophies
0
XP
75
Country
Ah how very exciting, glad to see this translation nearing completion! :D I always wanted to play LovePlus & was very sad to hear it hadn't been released in english. Thanks for making my dreams come true jjjewel! :D Can't wait until it's released, once again thank you. :)
 

Schezo92

Well-Known Member
Member
Joined
Jul 13, 2011
Messages
169
Trophies
1
Age
31
Location
Nowhere
Website
Visit site
XP
1,311
Country
United States
Dunno if this has been answered before but 60 pages is a bit much to go through.
But I noticed the first page mentioned albeit crossed out chatting with your girlfriend(I assume through the mic), how is that handled in this Translation?
 

jjjewel

Well-Known Member
OP
Member
Joined
Dec 17, 2009
Messages
1,010
Trophies
0
XP
522
Country
United States
Thanks. I'm all okay now. :D
Now I'm testing the patch with 5 girls (in 2 save files). It's pretty fun as I keep forgetting which girl I scheduled a date with. ^_^"
Everything seems to work fine so far. I'll start another game from the beginning. If I don't find any problem, I'll probably release the patch after that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @RedColoredStars, I've got a fairly dark sense of humor lol.