Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 635 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Patching, updating, or expanding one's game #226854
09/11/08 18:51
09/11/08 18:51
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Hi friends,

After a game is published with the Resource box checked and a resource file produced, is there any way to add content to that game? I need to be able to add levels to our game.

Sorry for the trouble. You'd think this would be a common topic, but I couldn't find anything about it in the documentation, forums, or magazine.

Thanks very much!

Re: Patching, updating, or expanding one's game [Re: BES] #226857
09/11/08 18:57
09/11/08 18:57
Joined: Jan 2006
Posts: 53
New Jersey, USA
J
jimc74 Offline
Junior Member
jimc74  Offline
Junior Member
J

Joined: Jan 2006
Posts: 53
New Jersey, USA
the way I would do it would be to keep track of the
dates of the files (in the directory). if a file changed,
then include it in the update.

If there is a better method, I would like to know.

-Jimc74

Re: Patching, updating, or expanding one's game [Re: jimc74] #226860
09/11/08 19:09
09/11/08 19:09
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Compile your levels in their own wrs file, say levels.wrs.
Then, include this wrs during your publish.
In the future, if you wish to update levels, you need only replace the old levels.wrs with the new one and your game is "updated".

Patching or expanding however is not possible, or at least not easy. You basically have to work with what is in the game to begin with. So if your original game didn't have chat for example, you can't add it later.

Re: Patching, updating, or expanding one's game [Re: fastlane69] #226879
09/11/08 20:30
09/11/08 20:30
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Thanks for the replies!

Re: Patching, updating, or expanding one's game [Re: fastlane69] #226886
09/11/08 20:41
09/11/08 20:41
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
So just to be certain, there's no way to reference a wrs file outside of including it in the publish?

I.e. I can't use an ini file to reference available wrs files (or wmb files) to load.

Re: Patching, updating, or expanding one's game [Re: BES] #226898
09/11/08 21:17
09/11/08 21:17
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
I dont' think so. I think the levels.wrs file for example has to be included directly in the code. You can't include a pointer for example and then have that pointer point to the name of the file. That doesn't work AFAIK.

Thus, you just have to be sure to do your design work up front and solid so you know what you want to update, what to call it, and then include it in your code for once compiled, that's it!

Re: Patching, updating, or expanding one's game [Re: fastlane69] #226920
09/11/08 22:55
09/11/08 22:55
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
There are several threads about this. Maybe, you find them searching for "wrs".
I'm going to offer additional levels and patches with my game, but I use A 6.241 for now. I have a separate main wrs for the code and some files which are not recognized when they are in a different wrs. This main wrs is quite small, and can be replaced by a newer version later. Within the main script I can call additional resources with additional levels etc.

Re: Patching, updating, or expanding one's game [Re: fastlane69] #226954
09/12/08 04:35
09/12/08 04:35
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
Originally Posted By: fastlane69
Patching or expanding however is not possible, or at least not easy. You basically have to work with what is in the game to begin with. So if your original game didn't have chat for example, you can't add it later.


That's not true, we've done a "patch" for PreVa that changed code and all, what you would have to do is include the updated code and the published acknex dll in the patch. If there are major changes in code (adding or removing variables, strings and/or functions) then people will have to delete their save files (pending that the game uses save files).


- aka Manslayer101
Re: Patching, updating, or expanding one's game [Re: mpdeveloper_B] #226984
09/12/08 09:49
09/12/08 09:49
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
It depends on which version you are using.

With A6, the best method is splitting your project in several WRS files, and then replacing the WRS file that contains outdated files. If the scripts are changed, you also need to generate a new acknex.dll.

With A7, you can just provide an additional WRS file that contains all updated files. WRS files in the work folder are automatically opened. When the scripts are changed, compile a new EXE and generate a new acknex.dll.

Re: Patching, updating, or expanding one's game [Re: jcl] #227124
09/12/08 18:46
09/12/08 18:46
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Beautiful, thank you!

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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