PDA

View Full Version : Building project findings


Radioguy
04-23-2007, 10:46 PM
Still wrapping my head around distributing to HD Folder with resource naming. Things that I have found so far...
External LUA scripts pointing to images and sounds do NOT work when choosing rename resources on build. That's not difficult just put back into buttons and objects etc. but I don't understand why their is an external script option such as dofile if it doesn't work? :eek: Maybe doing something wrong.

Also the custom icon file used for your app is left in folder. If you point to your program icon in the autorun ini file it's not needed.

Noticed an extra file identical to the application is created as well. I can delete this without problems too.

Other than these little quirks... I'm happy to report it runs like a charm.

Cheer

Radio Guy

RizlaUK
04-23-2007, 11:35 PM
when you plan on making a folder app and you are going to rename the data folder always build your app around the new data folder from the very start, any path you enter manually should have your new path,

before you write a line of code build the app once renaming the data folder, now the app will know where to put the files and use your new path for any files you add

follow them rulez and you will never get a problem, i make most of my apps as folder apps and i do this all the time and never get any problems

thinking ahead is the key

the file that is created in the exe folder is a cdd file, you can not delete this file, it contains all the object data and what ever scripts remain in the project

Radioguy
04-24-2007, 12:52 AM
Thank you very much for your explanaton RizlaUK!!! I've searched the forums, manual, and couldn't grasp it with my old brain. ;)

Yes, the cdd file wasn't touched just that duplicate file with the same size as the app.

Thanks again for making it all clear. Now I'm off to make a fresh pot of coffee and give it a whirl.

Cheers

Radio Guy

Jonas DK
04-24-2007, 01:48 AM
I have wondered about that Icon file aswell.

I dont see why it is not simly placed in the exe file as the AMS Icon files are.

also I have trouble when using cust. Icon and creating a shortcut on the desktop it looses the Icon if you look at the preferences of the .ink file placed on the desktop the path to the icon is correct and there, but something goes wrong. It works in the beginning but after a few reboots of the PC I just get the windows standard Icon for missing Icons.

Dont know if this problem lies with AMS, Axialis or windows, but it is a bit anoying, but the main thing is that the app works fine.

Actually a big thumbs up for IR. the Runtime engine used when "compiling" AMS apps is brilliant, I have never in the years I've used AMS experienced internal errors or app's getting unstable or freezing (only because of my sloppy coding).

even after running, rebuilding, running, rebuilding........ no problems..

Fantastic, If I could only get more people to use it.:lol