Advertisement Jump to content
Sign in to follow this  
Durakken

How to efficiently divide files up?

This topic is 1770 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making a pokeclone game... so I need to make a file to list all the monsters, moves, and the leveling rates... Should I separate these into 3 files? 2? or 1?

 

 

The above is just copy pasted from my last topic, but I figure that it is likely noone saw it because they answered the original question and moved on I guess I have to make a new topic which I don't like to do if the topic is roughly the same...

 

to expand a bit...

 

Should I have the monsters and skills all in one file, or should i separate them into 2 files... same question for character data and pet save data...or all pet data and active data... Cuz if you have followed the conversation in game design, the pet data will have to have "genes", but these genes are only used at one point in the game really and constantly having them loaded seems like it might be a problem, but I don't know. 

 

So is there a rule of thumb with these things and should i separate these files up or just have them all in one?

 

Share this post


Link to post
Share on other sites
Advertisement

I see what you're saying... I don't have Windows office nor a xml exporting program to do that with so i see what you're saying, but does little good for me ^.^ It does answer my question though, just wish I knew a way to convert open office or google sheets files to xml easily.

Share this post


Link to post
Share on other sites

It does answer my question though, just wish I knew a way to convert open office or google sheets files to xml easily.

If you know PowerShell, you can download your Google spreadsheet into an excel file, then you can write a script in PowerShell using the EPPlus library to extract information form the file and into an xml file.

Or you could use a text editor and do some skillful copy, paste, and multi-line edits to craft your xml...

Share this post


Link to post
Share on other sites

 

It does answer my question though, just wish I knew a way to convert open office or google sheets files to xml easily.

If you know PowerShell, you can download your Google spreadsheet into an excel file, then you can write a script in PowerShell using the EPPlus library to extract information form the file and into an xml file.

Or you could use a text editor and do some skillful copy, paste, and multi-line edits to craft your xml...

 

 

I see...nope I don't know anything about powershell

Share this post


Link to post
Share on other sites

You can download LibreOffice Calc for free and use that, no need to use Excel. I think the easiest format to read in a simple table is csv, no need for xml in that case.

Edited by wintertime

Share this post


Link to post
Share on other sites

>.> So ran into a new problem...

 

The maximum number of columns in Open Office Calc is 1024... I need more than 3000 for what I'm doing... or I need to come up with another way for what I'm doing to work

Share this post


Link to post
Share on other sites


The maximum number of columns in Open Office Calc is 1024... I need more than 3000 for what I'm doing... or I need to come up with another way for what I'm doing to work
Yes, absolutely. You are producing at least 3KiB of data for each row/monster/item, not a good workflow at all. This is going to be an hell to manage and tune.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!