English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 03 July 2020, 11:00   #141
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Quote:
Originally Posted by no9 View Post
Ok, but there is a catch. By design Protracker didn't load samples longer than 64kB but there was a way to fool it to do so by packing samples with PowerPacker and eventually load and use them. There is not many such modules because the trick wasn't popular and probably wasn't compatible with some of the players but Protracker and Hippoplayer had no issue with that, as far I remember.
I see, but I'm not really going to support that. $FFFE (65534) is the intended limit in ProTracker 1.x/2.x, and if it overflows then that's a really nasty bug that should be fixed. The UI is not designed for this at all.


Quote:
Originally Posted by no9 View Post
Btw. I also have much older version of your PT clone and it also loads it fine.
Yes, earlier PT2 clone versions supported 128kB samples by adding another digit to the sample length in the UI, but I eventually reverted this because I want the PT2 clone to really be a PT2.3D clone. PT2.3E/PT2.3F for Amiga added full 128kB support, because that is a continuation of the PT2 series.
8bitbubsy is offline  
Old 03 July 2020, 11:30   #142
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Yes. It is one of those bugs that became feature for some of musicians.

HeartTracker handles it this way
[ Show youtube player ]

The same goes for Protracker 2.3b.

Of course it is better not to touch such samaples, not edit it in sample editor etc, because anything can fall.



Quote:
Sorry, I don't like this idea. I tend to add new features to protracker.ini, and I want most people to see them and use them. Most people are probably not changing too much in protracker.ini anyway. Just copy over the EXE and DLL if you only want to overwrite the program.
protracker.ini can be updated partially if there is lack of some configuration strings required for new versions. On the other hand you expect that user will determine which files from zip package are crucial for update. I just copy the whole zip file into old folder. Ok, I can remember this for now, but I feel the story will repeat itself if I get back to this after a couple of months of break. Simply it is not the first time I lost my config. Fortunately there is not much to setup, so it is easy to bring it back, but it is just a little annoying.

Last edited by no9; 03 July 2020 at 11:41.
no9 is offline  
Old 03 July 2020, 15:03   #143
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
The use of sampels >64k is really seldom (I guess I used it in only two mods). You just have to live/handle with incompatibilities.
daxb is offline  
Old 03 July 2020, 15:22   #144
no9
Registered User
 
no9's Avatar
 
Join Date: Feb 2018
Location: Poland
Posts: 352
Yeah, and it's better to know what changed and what wasn't translated to the clone.
no9 is offline  
Old 17 July 2020, 02:18   #145
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Couple of questions, 8bitbubsy. Is there anyway to turn CIA timing off?

The numberic keyboard on my PC, as well as choosing samples also appears to be functioning as cursor controls so 4 is left, 6 is right, 8 is up and 2 is down.... can this be turned off?

Thanks,

Mark.
TDK is offline  
Old 17 July 2020, 11:04   #146
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
To toggle between CIA/VBLANK you press CTRL+F12. This mode is not remembered, and it will be reset to CIA if you load a new song or restart the program. I recommend that you read "keybindings.txt" (which is in the PT2 clone release zip). Please make as few VBLANK-based MODs as possible if you are going to release them to the public, as there is no proper way to detect if you should play a .MOD in CIA or VBLANK. This makes it harder for people to play your songs as intended.

Regarding numpad keys, you need to press Num Lock to toggle between numbers and cursor keys. When the numlock LED is on, the numpad will be used for numbers only. This is how the numpad works in general. Please note that Num Lock is the key that would select sample 1, so every time you press it you also change the numpad cursorkey mode on/off. I never found a proper way to fix this... This makes the whole thing a bit unusable. Also, I really recommend that you use the latest PT2 clone version because of all the bugfixes.
8bitbubsy is offline  
Old 17 July 2020, 13:24   #147
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
About the Num Lock key function. I would search for a program or OS switch that activates it permanent. My guess is that the chance is not bad that this is possible.
daxb is offline  
Old 17 July 2020, 13:25   #148
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
I used to have some win32 code that "took over" Num Lock presses when the program was in focus. It almost worked, but there was some issue with it that made it not worth it.
8bitbubsy is offline  
Old 17 July 2020, 13:57   #149
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Quote:
Originally Posted by 8bitbubsy View Post
To toggle between CIA/VBLANK you press CTRL+F12. This mode is not remembered, and it will be reset to CIA if you load a new song or restart the program. I recommend that you read "keybindings.txt" (which is in the PT2 clone release zip). Please make as few VBLANK-based MODs as possible if you are going to release them to the public, as there is no proper way to detect if you should play a .MOD in CIA or VBLANK. This makes it harder for people to play your songs as intended.

