0 registered members (),
1,091
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Sinthoras]
#55085
05/13/06 19:15
05/13/06 19:15
|
Joined: Feb 2003
Posts: 195
slacker
Member
|
Member
Joined: Feb 2003
Posts: 195
|
Quote:
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); } }
I have got this up and running - and am now trying to encrypt my wdl files as per this post by Lion Ts.
My issue is that with entity functions, they don't seem to be executing the scripts that reside in the include that is zipped. I can see how actions in the starter function listed above are executed after the include file is unzipped and added, but what about entitiy functions?
Also, in the original post, it seems like each entity has to be assigned a pointer to work? I found that models unzip and get added without assigning pointers, running their scripts, but sounds do not?
A little confused here..
|
|
|
Your own RESOURCE file without A6PRO edition
[Re: Lion_Ts]
#55086
08/20/06 20:05
08/20/06 20:05
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
Close to publish next version (up to 3-4 weeks). Short list of futures: - custom compression; - password protection; - fast memory management; - full set of functions in the DLL and 'proxy' functions in the c-script module to operate with resources; - support for 'UI' messages customization; - tool for resource creation and management; - demos (from first steps to complicated things); - complete manual in HTML Help format. Previous version still free, new one will not (no sources at all - to hide compression and password encryption methods). I'll distribute it 'per user', I think (Resource files will be incompatible for different users).
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Lion_Ts]
#55087
08/26/06 11:15
08/26/06 11:15
|
Joined: Mar 2005
Posts: 309 Germany, Bavaria
Sinthoras
Senior Member
|
Senior Member
Joined: Mar 2005
Posts: 309
Germany, Bavaria
|
Thats a very nice idea, but difficult to handle if many requests come.. The new features sound great (excluding the last "feature" - the new one will not be free ) You could add a little program creating a file with an simplified algorithm, or with variables needed for a dll intern algorithm. This file is different for every user, because he/she has to create it on his/her own. When the game with the dll is published, this file has to be included. This way, you only have to sell one program 'package', and not individual ones.
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Lion_Ts]
#55088
08/26/06 11:37
08/26/06 11:37
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Sounds great, but my questions are: - what price do you charge?
- how much protected is it?
- what are the differences compared to molebox and the native A6 resource packer
- is it compatible to ANY command dealing with ressources
- Is it possible to create dynamically out of the script ressources. E.g when protecting highscore, user data or INI files that have to be rewritten?
Nevertheless, it sounds great. Thumbs up! Ciao Christian
Last edited by HeelX; 08/26/06 11:38.
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: HeelX]
#55089
08/26/06 18:45
08/26/06 18:45
|
Joined: Nov 2004
Posts: 888
beegee
User
|
User
Joined: Nov 2004
Posts: 888
|
Hey this sounds really great! Now i hope it will be easier and useable for everybody. Because with the old thing you need an own SDK License (you must have much knowledges about c++ if you want to write your own method) or you have to use the same de/encryption method for the password. And this was worse. I would really buy it, if you give the program to us for a cheap price. Edit: Man, this is just cool.Keep it up! beegee
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: HeelX]
#55090
08/26/06 20:53
08/26/06 20:53
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
@Sinthoras: Quote:
Thats a very nice idea, but difficult to handle if many requests come..
Do you think so ? I'll be happy in that case. But I'll think about your idea (I want to prevent a case: me or somebody else download your game and unpack your resources as I have A6 and this dll) @HeelX:
Quote:
-what price do you charge? -how much protected is it? -what are the differences compared to molebox and the native A6 resource packer is it compatible to ANY command dealing with ressources -Is it possible to create dynamically out of the script ressources. E.g when protecting highscore, user data or INI files that have to be rewritten?
- About price, don't know for now. ~$20, I think. But can charge more if you prefer 'solid looking' tool - Protection. I use password encoding, data compression and encryption (2 types of encryption: one for a password and other for a data itself). DLL packed and encrypted too. Therefore, You do a game, not nuclear engine controller . If You have a lot of free time, Soft Ice and some knowledge of assembler, then You can break my DLL, 3DGS WRS or something else... - Molebox. I haven't one. But heard about it. Nothing comparable, I make PLUGIN FOR 3DGS, Molebox - 3rd party tool to compress any Windows executable. Native WRS. My plugin can't pack c-scipt sources (i tried that, but have no success). - What command, add_resource ? NO. If other, that search for file in resource (effect_load, level_load or ent_create for example) then YES. - You have to create resources with special tool CRED (custom resources editor, shipped with the package), compression routines not included in plugin dll in this version. But I'll think about it, HeelX. I'll put HTML Help and Demos into 'free download' section of my site. @beegee:
Quote:
I would really buy it, if you give the program to us for a cheap price.
OK I'll see. [Edit On Edit] Thank you. I'll try.
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Lion_Ts]
#55091
08/26/06 23:48
08/26/06 23:48
|
Joined: Aug 2000
Posts: 7,490
Orange Brat
Senior Expert
|
Senior Expert
Joined: Aug 2000
Posts: 7,490
|
Quote:
My plugin can't pack c-scipt sources (i tried that, but have no success).
That's too bad. If it were able to pack everything, I might consider purchasing this. Although, a lot of my code is available in my User Contributions threads(in early forms, at least), I still have stuff I'm holding onto. Oh well, I had planned on upgrading to Pro(probably A7), so it's no biggie.
At least, you're putting out a nice deal that will help a lot of people. I'll slap it on the Starving Developer's Guide when this new version comes out.
My User Contributions master list - my initial post links are down but scroll down page to find list to active links
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Orange Brat]
#55092
08/27/06 00:49
08/27/06 00:49
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
OP
Serious User
|
OP
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
Code:
That's too bad
Not so bad I can't pack wdl with plugin, but I have some experiments with creating encrypted pseudo drives for Windows in my office. May be later I'll have more time to build something like Molebox. Therefore that tool will not a 3dgs plugin. PS I like your Starving Developer's Guide.
|
|
|
Re: Your own RESOURCE file without A6PRO edition
[Re: Lion_Ts]
#55093
08/27/06 19:02
08/27/06 19:02
|
Joined: Nov 2004
Posts: 888
beegee
User
|
User
Joined: Nov 2004
Posts: 888
|
I have to agree with OrangeBrat. But maybe you can find any way to encrypt c-script. beegee
Fratch - Newer statistics panel for GameStudio
|
|
|
|