AOWiki
::
AODevs Forums
::
Arcanum
::
AO Official Forums
:: AOC
US
/
EU
Official Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
FC 3rd Party Dev
Anarchy Online
»
Support
»
Xyphos Resouce Database Tool v4
Username:
1 Hour
1 Day
1 Week
1 Month
Forever
Password:
Home
Help
Search
Login
Register
Pages: [
1
]
« previous
next »
Print
Author
Topic: Xyphos Resouce Database Tool v4 (Read 2736 times)
solgajazz
Rollerrat
Reetness: +0/-0
Offline
Posts: 15
Xyphos Resouce Database Tool v4
«
on:
October 16, 2009, 12:39:35 »
Nice program, got it working without a hitch. Now what do I do with the output files? /me a db nub
Logged
Xyphos
Reet
Reetness: +0/-2
Offline
Posts: 80
Re: Xyphos Resouce Database Tool v4
«
Reply #1 on:
October 17, 2009, 01:13:39 »
Depends on "output file" you refer to.
"*.XRDB4" are raw extracts of the database, compressed with a gzip alogrithrim and each record has a modified header.
it is from these files, that the plugins will parse the data from.
data parsed depends on which plugin you use, or you can design your own plugin in VB.NET 2008+
Logged
solgajazz
Rollerrat
Reetness: +0/-0
Offline
Posts: 15
Re: Xyphos Resouce Database Tool v4
«
Reply #2 on:
October 17, 2009, 03:24:02 »
XRDB4_Plugins-XMLOutput_18-02-02-00_FULL.xml is the name of the output file and is 197mb in size. How do i shrink it down to the normal 2.8mb sql file?
Logged
Xyphos
Reet
Reetness: +0/-2
Offline
Posts: 80
Re: Xyphos Resouce Database Tool v4
«
Reply #3 on:
October 19, 2009, 20:24:09 »
Quote from: solgajazz on October 17, 2009, 03:24:02
XRDB4_Plugins-XMLOutput_18-02-02-00_
FULL
.xml is the name of the output file and is 197mb in size. How do i shrink it down to the normal 2.8mb sql file?
2 versions exist,
FULL
and
mini
FULL versions are created when you don't compare data files eg, old vs new
mini versions are created when you do compare data files.
mini versions like they suggest are much smaller xml's cuz they only contain what has changed.
Logged
petteyg359
Rollerrat
Reetness: +0/-0
Offline
Posts: 3
Re: Xyphos Resouce Database Tool v4
«
Reply #4 on:
February 14, 2010, 01:38:52 »
Downloaded 4.6.1, and ran it. It extracted with no errors. When I click the "parse" button it immediately crashes. Have XML plugin selected.
An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'System.Data.SQLite, Version=1.0.60.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load a program with an incorrect format.
00000158 lea rcx,[rbx+68h]
0000015c mov rdx,qword ptr [rsp+00000090h]
00000164 call FFFFFFFFFFF90810
00000169 mov rax,qword ptr [rdi+10h]
0000016d mov rdx,qword ptr [rdi+18h]
00000171 mov rcx,qword ptr [rax+8]
00000175 call qword ptr [rax+18h]
00000178 nop
00000179 add rsp,0A8h
00000180 pop rdi
00000181 pop rbx
00000182 rep ret
Logged
Vhab
VhaBot Developer
Administrator
Reetness: +2/-0
Offline
Posts: 234
Re: Xyphos Resouce Database Tool v4
«
Reply #5 on:
February 14, 2010, 15:24:29 »
Guessing here, you have a 64bit OS?
Logged
petteyg359
Rollerrat
Reetness: +0/-0
Offline
Posts: 3
Re: Xyphos Resouce Database Tool v4
«
Reply #6 on:
February 14, 2010, 17:31:29 »
Quote from: Vhab on February 14, 2010, 15:24:29
Guessing here, you have a 64bit OS?
The crash was in Vista 64-bit. Usually using Linux and wine, but am having trouble getting .NET to install in order to attempt using XRDB from wine. Trying to set up a VM with XP, now.
EDIT: Tried it in mono. It says "Invalid AO directory" whether I select the Windows install of AO or the wine install. Also, it won't exit (I have to kill -9 the mono process) :p
«
Last Edit: February 14, 2010, 18:08:54 by petteyg359
»
Logged
Vhab
VhaBot Developer
Administrator
Reetness: +2/-0
Offline
Posts: 234
Re: Xyphos Resouce Database Tool v4
«
Reply #7 on:
February 14, 2010, 19:08:15 »
Xyphos: Change "target platform" in your project settings to "x86" (or 32-bit, forgot what it's labelled) to ensure the application always runs in 32-bit mode, even on 64bit.
To get .net on wine, use winetricks
Logged
petteyg359
Rollerrat
Reetness: +0/-0
Offline
Posts: 3
Re: Xyphos Resouce Database Tool v4
«
Reply #8 on:
February 14, 2010, 19:43:21 »
I'm using Crossover Games, don't want to mess it up with winetricks. Haven't tried in a plain wine, yet. It worked fine in VMware using XP, I've got my XML file now
Logged
Xyphos
Reet
Reetness: +0/-2
Offline
Posts: 80
Re: Xyphos Resouce Database Tool v4
«
Reply #9 on:
February 14, 2010, 22:55:17 »
Quote from: Vhab on February 14, 2010, 19:08:15
Xyphos: Change "target platform" in your project settings to "x86" (or 32-bit, forgot what it's labelled) to ensure the application always runs in 32-bit mode, even on 64bit.
To get .net on wine, use winetricks
Done. an oddity of sorts it somehow got switched over to AnyCPU by mistake.
v4.7.0 is released and forced to run under Active(x86) mode.
Logged
Prodigy007
Rollerrat
Reetness: +0/-0
Offline
Posts: 7
Re: Xyphos Resouce Database Tool v4
«
Reply #10 on:
August 22, 2010, 23:38:32 »
It would be nice to export to sql the very same information output to xml if you could help me figure that out in its entirety.
Logged
Prodigy007
Rollerrat
Reetness: +0/-0
Offline
Posts: 7
Re: Xyphos Resouce Database Tool v4
«
Reply #11 on:
August 24, 2010, 13:44:32 »
Im guessing this isnt a feature your willing to help me figure out. Im not good with vb. I had wished maybe this tiny section could be added to the plugins file.
Logged
Xyphos
Reet
Reetness: +0/-2
Offline
Posts: 80
Re: Xyphos Resouce Database Tool v4
«
Reply #12 on:
September 02, 2010, 22:43:29 »
you don't have to code the plugin with VB; you can use C# also
just add a reference to XRDB4-Extras.dll, create a new class inheriting XRDB4_Extras.Plugin
and implicitly implement the plugin interface
in the ExtractRecords method, have it return an array of XRDB4_Extras.ExtractRecordDictionary.ExtractRecord;
indicating what records you want extracted. the other routines are for parsing data.
«
Last Edit: September 02, 2010, 22:47:52 by Xyphos
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Anarchy Online
-----------------------------
=> Announcements
=> General Discussion
=> Support
=> Releases
=> Budabot
=> Mentally Challenged
-----------------------------
Age of Conan
-----------------------------
=> General Discussion
=> Support
=> Releases
-----------------------------
The Secret World
-----------------------------
=> General Discussion
=> Support
=> Releases
-----------------------------
Arcanum
-----------------------------
=> General Arcanum Chat
=> Armor & Production
=> Gadgets & Production
=> Weapons & Smithing
=> Pharmacy
=> General Crafting
=> Quests
=> Unique Encounters
=> Trade & Economy
Loading...