Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 03-12-2016, 07:58 AM   #361
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@X-Raym
GitHub does not seem to provide any download stats for the "raw" urls, but ReaPack repositories could be hosted anywhere (including on GitLab or on your own web server), though the indexer is not ready for that (it autodetects GitHub only with no way to set a custom url).

Example: (don't try this, the --url-template option does not exist yet )
Code:
reapack-index --url-template="http://extremraym.com/reascripts/get.php?c=$commit&v=$version&p=$path"
BitBucket also has free private repos by the way.

Last edited by cfillion; 03-13-2016 at 01:09 AM.
cfillion is offline   Reply With Quote
Old 03-12-2016, 01:05 PM   #362
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
Ok that's what I thought for the stats. too bad ^^

I found GitLab free offer more intersting than bitbucket, and it seems more open too, that's why I already have several repository on it (including some with private reascripts).

So, if the indexer could work on GitLab too it could be nice But don't worry if it is too much trouble.
X-Raym is offline   Reply With Quote
Old 03-13-2016, 12:39 AM   #363
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Quote:
Originally Posted by X-Raym View Post
So, if the indexer could work on GitLab too it could be nice
Done in the next version. Any host that use GitHub-like URLs ("user/repo") will be autodetected, and I've implemented --url-template for manual setup.

(Note that beta2 already supports custom URLs (much useful for native extensions), but only on a file-by-file basis:
Code:
-- Version: 1.0
-- Provides:
--   . https://gitlab.com/user/repo/raw/$commit/$path
--   background.png https://i.imgur.com/tKAkk9N.png

Last edited by cfillion; 03-13-2016 at 01:21 AM.
cfillion is offline   Reply With Quote
Old 03-13-2016, 04:43 AM   #364
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
You are a rock star. Thanks
X-Raym is offline   Reply With Quote
Old 03-13-2016, 05:37 AM   #365
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by X-Raym View Post
@cfillion
You are a rock star. Thanks
Yeah ReaTeam FTW!!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 03-14-2016, 04:30 PM   #366
semiquaver
Human being with feelings
 
Join Date: Jun 2008
Posts: 4,923
Default

Happy user here - this project is great - thanks to all involved.

Should be stickied and I hope it grows to include ever more great scripts.

if a donate action was included I'd be glad to do so...
semiquaver is offline   Reply With Quote
Old 03-18-2016, 08:45 AM   #367
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

I'm sure they will stick this thread or better, a new cleaner one for the end user without all the developement things here.

I am interested in hosting the scripts in my own private host for pre-releases for example.

One issue for my scripts, I need to include in the pack other files that won't be installed in the scripts folder, but in the Effects folder for example. Is this possible?
heda is offline   Reply With Quote
Old 03-18-2016, 06:53 PM   #368
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Heda, we somewhere here though about adding dedicated ReaTeam repo with JS. What do you think about that? Are your JS effects independent or script-linked?
mpl is offline   Reply With Quote
Old 03-18-2016, 06:57 PM   #369
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default

@mpl
it is just script linked. So in the same script package it should be able to put the JSFX in the effects folder, instead of the scripts folder as the rest of the fils of the script (lua, txt, png ...)
heda is offline   Reply With Quote
Old 03-18-2016, 07:01 PM   #370
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Well, I see here two ways.
1) write your JS by your Lua script if this JS still not exists in /Effects.
2) ask cfillion about can he implement this. Maybe parsing header of something related to filename
mpl is offline   Reply With Quote
Old 03-19-2016, 06:10 AM   #371
noise_construct
Human being with feelings
 
Join Date: Nov 2015
Posts: 1,566
Default

Awesome stuff guys, much appreciated!

Please announce this on General Discussion when it's ready, this subforum is a scary place for us non-scripters
noise_construct is offline   Reply With Quote
Old 03-20-2016, 12:24 PM   #372
Codey
Human being with feelings
 
Join Date: Sep 2010
Posts: 87
Default

Thanks to all those who take the time to do this stuff.

And thanks again for sharing it!

Really appreciated.


I'm just getting into this whole scripting thing and I'm looking around to see what has already been done and is available so I don't reinvent the proverbial.

So much stuff is already covered. I'm looking to do some really simple stuff eventually that might come in handy for everybody. Baby steps for now for me.

