XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Jun 18, 2018 10:22 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Knowledge Adventure .bal files
PostPosted: Wed Mar 01, 2017 9:30 pm 
Offline
n00b

Joined: Thu Feb 16, 2017 3:51 pm
Posts: 19
Has thanked: 0 time
Have thanks: 1 time

These are *.bal files, used in games from Knowledge Adventure. These particular ones are from JumpStart 1st Grade Math. Looking at them, I think they contain sound, but they're either encrypted or compressed. They also don't have a signature in the header.

MEGA link: https://mega.nz/#!DkgViIIY!RI2QuxhKl5gl ... T0zQ7URy_Q

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Knowledge Adventure .bal files
PostPosted: Fri Mar 03, 2017 10:04 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Fri Nov 06, 2009 12:13 am
Posts: 595
Has thanked: 72 times
Have thanks: 132 times
very rusty at the moment. heres a start:

Code:
//--------------------------------------
//--- 010 Editor v5.0 Binary Template
//
// File:
// Author:
// Revision:
// Purpose:
//--------------------------------------

uint num;
uint stub;

enum <int>EntryType
{
  Invalid = -1,
  Unknown = 0,
  File = 0xb0,
};

struct File
{
  EntryType a;
  int b,c,d;
  uint nameoff;
};

File f[num];

local int POOL_POS = FTell();
struct pool
{
string i;
} strs[1+num] <optimize=false>;

local int i;

for(i=0;i<num;++i)
{
  Printf("%s == %s\n", EnumToString(f[i].a), ReadString(POOL_POS+f[i].nameoff) );

}

_________________
Useful tool links:


Top
 Profile  
 
 Post subject: Re: Knowledge Adventure .bal files
PostPosted: Fri Feb 16, 2018 4:09 pm 
Offline
n00b

Joined: Thu Feb 16, 2017 3:51 pm
Posts: 19
Has thanked: 0 time
Have thanks: 1 time
Took me long enough, but here's what I've figured out so far:

Code:
uint32 {4}  - number of files (+2)
byte {8}    - padding
uint32 {4}  - archive size (-4)
uint32 {4}  - unknown (0x8000)
byte {4}    - padding
uint32 {4}  - unknown (2)
byte {8}    - padding (if divided into two ints, -1 followed by 0)
uint32 {4}  - unknown (0x8000 again)
byte {4}    - padding

// offsets table
// for each file
   uint32 {4}  - unknown
   uint32 {4}  - file offset
   uint32 {4}  - file size
   byte {8}    - padding

// name table - names vary in length; table goes until first offset


The offset for the first file repeats three times in many of these, leading me to believe that those "files" are just empty. I still can't figure out how to get any sound out of the .SND files, though...


Top
 Profile  
 
 Post subject: Re: Knowledge Adventure .bal files
PostPosted: Tue May 22, 2018 11:22 pm 
Offline
beginner

Joined: Fri Mar 02, 2018 3:05 am
Posts: 28
Has thanked: 0 time
Have thanks: 0 time
HeadsetGuy wrote:
Took me long enough, but here's what I've figured out so far:

Code:
uint32 {4}  - number of files (+2)
byte {8}    - padding
uint32 {4}  - archive size (-4)
uint32 {4}  - unknown (0x8000)
byte {4}    - padding
uint32 {4}  - unknown (2)
byte {8}    - padding (if divided into two ints, -1 followed by 0)
uint32 {4}  - unknown (0x8000 again)
byte {4}    - padding

// offsets table
// for each file
   uint32 {4}  - unknown
   uint32 {4}  - file offset
   uint32 {4}  - file size
   byte {8}    - padding

// name table - names vary in length; table goes until first offset


The offset for the first file repeats three times in many of these, leading me to believe that those "files" are just empty. I still can't figure out how to get any sound out of the .SND files, though...


Did you try Audacity for the .SND files?


Top
 Profile  
 
 Post subject: Re: Knowledge Adventure .bal files
PostPosted: Wed May 23, 2018 3:51 pm 
Offline
n00b

Joined: Thu Feb 16, 2017 3:51 pm
Posts: 19
Has thanked: 0 time
Have thanks: 1 time
Puterboy1 wrote:
Did you try Audacity for the .SND files?

Yes I did. It doesn't sound like anything. Clearly it's supposed to be a sound file (the header is "KA Sound File", for crying out loud), so I'm guessing it's some kind of encoding/compression.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: chrrox, delutto, Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group