• Most people probably don't realise this, but this forum has had two editors for a number of years. One is the xenForo default editor, and the other is a custom editor I made years back I called BBCEd.

    All the settings for which editor you use was lost during the upgrade. You can find the setting under Account Settings > Preferences > Editor.

PxTone AutoPlayer

Old topic!
The last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.
Nov 11, 2010 at 3:26 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#1


Basically what this does is you put it in your folder with the PxTone music you want to listen to, and hit load. When you press Start, it will play the song until it's over and then picks the next one randomly if the RAND button is highlighted, or in numerical order if not. If the LOOP button is pressed, then it will just loop one song indefinitely. PREV takes you back to the last song you were listening to, RESET starts the current song from the beginning, and QUIT does just what it says. You can also navigate the list yourself with the arrow buttons on the right, and choose a song manually. It's set up to hold a maximum of 999 songs, but if you can get a thousand PxTone compositions then I'd be amazed. The graphics are just on a plain ol' bitmap, so if you so wanted you could customize the buttons and background.

The buttons are iconic now instead of words. << is PREV, <| is RESET, ? is RAND, || is PAUSE, > is PLAY, the loop symbol is LOOP and X is QUIT

V1.2
Direct Link
MediaFire

V1.1
Direct Link
MediaFire
V1.0
Direct Link
MediaFire

Thanks to tile44.org for hosting

I appreciate any and all feedback :]

*Note: Only for use on Microsoft Windows(tm) Operating systems.
 
Nov 11, 2010 at 3:58 AM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 27
#2
4 Internets to Noxid (if it works xP)
 
Nov 11, 2010 at 4:54 AM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 29
#3
Looks amazing. What'd you use to program this?

Please don't tell me you did this in asm.. /jk
 
Nov 11, 2010 at 4:57 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#4
haha, that would be so hardcore. Naw, I did it strictly in C++ with the DevC++ Compiler, and Allegro 4.4 for my Graphics library. Allegro comes with some built-in GUI functions but they're so ugly I just did mine from scratch.
 
Nov 11, 2010 at 12:58 PM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6158
Age: 34
#5
I love the idea behind it and the GUI. It's got my vote.

Just checking but it does support .pttune files as well as .ptcop right?
 
Nov 11, 2010 at 1:36 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#6
yep! At least one of those songs listed there is .pttune, but the filename was too long... :/
 
Nov 11, 2010 at 4:51 PM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2138
Age: 24
#7
off of the top of my head,
Perhaps the autoplayer should automatically hide the file extension, because it looks a little weird.
Maybe use colors or symbols to indicate what file type the song is.
Just an idea.
 
Nov 11, 2010 at 5:02 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#8
That sounds like a good idea. Perhaps red for pttune, blue for ptcop.

Current Progress: I have the Rand and Loop toggles running, Prev, Start and Pause buttons working. Determining playback position is a tad more difficult than I had imagined, currently doing a bit of research on function pointers and callbacks. After I get that I can set up song switching and stuff.
 
Nov 11, 2010 at 6:49 PM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2138
Age: 24
#9
Excellent.
Looking forward to the first release, I'm sure I will use it all the time (an in-application list of songs is so useful)!
:]
 
Nov 12, 2010 at 12:04 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#10
V1.0 Released.
 
Nov 12, 2010 at 1:20 AM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2138
Age: 24
#11
Will download in approx. 3 hours.
:]
 
Nov 12, 2010 at 2:56 AM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 27
#12
Downloading now...

btw, how do you get a tile44 account?
 
Nov 12, 2010 at 2:58 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#13
Sexual favours.
 
Nov 12, 2010 at 3:20 AM
Um... Chosen One? Yeah that'll work. : P
"Keep on rollin'!"
Join Date: Jun 25, 2009
Location:
Posts: 451
#14
Or voodoo.
 
Nov 18, 2010 at 2:38 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#15
V1.1;

Added in V1.1 - Fixed minor glitch where shorter songs wouldn't switch, made the UI more compact and hopefully more understandable to non-english speakers. Increased the # of characters in name display. Made text color not hard-coded. Turned error display on.
 
Dec 26, 2010 at 3:09 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Dec 26, 2010
Location:
Posts: 3
#16
Very cool!

I would love to compile this for AmigaOS4, could you make the source available? Pretty please!
 
Dec 26, 2010 at 3:19 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#17
I would love too, but there's just one teensy problem. I don't really know how to program properly and I couldn't get the callback thing to work so I cheated and hacked the .exe a little bit after compiling to make it work :(

If you still want it even knowing that, I'd be happy to bundle it up for you though.
 
Dec 26, 2010 at 3:51 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Dec 26, 2010
Location:
Posts: 3
#18
just come to think of something.. does it use the pxtone.dll or is it portable?
i assumed it was portable, but maybe it isn't?
 
Dec 26, 2010 at 3:54 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 6000
#19
It's not portable :s
it uses PxTone as well as Allegro.
 
Dec 26, 2010 at 4:07 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Dec 26, 2010
Location:
Posts: 3
#20
allegro is no problem, it exists for most platforms, but that closed source pxtone.dll though... :/
oh well.. maybe one day someone will make a portable replacement..
thanx anyway!
 
Top