473,480 Members | 1,754 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 1630
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
1437
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
1747
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
3609
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
1969
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
2254
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
1318
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
1503
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
2149
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
7223
by: Martin Geisler | last post by:
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjlQNwACgkQ6nfwy35F3Tj8ywCgox+XdmeDTAKdN9Q8KZAvfNe4 0/4AmwZGClr8zmonPAFnFsAOtHn4JhfY =hTwE -----END PGP...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6956
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
4783
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
4485
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
2997
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
183
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.