Home Creators Posts Import Register Favorites Logout

Content

Next, I make the installer body which can copy files. This one has fewer programs, so I rewrite them all to AS3, but it's very strict on their rules unlike AS1, so I'm really getting tired.Set the source file path and the destination folder path obtained from the save data (with the previous hard work,) and execute the copy command.Especially, it's very important to specify the destination folder, because if it's mistaken, the folder will easily disappear. e.g. if I set "C:\Windows" here, this will become a virus, although it actually doesn't work due to the access permission.Well, let's see if it works properly!

Yes!!Now, I'd like to finish, but it's necessary to make a process when a copy fails. There're various reasons for this, so I'll make them 1 by 1.

1st, this is the case of no save data.

The case of no source files.

The case of no destination folder. Double check here along with the save data. The game folder may be moved.

Other cases where the copy command fails, such as the user has no permission to access.

Pressing "Continue" above or running with stand alone player will take you to the conventional "Move files manually" screen, and pressing OK will write the entry data into the save file and exit. 

I'll beta test again after I've made the other installers and fixed a few bugs. Thank you for your cooperation then.

Files

Comments

No comments found for this post.