Advertisement
Faschz

Dark Cloud - Save Struct

Dec 15th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.33 KB | None | 0 0
  1. typedef struct{
  2.   /* 0x00 */ uint16_t id;
  3.   /* 0x02 */ uint16_t synth_id;
  4.   /* 0x04 */ uint16_t abilities;
  5.   /* 0x06 */ uint8_t synth_level;
  6.   /* 0x07 */
  7.   /* 0x08 */ uint16_t attack;
  8.   /* 0x0A */ uint16_t endurance;
  9.   /* 0x0C */ uint16_t speed;
  10.   /* 0x0E */ uint16_t magic;
  11.   /* 0x10 */ uint8_t fire;
  12.   /* 0x11 */ uint8_t ice;
  13.   /* 0x12 */ uint8_t thunder;
  14.   /* 0x13 */ uint8_t wind;
  15.   /* 0x14 */ uint8_t holy;
  16.   /* 0x15 */ uint8_t anti_dragon;
  17.   /* 0x16 */ uint8_t anti_undead;
  18.   /* 0x17 */ uint8_t anti_marine;
  19.   /* 0x18 */ uint8_t anti_rock;
  20.   /* 0x19 */ uint8_t anti_plant;
  21.   /* 0x1A */ uint8_t anti_beast;
  22.   /* 0x1B */ uint8_t anti_sky;
  23.   /* 0x1C */ uint8_t anti_metal;
  24.   /* 0x1D */ uint8_t anti_mimic;
  25.   /* 0x1E */ uint8_t anti_mage;
  26.   /* 0x1F */
  27.   /* Size: 0x20 */
  28. } attachment_t;
  29.  
  30. typedef struct{
  31.   /* Size: 0xF8 */
  32. } weapon_t;
  33.  
  34. typedef struct{
  35.   /* 0x00 */ uint16_t id;
  36.   /* 0x02 */ uint16_t angle;
  37.   /* 0x04 */ float x;
  38.   /* 0x08 */ float y;
  39.   /* 0x0C */ float z;
  40.   /* Size: 0x10 */
  41. } georama_t;
  42.  
  43. typedef struct{
  44.   /* 0x00 */ uint32_t id;
  45.   /* 0x04 */ uint32_t type;
  46.   /* 0x08 */ uint32_t count;
  47.   /* Size: 0x0C */
  48. } atla_t;
  49.  
  50. typedef struct{
  51.   /* 0x00000 */
  52.  
  53.   /* 0x00008 */ uint32_t clock_display;
  54.   /* 0x0000C */ uint32_t time_progres;
  55.   /* 0x00010 */ uint32_t message_dsply_speed;
  56.   /* 0x00014 */ uint32_t sound;
  57.   /* 0x00018 */ uint32_t farside_soft_focus;
  58.   /* 0x0001C */ uint32_t vibration;
  59.   /* 0x00020 */ uint32_t display_chrctr_name;
  60.   /* 0x00024 */ uint32_t dmg_pt_display_pc;
  61.   /* 0x00028 */ uint32_t dsply_dmg_pt_enemy;
  62.   /* 0x0002C */ uint32_t enemy_hp_display;
  63.   /* 0x00030 */
  64.  
  65.   /* 0x0003C */ uint32_t map_display_density_copy;
  66.   /* 0x00040 */ uint32_t save_cursor_position_copy;
  67.   /* 0x00044 */
  68.  
  69.   /* 0x00048 */ uint16_t chrctr_name[6][32];
  70.   /* 0x001C8 */ uint32_t map;
  71.   /* 0x001CC */
  72.  
  73.   /* 0x001D0 */ float time;
  74.   /* 0x001D4 */ uint32_t frames;
  75.   /* 0x001D8 */ uint32_t day;
  76.   /* 0x001DC */
  77.  
  78.   /* 0x00650 */ uint16_t save_cursor_position;
  79.   /* 0x00652 */ uint16_t inventory_slot;
  80.   /* 0x00654 */
  81.  
  82.   /* 0x00656 */ uint16_t customize_slot;
  83.   /* 0x00658 */ uint16_t georama_slot;
  84.   /* 0x0065A */
  85.  
  86.   /* 0x00666 */ uint16_t inventory_menu;
  87.   /* 0x00668 */
  88.  
  89.   /* 0x0066A */ uint16_t customize_menu;
  90.   /* 0x0066C */ uint16_t georama_menu;
  91.   /* 0x0066E */
  92.  
  93.   /* 0x0067A */ uint16_t inventory_tab;
  94.   /* 0x0067C */
  95.  
  96.   /* 0x00924 */ georama_t norune_georama[130];
  97.   /* 0x01144 */
  98.  
  99.   /* 0x014DC */ georama_t matataki_georama[130];
  100.   /* 0x01CFC */
  101.  
  102.   /* 0x02094 */ georama_t queens_georama[130];
  103.   /* 0x028B4 */
  104.  
  105.   /* 0x02C4C */ georama_t muska_georama[130];
  106.   /* 0x0346C */
  107.  
  108.   /* 0x03804 */ georama_t yellow_georama[130];
  109.   /* 0x04024 */
  110.  
  111.   /* 0x043BC */ georama_t east_georama[130];
  112.   /* 0x04BDC */
  113.  
  114.   /* 0x04CCC */ uint16_t georama_parts[6][128];
  115.   /* 0x052CC */
  116.  
  117.   /* 0x0540E */ uint8_t current_floor;
  118.   /* 0x0540F */ uint8_t last_floor;
  119.   /* 0x05410 */ uint8_t current_char;
  120.   /* 0x05411 */ uint8_t total_chars;
  121.   /* 0x05412 */ uint16_t max_health[6];
  122.   /* 0x0541E */ uint16_t current_health[6];
  123.   /* 0x0542A */
  124.  
  125.   /* 0x05684 */ uint32_t atla_index[6][320];
  126.   /* 0x07484 */ atla_t atla[6][100];
  127.   /* 0x090A4 */ uint16_t enemies_killed[7][100];
  128.   /* 0x0961C */
  129.  
  130.   /* 0x096CB */ uint8_t floors_cleared[7];
  131.   /* 0x096D2 */
  132.  
  133.   /* 0x096D4 */ uint32_t character_status[6];
  134.   /* 0x096EC */
  135.  
  136.   /* 0x096F8 */ float max_thirst[6];
  137.   /* 0x09710 */ float current_thirst[6];
  138.   /* 0x09728 */ uint32_t open_menu;
  139.   /* 0x0972C */ uint32_t has_map;
  140.   /* 0x09730 */
  141.  
  142.   /* 0x09748 */ uint32_t map_display_density;
  143.   /* 0x0974C */ uint8_t equipped_weapon_slot[6];
  144.   /* 0x09752 */ uint16_t gold;
  145.   /* 0x09754 */ uint32_t defense[6];
  146.   /* 0x0976C */ uint8_t item_capacity;
  147.   /* 0x0976D */ uint8_t total_items;
  148.   /* 0x0976E */ uint16_t active_items[3];
  149.   /* 0x09774 */ uint16_t active_item_counts[3];
  150.   /* 0x0977A */ uint16_t items[103];
  151.   /* 0x09848 */ uint16_t item_slots[103];
  152.   /* 0x09916 */
  153.  
  154.   /* 0x09918 */ weapon_t weapons[66];
  155.   /* 0x0D908 */ attachment_t attachments[43];
  156.   /* 0x0DE68 */
  157.  
  158.   /* 0x0E0A8 */ uint16_t checkin_items[60];
  159.   /* 0x0E120 */ uint16_t checkin_item_slots[60];
  160.   /* 0x0E198 */ weapon_t checkin_weapons[30];
  161.   /* 0x0FEA8 */ attachment_t checkin_attachments[30];
  162.   /* 0x10268 */
  163.  
  164.   /* Size: 0x131C0 */
  165. } save_t; /* Start: 0x01CD4140 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement