I'm trying to load files form a local directory. but every time I just enter the file my game crashes.
in Short terms I need to find how to get the local directory. so I can change
you will need SWD.x to be in the same directory as the exe. This will get messy because all your media are going to be in one directory so i would recommend making a folder named media in the same directory as your exe and put SWD.x in there as well as all your other object, images, sound etc, than you can call them like this