- Joined
- Apr 4, 2010
- Messages
- 132
- Reaction score
- 6
Hi all, anyone know a Berkeley DB editor for whindows?
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
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.
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
very interesting.
I converted mine now and it says:
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
and created a decompressed version under /dbf/dbhome/dbdata which i can open in hex editor but thats about it.
Btw this might be useful:
To view the content, you need to sign in or register
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.
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???
root@devastation:/dbf/dbhome/dbdata# db4.2_load -f base base
db_load: line 1: unexpected format
if anybody can get this into an editor many thankyous will come your way.