Regarding numpad keys, you need to press Num Lock to toggle between numbers and cursor keys. When the numlock LED is on, the numpad will be used for numbers only. This is how the numpad works in general. Please note that Num Lock is the key that would select sample 1, so every time you press it you also change the numpad cursorkey mode on/off. I never found a proper way to fix this... This makes the whole thing a bit unusable. Also, I really recommend that you use the latest PT2 clone version because of all the bugfixes.
Thanks for getting back to me so quickly!

Looks like its a muscle memory thing with the numeric lock. Wish I had a keypad without it... maybe I'll just get the 1200 down from storage instead
TDK is offline  
Old 17 July 2020, 13:58   #150
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Quote:
Originally Posted by TDK View Post
maybe I'll just get the 1200 down from storage instead
Oh well. Maybe you want to give ProTracker 2.3F a try then, a bugfixed version of PT2.3D. If you want the PT2.x experience, that is.

https://16-bits.org/PT23F.LHA
8bitbubsy is offline  
Old 17 July 2020, 20:12   #151
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Thanks... to be honest.. I'm getting quite used to it already... Great on a 27" screen!

One more thing. I'm finding the caps lock / key repeat function isn't working. I've checked my OS settings, all good, but there's no change whether caps lock is on or off.
TDK is offline  
Old 17 July 2020, 20:13   #152
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Weird, keyrepeat (Caps Lock) works fine here on Windows 10.
8bitbubsy is offline  
Old 17 July 2020, 21:20   #153
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Ahhh, figured out the issue... it's not working with the cursor keys... that's what's throwing me. Any change of getting cursor keys to respond the same way?
TDK is offline  
Old 17 July 2020, 21:21   #154
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
I recently removed that feature because it's not present in PT. To get the up/down cursor key to act faster in the pattern, you hold down left shift (fast) or left alt (faster). Like on PT on Amiga.
8bitbubsy is offline  
Old 17 July 2020, 21:24   #155
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
My issue is the opposite.. in that my individual key strokes are just slightly longer than they should be, and with the cursor and I keep 'moving one step too far'. I don't recall this being an issue on the Amiga.
TDK is offline  
Old 18 July 2020, 00:07   #156
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Can't say I've had that issue... Then again my tracker clones have only been properly tested on Windows on 60Hz monitors.
8bitbubsy is offline  
Old 18 July 2020, 02:29   #157
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Mines 60hz too. 27” Dell.

Just wondering, since you used to do it, couldn’t this be set in the options ini file rather than just getting rid of it? Then we have the choice. If it enhances productivity then it’s a good thing? I will make a donation if I end up making this my tracker of choice... and it’s pretty damn close.....
TDK is offline  
Old 18 July 2020, 03:11   #158
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Mmm, on another PC, this isn't an issue. I wonder why it is on my main audio PC.
TDK is offline  
Old 18 July 2020, 11:44   #159
8bitbubsy
Registered User
 
8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,708
Do you use more than one monitor? My tracker clones have severe bugs with that, especially when moving one window to another monitor then fullscreening it, or if both monitors don't run on the same refresh rate. Also, not having a refresh rate of 60Hz means that it will not use vsync (it will use high precision timers instead to sync to 60Hz). If something goes wrong there, the speed of the UI may be way too fast.

Btw, I'm not going to add in the old keyrepeat on cursorkeys stuff, as it was just silly. Also I'm pretty sure it's not related to your issue at all.
8bitbubsy is offline  
Old 18 July 2020, 21:38   #160
TDK
oldskool amiga musician??
 
TDK's Avatar
 
Join Date: Sep 2002
Location: Warwickshire / UK.
Posts: 93
Ahhh, yes dual 27" 2560x1440. I've not tried moving it between monitors or fullscreening, just running at 5x res. They're both 60hz.
TDK is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL problem. tolkien Coders. C/C++ 10 24 March 2015 03:29
XAMOS - new cross-platform rewrite of jAMOS Mequa News 24 14 December 2012 09:49
use SDL 1.2.13 with AmyDevCpp TheDarkCoder Coders. General 3 18 August 2009 20:55
WinUAE w/SDL mangamuscle request.UAE Wishlist 8 31 January 2007 11:41
What do you know about Amiga SDL? Tolismlf Amiga scene 6 15 November 2004 18:54

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 +2. The time now is 10:08.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.26647 seconds with 15 queries