Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Deep clone inst and Duplicate patterns [patch] Owner: coda New post
Page 1 of 1 Sort:  
Deep clone inst and Duplicate patterns [patch] Posted: 2011-10-02 08:30  (Last Edited: 2011-10-02 08:53) Reply | Quote
coda



Member for: 5384 days
Status: Offline

#23699
i wrote two features that i'm missing from famitracker. they're sort of related conceptually.

deep clone instrument: duplicates the instrument but also duplicates all enabled sequences. so when you clone the instrument and change the duty envelope you don't accidentally do the same thing your other instrument because you forgot to do the "next unused sequence, copy, paste" dance. (for 2a03, just as a demonstration and that's all i really care about. adding the others is obviously just copying and pasting.)

http://pastebin.com/G8jcEZCG


duplicate patterns: same idea but for frames. this is the equivalent of "duplicate pattern" in modplug tracker, which is quite a bit handier than "insert, copy, change pattern, paste". insert frame is useless to me.

http://pastebin.com/B8j4T7Di

i have left out the parts that would tie it into the gui because i assume jsr doesn't want to read resource file patches i overrode existing functions in my test version, but i'd just add the menu items and commands to the same places as Clone Instrument and Duplicate Frame respectively.

Posted: 2011-10-02 08:54 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6452 days
Location: Canada
Status: Offline

#23704
I edited your post to make your links work.

I like those two features a lot, and I hope they'll be implemented in a future release!

Posted: 2011-10-02 23:14 Reply | Quote
Mex

Avatar

Member for: 6111 days
Location: Victoria, British Columbia
Status: Offline

#23740
coda, very cool! It's a real treat to see you on the forums!

Posted: 2011-10-07 00:27 Reply | Quote
jsr
Administrator

Avatar

Member for: 7394 days
Location: Sweden
Status: Offline

#23897
Great, thanks!

I'll add these patches to the next version.

_______________________
Programmer and developer
Posted: 2012-05-19 18:41 Reply | Quote
hpizzle

Avatar

Member for: 6070 days
Status: Offline

#35035
was the deep clone instrument feature ever added? and i wasn't sure if coda mean this with the 2nd idea, or if that idea was already added with the current duplicate frame feature, but a deep clone frame type feature would be VERY useful. IE duplicate frame but with all new unused rows. thanks

Posted: 2012-05-19 20:37 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6452 days
Location: Canada
Status: Offline

#35036
Deep Clone is available in 0.3.8 through right-clicking either an instrument or pattern.

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Page 1 of 1 Sort: