Hi guys.
When I compile and run any of the sample projects from within Msvc6.0 everything is ok. The files in "media" folder show up ok but once I take the .exe out with the required dlls and the media folder out and try to run the program outside it says it can't find the files required located in "media". I've tried moving the folder 2 levels up since in main.cpp the route appears with 2 / / but nothing. It can't load anything, no md2, no pk3 no bmps...nothing.
What am I doing wrong?
cheers!
Help for the newbiest of the noobs!
change the route in driver->getTexture("faerie2.bmp"); (for example) and place faerie2.bmp in the same map as the exe.
Nicer is driver->getTexture("./data/faerie2.bmp"); and you make a folder called data in the same map as the exe and place the bmp in there.
(I think you forgot the "./")
Nicer is driver->getTexture("./data/faerie2.bmp"); and you make a folder called data in the same map as the exe and place the bmp in there.
(I think you forgot the "./")
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
