Author Topic: Adding a new Title Screen...?  (Read 4571 times)

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Adding a new Title Screen...?
« Reply #15 on: May 13, 2008, 10:10:35 am »
Is the Chrono Trigger title screen a compressed set of graphics, or are they uncompressed? If uncompressed you could get at them pretty easy with TileMolester, and if compressed, you'd need to find the starting address (can you do that with breakpoints in Geiger's SNES9x debugger?) and decompress through Temporal Flux.

Only thing is, I'm not sure how easy it's going to be to deal with because it's got moving parts and sound effects as well.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Adding a new Title Screen...?
« Reply #16 on: May 13, 2008, 07:05:00 pm »
They're compressed.

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Adding a new Title Screen...?
« Reply #17 on: May 13, 2008, 07:25:17 pm »
Hmm, maybe we can make a tutorial for breakpoints out of this situation. You explained it earlier in the background graphics switching tutorial thread justin, so let me dig that up, give it a go with the title screen, and ask any questions I have here. It's about time I learned how to work with debuggers.

EDIT: Here's the breakpoint value justin reported for loading rooms. Question is, will it help with *all* graphics packets, or only the ones called up when a room needs loaded? And what is a breakpoint exactly? Is it an address in RAM?

USA: C30569, Execute: When entering a new room, displays address of each compressed packet loaded.

...and some instructions.
Load up Geiger's SNES9x debugger.

Load your Chrono trigger rom (unheadered)
Click Breakpoints
Type in the value
Click Execute Box
Click Ok
Go to a location in your CT ROM
BAM!  It'll print the value out.


Okay, let's tackle this baby.

EDIT: I get these data when I do a breakpoint with the value justin specified earlier:

$C3/0569   67 00   ADC [$00]  [$F0:8E5F]   A:8E61   X:8E61   Y:2100   D:0300   DB:00   S:06EE   P:eNvmxdIzc   HC:0922   VC:260   00   FL:03
$C3/0569   67 00   ADC [$00]  [$DB:0000]   A:0002   X:0002   Y:0000   D:0300   DB:00   S:06EE   P:envmxdIzc   HC:0866   VC:068   00   FL:03
$C3/0569   67 00   ADC [$00]  [$F0:8E5F]   A:8E61   X:8E61   Y:2100   D:0300   DB:00   S:06EE   P:eNvmxdIzc   HC:0992   VC:023   00   FL:05
$C3/0569   67 00   ADC [$00]  [$DB:6CF9]   A:6CFB   X:6CFB   Y:7080   D:0300   DB:00   S:06EE   P:envmxdIzc   HC:1172   VC:089   00   FL:05
$C3/0569   67 00   ADC [$00]  [$C3:1313]   A:1315   X:1315   Y:0090   D:0300   DB:00   S:06F2   P:envmxdIzc   HC:1208   VC:241   00   FL:09
$C3/0569   67 00   ADC [$00]  [$FE:6002]   A:6004   X:6004   Y:0090   D:0300   DB:00   S:06ED   P:envmxdIzc   HC:1056   VC:198   00   FL:11
$C3/0569   67 00   ADC [$00]  [$FE:5307]   A:5309   X:5309   Y:0090   D:0300   DB:00   S:06ED   P:envmxdIzc   HC:0936   VC:142   00   FL:11
$C3/0569   67 00   ADC [$00]  [$FE:6D6D]   A:6D6F   X:6D6F   Y:0000   D:0300   DB:00   S:06ED   P:envmxdIzc   HC:0708   VC:197   00   FL:11
$C3/0569   67 00   ADC [$00]  [$FE:6C4F]   A:6C51   X:6C51   Y:0000   D:0300   DB:00   S:06ED   P:envmxdIzc   HC:0432   VC:226   00   FL:11
$C3/0569   67 00   ADC [$00]  [$FE:6E34]   A:6E36   X:6E36   Y:0000   D:0300   DB:00   S:06ED   P:envmxdIzc   HC:0940   VC:222   00   FL:11

I set the breakpoint before I let the title screen load, and then the ROM can't get to the operation where it loads the title screen until I hit the "Run" button in Geiger's debugger about 10 times, producing the above. Where would I look in this data to determine the hex addresses in the unheadered ROM from which graphics packets are being pulled? Or am I way off?
« Last Edit: May 13, 2008, 07:59:15 pm by FaustWolf »

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Adding a new Title Screen...?
« Reply #18 on: May 13, 2008, 08:14:42 pm »
I've tried this quite a few times over the last week or so, but I still can't get it to work. Is anyone willing to do the hard yards if I email them the files for this? I'd really be quiet grateful, as I've almost given up hope of getting it working. ._.
Here's the ASM file I used for the re-translation.
It might not work perfectly because I set the title screen parts to be close together; whatever title screen you insert might be bigger.

[attachment deleted by admin]
« Last Edit: May 13, 2008, 08:22:44 pm by Vehek »

Aprocalypse

  • Iokan (+1)
  • *
  • Posts: 15
    • View Profile
Re: Adding a new Title Screen...?
« Reply #19 on: May 14, 2008, 12:31:16 am »
Thanks oh-so-very-much, Vehek, that file was enough to get the title screen working on my rom. I'll post the ips properly in another thread in a little bit. :D