473,473 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help with unpacking/repacking DB Files

2 New Member
Hi there, I really have no idea which forum this belongs in, as it pertains to software, but databases and graphics all at once.

Pardon my ignorance toward programming, I am more of a graphics guy. I've been working on 100's of textures for a week now for a game I am modding. The graphics came in a series of files that I had to unpack using a freeware prog designed specifically for this purpose. I'm at the point where I'd like to test this out live, but this freeware prog does not repackage the files into the original format.

Now, I'm just guessing that if the program was able to use a command to unpack these files, there must be a command to do the opposite and repack them. Right?

The files in question look like this "gamedata.db1", "gamedata.db2", etc.
I've searched for hours trying to discern how to work with these files to no avail.

What would it take to acheive what I need to do? I can send you the freeware unpacker program to anyone who would like to look at it. Thanks very much.
Mar 30 '08 #1
2 1629
Stang02GT
1,208 Recognized Expert Top Contributor
Hi there, I really have no idea which forum this belongs in, as it pertains to software, but databases and graphics all at once.

Pardon my ignorance toward programming, I am more of a graphics guy. I've been working on 100's of textures for a week now for a game I am modding. The graphics came in a series of files that I had to unpack using a freeware prog designed specifically for this purpose. I'm at the point where I'd like to test this out live, but this freeware prog does not repackage the files into the original format.

Now, I'm just guessing that if the program was able to use a command to unpack these files, there must be a command to do the opposite and repack them. Right?

The files in question look like this "gamedata.db1", "gamedata.db2", etc.
I've searched for hours trying to discern how to work with these files to no avail.

What would it take to acheive what I need to do? I can send you the freeware unpacker program to anyone who would like to look at it. Thanks very much.

I guess the 1st thing is from the sounds of it this program you are using to package these files is something along the lines of WINZIP, or another program like that?

Are the files being converted from one format to another?


What program are you using? I would attempt to see if there is a full version out there you can get that will give you the full capabilities of the program.

It may also be the case that you are going to have to buy the full version too.

If we had the name of the software that might help too.


Good luck and welcome to the scripts!
Mar 30 '08 #2
kellog
2 New Member
Unfortunately I believe it might be more complicated than a ZIP operation, otherwise the need for this little program that I already have would be nullified. I'm sorry I wasn't more clear. At first, the game in its original state has a 10 files called "gamedata.db0" up to .db9. This leaves you totally unable to make or use mods. This freeware prog is just a third party app that this guy made for everyone to extract moddable files. So it seems like it was simple enough for that person to take these gamedata files and extract all of the contents via some command or another being executed in the program he made.

What I need now is a program (or command in DOS or something) that can reverse what this process just did. I mean, in theory there "has" to be a way, I just don't know where to begin. Any help is apreciated.

Link to "DB Extractor Tool" ---> http://tinyurl.com/3cfs8t
Mar 30 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: sj | last post by:
Im trying to read sample values from aiff files but can not seem to get the unpacking right. Ths following code reads n frames from a sample file and prints the amplitudes to the terminal. In the...
2
by: george young | last post by:
I came across an cool python feature that I've not seen discussed. This may be *implied* by the language reference manual http://docs.python.org/ref/assignment.html], but it was never obvious to...
8
by: Paul McGuire | last post by:
I'm trying to manage some configuration data in a list of tuples, and I unpack the values with something like this: configList = for data in configList: name,a,b,c = data ... do something...
5
by: Chris | last post by:
Hi I'm attempting to write a client for an existing p2p network. The protocol defines that ints are packed into 4 bytes for transfer. // Creating the byte vector using the following is fine:...
10
by: Nemok | last post by:
Hi, I am trying to write an additive encryption algorithm in C++ that will encrypt a text by adding a random numer to each character in a string. The code looks similar to this: for(int...
16
by: John Salerno | last post by:
I'm a little confused, but I'm sure this is something trivial. I'm confused about why this works: ('more', 'less'), ('something', 'nothing'), ('good', 'bad')) (('hello', 'goodbye'), ('more',...
5
by: ram | last post by:
Stupid question #983098403: I can't seem to pass an unpacked sequence and keyword arguments to a function at the same time. What am I doing wrong? def f(*args, **kw): for a in args: print...
3
by: jld730 | last post by:
Hi All, I am looking for help on this simple script to unzip/extract the contents of a zip file. This is what I have so far: import zipfile, os, sys zip1 = ("C:\\Temp\\test11.zip") z =...
21
by: Martin Geisler | last post by:
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjlQNwACgkQ6nfwy35F3Tj8ywCgox+XdmeDTAKdN9Q8KZAvfNe4 0/4AmwZGClr8zmonPAFnFsAOtHn4JhfY =hTwE -----END PGP...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.