Page 3 of 3
Posted: Sat Feb 25, 2006 4:03 pm
by HerzAusGold
Someone brought me on it:
Download a musicfile to the right place, for example:
> rndTest10 -levtmps=music/mus_classic -url=195
Download Martijn's "improved Boulderdash II mp3" to the classic music folder.
Disadvantage: Then you cant play levels you stored in levtmps.
Don't know if it was worth to think twice

May be if someone integrate download from menu, then for each type:
- levels, artwork, music, aso.
of course without making a (new) P.2.P client

Posted: Fri Mar 03, 2006 10:10 pm
by HerzAusGold
What about a "7z" support?
Posted: Sat Mar 04, 2006 1:48 am
by Holger
Yes, this would indeed be nice! :-)
Posted: Sat Mar 04, 2006 9:00 am
by Zomis
HerzAusGold wrote:What about a "7z" support?
What is "7z" exactly anyways?

Posted: Sat Mar 04, 2006 10:35 am
by Francesco
7z is a software for compressing archives, just like zip or rar.
It's free and offers a better compression. It also supports all other formats (7z stand for seven zip) - Just posting by memory, could be wrong.
Posted: Sat Mar 04, 2006 2:37 pm
by Holger
> What is "7z" exactly anyways?
Just have a look at the current "News" page of
www.artsoft.org! :-)
Posted: Thu Mar 09, 2006 7:21 pm
by HerzAusGold
Ding Dong!
Holger dont you see this post:
See comments in "events.c" (each try have a separate comment char)
But dont really know how i can check for finished programm_action.
btw. sokomode=3 (which call movePlayer and digField) causes NO troubles.
*edit*
But this is not taped and have an ugly (or no) animation.
How can I check that a programmed_action is finished?
Thanks in advance.
Btw: May you noticed that - my time table is shifted a little.
Posted: Fri Mar 10, 2006 9:45 pm
by Holger
> Ding Dong!
> Holger dont you see this post:
Oops, sorry! Thanks for the reminder!
> How can I check that a programmed_action is finished?
It's finished when "player->programmed_action" and "player->MovPos" are both zero.
> Btw: May you noticed that - my time table is shifted a little.
What do you mean with "my time table is shifted a little"? Posting at a different time of day than before? From which time zone are you posting then? :-)
Posted: Fri Mar 10, 2006 11:36 pm
by HerzAusGold
It's finished when "player->programmed_action" and "player->MovPos" are both zero.
Thanks. This improved the sokomode. Even "follow mouse" mode works fine (slow but fine)
But if I want to push (the lamp) I have to set "player->push_delay = 2".
Right?
And how can i determine it is diggable/eatable (like the mushrooms in snake_bite)
Is programmed_action taped?
How can I do a "snap" or "drop" with programmed_action?
which time zone are you posting then?
MEZ. My journey is shifted (my departure is later)
My bad english - I know.
Posted: Sun Mar 12, 2006 2:05 pm
by HerzAusGold
Hi,
I upload rndTest11.
Playing SnakeBite with the mouse make more fun now.
> rndTest11 -sokomode=13
Move the mouse near the player press right mouse and the player
follow the mouse.
Look into "hag_readme.txt" for detailed descriptions for the sokomodes.
Have fun.
------
Up to now the player can't eat mushrooms (see questions in last post).
Of course the follow mouse mode can be improved.
- only moving with the mouse (without press right mouse bottom)
- snap left with left buttom
- snap right with right buttom
- snap down with middle buttom
- is "snap up" necessary?
- Or snap with mouse gestures
- quicker react
But I need the help from Holger.
Please Holger look to "events.c" the sokomode stuff is really simple.
I have inherit all my modes - that you can see what the difference.
If possible answer to my questions and my german email.
Btw: "7z" support is also included now.
Cause the "lzma"-sdk not include a single file extraction, it needs some memory (reading the whole 7z into memory).
Posted: Tue Mar 14, 2006 8:23 pm
by HerzAusGold
Btw: "7z" support is also included now.
Cause the "lzma"-sdk not include a single file extraction, it needs some memory (reading the whole 7z into memory).
WARNING: Up to now it works only with one main folder! (top level folder)
If I rewrite the "7z" support, so it can read more folders, than the
ArchiveOpen, especially ArchiveExFree costs a lot of cpu, memory and time. Because it's give each folder free step by step.
I have tested this with the EMC-Levelset (with 112 folder and over 10000 files) resulting in loading RND in 15 Minutes...
Hm, this can be improved (store the archive database once), but..
LZMA (7z) seems "not prepared" for transparent zip support.
cause' it can only extract folders (into memory).
If it is really necessary to have a "7z" support, we have to ask the author about this.
Posted: Fri Mar 24, 2006 9:25 pm
by HerzAusGold
Hi, I have upload a new version of RndTest with updated "7z" support.
It can now be used with more then one folder - without any trouble.
But it is recommended that you only use a "7z" with ONLY ONE main folder! (It's decompress/destroy the whole folder to memory).
cause "7z" is designed for very good compression and fast decompression - but not for transparent zip support.
*edit>*
this is no disadvantage, because a series is normally one folder in levels directory,
*<edit*
The distributed level files should stay "normal" .zip files.
Posted: Fri Jan 05, 2007 10:18 pm
by user
i found other simple solution, but only for linux - use of automounted squashfs image - full emc package weight less then 30M (unpacked 7zip - ~220MB with 4k filesystem block), and after deleting tittlescreens 25M (~200M), for better compatibility use older version of squashfs-tools (mksquashfs), rpm spec file prepared and (bit) tested on mandriva 2007:
http://202-159.is.net.pl/linux/ rocksndiamonds-levelsimage-emc.spec
Posted: Sat Feb 03, 2007 9:27 am
by Tomi
There are also many other virtual file systems that can work with zip archives. For example "avfs" ("A Virtual File System"). (Google knows the URL.)