MorphOS executable cruncher?
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Hi

    I'm searching for a cruncher for MorphOS executables, i tried EEC and doesn't work properly, i asked to Rupert (author of EEC) and it haven't time to guess what is happening with EEC, most executables doesn't work. There are another crunchers for MOS? I need an executable cruncher for demoscene coding, Rupert said that Piru has made exe crunchers, but i can't find any cruncher on his web.

    Somebody knows any cruncher for MorphOS?
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »06.07.10 - 11:38
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    http://www.morphos-files.net/find.php?find=lzmaloader

    I'll soon release a new version that includes a version that uses the MorphOS 2.5+ lzma.library (obviously binaries using this header require 2.5 to run. I might consider releasing a separate lzma.library for 1.x and pre-2.5 however. While many compo rules prohibit use of external components or libraries, as long as the demo/intro requires MorphOS 2.5 lzma.library will be there... as part of the OS ;-))

    [ Edited by Piru on 2010/7/6 15:58 ]
  • »06.07.10 - 11:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Hi Piru.

    Thanks a lot, i will check your cruncher. If your cruncher need lzma.library and it's part of MorphOS 2.5, at the moment is enough for me. But it will be great have a version for previous releases of MorphOS, although lzma.library was not part of previous releases.

    Thanks again Piru!
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »06.07.10 - 12:17
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    Please preserve app's $VER tag :-)
    TIA


    [ Editiert durch polluks an 2010/7/9 2:15 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »06.07.10 - 12:59
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    Please preserve app's $VERS tag

    The nature of this loader is that it doesn't itself preserve the version tag. One could however create a wrapper app that scans the original file for the version tag and embeds it after the LZMA'd data.

    To see what I mean, try this on some lzmaLoader compressed exe:
    Code:

    1.> echo "$VER: foobar 1.0 (6.7.2010)" >> t:myprogram.packed

    1.> version full t:myprogram.packed
  • »06.07.10 - 13:09
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    I just released lzmaLoader 1.2, just download the archive again to get the new version.
  • »06.07.10 - 13:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Thanks a lot Piru! I will test it after work... I'm at work now.

    [ Edited by BalrogSoft on 2010/7/6 16:38 ]
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »06.07.10 - 13:38
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    I just tried to crunch an executable file with lzma, and it says that lzma is not an executable (not the loader, is the lzma cruncher). Is my system or somebody tried it and it's working?

    [ Edited by BalrogSoft on 2010/7/6 22:01 ]
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »06.07.10 - 19:00
    Profile Visit Website
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    Code:
    Protect lzma +e

    should fix that.
  • »06.07.10 - 19:38
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Thanks Golem! I didn't look on executable permissions. Now it works properly.
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »06.07.10 - 19:58
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    just tried to crunch an executable file with lzma, and it says that lzma is not an executable (not the loader, is the lzma cruncher).

    Oops, sorry for that. I fixed it in the archive now. Nothing else has changed so I kept the same version.
  • »06.07.10 - 20:20
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    Thanks Piru :-)
    How about this tiny change for the archive?
    protect lzmaLoader* -e
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »07.07.10 - 12:27
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    Hi!
    The new version is not recognised by xadlist anymore (lzmaLoader EXE).
    :-(
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »11.07.10 - 11:12
    Profile
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    Quote:

    How about this tiny change for the archive?
    protect lzmaLoader* -e

    No.
    Quote:

    The new version is not recognised by xadlist anymore (lzmaLoader EXE).

    That'll need to be fixed in the next OS upgrade.
  • »11.07.10 - 13:34
    Profile