Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CHD (Gotcha Force): Difference between revisions

No edit summary
No edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Gotcha Force | ← Gotcha Force]]
[[Gotcha Force | ← Gotcha Force]]


''Cet article est pour les format de fichiers CHD de Gotcha Force. Voir [[CHD (Format de fichier)]] pour les autres versions de ce fichier.''
''This article is about Gotcha Force CHD file format and ongoing researches on it.''


<br>
{{Research | 3| Researches on headers / bodies structures has to be done. }}
<div style="overflow-x:auto;">
{| style="padding:0px; margin:0px; width:100%; background-color: transparent; white-space:nowrap;" cellspacing="3"
| colspan="2" |
{| style="padding:0px; background-color: transparent;" width="100%"
| style="width:18%; text-align:center; white-space:nowrap;" |
<div style="font-size:195%; color: red;">Cette section a besoin de beaucoup de recherche.</div>
<div style="font-size: 125%; color: red;">Des recherches sur comment fonctionne le header et comment interagit le fichier sont nécessaire. </div>
|}
|}
</div>
<br>


Les fichiers CHD contiennent différentes sections :
GCD of CHD lengths = 16


*"Head" <span style="color: red;"> Pourrait faire référence au header ou alors au headtracking présent sur le jeu (Les borgs ciblés sont suivis par la tête du borg du joureur)</span>
CHD files contain several blocks:


*"Prog" <span style="color: red;"> Pourrait faire référence à du script.</span>
'''0x0 "Head"''' Header CHD
* 0x4 - 4 bytes uint - '''Prog''' block header offset.
* 0x8 - 4 bytes - Quantity?
* 0xC - 4 bytes uint - Total file length.
* 0x10 - 4 bytes - Unknown
* 0x14 - 4 bytes - Unknown
* 0x18 - 4 bytes uint - '''Smpl''' block header offset.
* 0x1C - 4 bytes uint - '''DSPi''' block header offset.
'''0x20 "Prog"''' <span style="color: rgb(241, 196, 15);"> It could describe audio datas or script.</span>
* 0x24 - 4 bytes uint - data block length.
* 0x28 - 4 bytes - Quantity?
* 0x2C - 4 bytes - -1?
'''0x0 "Smpl"''' Samples?
* 0x4 - 4 bytes uint - data block length.
* 0x8 - 4 bytes - Samples count? (In hexadecimal - Ex 0x68 = 104 + 1(0,1,2....104))
* 0xC - 4 bytes - -1?
'''0x0 "Dspi"''' <span style="color: rgb(241, 196, 15);">DSP for DSPADPCM, idea for further investigations: List of DSP in [[DPK (Gotcha Force)]].</span>
* 0x4 - 4 bytes uint - data block length.
* 0x8 - 4 bytes - DSP count? (In hexadecimal)
* 0xC - 4 bytes - -1?


*"Smpl"
[[Category:File format]]
 
[[Category:Gotcha Force]]
*"Dspi"
 
<span style="color: rgb(241, 196, 15);">Les fichiers CHD sont des fichiers compressé contenant des data de jeu.</span>[https://retropie.org.uk/docs/CHD-files/ CHD Docs Retropie]
<span style=" color: rgb(241, 196, 15);">Propose un format de fichier compressé, il faudrait tester l'algorithme de décompression et de compression afin de savoir si ce format est le même.</span>
 
__toc__
 
[[Catégorie:Format de fichier]]
[[Catégorie:Gotcha Force]]

Latest revision as of 13:32, 7 October 2023

← Gotcha Force

This article is about Gotcha Force CHD file format and ongoing researches on it.


This file format needs a lot of research.
Researches on headers / bodies structures has to be done.


GCD of CHD lengths = 16

CHD files contain several blocks:

0x0 "Head" Header CHD

  • 0x4 - 4 bytes uint - Prog block header offset.
  • 0x8 - 4 bytes - Quantity?
  • 0xC - 4 bytes uint - Total file length.
  • 0x10 - 4 bytes - Unknown
  • 0x14 - 4 bytes - Unknown
  • 0x18 - 4 bytes uint - Smpl block header offset.
  • 0x1C - 4 bytes uint - DSPi block header offset.

0x20 "Prog" It could describe audio datas or script.

  • 0x24 - 4 bytes uint - data block length.
  • 0x28 - 4 bytes - Quantity?
  • 0x2C - 4 bytes - -1?

0x0 "Smpl" Samples?

  • 0x4 - 4 bytes uint - data block length.
  • 0x8 - 4 bytes - Samples count? (In hexadecimal - Ex 0x68 = 104 + 1(0,1,2....104))
  • 0xC - 4 bytes - -1?

0x0 "Dspi" DSP for DSPADPCM, idea for further investigations: List of DSP in DPK (Gotcha Force).

  • 0x4 - 4 bytes uint - data block length.
  • 0x8 - 4 bytes - DSP count? (In hexadecimal)
  • 0xC - 4 bytes - -1?