Search the web
Sign In
New User? Sign Up
darklands · Darklands - Historical RPG by Microprose
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DC's Character Editor   Message List  
Reply | Forward Message #8882 of 9076 |
Re: [darklands] Re: DC's Character Editor

quadkorex wrote:
>> Daniel Collins <dcplus@...> wrote:
>> <snip>
>> I have C# and C++ code that parses the location data (and almost
>> everything else) from the savegame files which I can make
>> available if it would help.
>> <snip>
>>
>
> I am very interested in that if you are willing to make it available.
> That'd be cool. The C# especially, C++/dll very interesting too.
>
> Cheers,
> Quadko
>
Regarding the C# code, I used to have the character editor source in the
files section but I don't seem to have the latest version there. I will
do a bit of a clean up and upload the source. Currently all the C# code
is in a single project that builds the application. The code that works
with the actual savegame data is quite discrete from the rest of the
application though so what I will do is split that code off into a
separate assembly. That will make it much easier to reuse in other
applications. Savegame support is pretty complete for reading. Writing
is less complete but most data other than events can be written. The
main SaveGame class also has methods for dumping various bits of data to
CSV files.

The C++ code was originally a port from the C# but annoyingly it now has
more complete support for writing savegame data since it handles event
changes. Mostly I use this to remove events but new ones can also be
added for experimental reasons. I didn't write the C++ as a proxy to the
C# code since I didn't want it to require the .Net runtime. The annoying
part to that is having two independent code branches to maintain. I will
port the event writing code back to the C# as part of the clean up.

Also, it turns out the C++ savegame code only builds to a static lib,
which I then link to a dll containing the Lua binding API. Since you
would have the full source, using the static lib would be easy, but it
is only a small change to build to a dll instead.

All this builds in MS Visual Studio 2005 but the C++ should build
anywhere with a bit of tweaking.

I should be able to get this stuff cleaned up and uploaded over the next
few days. I will also try to sort out a release for the Lua scripting
stuff. Currently the Lua interface to the save game data is complete,
along with a bunch of scripts that do various useful things such as a
more powerful and flexible world regen tool and scripts for analysing
and comparing events structures from multiple savegames. I will set up a
self-contained directory tree and some instructions then upload it.

cheers,
DC



Fri Sep 12, 2008 2:15 am

jugglindan
Offline Offline
Send Email Send Email

Forward
Message #8882 of 9076 |
Expand Messages Author Sort by Date

Hey Dan! First, thanks for your Character Editor and World Regeneration tool. Would it be possible for you to create a standalone World Map application that...
Jeff Donville
jtdonville
Offline Send Email
Sep 10, 2008
9:08 pm

There was some map decoding instruction discussion a few years ago. I think several of the directories in the groups 'files' section have map info and tools. I...
quadkorex
Offline Send Email
Sep 10, 2008
9:51 pm

Jeff, Merle has the file format info on his web-site: http://wallace.net/darklands/ Note that the "map" file itself does not have any of dynamic elements in...
Matt Wirkkala
mwirkk
Offline Send Email
Sep 10, 2008
10:04 pm

Interesting idea Jeff. As Matt and Quadko point out, what we think of as "The Map Data" is split into two parts. The static map data I think provides the tiles...
Daniel Collins
jugglindan
Offline Send Email
Sep 11, 2008
1:53 am

... I am very interested in that if you are willing to make it available. That'd be cool. The C# especially, C++/dll very interesting too. Cheers, Quadko...
quadkorex
Offline Send Email
Sep 11, 2008
3:24 pm

... Regarding the C# code, I used to have the character editor source in the files section but I don't seem to have the latest version there. I will do a bit...
Daniel Collins
jugglindan
Offline Send Email
Sep 12, 2008
2:15 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help