Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
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
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
current0.SAV file question #85345
08/09/06 20:07
08/09/06 20:07
Joined: Jun 2003
Posts: 18
USA
D
Dave G Offline OP
Newbie
Dave G  Offline OP
Newbie
D

Joined: Jun 2003
Posts: 18
USA
I have a 'save game' function in my game that works fine until I transfer the published .CD file onto disk and install the game on another machine. Then I cannot save a game. I think this is because the current0.SAV file becomes a 'read-only' attribute. How do I prevent this from happening so that the current0.SAV file that gets installed on another machine from a CD I make can be overwritten by my save game function on the mchine the game has been installed on?

Thanks, DBG


DBG
Re: current0.SAV file question [Re: Dave G] #85346
08/09/06 22:37
08/09/06 22:37
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Make installer with NSIS, InnoSetup or alike.
If you don't want to do that, make simple runme.bat or runme.cmd file like:
Code:

@echo off
attrib -R %1\*.* /S /D


and run it: "runme d:\games\my_game" after .cd files transferred to a harddrive.

Re: current0.SAV file question [Re: Lion_Ts] #85347
08/10/06 15:25
08/10/06 15:25
Joined: Jun 2003
Posts: 18
USA
D
Dave G Offline OP
Newbie
Dave G  Offline OP
Newbie
D

Joined: Jun 2003
Posts: 18
USA
Thank you Lion Ts for your help. I have solved the problem by using an installer program to compress my game files for installation.

Ironically I used the Clickteam installer which is available for free by the makers of a different games authoring program. It really is too bad that GameStudio does not provide its own installer, even for the Pro editions.

Thanks again for the quick reply, this forum can be very useful.

Dave G


DBG

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