Something to drool over...

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

Re: Something to drool over...

Postby Graveen » Mon Jun 18, 2012 9:55 pm

Ok, you have now accesses to SVN in write mode... if you want to push your code in the VCS under /Utils.... /salute :)

http://dolserver.svn.sourceforge.net/viewvc/dolserver/
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12595
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Something to drool over...

Postby silakka » Mon Jul 16, 2012 4:41 pm

silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby Graveen » Sat Jul 21, 2012 4:00 pm

Thank you, it's perfect ! can you land a quick how-to i'll add to our wiki section ?
(what tools / jre version, how to compile, how to run... in example eclipse/netbean, with jdk 7 x86 ou x64, load with File -> open, etc...)

/bow :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12595
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Something to drool over...

Postby silakka » Tue Jul 24, 2012 10:19 pm

"Project" have Eclipse setup (not required really) and I think works java 1.4 and up (java.nio in use) on any platform :)
Class have javadocs attached including simple example :)
Anyway there is only few methods, "open"(mpk) , "readFile"(from mpk) and if need to read all content there is "entrySet" to provide content as Map <String "filename",ByteArrayOutputStream> so it's easy "for" looping :)

Here is simplified example reading "fixtures.csv" .
try {
MpakFile mpakDat = new MpakFile(new File(srcPath+"/zone000/dat000.mpk"));
String[] lines = mpakDat.readFile("fixtures.csv").toString().split("\\n");
for ( String c : lines ) {
...
...
}
} catch(...
silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby silakka » Tue Jul 24, 2012 10:33 pm

Actually unit test (test directory) have also quite good working example which reads all zone dat files :)
silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby silakka » Tue Oct 09, 2012 9:12 pm

Collected some mpk/npk related tools to my git hub https://github.com/mharj/ (got also permission to add original dempak.c to github)
And added some content to niftools wiki about DAoC (nif) model features and some extra info http://niftools.sourceforge.net/wiki/Da ... of_Camelot :)
silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby Graveen » Tue Oct 09, 2012 9:26 pm

Interesting mate :) good job :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12595
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Something to drool over...

Postby silakka » Thu Oct 11, 2012 6:00 am

Graveen wrote:Interesting mate :) good job :)


Thanks :) , added DAoC nif version number list to wiki (collected from all nif models)
In case if need to have some info from all daoc nif models files, please PM or post here, I'll try to get some lists out :)
silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby silakka » Wed May 01, 2013 9:27 am

Added small Unity terrain testing to blog http://mharjula.blogspot.com
Looks like Unity works quite similar way than Gamebryo, even terrain scale was directly correct when imported heightmap (4096 x 4096 x 4096).
Also able to on-fly async file loading, like zone loading is quite similar what Gamebryo is using, though limited to Pro license :)
silakka
DOL Novice
 
Posts: 67
Joined: Tue Dec 08, 2009 1:22 pm

Re: Something to drool over...

Postby Tolakram » Wed May 01, 2013 11:53 am

Nice update. :)
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9183
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest