Next Page

Silent Hill 1 (KDT) Research by peronmls at 6:55 PM EST on December 17, 2013
Well I'm slowing figuring out Silent Hills KDT track sequence format. I have found to much but I think I got as far as I could get and maybe some more advanced can figure out more. Stuff like tempo and sequence track was found but its not enough.

Here this to help:

uint Signature 0x3154444B ("KDT1")
uint Size of this file in bytes
uint ???
uint # of tracks
for each track:
ushort Size of track in bytes
for each track:
byte*trackSize Track event data

where
uint = unsigned 4-byte integer
ushort = unsigned 2-byte integer

Known event codes:
FF FF End of track


Post here if you find more info.

Here is the KDT I'm using with its corresponding VAB.

https://www.mediafire.com/?aprz1slm1ep8pmo

edited 6:58 PM EST December 17, 2013
by mogikihei at 10:03 PM EST on December 17, 2013
It is a note of when examined previously.

Sequence data is "4B 43 45 54 (KCET)" to "FF FF 00 00"
The next 4 bytes of 43 45 54 4B is the size information.

It is the flag of multi song data
4B 43 45 54 00 00 00 00 54 53 44 42 00 00 00 00 "01" 00 00 00
17 byte is a multi-song "02" or more.
There is a need to change the size information by cutting out the file in this case.

Must be added if there is no header above.

This is a driver for use in Suikoden 2
Edit:remove the link

Please merged the seq + vab

The File -> open in the suikoden2.psf PSFLab
File -> Import Binary Data in the The merged file of Destination address 0x80010004
File -> Save As is Save psf.



edited 6:33 PM EST December 18, 2013
by peronmls at 4:06 PM EST on December 18, 2013
Ok. How do merge the KDT and VAB?
by mogikihei at 6:31 PM EST on December 18, 2013
I have changed the way because there is a case to merge does not work.
(Position of the VAB as they refer to the size information)

Fix driver
http://www.mediafire.com/download/ranulvy4yc6e7l2/suikoden2b.zip
I was made to fix the position of the VAB


File -> Import Binary Data in the 0x80010028 the data from Seq(4B 44 54 31(KDT1) to FF FF)
File -> Import Binary Data in the 0x8001D7C0 the data from VAB
File -> Save As is Save psf.

Edit:
how to merge the command-line copy command
Example:
copy a.seq + b.vab c.bin

edited 9:21 AM EST December 19, 2013
by peronmls at 11:58 AM EST on December 19, 2013
Ok it worked! But now i want to do another one. now since i want to do a new one i need to change the size right? So the size of what again?

edited 12:08 PM EST December 19, 2013
by mogikihei at 1:52 PM EST on December 19, 2013
This is a sample of the header
http://www.mediafire.com/download/hunmwwvyd3gjbuy/KCET.zip
4B 43 45 54 "xx xx xx xx" 54 53 44 42 "xx xx xx xx" 01 00 00 00 4B 44 54 32 "xx xx xx xx" 01 00 00 00 00 00 00 00
you need part of "xx xx xx xx" rewrites the size information in the hex editor.
Specified position of size
4B 43 45 54 "xx xx xx xx" Size of 0x08 after bytes
54 53 44 42 "xx xx xx xx" Size of 0x14 after bytes
4B 44 54 32 "xx xx xx xx" Size of 0x24 after bytes
is until FF FF

Because PSFlab truncates 3 bytes or less, please specify every 4 bytes.
size divisible by 4, Please add 00 when you do not have enough.

If you rewrite the KCET.header
File -> Import Binary Data in the 0x80010004 the data from KCET.header

Import position of VAB if you specify the size of the above.
the 0x8001000C + "specified size" = "Import position"

Example:
64 KB (0x10000) size if
4B 43 45 54 "00 00 01 00" 54 53 44 42 "F4 FF 00 0" 01 00 00 00 4B 44 54 32 "E4 FF 00 00" 01 00 00 00 00 00 00 00
Please rewritten as this.

0x8001000C + 0x10000 = 0x8002000C
File -> Import Binary Data in the 0x8002000C the data from VAB

edited 2:17 PM EST December 19, 2013
by peronmls at 3:00 PM EST on December 19, 2013
I'm trying really hard to figure out what you are trying to say and I know English isn't you native language and that's not you fault.

Im not sure what im suppose to but in for each of the empty slots. I know size but from what?

Please explain what to do for the KCET, TSDB, and KDT2. The sizes. How do I get them?

edited 10:47 PM EST December 19, 2013
by Nisto at 9:50 AM EST on December 20, 2013
もぎきへいさん、私はあなたの指示を理解します。しかし、ドライバはすべてのトラックのために正常に動作していないようです。例えば「S.KDT」「S.VAB」。「KCET」「TSDB」「KDT2」ヘッダ修正の後さえ。

edited 10:22 AM EST December 20, 2013
by mogikihei at 10:39 AM EST on December 20, 2013
As a result of verification, it is referenced only the size information of KCET, Rewriting of the TSDB and KDT2 is not required.

Anyway, Previous driver will fail to play the seq large, it has been updated driver.
I have expanded the range of seq, I set to 159 kb.

http://www.mediafire.com/download/tmfoscn8yltwoas/suikoden2c.zip

File -> Import Binary Data in the 0x80120028 the data from Seq(4B 44 54 31(KDT1) to FF FF)
File -> Import Binary Data in the 0x80148000 the data from VAB
File -> Save As is Save psf.
by Nisto at 11:32 AM EST on December 20, 2013
mogikihei, the problem is not the reservation for the seq block. I have already tried manipulating the headers and the locations of the KDT/VAB inside the resulting PS-X EXE and making sure the KDT/VAB data doesn't overwrite any following bytes. I tried your uploaded revision anyway, and as I thought, it still doesn't work. I really think it must be a driver issue.

foobar2000+foo_input_vgmstream returns:
Decoding failure at 0:00.000 (Unsupported format or corrupted file):

edited 12:53 AM EST December 21, 2013

Next Page
Go to Page 0 1 2 3 4 5 6

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source