Offline

installing 2.0.5 is a nightmare, i checked https://www.libsdl.org/download-2.0.php

they advise to "Please contact your distribution maintainer for updates", so basically on debian you have to install the unstable branch of the OS, it's not even available in the testing branch

you need 2.0.5 for the joypad bit? i could compile the last version with libsdl2-dev 2.0.2

Offline

I just commited a hack that just disables the gamepad code if you don't have new enough SDL (after trying to build 2.0.5 on my PocketCHIP... damn SDL_image did not want to compile). 2.0.2 works fine with gamepads but I use a helper function from 2.0.5.

I added a on-screen message thingy that should help if you just blindly press keys and don't know what they do. Have fun!

Last edited by kometbomb (Apr 27, 2017 6:28 pm)

Offline

new errors! :0

make -f Makefile.linux
make[1]: Entering directory '/home/bob/tmp/a-effacer/prototracker'
g++ -O3 -Wformat -std=c++11 -o prototracker src/*.cpp -lSDL2_image -lSDL2main `sdl2-config --cflags --libs` -s
src/Main.cpp: In function ‘void infinityAndBeyond(void*)’:
src/Main.cpp:115:149: error: ‘SDL_GameControllerFromInstanceID’ was not declared in this scope
     context.mainEditor.showMessageV(Editor::MessageInfo, "Unplugged %s", SDL_GameControllerName(SDL_GameControllerFromInstanceID(event.cdevice.which)));
                                                                                                                                                     ^
Makefile.linux:5: recipe for target 'prototracker' failed
make[1]: *** [prototracker] Error 1

the help system is good, a kind of cheatsheet is interesting, like hitting a shortcut displays all the effects, i'm sure that after a certain time you know them by heart smile haha,

btw i'm not sure if you're interested by linux, but https://snapcraft.io/ seems to be pretty good, it's a packaging system, it was added to ubuntu and fedora recently, will soon be on debian stable (can't wait!), it allows to distribute software and be able to run them even if your system isn't on the bleeding edge ; if you don't have the latest libraries, it's not a problem since the package includes them, also it runs in a sandbox , so no security issues,

i haven't read about it too much, but it can auto build from github: https://build.snapcraft.io/ and once compiled the software get pushed to the repository where user can sync the latest version without having to worry about anything else,

being able to run a stable distribution with the latest software version is something really interesting smile)

Last edited by koub1s (Apr 27, 2017 7:05 pm)

Offline
koub1s wrote:

btw i'm not sure if you're interested by linux, but https://snapcraft.io/ seems to be pretty good, it's a packaging system, it was added to ubuntu and fedora recently, will soon be on debian stable (can't wait!), it allows to distribute software and be able to run them even if your system isn't on the bleeding edge ; if you don't have the latest libraries, it's not a problem since the package includes them, also it runs in a sandbox , so no security issues,

be able to run a stable distribution with the latest software version is something really interesting smile)

I would rather recommend appImages (or both):
http://appimage.org/

I can try to work on it...
@kometbomb, what distribution do you use?

Offline
cyberic wrote:

I would rather recommend appImages (or both):
http://appimage.org/

I saw this one on Krita's page some times ago, thanks for reminding me, completely forgot about it!

Appimage is great, you can run directly any version of the app without requirements issues,
but you have to trust each appimage you download, and they are not sandboxed by default (?):

>> Can also run in a sandbox -- http://appimage.org/

the thing i like about snapd is that it is about to become available on most distribution by defaults, even on stables ones, and then you have access to a new snap repository on the command line, you can automate the process of distributing your software and/or update to the latest version automatically,

sorry for the offtopic Komet! :]

Last edited by koub1s (Apr 28, 2017 7:19 am)

Offline

Prototracker (TM) web-version-AZERTY-betatester reporting in!

- when changing the note(s), the keys are recognized as qwerty (which is really confusing since, the keys are recognized as azerty when writing the effect letters),

so typing w (in azerty) enter D_octave+1 (which is the qwerty layout), instead of C_current-octave

Last edited by koub1s (Apr 28, 2017 7:14 am)

Offline

I guess the packaging discussion is not off-topic, completely. smile The GitHub integration sounds really useful.

I used to use .debs as the package for klystrack but I am thinking just having a .gz of the binary (and maybe also the libs, I did this with my game project and it works great and is very convenient - it even includes 32 and 64-bit binaries and runs the correct one). Though for the time being, I'm just trying to keep the source super easy and quick to compile.

koub1s: If I change my Windows keyboard layout into AZERTY I get the same (wrong) behavior. So at least we are on the same page. big_smile (Emscripten probably does something weird and at the very least it's easy to bypass)

EDIT: BTW, if you're on Windows you can install a QWERTY layout and use LEFT ALT+LEFT SHIFT to switch the layout. And all other OS'es probably have a similar feature as well.

Last edited by kometbomb (Apr 28, 2017 8:40 am)

Offline

i am windows free :] i remember this shortcut on windows, some photoshop shortcut had conflict with it, the kind of stuff that drives people crazy till he figures it out,

i searched and on linux, it's easy as well, it's just a command on the shell:

setxkbmap us

Last edited by koub1s (Apr 28, 2017 3:16 pm)

Offline

I just tested and it should now build on older SDL2 versions again.

Offline

sucessfully compiled! will post my testing adventures logs ^^ thanks!

Offline

I checked sunvox http://warmplace.ru/soft/sunvox/ recently and they have that nice idea of including a simple_examples folder, it's just simple effects you can use or combination that gives a kind of kickstart to people who have no idea what they are doing, just wanted to share, could be nice for prototracker, i know there are some techniques worth sharing! spread the wisdom!

any plan to add more example songs too? noobstar prototracker album! when? :0

btw i'm not sure you check the klystracker thread komet,
is there any settings to speed up the tracker? i see it has cool animation when the cursor move, etc and it makes it really slow here (i use free drivers, etc so maybe everything graphic is quite slow, it's not a recent computer too), but i also tested on another laptop with bleeding edge updates, it's faster but still laggy, especially compared to prototracker).

Offline

Ah sorry, I haven't noticed that post in the klystrack thread. But very broadly: I know it's really slow for what it does and Prototracker is a reaction to that as well (the GUI is much more economical and generally less braindead from the code perspective). But I'll continue in the other thread. --->

Re: songs. Yeah, that's an obvious idea. Might go well with something like if you can include a message in the song so that you can explain what the song does.