[Rpcemu] This geriatric is confused...
theo at markettos.org.uk
Mon Jan 4 09:37:14 PST 2016
On Mon, Jan 04, 2016 at 08:27:20AM +0000, Robert Sprowson wrote:
> In article <20160103232353.GS17806 at chiark.greenend.org.uk>,
> Theo Markettos <theo at 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.
More information about the Rpcemu