Initial commit to populate projects.
This commit is contained in:
40
bss2bs/bss2bs.cpp
Normal file
40
bss2bs/bss2bs.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Project: biotools
|
||||
// Program: bss2bs
|
||||
// Purpose: Splitting Biohazard/Resident Evil BSS file into individual BS files.
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Function: main
|
||||
// Purpose: n/a
|
||||
int main(int arg_count, char* p_arg_array[])
|
||||
{
|
||||
//Local variables
|
||||
char* p_buffer = NULL;
|
||||
|
||||
|
||||
printf("\nbss2bs\n\n");
|
||||
|
||||
//Process filename
|
||||
//Check if file exists.
|
||||
|
||||
//Load file into memory.
|
||||
//Generate output filenames
|
||||
|
||||
|
||||
|
||||
for (int a = 0; a < arg_count; a++)
|
||||
{
|
||||
//Validate file exists.
|
||||
//Check file size.
|
||||
//If at or under limit, load into memory
|
||||
//Prepare outgoing filenames
|
||||
//Copy memory chunks into new outgoing buffer
|
||||
//Write buffer to disk.
|
||||
}
|
||||
|
||||
//Something went wrong spot
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user