Can “Try It Now” programs read supporting files?
Can “Try It Now” programs read supporting files?
I doubt they can, but I have to ask.
If my uploaded program reads in, say, “foo.bin”, and said file is also in the manifest for that uploaded program... well, will it find the file, or not?
- kliepatsch
- Posts: 247
- Joined: Thu Oct 08, 2020 9:54 pm
Can “Try It Now” programs read supporting files?
Yes they can. But there may be issues with the naming of files. @Johan Kårlin had issues sorting this out for his game, but eventually succeeded. So he will know more about it.
You can read this thread, there will be some hints about that question. You're using CC65, right? So you might try naming all files in capital letters, but if you mention them in the source code in all lowercase.
-
- Posts: 292
- Joined: Wed Jun 03, 2020 11:33 am
- Location: Kalmar, Sweden
Can “Try It Now” programs read supporting files?
It works but you must make sure all filenames are in capital letters. The file suffixes must also be whitelisted by the server. [mention]desertfish [/mention] ran into that problem when he tried to load image files with the suffix “KOA”. When he changed to “BIN” it worked.
Can “Try It Now” programs read supporting files?
Thank you! This is good news indeed.
- DusanStrakl
- Posts: 129
- Joined: Sun Apr 26, 2020 9:15 pm
- Location: Bay Area, California
- Contact:
Can “Try It Now” programs read supporting files?
I can confirm that. Even BASIC programs like my Crazy Boulder can come in multiple files and it runs fine.