Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 6:19 pm
All times are UTC + 0
SHP compression issue
Moderators: Global Moderators, OpenRA Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Blade
Cyborg Commando


Joined: 23 Dec 2003

PostPosted: Tue Mar 10, 2015 10:23 am    Post subject:   Reply with quote  Mark this post and the followings unread

I looked at the compression code in OpenRA the other day for TD/RA shp files and its at best a token effort to get bare compliance with the compression specification unless I'm looking in the wrong place. It doesn't even do full format80(LCW) compression which will result in much larger file sizes and doesn't have any code that I can see for format40(XORDelta) generation either.
I'm not sure if XCC can do much better to be honest and even the Red Horizon utilities only do full format80 with no format40 that I can see, but TD/RA era shp tools are no where near as good as they should be.

Back to top
View user's profile Send private message
Matthias M.
Stealth Laser Trooper


Joined: 15 Jun 2012
Location: Germany

PostPosted: Thu Mar 12, 2015 6:34 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Mar 12, 2015 9:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Split'd from Blender template topic.

Back to top
View user's profile Send private message
Blade
Cyborg Commando


Joined: 23 Dec 2003

PostPosted: Fri Mar 13, 2015 10:47 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm working on a larger project at the moment that has incidentally involved writing LCW and XORDelta code which from the limited testing done so far, is better than XCC. At some point I will get round to writing this into a tool for generating shp and probably wsa files for TD and RA.

The LCW code is based on the compressor the games themselves use and so can round trip WW compressed data, the XORDelta compressor is written against the Vladan Bato specs and appears to be slightly better than the WW compressor on some data. At some point the source will be released for this (its C++) and then it will be up to projects to port and integrate the code as necessary if they want to use it.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1396s ][ Queries: 11 (0.0081s) ][ Debug on ]