Monday, 4 January 2016

Re: [Rpcemu] This geriatric is confused...

On Mon, Jan 04, 2016 at 08:27:20AM +0000, Robert Sprowson wrote:
> In article <20160103232353.GS17806@chiark.greenend.org.uk>,
> Theo Markettos <theo@markettos.org.uk> wrote:
> > That sounds like a good idea. It would probably want adding to the RISC OS
> > makefile - worth asking the ROOL folks what would be required.
>
> If by "natively" Richard means a sprite file gets called "!Sprites,ff9" then
> I don't think changing the makefiles that ROOL runs will help since they run
> on a RISC OS box which makes ZIP files without HostFS extensions.
>
> You need something that ZIPs from outside of RISC OS (Windows/Linux/Mac) view
> of the image,

There's two parts:

1. Putting the files in the right places (including EtherRPCEm bits etc)
2. Converting zipfile filetypes to ,xxx


1. is perhaps best done in the RISC OS makefile
2. is do-able on Linux with a simple:

unzip -F old-harddisc4.zip
zip -rv9 new-harddisc4.zip *

unzip's -F flag already knows how to deal convert RISC OS filetypes to ,xxx
if you compile it with the ACORN_FTYPE_NFS option enabled - some Linux
distros already do that, others need it enabling in a special build. The
native-unzip package in GCCSDK builds it like that.

This is not hard to do server-side, it's just a case of working out which
server to run it on.

Theo

_______________________________________________
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

No comments:

Post a Comment