.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > TO&Es
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old December 27th, 2012, 10:50 PM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Question Export OOB to CSV format?

Please advise how to export OOB files into CSV format.
Reply With Quote
  #2  
Old December 27th, 2012, 11:00 PM

cbreedon cbreedon is offline
Sergeant
 
Join Date: Jun 2005
Posts: 359
Thanks: 311
Thanked 24 Times in 23 Posts
cbreedon is on a distinguished road
Default Re: Export OOB to CSV format?

in mobhack
file
write csv files

it exports then to the oob directory

unfortunately you can't make changes and import back...
Reply With Quote
  #3  
Old December 27th, 2012, 11:13 PM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Default Re: Export OOB to CSV format?

Great. Now, for the second question of equal weight: "How may we export formation data from scenario files?" An explanation is in order. I want to rebuild several formations that I mistakingly overrode without examining each formation in the Roster of the scenario Editor. Any ideas?
Reply With Quote
  #4  
Old December 28th, 2012, 11:54 AM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Potion Re: Export OOB to CSV format?

Solution found.

The scenario files maintain the formations although the custom oob was overwritten. In ScenHack Scenario Utility, I was able to identify each formation and the respective units from the Formations tab. In the Scenario Report window, I was able to find the oob index for each unit of the formation. Also, the Formations tab returns the name of each formation.

Taking this information to Mobhack OOB Editor, I was able to recreate my custom formations.

Lessons learned. Save off custom oobs for each scenario in a special folder in WinSMBT. Or, you could save your game data for each scenario.

Special thanks to cbreedon.
Reply With Quote
The Following User Says Thank You to shahadi For This Useful Post:
  #5  
Old December 28th, 2012, 02:31 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,957
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Export OOB to CSV format?

The OOB CSV dump is well obsolete - I'm not even sure if it does all the fields.

There was an import from CSV facility at one time, but it had no error checking whatsoever, so it was easier to simply delete it. It just was a way to make massive errors really. Adding even basic error checking would have required a heck of a lot of code for an almost unused function.

We have our own dumper programme that builds tables for a real database now, so the CSV dump is really not much use. We can use SQL queries for OOB consistency checking. Fixes are still done manually, since that is better for error checking - no back-door method to inject errors.

Therefore, I may delete the Mobhack CSV button at some point since it is not maintained, and few use it. Or probably just leave it, and let the person that comes up every 2-3 years wanting an import feature, or asks why field X is missing, why.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #6  
Old February 2nd, 2013, 06:33 PM

Richard_H Richard_H is offline
Corporal
 
Join Date: Sep 2005
Posts: 154
Thanks: 1
Thanked 17 Times in 13 Posts
Richard_H is on a distinguished road
Default Re: Export OOB to CSV format?

Andy

No it doesn't do every field, but pretty please please don't dump it. Unless of course there's another way to get all the data into tabular format that I don't know about. I use a .csv generated Excel file for my mods every day.

Heartfelt
Richard
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.