Author Topic: Kid texture test.  (Read 2711 times)

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Kid texture test.
« Reply #15 on: January 13, 2009, 01:35:58 pm »
Yeah, I hacked a save state from pcsx and reloaded it.

Write a tool to dump the 256x256 texture block from vram, use a debugger to find where the palette is, then construct a tim file.
« Last Edit: January 13, 2009, 01:37:56 pm by utunnels »

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Kid texture test.
« Reply #16 on: January 13, 2009, 02:19:57 pm »
So you wrote a program then, utunnels? Awesome work!

If you happen to be interested in writing more Chrono Cross editing tools, something that reconstructs the background (2D "pre-rendered") image files from raw data is badly, badly needed. If you're interested we can make another thread in Kajar labs so I can go over the file format with you.

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Kid texture test.
« Reply #17 on: January 13, 2009, 02:35:40 pm »
It can't be called a program... It is a java class with only several lines of code which cuts the 256x256 areas. You see I was only playing with the texture in this topic. LOL

BTW, I don't know much about asm things, but did you ever see a debug tool like this:http://www.enixfans.com/html/agemo/
The link "agemo_debugger 1.39" is a debug tool based on pcsx, and there's an English manual for it.

One of its function is logging GPU draw prims, which allows you to trace how the game draws graphics.

For example:

1CD040:24 - FT3 (349, 196)-(342, 189)-(342, 186) clut(0, 451) TP(576, 0)(bit:1) (126, 37)-(126, 16)-(105, 16) RGB(80, 80, 80)

It fills a triangle, texture page at (576, 0), clut at (0, 457). So you can figure out that Kid's texture is at (576, 0) in vram and the palette is at (0, 457).


FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Kid texture test.
« Reply #18 on: January 13, 2009, 02:52:25 pm »
Interesting! I usually look at PSX VRAM manually with creaothceann's PSX VRAM Viewer (PVV). It's a really, really sweet tool but I don't think he ever released it publically other than a Romhacking.net thread...
« Last Edit: January 13, 2009, 03:10:26 pm by FaustWolf »

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Kid texture test.
« Reply #19 on: January 13, 2009, 03:09:47 pm »
Yeah, a good ram viewer is nice. Some times a picture is stripped down into some tiny sprites, and each of them may have a unique palette somewhere in the vram and so a debug tool will be useful.

I used to deal with FF9 like this...
You see the sprites are all fragments, and this is not the worst example...


[attachment deleted by admin]

FaustWolf

  • Guru of Time Emeritus
  • Arbiter (+8000)
  • *
  • Posts: 8972
  • Fan Power Advocate
    • View Profile
Re: Kid texture test.
« Reply #20 on: January 13, 2009, 03:11:44 pm »
Yeah, I think Chrono Cross' 2D backgrounds are stored the same way.

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Kid texture test.
« Reply #21 on: January 13, 2009, 03:23:56 pm »
The most annoying thing might be, each tiny sprite has its own palette or share with some other sprites.
You can easily arrange them via a gpu log, but after you've finished editing, you have to split them again. LOL

Schala Zeal

  • Radical Dreamer (+2000)
  • *
  • Posts: 2144
  • 7th Elemental Innate, and vtuber
    • View Profile
Re: Kid texture test.
« Reply #22 on: January 13, 2009, 05:04:03 pm »
I really like the clean face...Though the red top & green bottom is a bit too Christmas colors...How about something purpleish ala Schala colors?

Looks like your new Rockman portrait...  :lol:

I'm not that tan. Now, I hate to do a comparison with MJ, but I'm as fair-skinned as him.

Shadow D. Darkman

  • Zurvan Surfer (+2500)
  • *
  • Posts: 2630
  • "Chrono Cross" is good, and spoilers never hurt...
    • View Profile
Re: Kid texture test.
« Reply #23 on: January 13, 2009, 05:09:58 pm »
Now, I hate to do a comparison with MJ...

I hear you. All those allegations, and we don't know if he did, indeed, do those awful things.

V_Translanka

  • Interim Global Moderator
  • Arbiter (+8000)
  • *
  • Posts: 8340
  • Destroyer of Worlds
    • View Profile
    • http://www.angelfire.com/weird2/v_translanka/
Re: Kid texture test.
« Reply #24 on: January 13, 2009, 08:45:16 pm »
I really like the clean face...Though the red top & green bottom is a bit too Christmas colors...How about something purpleish ala Schala colors?

Looks like your new Rockman portrait...  :lol:

I'm not that tan. Now, I hate to do a comparison with MJ, but I'm as fair-skinned as him.

I didn't think that was supposed to look more like Schala since it was all blue (thus the Mega comparison), not purpley...

Boo the Gentleman Caller

  • Guru of Life Emeritus
  • Hero of Time (+5000)
  • *
  • Posts: 5287
    • View Profile
Re: Kid texture test.
« Reply #25 on: January 13, 2009, 09:41:48 pm »
Whoa, tush, you're becoming quite amazing these days.  You're becoming a Jack-of-all-Trades!

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Kid texture test.
« Reply #26 on: January 13, 2009, 09:55:46 pm »
Everything is pretty much stored like that in Chrono Cross.  Sometimes it's a few things here and there that wrap around or it's just 1 giant picture that they walk on.

tushantin

  • CC:DBT Dream Team
  • Hero of Time (+5000)
  • *
  • Posts: 5645
  • Under Your Moonlight, Stealing Your Stars
    • View Profile
    • My Website
Re: Kid texture test.
« Reply #27 on: January 14, 2009, 03:31:31 am »
Whoa, tush, you're becoming quite amazing these days.  You're becoming a Jack-of-all-Trades!
:lee: Thank you!

Everything is pretty much stored like that in Chrono Cross.  Sometimes it's a few things here and there that wrap around or it's just 1 giant picture that they walk on.
8) And we'll be able to explore and change that. HAH! A gigantic coloured chartpaper-floor ain't enough to stop us Compendiumites!