<div dir="ltr">On Thu, Apr 11, 2013 at 6:03 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Popped in to celebrate with us? :)</blockquote><div><br></div><div style>Perhaps!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">
On 11 April 2013 13:44, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br>
> Hello, Mike!<br>
><br>
> Actually, maybe we can avoid tar. I know we had reasons in the past, but<br>
> they might have all evaporated by now. Originally I remember only<br>
> wanting to use tools likely to be already installed on Linux/Mac, but<br>
> Windows is the trouble-platform, and we have to bundle/download tools<br>
> anyway. It is worth thinking over.<br>
<br>
</div>I think the two reasons for using tar were to preserve executable file<br>
bits and to preserve symlinks. Funny enough, tar.exe doesn't do either<br>
properly.<br>
<br>
I looked through the commandline options that 7za supports and saw<br>
nothing for file attributes or symlinks. So we're seemingly still<br>
better off using tar.exe, at least for creating tars. Which maybe we<br>
don't want to do.</blockquote><div><br></div><div style>Wait, you're using a Windows binary to create an archive with symlinks and permission bits on Windows? Where do you get the symlinks in the first place?? If you're going to do that, you would need cygwin or something, whose tar command is presumably not broken.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
>>    Or, alternately the tar format doesn't seem that complicated. Maybe a<br>
>>    highly specialized version is in order?<br>
><br>
> These sound like the words of a man who hasn't read any tar file format<br>
> docs... or maybe I should say those sound like the words *I* spoke<br>
> before I had read any tar file format docs :)<br>
<br>
</div>Yes, just look at what happened to tar.exe when it tried to read BSD<br>
tar files! This is an ancient file format seemingly with some weird<br>
quirks.<br></blockquote><div><br></div><div style>I realized, too late of course, that I forgot the ";)" I meant to add. I would never seriously advocate trying to re-implement a program with such... let's call it "legacy". </div>

<div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> ---<br>
> James<br>
><br>
> On Wed, Apr 10, 2013 at 08:22:24PM -0400, Mike Caron wrote:<br>
>>    Hi guys, long time no see.<br>
>>    Is there some reason you're still using tar? Wouldn't it be easier to just<br>
>>    bundle 7zip or something? I understand that it supports tar. Probably a<br>
>>    few other formats too. You can obtain the console version here.<br>
>>    Or, alternately the tar format doesn't seem that complicated. Maybe a<br>
>>    highly specialized version is in order?<br>
>><br>
>>    On Wed, Apr 10, 2013 at 1:29 PM, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>><br>
>>    wrote:<br>
>><br>
>>      On Wed, Apr 10, 2013 at 09:52:23AM -0700, James Paige wrote:<br>
>>      > I was almost finished releasing beelzebufo, when I was puzzled and<br>
>>      > displayed to discover that Mac App game bundles build on Windows do<br>
>>      not<br>
>>      > work. If you build them on mac, they work fine.<br>
>>      ><br>
>>      > Here is the crash message:<br>
>>      ><br>
>>      > <a href="http://pastebin.com/jhu5H4b8" target="_blank">http://pastebin.com/jhu5H4b8</a><br>
>>      ><br>
>>      > It looks like the problem has something to do with the SDL framework,<br>
>>      > but I don't understand how this would fail on windows because there<br>
>>      are<br>
>>      > no more symlinks.<br>
>><br>
>>      "dismayed" not "displayed"<br>
>><br>
>>      I took the working app build on a Mac and compared it to the broken app<br>
>>      built on Windows. I discovered that<br>
>>      Contents/FrameWorks/SDL_mixer.framework/Versions/A/Frameworks/mikmod.framework<br>
>>      is empty in the broken app.<br>
>><br>
>>      I tested tar.exe from the command line, and discovered that when it<br>
>>      unpacks ohrrpgce-mac.minimal.tar it incorrectly unpacks several of the<br>
>>      subfolders into the current directory, instead of where they belong<br>
>>      under the OHRRPGCE-Game.app folder heirarchy.<br>
>><br>
>>      So the short answer is that this bug is, yet again, another instance of<br>
>>      the windows port of tar.exe being a worthless piece of crap :(<br>
>>      ---<br>
>>      James<br>
>>      _______________________________________________<br>
>>      Ohrrpgce mailing list<br>
>>      <a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
>>      <a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
>><br>
>>    --<br>
>>    Mike Caron<br>
><br>
>> _______________________________________________<br>
>> Ohrrpgce mailing list<br>
>> <a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
>> <a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
><br>
> _______________________________________________<br>
> Ohrrpgce mailing list<br>
> <a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
> <a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mike Caron
</div></div>