Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (RealSerious3D, rvl), 1,187 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
Page 2 of 8 1 2 3 4 5 6 7 8
Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55035
09/16/05 11:54
09/16/05 11:54
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Quote:

Quote:

extremely handy contribution, it won't let me download the test level, but the dll downloads fine, thanks Lion TS



I can't download example too
It's a free hosting, may be file size big (1.7Mb) ?
I'll try to correct this.
If can't correct:
I get the AUM example "skinc" (board game with sceleton), publish it, put all *.mdl and *.wmb to .zip and delete it from published game. That's all. When level has been loaded, all needed mdl/wmb loaded automatically.



My free hosting doesn't accept files larger than 500mb, demo repacked in 4 files.
Download it and reassamble with rar

Last edited by Lion_Ts; 09/16/05 12:05.
Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55036
09/17/05 10:59
09/17/05 10:59
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
So few replies about testing...
May be you, guys, all have 3dgspro

Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55037
09/18/05 08:31
09/18/05 08:31
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline
Expert
TripleX  Offline
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
A very good idea (I don't need it because I have the pro version, but I also wonder why no more people need it? always screaming for file-packers and now if there is a possibility?)! Thanks for sharing the script.

Although maybe you can implement some improvents, like "zipping" files on the runtime, or extracting only one file out of the resource.
Or beeing able to use several resources; set an password not only via c++ but also via a encrypted file that contains the password and can be used in c-script etc.

But again thanks a lot for sharing this great contrib.

Triple-X

PS: If you are not able/don't want to make these improvents maybe i can program them and add them to my dll-collection?

Re: Your own RESOURCE file without A6PRO edition [Re: TripleX] #55038
09/18/05 10:48
09/18/05 10:48
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
Very nice addition for us comm users, thanks!

Questions;

Quote:


//you can pass resource name and password for zip archive from c-script
//this is quick example, so I don't




I would think more people would want this two features than not, would you
please consider compiling a version of the dll that will do these two things
for those of us without a compiler (or perhaps the know how)?

Also, Is there any way to include WDL files in the zip? It seems some code
must be external. But I dont see how you can protect your code?



Last edited by Josiah; 09/18/05 11:00.
Re: Your own RESOURCE file without A6PRO edition [Re: Grafton] #55039
09/18/05 12:59
09/18/05 12:59
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Hi !
May be you think this plugin not so usefull, as it is...
How about global entities, defined in angular brackets ?
Ok, I'll show you interesting technique. It may be used for more tricks than this one, because it based on the c-script engine nature: it's not a real compiler.
Bla,bla,bla...
One example be better than many words:
open your main.wdl and add this to function main():
Code:

dllfunction add_zip_resource() var;
function main(){
add_zip_resource();
...
execute("return;}include <hud.wdl>;starter hud{rotate_it();}"); //this one must be last line!
}


create new "hud.wdl", write this code into it:
Code:

entity bonus{
type = <energy.mdl>; //provide your small model
layer = 100;
flags = transparent,bright,visible;
view = CAMERA;
albedo = 50;
x=100;y=-50;z=-30; //play with this values
scale_x=0.5;scale_y=0.5;scale_z=0.5;
};
function rotate_it{
while(1){
bonus.pan+=2*time;
wait(1);
}
}


Save and place "hud.wdl" and "energy.mdl" (or your model) to resource.zip. Run your level. Enjoy with global rotating entity into right-down screen corner
This is an example of code hiding too (.wdl with your function in a .zip)

Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55040
09/18/05 16:00
09/18/05 16:00
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline
Expert
TripleX  Offline
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
interesting example. Tough I'm not sure who fast wdl's included via execute are.
This would need some tests..

Triple-X

Re: Your own RESOURCE file without A6PRO edition [Re: TripleX] #55041
09/18/05 17:12
09/18/05 17:12
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Quote:

interesting example. Tough I'm not sure who fast wdl's included via execute are.This would need some tests..
Triple-X



I tested it, TripleX. It's worked.

Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55042
09/18/05 17:14
09/18/05 17:14
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
And i'm using more complicated technique in my game project (I mean with execute(STRING)).

Re: Your own RESOURCE file without A6PRO edition [Re: TripleX] #55043
09/18/05 17:28
09/18/05 17:28
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline OP
Serious User
Lion_Ts  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Quote:

A very good idea (I don't need it because I have the pro version, but I also wonder why no more people need it? always screaming for file-packers and now if there is a possibility?)! Thanks for sharing the script.
Although maybe you can implement some improvents, like "zipping" files on the runtime, or extracting only one file out of the resource.
Or beeing able to use several resources; set an password not only via c++ but also via a encrypted file that contains the password and can be used in c-script etc.
But again thanks a lot for sharing this great contrib.
Triple-X
PS: If you are not able/don't want to make these improvents maybe i can program them and add them to my dll-collection?



Yes, TripleX, You can add this to your big dll, but provide read.me with text about authors (In the top of this thread), that guys spend his time with zlib and zip. So, guys, say: "Thank you" to him in credits.
About more functions... In my game project I'm using passwords and more than one resource. I'll post my code after refining.
And, TripleX, may be you can send me some examples for using directx with 3dgs ?
For example:
renderview.dll
I'm thinking about mirrors (with clip planes) for now, do you have something about this ? (usefull with 3dgs, I mean)

Re: Your own RESOURCE file without A6PRO edition [Re: Lion_Ts] #55044
09/18/05 19:44
09/18/05 19:44
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline
Expert
TripleX  Offline
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
"And i'm using more complicated technique in my game project (I mean with execute(STRING))."

execute(string) is VERY slow.. pay attention.. I didn't say that i don't works, i'm only aware of the speed.

btw i don't want to be rude, but please use the edit function in order to keep your posts clear

Triple-X

Page 2 of 8 1 2 3 4 5 6 7 8

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1