:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Sep 21, 2017 3:55 pm
All times are UTC + 0
 Forum index » Modding Central » OpenRA Editing Forums
SHP compression issue
Moderators: Global Moderators, OpenRA Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] 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

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.
Jumpjet Infantry


Joined: 15 Jun 2012
Location: Germany

PostPosted: Thu Mar 12, 2015 6:34 pm    Post subject: Reply with quote

That is a kind of known problem. https://github.com/OpenRA/OpenRA/issues/2063 Help is appreciated as few people have the expert skills in that area.

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


Joined: 18 Jan 2005
Location: Finland

PostPosted: Thu Mar 12, 2015 9:25 pm    Post subject: Reply with quote

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

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] View previous topic :: View next topic
 Forum index » Modding Central » OpenRA Editing Forums
Jump to:  
Quick Reply
Username:


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


 
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

Wildcard SSL Certificates
[ Time: 0.1139s ][ Queries: 12 (0.0037s) ][ Debug on ]