Deconstruction of CvS2

jedpossumjedpossum Ok, DarlingJoined: Posts: 4,227
Like the the MvC2 deconstruction thread, but working on CvS2.
Mvc2 Thread


Quick run down of the files.

Don't expect me to update as often as the MvC2 thread. As I'll only work on it as a little break from MvC2.

Files on the DC version
1ST_READ - Main programming
ADX - The standard music file even used to this day

MESE_ - English Text messages.
MESJ_ - Japanese Text messages

STG##POL Polygon files for the stages.
STG##TEX Texture files for the stages.

EDIT_P## Color Edit graphic

Player Files
PL##_FAC - Probably the hud portraits.
PL##PAK - Graphic file pixel art and palettes
PL##_HIT - most likely hitboxes
PL##_TBL - probably attack damage,life,jump arcs, etc
SND_PL## - Player Sound Files

Now some actual content.
PL##PAK File Start File Pointers
GRAPHIC1 GRAPHIC2 PALETTES 00000000
00000000 00000000 00000000 00000000
That is the setup for the pak files.

Graphic 1 is usually a pointer to 0x00000020
Graphic 2 the pointer is always different due to the different size and sprite work of a character.
Palettes points directly to the start of palette table LP color.

I occasionally stream so you can see how boring poking around in the memory is. www.hitbox.tv/jedpossum

[8/6/2014 8:19:53 PM] Pasky: jedpossum, hacker of the obscure fighting games

Comments

  • jedpossumjedpossum Ok, Darling Joined: Posts: 4,227
    edited November 2013
    HIT File
    Pointers
    Haven't figured out all the pointers, yet.
    00010203 04050607 08090A0B 0C0D0E0F
    ???????? HTCHOICE HURTBOXS ATTACKBX
    ???????? ???????? ???????? ????????
    

    HITCHOICE - Hit choice table this table tells which box.
    HURTBOXS - Table of Hurt boxes
    ATTACKBX - Attack box table

    Hurt Box
    XLOC YLOC XRAD YRAD

    ATTACK BOX FORMAT 16 Bytes (Applies to Alpha 3,CFJ, and CvS1)
    0001 0203 0405 0607 0809 0A0B 0C0D 0E0F
    XLOC YLOC XRAD YRAD DMHS ???? DZHF AC??
    HFMG ??SP ??TY ???? ???? ???? ???? ????
    
    XLOC - Box X Location(Big endian)
    YLOC - Box Y Location(Big endian)
    XRAD - Box Width(Big endian)
    YRAD - Box Height(Big endian)

    DM - Damage
    HS - Hit Stun


    DZ - Dizzy Damage (If zero matches damage)
    HF - Hit Flag (Type of Hitstun)
    AC - Activation flag
    HF - Hit Freeze/Hit Stop
    MG - Addtional Meter Gain if attack hits
    SP - Hit Spark

    TY - Type (High, Low, Overhead, Unblockable)
    Post edited by jedpossum on

    I occasionally stream so you can see how boring poking around in the memory is. www.hitbox.tv/jedpossum

    [8/6/2014 8:19:53 PM] Pasky: jedpossum, hacker of the obscure fighting games

  • Half-RoHalf-Ro Omae wa mo shinderu.... Joined: Posts: 2,007
    Hex edited cvs2 coming soon? Very cool stuff, thanks for digging around in these games for us!
  • SNAAAAKESNAAAAKE WHOOOOOOOOOOOOOOO!? Joined: Posts: 13,017 ✭✭✭✭✭ OG
    so whats the goal/purpose? run it on pc or something?
    you must defeat my Shen Long to receive the reward

  • jedpossumjedpossum Ok, Darling Joined: Posts: 4,227
    I doubt I'll go as far as far porting it. Maybe a viewer/editor for it.

    I occasionally stream so you can see how boring poking around in the memory is. www.hitbox.tv/jedpossum

    [8/6/2014 8:19:53 PM] Pasky: jedpossum, hacker of the obscure fighting games

  • SNAAAAKESNAAAAKE WHOOOOOOOOOOOOOOO!? Joined: Posts: 13,017 ✭✭✭✭✭ OG
    is that really complicated? even if you had help from super professionals like say..damdai and/or someone like that? I always wondered if there was a way to run cvs2 on a pc without emulation. just straight up mugen style but leave the game unchanged lol..
    you must defeat my Shen Long to receive the reward

  • PreppyPreppy act like you're used to it Joined: Posts: 13,481 admin
    ^-- No, you would have to reimplement the entire game.

    http://zachd.com/mvc2 : My giant archive of fighting game videos, centered around MvC2.
    "If you don't feel like killing yourself every time you lose you will never be good. Apologyman is going to be a monster someday as long as he keeps staying miserable." --Brightside6382

    MvC2 for Xbox One/PS4 pls

  • jedpossumjedpossum Ok, Darling Joined: Posts: 4,227
    edited December 2013
    I've only seen it done once not officially.

    https://github.com/djyt/cannonball/wiki

    I occasionally stream so you can see how boring poking around in the memory is. www.hitbox.tv/jedpossum

    [8/6/2014 8:19:53 PM] Pasky: jedpossum, hacker of the obscure fighting games

  • Half-RoHalf-Ro Omae wa mo shinderu.... Joined: Posts: 2,007
    Viewer/editor would be awesome!
Sign In or Register to comment.