Author Topic: Drop tables  (Read 244 times)

IHBP

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 158
    • View Profile
Drop tables
« on: November 30, 2018, 10:00:38 pm »
Been trying to edit the drop tables, but I only know how to use a hex editor and the damn drop tables are compressed, can anyone help me with editing them?

Grobycftw

  • Architect of Kajar
  • Earthbound (+15)
  • *
  • Posts: 17
  • Chilling in the Bend of Time
    • View Profile
Re: Drop tables
« Reply #1 on: April 30, 2019, 12:56:51 am »
hi there
using this
https://drive.google.com/open?id=1I_8oyBJSudQtxXZ-o-kPqGPH0bgkj05T
you should be able to easily edit any enemy drop/steal treasure :)

IHBP

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 158
    • View Profile
Re: Drop tables
« Reply #2 on: April 30, 2019, 07:46:18 am »
Thanks I'll play with this a bit, it doesn't seem to let us edit what's in the drop tables though from what I can see from a quick glance.

Grobycftw

  • Architect of Kajar
  • Earthbound (+15)
  • *
  • Posts: 17
  • Chilling in the Bend of Time
    • View Profile
Re: Drop tables
« Reply #3 on: April 30, 2019, 02:38:15 pm »
What you are looking for is
byte# 0xA0 Treasure drop ID as defined in file 0008

Each enemy definition is 176 (0xb0) bytes long.

I simply took this page
https://www.chronocompendium.com/Term/Chrono_Cross_Enemy_Stats.html
and added a couple a things on my notes.

*I couldn't find the list of all the item/element value , but if you look in the ccenemyedit , there is one, I'll probably make one anyhow it would be useful
« Last Edit: April 30, 2019, 02:49:18 pm by Grobycftw »

IHBP

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 158
    • View Profile
Re: Drop tables
« Reply #4 on: April 30, 2019, 02:54:20 pm »
If I'm not mistaken byte 0xA0 determines what treasure table the enemy has so it would allow me to say... Give Beach But the the Fire Dragon's treasure set, but unless I'm missing something I wouldn't be able to create a drop of say... Floral Rod common/*Salamander rare.

Ccenemy edit does indeed have the item and element listing. As for why I don't use that I wanted something more permanent.

Grobycftw

  • Architect of Kajar
  • Earthbound (+15)
  • *
  • Posts: 17
  • Chilling in the Bend of Time
    • View Profile
Re: Drop tables
« Reply #5 on: April 30, 2019, 03:44:38 pm »
Oh no it's not a enemy treasure's set its the value itself that define the drop,
for example : 5A = Earth Charm
you can make a drop/rare drop  or steal/rare steal for any enemy => Earth Charm
you could put OmegaBlack as drop for beach bum if you want, isn't that what you are trying to do?
Or you want to make a new Drop Table? Like completely different? If so I can't help anymore than that xP

*Oh And Yes you could do what you just ask :)  Floral rod/salamander for sure

** I know i've had few issues with ccenemyedit too, but it helped me figured out a couple a things testing/using it !


***Hey I just check out the list in ccenemyedit and it is not the same list at all, earth charm is 0E9 , I'm a.. I'm a have a look into this later today , gonna do some test hehe, been a while since I've done CC edit :P
« Last Edit: April 30, 2019, 04:50:46 pm by Grobycftw »

IHBP

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 158
    • View Profile
Re: Drop tables
« Reply #6 on: April 30, 2019, 06:19:36 pm »
 I'd like to have a look at that "file 0008" mention in your link, that probably tells you how the drop tables are laid out.

Grobycftw

  • Architect of Kajar
  • Earthbound (+15)
  • *
  • Posts: 17
  • Chilling in the Bend of Time
    • View Profile
Re: Drop tables
« Reply #7 on: April 30, 2019, 07:26:57 pm »
This
https://www.chronocompendium.com/Term/0008.html
you can find it here
https://www.chronocompendium.com/Term/Modification.html


*I think you're right, it seems it does call a drop table huh gotta find that table/list

**Also here's the bitmask enemy's innate color is using , I'll update it in my notes.
Byte Element Color bitmask:

0x00 Unknown/irrelevant?
0x04 Green
0x08 White(/physical? used for Pip's techs too)
0x10 Black
0x20 Red
0x40 Yellow
0x80 Blue
0xFC Chrono Cross





***Ok so after a few test , in the 0008 files it says it contains 7 lzss-compressed files.
one of them might be the table loot, I'm like 99.99% sure its the
#3 => 16A922 - 16B099 (779) cut from 16AD60 - 16AE8F
after making test using ccenemyedit this Lzss file is always modified, you're right it is compressed and I'm trying to understand how it works


**** Hey I just found out that changing this offset
16A93D = Komodo Pop normal drop
it's the Komodo Pop (home) normal drop :o but you can only change it for items, i'll try making it an element!
« Last Edit: May 01, 2019, 03:51:01 am by Grobycftw »

IHBP

  • Architect of Kajar
  • Guardian (+100)
  • *
  • Posts: 158
    • View Profile
Re: Drop tables
« Reply #8 on: May 08, 2019, 05:27:17 pm »
Cool, too bad it's compressed though, that makes it a little harder to edit.