Posts: 413
Threads: 75
Joined: Apr 2022
Reputation:
21
This is AWESOME Dav! I've wanted a real one of these for years, and now I have one just like it! I just recorded my first little song too.
When I first started it though I had an error with the icon file, not finding it. It was in the correct folder but for some reason $EXEICON:'TankDrum\img\tankdrum.ico doesn't see it. It's been years since I programmed so maybe I'm forgetting something in the settings? I went around that line and the _ICON line to make it work. I did change the line to try different wordings of the folder, but I would think that would work? Is it because I have all my QB64 programs in one giant folder? The other files work well though.
Anyways, thanks for making this!
Posts: 189
Threads: 22
Joined: Mar 2023
Reputation:
12
08-13-2024, 03:22 PM
(This post was last modified: 08-13-2024, 03:25 PM by NakedApe.)
Very cool, Dav. Excellent sound and reverb. I had to comment out the .ico loading on line 44 for it to run...
Posts: 3,974
Threads: 177
Joined: Apr 2022
Reputation:
219
For some reason QB64 gets stupid finding those icon files, sometimes a "./" at start of path helps ie you have to tell it to look in the current folder for the file.
b = b + ...
Posts: 200
Threads: 5
Joined: Apr 2022
Reputation:
22
08-13-2024, 10:34 PM
(This post was last modified: 08-13-2024, 10:35 PM by JRace.)
It's not QB64.
Unlike Windows, *nix systems do not start searching from the program directory by default.
On Linux, if the path "TankDrum\img\tankdrum.ico" is within the current directory then you need to tell that to the OS: "./TankDrum\img\tankdrum.ico".
If you want full cross-system portability you can do that in Windows as well. There's no harm in it.
Posts: 3,974
Threads: 177
Joined: Apr 2022
Reputation:
219
I don't know about *nix systems nor much about Linux. I use Windows and just about everyone's Icon file gets an error when compiling whereas image and sound files are easily found.
b = b + ...