02 March 2015, 20:02 | #61 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
I'll bump this by saying that *everything* is now implemented in my PT2.3D port (except one single thing: split key mode. CTRL+S is now used for quick saving). After coding for countless of hours, it's finally getting near a stable release, but it also has these non-PT bonuses:
- A WAV sample loader/saver with support for loops/name/volume chunk attributes from sampler exported WAVs (or from OpenMPT) - *proper* STK (Ultimate Soundtracler) loader (effects/sample loop types) - Loading of PowerPacker'd MODs (this was in PT too I guess, but I list it anyways) - Full bug-free support for 128kB samples (many tracker UI functions in Amiga PT crapped out when ran on >64kB samples) - More keyboard keys handled (e.g. HOME/END/PAGE UP/PAGE DOWN in several things) - MOD2WAV for exporting the song to .WAV (with switchable filters, hard pan and band-limited steps for Amiga-ish sound) - PAT2SMP for rendering the current pattern to a sample (for making drumloops etc) - Sample hand editing tool (for drawing chiptune styled samples or fixing clicks in samples, etc) (read help.txt in the zip for more in-depth information about the new stuff) Also a million bugfixes and speed optimizations were added since 2011. :-) http://16-bits.org/pt.php (could an admin/mod change the thread name to "[PROJECT] ProTracker v2.3D clone for modern platforms"?) Last edited by 8bitbubsy; 02 March 2015 at 20:17. |
02 March 2015, 20:49 | #62 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,977
|
Sent you a message on SF, but don't know if you got it.
Any chance for Song format to be supported? i.e, store samples separately to music data. Would make porting this to the Pandora much simpler and more logical than storing samples multiple times inside the mod files... Cheers, D. |
03 March 2015, 00:50 | #63 |
Registered User
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,173
|
Where have I been when you were developing this?! Just tried a conversion of Lotus 2 module and it sounds great! I love the interface! Keep up the good work!
|
03 March 2015, 06:39 | #64 | |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
Quote:
EDIT: Why would it make porting simpler and more logical this way? 95%, if not more, of all spread modules were MODs with the sample data inside them, and they range anything from 2108 bytes (absolute min.) to 4166654 bytes (absolute max, 100 patterns and 31x 128kB samples). MODs are usually well under the 1 megabyte range, shouldn't create a disk space issue. There is nothing that tells me that creating a system that "magically finds" non-existing ST-xx volumes is logical and easy on a modern machine. Not to mention that creating the "song" system just to support the ST-xx packs would be a waste, and these are the only sample packs that I know the volume names of... It would be a non-portable hack Last edited by 8bitbubsy; 03 March 2015 at 07:10. |
|
03 March 2015, 10:15 | #65 | |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,977
|
Quote:
D. |
|
03 March 2015, 10:21 | #66 |
Registered User
Join Date: Jul 2011
Location: UK
Posts: 341
|
Great project
|
03 March 2015, 18:04 | #67 |
.:Part-Time Winner:.
Join Date: Dec 2001
Location: UK
Posts: 531
|
This looks a really interesting project! Nice one dude
|
03 March 2015, 18:18 | #68 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
Thanks for the kind words!
Dunny: Please share the result code if it turns out good... I have no good idea on how to support named volumes in the SONG format and how to "redirect" it to ST-xx folders.. And what should it say when it looks for the ST-xx files, etc? Sounds very hackish to me. |
03 March 2015, 21:30 | #69 | |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,977
|
Quote:
I'll let you know when I'm done - will be a while yet as I have a couple of other projects ongoing at the moment. D. |
|
04 March 2015, 19:09 | #70 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
Huge update: My PT clone now doesn't instantly crash anymore on some Intel Mac systems running OS X.
|
12 October 2015, 11:48 | #71 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
Would like to compile it for MorphOS. What are the requirements to compile It?
I have tried it but I'm stuck. Can It be compiled with -noixemul? |
12 October 2015, 12:14 | #72 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
You need a development library called SDL (version 1.2.x, important). That's it! There might be some #ifdef incompatibilities with MorphOS, especially in pt_config.c (the "get executable path" hack stuff, can be commented out).
I'm not sure if you need to pass some flags to the compiler, I have never tried to compile it for MorphOS before. Try to look in make-linux.sh. Also, make sure you got the very latest code first, execute this command in the shell (make sure you have SVN installed): Code:
svn checkout svn://svn.code.sf.net/p/protracker/code/trunk protracker-code |
12 October 2015, 12:25 | #73 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
I have SDL sdk installed and have downloaded latest code. i have made a few modifications but I'm stuck with realpath().
LibNix in MorphOS supports It but I have an undefined reference. Must look further in pt_config.c Thanks |
12 October 2015, 12:32 | #74 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
There's a chance that removing the hack still makes it able to find protracker.ini/PT.Config-xx in the same directory as the binary. It's a hack I did because apparently there's a bug in SDL 1.2 in some scenarios where it changes the current working directory to outside of the binary on program run...
Try replacing pt_helpers.c with this this (this is the only file needed to change, it has the hack function): http://pastebin.com/HBHxsNr7 Ideally I want to get rid of pt_helpers.c, it's a mess not needed. Last edited by 8bitbubsy; 12 October 2015 at 12:38. |
12 October 2015, 14:33 | #75 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
Hey! Thats works! I can compile and run It. I thinks need a tweak in the color format cos is a bit blue but is working!
EDIT: Have problems with loading modules. Seems can't change directory nor select a mods. Step by step... Last edited by tolkien; 12 October 2015 at 14:39. |
12 October 2015, 14:40 | #76 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
Yeah, the pixel buffer is hardcoded to 32-bit ARGB format, not all systems might like this. Try to run both the OpenGL version and normal version? To compile the OpenGL version, pass USE_OPENGL as a preprocessor flag to the compiler, check make-linux.sh for this.
|
12 October 2015, 22:01 | #77 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
My MorphOS setup can only be 24-bit max so perhaps is that the problem although I have tried an older version and It shows well.
I have compiled with OpenGL but I see the same matter. The worst problem is that the disk operation doesnt work. If I load a .mod through command line the mod loads and plays good but can't save. All functions seems ok...only diskopt ones doesn't work. Need to look carefully. EDIT: I have replaced diskop functions with asl requesters to load mod. Need to finetune it a bit and understand all pt_mouse.c source. Last edited by tolkien; 12 October 2015 at 23:17. |
13 October 2015, 07:02 | #78 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
Ouch, guess I need to install MorphOS on one of my PowerBook G4s and have a good look.
All bitmap pixels need to be normalized with some SDL function on init. I don't do this yet, but I will get to it one day. Most of the datas are stored as 2-bit palette values, so I already iterare through every pixel (except raw 32-bit bitmaps) on init to convert them to 32-bit ARGB using the palette LUT. Then I will also have a look at using realpath() and some modified disk op. code if MorphOS is present. This will not happen soon, but I'll maybe look at it this weekend. Last edited by 8bitbubsy; 13 October 2015 at 14:25. |
13 October 2015, 08:12 | #79 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 760
|
I can use it at its current state. This was an exercise to me as I'm learning to code and port things but as a musician I would like to have such a classic on morphos.
Thanks for the project and the help. |
13 October 2015, 14:31 | #80 |
Registered User
Join Date: Sep 2009
Location: Norway
Posts: 1,710
|
No! This has to be fixed, this is not acceptable. ;-)
Just as a test, open up pt_palette.c and change all values in palette[] from 0xFFxxxxxx to 0x00xxxxxx. For example 0xFF888888 to 0x00888888. Then compile and run, and link a screenshot... Maybe your system wants the framebuffer pixels in BGRA/ABGR instead of ARGB. Alpha is most likely not used at all, but it's a quick test. |
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 |
|
|