So yes, your contributions are noted well!
Codey is offline   Reply With Quote
Old 03-20-2016, 12:38 PM   #373
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

I dont know should we really create dedicated thread after 1.0 release or turn this thread into "support" thread (or leave it as is for history).

I don`t see a problem with editing my first post with all "howto" links for users and for scripters, when extension will be ready to use.
mpl is offline   Reply With Quote
Old 03-28-2016, 01:41 PM   #374
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

bump
IXix is offline   Reply With Quote
Old 04-01-2016, 09:52 PM   #375
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

I'm back after fighting off the flu: ReaPack v0.9 and beta3 of the package indexer are out with support for JSFXs, removal of .ReaPackRemote files, manual installation mode, downgrading, listing of obsolete packages and more:



ReaPack v0.9-beta

Changelog and downloads for new users: https://github.com/cfillion/reapack/.../tag/v0.9-beta

Existing users can upgrade from v0.8 using Extensions > ReaPack > Synchronize packages.
registry.db must be removed (again) after updating to this version, before restarting REAPER. It's still in beta so no automatic conversion of the data file yet.

The old behavior (installing everything automatically upon synchronization) can be restored from the new "Options" button in the Manage repositories dialog.
Using "Install/update this repository" from an about dialog always installs everything.

Package indexer v1.0beta3

The full changelog is available at https://github.com/cfillion/reapack-.../tag/v1.0beta3.

Windows: Use the installer at https://github.com/cfillion/reapack-...x-1.0beta3.exe
Others: Run `gem install reapack-index --version=1.0beta3`

The biggest change here is the new --name option which is meant to replace the purpose of the now-extinct .ReaPackRemote files.
It sets how the repository is displayed:
Code:
reapack-index --name 'FooBar Scripts'
The indexer will emit a warning if the name isn't set (and ReaPack won't import any such indexes).

Quote:
Originally Posted by heda View Post
One issue for my scripts, I need to include in the pack other files that won't be installed in the scripts folder, but in the Effects folder for example. Is this possible?
It's not possible for now (they must be in separate packages), but that would be great, so maybe later.

Last edited by cfillion; 04-02-2016 at 01:22 AM.
cfillion is offline   Reply With Quote
Old 04-02-2016, 12:31 AM   #376
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

OMFG, that's amazing cfillion!! Thank you so much!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-02-2016, 12:59 AM   #377
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
Bravo for this release ! Incredible work !

I guess we need to conform our repos as soon as possible now :P

Anyway, can't wait for the v1.0 to be out so we could share this master piece to everyone !

Note : Have you considered GitLab support ?


EDIT : for the ReaTeamJSFX Repo,
do you want to open a thread to invite contributors to join ?
Also, could you put a Template/header file to show everyone what kind of header is "ReaPack" valid ?

Last edited by X-Raym; 04-02-2016 at 01:06 AM.
X-Raym is offline   Reply With Quote
Old 04-02-2016, 08:51 PM   #378
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@X-Raym It's included in the indexer update: beta3 detects any host using the same URL style as GitHub including GitLab.com.
(Behind the scene, when the git remote "origin" looks like https://host/user/repo.git or a ssh uri, the indexer uses https://host/user/repo/raw/$commit/$path as the template for download links – unless a custom template is set)

JSFX packages work exactly the same way as ReaScripts; I just bootstraped the repository with the minimal files and some documentation.

Last edited by cfillion; 04-02-2016 at 11:12 PM.
cfillion is offline   Reply With Quote
Old 04-03-2016, 12:34 AM   #379
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by X-Raym View Post
do you want to open a thread to invite contributors to join ?
Also, could you put a Template/header file to show everyone what kind of header is "ReaPack" valid ?
YES and YES!!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-03-2016, 03:50 AM   #380
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfilion

Cool for GitLab !

For JSFX Header:
Code:
/*
 * @version 1.0
 * @author John Doe
 * @changelog
 *   - Added super cool feature XYZ
 *   - Removed unused triggers
 */
I'm curious, why it is so different that ReaScript Header ?
Could we imagine something more like

Code:
/**
 * JSFX Name: 
 * Author: 
 * Licence: GPL v3
 * REAPER: 5.0
 * Version: 1.0
 */

/**
 * Changelog:
 * v1.0 (2016-01-29)
	+ Initial Release
 */
Only the title (JSFX name) is different than ReaScript header here, so it would be more consistent. (and of course we cna imagine the other common fields, like Author URL, Description etc).

But maybe I miss a technical thing ?

Let us know

Anyway, thanks again for your great work !
X-Raym is offline   Reply With Quote
Old 04-03-2016, 04:11 AM   #381
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

What repository site would you guys recommend for beginner users like me ?

I would love to release and update scripts this way. It's Steam for scripters.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 04-03-2016, 04:30 AM   #382
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@airon
For writing script, script templates :
ReaTeam/ReaScripts-Templates: Templates, models, boilerplates, examples and snippets for REAPER ReaScript.

And for script upload, the common repo is :
ReaTeam/ReaScripts: Scripts written for Cockos Reaper
(unless you want to create your own repo).
In order to invite you on ReaTeam repo if it is what you want, I'll need your GitHub account ID. Do you have one ? :P
X-Raym is offline   Reply With Quote
Old 04-03-2016, 10:10 AM   #383
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@X-Raym

Both syntaxes are supported for all package types. (As a matter of fact "@tag value" and "Tag: value" could even be mixed in the same header, though that would be ugly.)

The "desc:" thing is part of REAPER's JS syntax, ReaPack doesn't use that, nor "JSFX Name". Just to be clear, these are all equivalent headers no matter whether the package is a script, an effect or an extension (and the parser doesn't care about eel/lua/whatever specific comment syntax, only the data and indentation matters):

Code:
/*
 * @version 1.0
 * @author John Doe
 * @changelog
 *   - Added super cool feature XYZ
 *   - Removed unused triggers
 */
Code:
/*
 * Version: 1.0
 * Author: John Doe
 * Changelog:
 *   - Added super cool feature XYZ
 *   - Removed unused triggers
 */
Code:
/*
 * Version: 1.0
 * Author: John Doe
 */

/*
 * Changelog:
 * v1.0 (2016-04-03)
	- Added super cool feature XYZ
	- Removed unused triggers
 */

Last edited by cfillion; 04-03-2016 at 11:29 AM.
cfillion is offline   Reply With Quote
Old 04-03-2016, 10:41 AM   #384
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
Perfect !

I'll create a post for the JSFX repo then, and let ou focus on the ReaPack v1.0 :P

Good luck !
X-Raym is offline   Reply With Quote
Old 04-03-2016, 12:16 PM   #385
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
Quote:
The biggest change here is the new --name option which is meant to replace the purpose of the now-extinct .ReaPackRemote files.
To be clear, we just have to run the command, set our repo name, and remove the .ReaPackRemote file ?

I just index my repo with the new indexer it should be ok now (and I also set the name to X-Raym Scripts, just like before).
X-Raym is offline   Reply With Quote
Old 04-03-2016, 12:40 PM   #386
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@X-Raym Yes, that's it. You can check by reimporting your repository in ReaPack: it should say "This remote is already configured.".

EDIT: I've added a .reapack-index.conf in the JSFX repo to prevent the files in the Templates folder from being user-installable, since they are examples for developers.

Last edited by cfillion; 04-03-2016 at 01:21 PM.
cfillion is offline   Reply With Quote
Old 04-05-2016, 12:43 PM   #387
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Great! Thank you cfillion, a lot of good stuff here.



(I uninstalled my repo and try to install it by giving repo link)
mpl is offline   Reply With Quote
Old 04-05-2016, 12:55 PM   #388
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@mpl
Use the direct link to the index file instead (on GitHub, right click > copy link on the Raw button to get that):
Code:
https://github.com/MichaelPilyavskiy/ReaScripts/raw/master/index.xml
Also please name your repository as "MPL Scripts" to match the default configuration: that's to prevent it from being added in double if someone tries to reimport it.

Last edited by cfillion; 04-05-2016 at 02:03 PM.
cfillion is offline   Reply With Quote
Old 04-05-2016, 01:24 PM   #389
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

OK got it
Commited with --name 'MPL Scripts' also, thanks for the note
mpl is offline   Reply With Quote
Old 04-21-2016, 01:14 PM   #390
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

ReaPack v0.10-beta and reapack-index v1.0beta4

Lots of bug fixes, enhancements and new features for users and developers.

Note: As a side-effect of upgrading, some settings will be lost and the default repositories will switch to "Disabled" state.
Pre-releases

Version names containing letters are considered as "pre-release".
With "Bleeding edge" mode OFF (default), stable version to pre-release updates are ignored (but available).

Per-file type override

@heda, @IXix:
Code:
-- script.lua
-- @provides
--   [effect] Some FX to install along with the script.jsfx
Path globbing

The indexer supports path globbing (wildcards) in the @provides tag:
Code:
-- @provides lib/*.{lua,eel}
Packaging documentation

Moved to the public wiki and updated: https://github.com/cfillion/reapack-...-Documentation

Last edited by cfillion; 04-21-2016 at 03:10 PM.
cfillion is offline   Reply With Quote
Old 04-21-2016, 02:28 PM   #391
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Cool ! Thanks again for your work !
X-Raym is offline   Reply With Quote
Old 04-22-2016, 04:18 AM   #392
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by mpl View Post
This thread raised idea of creating common Library of scripts, written by REAPER users.

So we already have:[LIST=1][*]An awesome extension (beta) by cfillion - download/sync/add scripts[*]at least 3 github repos can be used with this extension
Hey Mikhail, can you please correct the first link in your first post?
Cheers!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-23-2016, 05:23 AM   #393
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Hey Christian, with latest version I have this message:

Code:
ReaPack â€" Fatal Error
The following error occured while creating a transaction:

table entries has no column names author
I'm sure it's a local database version incompatibility, but I'm not sure how to fix it. (Perhaps ReaPack should automatically fix it?)


Also, some little things about that message:
-remove â€" from window title
-occurred has 2 Rs
-'has' should be 'have'
(-maybe 'names' should be 'named'??)


Thanks again!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-23-2016, 05:28 AM   #394
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Okay, looking at this now. First question...

Can you install scripts to different sections? I tried installing the spk77 midi velocity tool but it ends up in the Main section so the midi editor won't let me put it on a toolbar button. Obviously I could manually set it up but that rather defeats the point of the extension.
IXix is offline   Reply With Quote
Old 04-23-2016, 05:36 AM   #395
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

IXix, it should be moved from "Various" to "MIDI_Editor" folder. Will be done later.
All scripts from "MIDI_Editor" automatically go to MIDI Editor section.
mpl is offline   Reply With Quote
Old 04-23-2016, 09:10 AM   #396
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@daxliniere Looks like <REAPER Resource Path>/ReaPack/registry.db was created using v0.8's format. Delete it so it can be recreated for v0.9+ (compatible with latest v0.10 as well).

Quote:
Originally Posted by daxliniere View Post
Also, some little things about that message:
-remove â€" from window title
-occurred has 2 Rs
-'has' should be 'have'
(-maybe 'names' should be 'named'??)
Thanks! Fixed â€", the typo in occurred, and a big bug in string handling on windows (found while trying to figure out where the S in "named" could have come from)!

has -> That's SQLite's message, won't fix. EDIT: It's actually third person singular: "entries" just happens to be the name of the table.
names -> Scary mystery. Don't know where the D went. It's there in the code (sqlite's), and it displays fine on my computer (and here). It might be some kind of memory corruption bug...

Last edited by cfillion; 04-23-2016 at 10:56 AM.
cfillion is offline   Reply With Quote
Old 04-23-2016, 10:43 AM   #397
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Thanks Christian!

P.S. I saw a different message on a different boot up. It didn't have the extra characters in the title bar and the named/names thing was correct. Go figure!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-23-2016, 10:56 AM   #398
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by mpl View Post
IXix, it should be moved from "Various" to "MIDI_Editor" folder. Will be done later.
All scripts from "MIDI_Editor" automatically go to MIDI Editor section.
Ah, okay. Thanks.
IXix is offline   Reply With Quote
Old 04-24-2016, 03:39 AM   #399
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by cfillion View Post
@daxliniere Looks like <REAPER Resource Path>/ReaPack/registry.db was created using v0.8's format. Delete it so it can be recreated for v0.9+ (compatible with latest v0.10 as well).
Thanks.
I had this happen once before and deleted that file. Strange it happened again.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-24-2016, 07:28 AM   #400
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Location: Moscow
Posts: 99
Default

Guys , just want to express support and apprecion for your hard work .
raiirock is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.