Author
|
Topic: Phoenix Wright NDS Script to GBA: Last Updated Sept. 11, 2008 (Read 4 times)
|
ZereoX
Guest
|
|
« Reply #15 on: March 02, 2008, 05:36:35 pm » |
|
I played a bit and I only saw 2 things, apart from those great job. 1.Some times there is a extra chatbox which is empty 2.Picture below (Intro of Case 1) I will keep you posted if I see anything else.
|
|
|
|
cocomonk22
Guest
|
|
« Reply #16 on: March 02, 2008, 07:16:46 pm » |
|
OK, I fixed the problem in that picture. I also have changed the text speeds to integers divided by 2, which seems to be working fine, and is especially noticeable in the opening animation to case 1. A problem that this causes it that the typewriter sound effect will be sped up since it is based off of Japanese text. I'm not sure how to fix it unless I somehow am able to put in the DS sound instead. Download IPS .00c here: http://pw.scorpei.com/ips/GS3_English00c.ipsI'm not sure why there are sometimes extra text boxes, but I will look into it, thanks.
|
|
|
|
andwhyisit
Guest
|
|
« Reply #17 on: March 03, 2008, 03:02:59 am » |
|
I don't know if this was fixed from 00a but Case 1 glitched up when the Judge spoke after the revelation about..
|
|
|
|
ZereoX
Guest
|
|
« Reply #18 on: March 03, 2008, 07:51:01 am » |
|
I tested the new version and here is what is saw: 1.The prob #1 in my other post was fixed 2.Here are some screens of the Empty Boxes(Mostly before a Testimonial or Cross-Examination) 3.The GFX of the hammer got fixed to 4.You can't see most of the choices 5.Freeze at end of case1 (Before the empty box) (#2 After empty box) (#2 During Cross-Examination) (#2 Again during Cross-Examination) (#3 Hammer GFX fixed) (#4 Missing a choice + #1 Prob Again) (#5 Freezing)
|
|
« Last Edit: March 03, 2008, 03:18:44 pm by ZereoX »
|
|
|
|
cocomonk22
Guest
|
|
« Reply #19 on: March 03, 2008, 06:10:18 pm » |
|
I was able to fix the first four problems. New ips here: http://pw.scorpei.com/ips/GS3_English00d.ipsI'm not sure why that fifth problem occurs, though. Here's the script for where that problem occurs:
|
|
|
|
andwhyisit
Guest
|
|
« Reply #20 on: March 03, 2008, 06:51:40 pm » |
|
What command/function/variable/whatever does "<b>" and "/1" represent?
|
|
|
|
cocomonk22
Guest
|
|
« Reply #21 on: March 03, 2008, 08:08:45 pm » |
|
<b>Is a line break. There are two lines of text per box in the GBA version. /1 changes text speed. to 1. Lower numbers are faster. I think the problem might have something to do with RAM overflow, because the freeze happens later if I remove some text. For the comebackcourt translation, a similar problem occurred in case1-2, and was solved by taking a pointer section out and putting it into a new file, and then using the following in the hackall.bat: rem Unholy hack to circumvent RAM overflow cctools\\ccscript -pack -dmp insertion_temp\\case1-2.bin -txt scripts\\case1-2-translated.cc
cctools\\ccscript -pack -dmp insertion_temp\\case1-2-overflow.bin -txt scripts\\case1-2-overflow.cc cctools\\ccinsert -dmp insertion_temp\\case1-2-overflow.bin -rom CC3_English.gba -romaddr 0x007d0000
rem 087d0000 - 02011FC0 = 67be040 rem + 0x2F0 = 067be330 <-> 30e37b06 rem at addr 0x168 cctools\\ccinsert -hex 0x30e37b06 -rom insertion_temp\\case1-2.bin -romaddr 0x00000168
cctools\\ccinsert -hex 0x00007c08 -rom CC3_English.gba -romaddr 0x00049B3C cctools\\ccinsert -lz77 -dmp insertion_temp\\case1-2.bin -rom CC3_English.gba -romaddr 0x007c0000
I'm not sure how to find out the right values, though. If you want to try fixing the problem, the scripts are here: http://pw.scorpei.com/scripts/GS3/3-3-08. They use Shift-JIS encoding. The batch files are also there, saved as txt files.
|
|
« Last Edit: March 03, 2008, 08:23:24 pm by cocomonk22 »
|
|
|
|
andwhyisit
Guest
|
|
« Reply #22 on: March 03, 2008, 08:50:27 pm » |
|
I am a beginner at rom hacking and have only done a menu patch before, sorry but I cannot help you much.
|
|
|
|
cocomonk22
Guest
|
|
« Reply #23 on: March 07, 2008, 03:26:11 pm » |
|
This is the title from the DS game: This is the title modified in the game: I'm not sure why it is working. The title is split into ten parts at 240x16. cctools\\ccinsert -lz77 -dmp insertion_temp\\title1.bin -rom CC3_English.gba -romaddr 0x0026e0d8 cctools\\ccinsert -lz77 -dmp insertion_temp\\title2.bin -rom CC3_English.gba -romaddr 0x0026e390 cctools\\ccinsert -lz77 -dmp insertion_temp\\title3.bin -rom CC3_English.gba -romaddr 0x0026e67c cctools\\ccinsert -lz77 -dmp insertion_temp\\title4.bin -rom CC3_English.gba -romaddr 0x0026ea20 cctools\\ccinsert -lz77 -dmp insertion_temp\\title5.bin -rom CC3_English.gba -romaddr 0x0026f22c cctools\\ccinsert -lz77 -dmp insertion_temp\\title6.bin -rom CC3_English.gba -romaddr 0x0026fc38 cctools\\ccinsert -lz77 -dmp insertion_temp\\title7.bin -rom CC3_English.gba -romaddr 0x0027054c cctools\\ccinsert -lz77 -dmp insertion_temp\\title8.bin -rom CC3_English.gba -romaddr 0x00270938
Can someone try fixing this? Also, I figured out how the overflow hack works, so expect a patch to play at least case 1 fully soon
|
|
|
|
RadioShadow
Guest
|
|
« Reply #24 on: March 07, 2008, 07:07:17 pm » |
|
Wouldn't it be easier to just program another text line into the game? And implanting the Phoenix Wright font would be nice but the aerial font should be fine. The most important part is importing the the 'English' voices in. As for that graphic title, you will have to edit some compressed data (it might be uncompressed but I doubt it) which tells the game how to load the image. There's basically two lot's of data the game uses when loadign a graphic: 1 - The Image 2 - Where to display image What you are going to have to do is look though the ram data and 'edit' the data to make the image display right. Then you go to locate the data in the rom and modify it. It's been a long time since I did that to a Advance Wars 2 hack (where I had to get Grit's hat to display right) but I'll have a shot at it on Sunday. And please fix any silly spelling errors that were in the DS versions.
|
|
|
|
andwhyisit
Guest
|
|
« Reply #25 on: March 07, 2008, 09:58:58 pm » |
|
Also, I figured out how the overflow hack works, so expect a patch to play at least case 1 fully soon Thank you so much for this!!!!
|
|
|
|
cocomonk22
Guest
|
|
« Reply #26 on: March 07, 2008, 10:35:35 pm » |
|
RadioShadow, this is my first experience with rom hacking, so I'm not sure how to do as much as I would like. Anyway, I figured out the overflow hack, so now case 1 should be fully playable! You can get it here.
|
|
|
|
andwhyisit
Guest
|
|
« Reply #27 on: March 08, 2008, 06:10:11 pm » |
|
RadioShadow, this is my first experience with rom hacking, so I'm not sure how to do as much as I would like. Anyway, I figured out the overflow hack, so now case 1 should be fully playable! You can get it here.There is another problem, in this patch just before the "overflow" issue the game skips towards the end of case 1 and then freezes later on, if you use a save file just a little after the skip (but before the "overflow" issue) it will go a bit further and then dump you at the title screen. Is it possible that it is not entirely fixed yet?
|
|
|
|
|
akadewboy
Guest
|
|
« Reply #29 on: March 09, 2008, 12:37:24 am » |
|
I'm just taking a guess at your title screen problem, but perhaps the new title screen doesn't compress as well as the the Japanese one. When you insert it some of the parts are larger than the original and overwrite some of the other parts. You may have to use something like GBADecmp to compress your title screen parts, then manually insert them at the end of the ROM with with a hex editor (where it's empty and filled FF), then adjust the pointers. It looks like there's only 3,864 bytes of free space at the end of GS3, so I really hope you don't run out of space. Maybe this is one reason why it wasn't localized?
|
|
« Last Edit: March 13, 2008, 02:06:21 pm by akadewboy »
|
|
|
|
|