English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 02 August 2010, 03:40   #1
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Looking for ProTracker 2.3D source code

Is this available somewhere? I can't seem to find it at all
I'm rewriting ProTracker 2.3D in C (+ SDL) atm, and I would love to have the corrosponding assembly file to do stuff as close to the original as possible.

Here's my current work:


Windows binary:
http://16-bits.org/PT23D-SDL.zip

If you get an error message saying "Can't find MSVCR100.DLL", then you need "Microsoft Visual C++ 2010 Redistributable Package (x86)":
http://www.microsoft.com/downloads/d...displaylang=en



Last edited by 8bitbubsy; 03 August 2010 at 04:26.
8bitbubsy is offline  
Old 02 August 2010, 04:45   #2
hitchhikr
Registered User

 
Join Date: Jun 2008
Location: somewhere
Posts: 376
Some protracker source code:

ftp://ftp.untergrund.net/users/hitch...2_v1.3_src.zip
ftp://ftp.untergrund.net/users/hitch..._v3.15_src.zip
ftp://ftp.untergrund.net/users/hitch...r_v4.0_src.zip

I don't think specific 2.3d has ever been publicly available.
hitchhikr is offline  
Old 02 August 2010, 11:01   #3
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 38
Posts: 17,789
Great, thank you, I'm waiting for finished version of ProTracker for Windows.
s2325 is offline  
Old 03 August 2010, 11:52   #4
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 47
Posts: 414
almost off topic: did you rewrite the replay ?
Asle is offline  
Old 03 August 2010, 14:39   #5
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Quote:
Originally Posted by Asle View Post
almost off topic: did you rewrite the replay ?
No, the structure and design of the MOD replayer is done by mukunda over a query on IRC (that was fun), but I've modified it extremely much, and added EF0-EFF (invertloop) support and fixed things. It's a fairly accurate MOD player, more accurate than the most MOD players out there.

This ProTracker clone is written from scratch with mostly my own "idea", it's not a 100% asm to c conversion. But on some things I might try to make it as close as possible.

There's another group out there with the philosophy of doing an almost asm to c conversion of ProTracker. The project is called "PTPlay"... Although there seems to be many errors in the playback and it doesn't use SDL, but a weird API instead. Not very protable!

Last edited by 8bitbubsy; 05 August 2010 at 01:30.
8bitbubsy is offline  
Old 03 August 2010, 15:49   #6
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 40
Posts: 332
oooh cool project!
toss over the sources and i'll make an amigaos4 and osx version happen!
=)
spoUP is offline  
Old 03 August 2010, 16:06   #7
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Hey hey hey!! It's far from done, and the code is kind of spaghetti... But if you REALLY want to, then I guess you can.

Last edited by 8bitbubsy; 03 August 2010 at 16:35.
8bitbubsy is offline  
Old 03 August 2010, 16:23   #8
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 40
Posts: 332
=) it would be cool if you notified me when you are ready for release, and i'll help out with compiles.
btw, did you know about this project? (now dead though).
http://os4depot.net/index.php?functi...otracker23.lha
it's also written using sdl btw.
spoUP is offline  
Old 03 August 2010, 16:24   #9
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 40
Posts: 332
btw, you can reach me on spotup at gmail dot com..
spoUP is offline  
Old 03 August 2010, 16:28   #10
spoUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 40
Posts: 332
spoUP is offline  
Old 03 August 2010, 16:35   #11
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Here's the source to toy around with:
http://16-bits.org/PT23D-SDL_src.zip

I included the Microsoft Visual C++ 2010 project file. You may want to make your own makefile if you want to compile it with GCC.

Quote:
Originally Posted by spoUP View Post
btw, did you know about this project? (now dead though).
http://os4depot.net/index.php?functi...otracker23.lha
it's also written using sdl btw.
Yeah, that's PTPlay.. I've talked to the author and seen the sources. My code sure is spaghetti, but it's pristine in comparison to PTPlay... Also I think PTPlay used something else than SDL, iirc.

Last edited by 8bitbubsy; 07 August 2010 at 10:54.
8bitbubsy is offline  
Old 03 August 2010, 23:26   #12
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Sweet project Bubsy!
Skope is offline  
Old 04 August 2010, 23:08   #13
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,591
Photon is offline  
Old 04 August 2010, 23:40   #14
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
LOL!
I read patterns-1, which means that I start to read the sample data 1024 bytes too early in the file... I fixed the problem now, same sources/links.

Last edited by 8bitbubsy; 05 August 2010 at 02:02.
8bitbubsy is offline  
Old 05 August 2010, 01:28   #15
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Poll: Should I use the hard Amiga panning (0, 255, 255, 0) or the softer one (64, 192, 192, 64)? The EXE and src in the links does currently use the hard panning, I changed it some minutes ago.
8bitbubsy is offline  
Old 05 August 2010, 01:37   #16
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Quote:
Originally Posted by 8bitbubsy View Post
Poll: Should I use the hard Amiga panning (0, 255, 255, 0) or the softer one (64, 192, 192, 64)? The EXE and src in the links does currently use the hard panning, I changed it some minutes ago.
How about making it user selectable? Personally I always reached for the mono button on my amplifier as I can't stand Amiga stereo.
Skope is offline  
Old 05 August 2010, 01:43   #17
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
Yeah, maybe
Argh! The pitch problem is still there... This will be an endless debugging situation.

EDIT: Ah... So it was a finetune problem after all, I fixed it now.
I passed the finetune function "curr_sample - 1", and the function itself also did curr_sample - 1... Poor samples, getting their wrong finetunes!
At least I fixed the "too early sample loading" problem too. Two problems fixed! Should be good now.

Links updates, panning changed back to soft.

Last edited by 8bitbubsy; 05 August 2010 at 01:58.
8bitbubsy is offline  
Old 05 August 2010, 10:45   #18
Doc Mindie
In deep Trouble
 
Join Date: Sep 2004
Location: Manchester, Made in Norway
Age: 46
Posts: 829
Are you s'posed to not be able to click anything in the window? Replay works just fine under Win7, but I can't click anything to get the "proper" feel of my Amiga PT

*pouts*
Doc Mindie is offline  
Old 06 August 2010, 00:20   #19
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
As written earlier, it's far from done. The only clickable buttons are UP and DOWN on the POS rail (change pattern), and DISK OP. (and the EXIT button on the DISK OP.) screen... The DISK OP. is not functional yet.
8bitbubsy is offline  
Old 07 August 2010, 10:54   #20
8bitbubsy
Registered User

8bitbubsy's Avatar
 
Join Date: Sep 2009
Location: Norway
Posts: 1,283
I made a thread for my project now as the title in this thread is a little bit not useful.. :P

Last edited by 8bitbubsy; 07 August 2010 at 11:13.
8bitbubsy 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
My old source code gemanix Coders. General 36 09 July 2017 14:33
Source code for game in C? Leandro Jardim Coders. General 2 17 February 2013 01:27
Protracker all Versions incl. Source sun68 support.Apps 16 01 April 2012 01:59
Source Code camelord support.Games 2 06 August 2010 18:45
Source Code Thalion project.WinUAE - Kaillera 3 28 April 2006 10:55

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 22:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.10985 seconds with 14 queries