Author Topic: Chrono Cross DEBUG MODE FOUND!!  (Read 6416 times)

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Chrono Cross DEBUG MODE FOUND!!
« on: October 21, 2007, 03:45:56 am »
I was going through room / event modifier digits when I came to 000E, the Hydra Marshes. I accessed it once, nothing happened, and I recorded the location.

Well, I went back to get a savestate, and amazingly, a Harle icon dialogue box popped up with something about setting RGB values. It let me color the screen / mess with the lighting. So, I pressed return...and it took me back to a DEBUG MODE MAIN MENU!

WITH LEVEL / MAP SELECT

We struck gold here! The debug menu even lets you modify character model sizes. Now, I can't tell if the models are even on the screen, since the room modifier code started me out halfway off the map iwth no Serge in sight. But perhaps an open source emulator could track where those instructions are being sent when someone modifies the character model size.

Anyway, this also lets us go through all the maps with ease.

However, I have to go to bed, so try it out, people! Also, thank you Richard Honeywood for translating the menus.

Use this ePSXe savestate on Disc One:

http://chronofan.com/Black/Cross/SLUS_010.41.003
http://chronofan.com/Black/Cross/SLUS_010.41.003.pic

So, if anyone's up for it, map out all the options and stuff. It's a little difficult because the menu goes off the screen.

[attachment deleted by admin]
« Last Edit: October 21, 2007, 04:06:00 am by ZeaLitY »

Zakyrus

  • Entity
  • Magical Dreamer (+1250)
  • *
  • Posts: 1363
  • "Bouncy, bouncy, bouncy... --!!"
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #1 on: October 21, 2007, 04:03:49 am »
Totally awesome! That kicks ass!  :shock:

That isn't striking gold! More like finding an entire mountain made of gold! Great find!!!!  8)

I would totally map this out, but my CC disks are at home.  :x

..plus it's better that I spend time getting CT+ stuff done anyways. I'll save the honor for someone who hopefully has too much time on their hands.  :wink:
« Last Edit: October 21, 2007, 04:06:31 am by Zakyrus »

dan_death

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 398
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #2 on: October 21, 2007, 11:45:30 am »
 :shock: Whoaa!! Hell yes! Freaking great find. I'm going to try it right now.

EDIT: Hmm, the menu's sort of buggy, but I'm still getting around somehow. Could you somehow get the menu for the second disc? because I think some of the maps I'm going to require it.
« Last Edit: October 21, 2007, 12:33:21 pm by dan_death »

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #3 on: October 21, 2007, 12:42:06 pm »
 :lee: :shock::lee:

Excellent, excellent! This certainly makes the VRAM dumping tasks easier, no? Can you select which character models are onscreen? But we'll have to find out what all the options are, I guess.

Truly a Heroic Age for the Chrono Community!

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #4 on: October 22, 2007, 01:47:59 am »
What does it take to trigger the orphanage scene as part of the demo scenes if you let the title screen sit? Has anyone even SEEN the orphanage scene as part of the demo scenes before? It's in the map data (#18) but it's not playing in the demo scenes on disc one.

dan_death

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 398
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #5 on: October 22, 2007, 01:55:25 am »
Whoa, too many "scenes".
Anyways, what exactly are you talking about?

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #6 on: October 22, 2007, 02:11:17 am »
If you let the title screen sit, several scenes play. I'm wondering what triggers the orphanage scene, or whether it only plays on disc two.

dan_death

  • Architect of Kajar
  • Chronopolitan (+300)
  • *
  • Posts: 398
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #7 on: October 22, 2007, 02:28:55 am »
Oh, you mean after the CGA scenes? After the "Start..." title screen? I've never really sat there, and let it run before...

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #8 on: October 22, 2007, 03:06:34 am »
Check out the list at the bottom:

http://www.chronocompendium.com/Term/Chrono_Cross_File_Structure.html

All the locations are pretty much in order. It's a miracle, but I guess the development or mastering of Chrono Cross's locations was very tidy.

Chrono'99

  • Guru of Reason Emeritus
  • God of War (+3000)
  • *
  • Posts: 3605
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #9 on: October 22, 2007, 06:26:33 am »
Oh, you mean after the CGA scenes? After the "Start..." title screen? I've never really sat there, and let it run before...

Well you should. The music is awesome there.

Arcane

  • Earthbound (+15)
  • *
  • Posts: 29
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #10 on: October 22, 2007, 09:06:43 pm »
I'm just gonna hop in and mention that PCSX is a pretty great debugging emulator.

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #11 on: October 22, 2007, 10:12:27 pm »
Arcane, I haven't been able to spend any time with PCSX's debugging functions; can you give us a brief description of what it shows, exactly? Does it just show what's going on in RAM in realtime?

Arcane

  • Earthbound (+15)
  • *
  • Posts: 29
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #12 on: October 22, 2007, 10:44:11 pm »
I really just know it does debugging. :| Which is more than I can say for ePSXe, without a memory editor.

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #13 on: October 23, 2007, 02:51:34 pm »
I'm at the point where the stuff ahead is probably just black screens / crashing. But I'll still go through all the digits, sometime...

Would a PSX debugging emulator show what address the command to change a room is being sent to or something?

Arcane

  • Earthbound (+15)
  • *
  • Posts: 29
    • View Profile
Re: Chrono Cross DEBUG MODE FOUND!!
« Reply #14 on: October 25, 2007, 10:40:35 am »
Yeah.

There's a program known as Renegade you can get that does quite a lot of stuff for you, like this. It can link to SSSPSX, pSX 1.11, and PCSX.

http://doc.kodewerx.net/tools/misc/renegade64.rar That's Renegade.

To use it, start it up, browse the top menues until you find Attach, and click it. Find your emulator from the dropdown box and click Attach. Then you can use Code Search. A warning.. the numbers are all in hex in it.

http://doc.kodewerx.net/generic_code_hacking.html That's about everything I can help with. :( I haven't done much for PSX.