Request: one DevKit feature in advance

19 replies [Last post]
Posts: 1003
CP: 7799

I know you won't like me asking this but we really want different sprite support in PR#2 next week Sunday. Could you quickly whip up a standalone bodies.dat xml generator which you can then also use in the DevKit? That'd be awesome if you could :3

Thankies ^^

EDIT:

I'm talking about TopDown bodies.dat generator of course :3

Posts: 1647
CP: 26119

Eh... its not like its hard to just edit the xml directly. Wink

Posts: 1003
CP: 7799

I know but manually adding about 50-100 sprites is gonna take hours while a generator could do that in 2 seconds and we'd need one for the devkit eventually Wink

Dangoss added 106 dialogs so we'd need at least 106 npcs by PR#2 which is next Sunday, and most of those NPCs have different sprites.

Posts: 1647
CP: 26119

Well I'm not going to create the editor for it just to recreate it when the new editors are started. That'd just be a huge waste of time.

Posts: 1003
CP: 7799

I know hence why I asked it if it was possible so you could just throw it in the devkit once you start on the coding of it?

I don't really know but it doesn't really have to be an editor? Just a cmd line application that writes the xml values would be good enough really. So you could reuse the code in the actual (GUi-having) editor?

For SVO, sprites are all in \Grh\Sprites\npcs and \Grh\Sprites\players

So if it somehow just reads those folders and writes the xml accordingly. But if you don't feel like coding it right now, just say "GTFO Skye" and I'll wait with more whining till the devkit is around the corner Tongue

DF & I have planned to work on the GUI of the DevKit tomorrow evening by the way.

Posts: 1647
CP: 26119

Well since its just basic XML, it'd be easy enough to write a command-line app yourself. Smile It'll probably take me longer than you would like for me to get around to this.

What you can do is this:
1. Enter in the values through a text file, something simple like each line is a new body, and each entry is tab-delimited
2. Create a console app to read the text file and separate the values
3. Output the Xml using the XmlWriter (I believe it is)

It should be quite straight-forward to do, and good programming practice. Smile

Posts: 1003
CP: 7799

The whole idea was that the app scans the folders and automatically adds everything. Adding stuff manually in a text file is gonna take forever as well. Writing something that makes xml is something I can probably do but I need something that scans those folders as well (like the Auto Grh Update).

Posts: 1647
CP: 26119

Oh... well I'm not sure what you would want from the scanner, so it'd probably be easiest for you to do anyways then. Wink

I'm guessing Directory.GetDirectories(), and maybe Directory.GetFiles() is all you are going to be needing if you are just auto-adding it by directory and file names.

Posts: 1003
CP: 7799

Okay, thanks :3 we'll look into it ^^ I'm guessing most people will use this "scanner" then since the way bodies.dat is made for topdown is kinda different than for sidescrolling.

Posts: 164
CP: 0

Just make a console application. You will probably have everything you need in the System.Xml and System.IO namespaces. (could try to use System.Xml.Serialization if your lazy)

Posts: 531
CP: 967

skye if your having problems i can have a look at this quickly for you sometime this week. Wink

There are 10 types of people in this world - Those who understand Binary and those who don't.

Posts: 1003
CP: 7799

Well that'd be cool since I'm guessing some code changes will have to be done in the client as well (not sure how the topdown body is loaded right now). As long as it's before Thursday, I'ma focus on other content meanwhile. The code could then be added to the new devkit anyway, so it's not like it's coding time wasted Smile

Got 2 exams coming up next week so I'm not gonna spend time coding >_>

Posts: 1647
CP: 26119

aPhRo_ wrote:
skye if your having problems i can have a look at this quickly for you sometime this week. Wink

No! Skye has to do it! I'm going to force him to learn basic C#, whether he likes it or not! Tongue

Posts: 1003
CP: 7799

But Skye doesn't have time at the moment. I AM learning C# with "Head First C# 2nd Edition" which is a really great book by the way but I really don't have time at the moment. Got exam on Sept 7 & 9th. After that I should have some more time to work on my C# skills.

But this hasn't got anything to do with me learning C# but rather with speedier development of SVO.

Posts: 31
CP: 0

But.. Spodi... You said that I was your favorite!

Posts: 1647
CP: 26119

Skye wrote:
But this hasn't got anything to do with me learning C# but rather with speedier development of SVO.

Fair enough. Wink

richardf wrote:
But.. Spodi... You said that I was your favorite!

Oh don't worry, Skye is definitely not my favorite! He is always reporting bugs and issues. Its the reason why I hate him, yet also why I love him. Tongue

Start finding more bugs, and I'll hate/love you more, too!

Posts: 1003
CP: 7799

I love you too Spodi Tongue but I'll love you even more when the Devkit will be done (expect many weeks of whining to make it perfect though Wink)

Silly Darkfrost isn't around even though he said he would be so I guess no DevKit programming tonight either :/

Posts: 226
CP: 0

I blame having a life! D:

Posts: 1647
CP: 26119

Skye wrote:
but I'll love you even more when the Devkit will be done

Then start workin' on it! Less lovin', more workin'! Wink

Posts: 1003
CP: 7799

I'm waiting for DF to show up D: