Results 1 to 2 of 2
  1. #1
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,222
    Thanks Thanks Given 
    211
    Thanks Thanks Received 
    2,230
    Thanked in
    292 Posts
    Rep Power
    10

    5 Street Online pcg file structure

    Here is a structure of pcg files from 5 Street Online.

    [syntax]//--------------------------------------
    //--- 010 Editor v3.1.2 Binary Template
    //
    // File: 5 Street Online pcg structure
    // Author: Dwar
    // Revision: 2010-10-24
    // Purpose: PCG file unpack/repack
    //--------------------------------------

    char PCGSig[13]; //File Sig
    int unk;
    int fCount; //File count
    byte header[40];
    struct fList {
    struct block {
    ubyte PathLength; //File path length
    ubyte sign;
    if ( sign == 0xff) {
    char PCGSig[256 - PathLength];
    }
    else char PCGSig[PathLength];
    int fSize; //File size
    byte hash[32]; //Fie hash
    int fOffset; //File offset
    int unk3[19];
    };
    local int i;
    for (i=0; i < fCount+1; i++)
    {
    block test;
    }
    } file;[/syntax]
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. #2
    nilsxlife
    nilsxlife is offline
    Guest
    Join Date
    2014 Jun
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Repack/Rebuild PCG Files

    Hi sir, can you please guide me through on how to repack/rebuild PCG Files? The script gives me error on QuickBMS while repacking/rebuilding/reimporting the files.

    Error: invalid command block or arguments -1 at line 30


    Thanks and have a nice day.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •