Hi all, anyone know a Berkeley DB editor for whindows?
Printable View
Hi all, anyone know a Berkeley DB editor for whindows?
Thats the bdb not an editor romulan. Im talking about visual editor for bdb (Berkeley DB). With your link i can use the db_dump command and i can see the database but i cant edit.
I dont think there is one =/ I am sure Robb looked into this a while ago and never heard anything back so I assume he didn't look further.
Aha,well i try to make one myself i read that is easy to do one on VB.
Thanks for the answer
it would be awsome to have the possibility to convert them to sql, so it may be later possible to convert existing servers to the emulator to update a server without a wipe
This would be awesome.
It uses a converted format of berkley db 4.2 and can be converted to and from that format using /PWServer/gamedbd/gamedbd.conv.
Thats all we know about it really, so far nobody has managed to get it open. I can only presume you would need to install red hat with that version of berkley db and try it then.
All in all, its way too much work than its worth.
Well... I decided to look into it
First download: http://mirror.centos.org/centos/5/os...2-5.1.i386.rpm
Which contains the libraries gamedbd.conv needs
If running an RPM based distro install it and all done
If running Debian: I'd say use alien to convert it but I had issues with that, you'll still need rpm2cpio for this to work
rpm2cpio compat-db-4.2.52-5.1.i386.rpm | cpio -vid
you'll then get two directories, lib and usr you ONLY need the /lib dir and this is 32 bit, so make sure you put it in the proper location if running 64 bit debian/ubuntu/w/e seeing as how I'm running Ubuntu "cp lib/* /lib32" worked just fine
Then after that "cd /PWServer/gamedbd/; ./gamedbd.conv gamesys.conf tobdb" worked!
Now to work on figuring out a way to get it all into SQL (which will make creating a database for Angelica-Emulator so much easier)
very interesting.
I converted mine now and it says:
and created a decompressed version under /dbf/dbhome/dbdata which i can open in hex editor but thats about it.Code:root@devastation:/PWServer/gamedbd# ./gamedbd.conv gamesys.conf tobdb
read compress status from config file, compress=1
convert wdb format to bdb format
read compress status from storage, compress=1
convert wdb to bdb waitdel:
convert wdb to bdb userfaction:
converting database records counter 1...
convert wdb to bdb user:
convert wdb to bdb translog:
convert wdb to bdb task:
convert wdb to bdb storehouse:
convert wdb to bdb status:
convert wdb to bdb shoplog:
convert wdb to bdb sellpoint:
convert wdb to bdb rolename:
convert wdb to bdb order:
convert wdb to bdb messages:
convert wdb to bdb mailbox:
convert wdb to bdb inventory:
convert wdb to bdb gtask:
convert wdb to bdb friends:
convert wdb to bdb factionname:
convert wdb to bdb factioninfo:
convert wdb to bdb equipment:
convert wdb to bdb config:
convert wdb to bdb clsconfig:
convert wdb to bdb city:
convert wdb to bdb base:
convert wdb to bdb auction:
read compress status from storage, compress=1
Btw this might be useful:
http://hashman.sourceforge.net/
This starts to be a really nice progress.
It doesnt seem to fit any database format i can find, but i can see my name and player info inside with simple hex editor.
Maybe a bdb->sql tool for PW can be developed for it?
Ill keep looking for something to open it. Hashman gave me a page full of errors on the make command.
They don't seem to fit any pattern at all, each time i convert the same database without server online it gives completely different file headers???