|
Acknex pxtone plugin
#466226
06/01/17 21:12
06/01/17 21:12
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Hey there, Not sure if it'll be helpful to anyone but I started making an Acknex wrapper for pxtone by Daisuke "Pixel" Amaya (the Japanese guy who created Cave Story). It's a somewhat minimal music format he made a while ago, including a complete set of tools (called "pxtone Collage") for creating & editing music files in this format. It's primarily targeted towards more "retro" sounding tracks and has been used in some of his games (including Cave Story). One advantage is that the files are generally really small, unless a lot of .wav samples are used while providing lossless 16bit stereo audio. in case you want to know more about it: http://www.cavestory.org/pixels-works/pxtone-collage.php (more links, related stuff, sourcecode, download including english translation, etc.) Right now, the wrapper I'm making can load a file (both .ptcop & .pttune), extract the track name from the file and sample the track into an Acknex SOUND* object (which can be played by the engine). At the moment there's no on-the-fly "live" sampling of tracks but I'm not sure if it's really needed.(the updated version can do more) So if (for some reason) anyone wants this wrapper, let me know and I'll upload it once it can be used. regards, Kartoffel ----- newest version (03.06.2017 update3): download (Dropbox)
New Changes:
- removed all the unnecessary 'Ack's from the names ("AckPxtn_..." -> "Pxtn_...")
- PxtnLoader improved
- PxtnLoader: on-the-fly streaming of Pxtone files (kind of experimental, but works)
(causes less memory consumption, but slightly more CPU usage than prerendered tracks)
- acknex-style file loading (search paths are now used)
- support for loading pxtune files directly from memory (useful for encrypting songfiles)
- made a pxtone banner that you can show in the credits
- minor fixes
- fixed some typos
TODO:
- OpenAL support
- bugfixes?
Last edited by Kartoffel; 06/03/17 14:01.
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: Kartoffel]
#466227
06/01/17 21:15
06/01/17 21:15
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Hey! I'm always interested in oldschool stuff! Would be great to have such a useful tool! What about license stuff? Best regards!
|
|
|
Re: Acknex pxtone plugin
[Re: 3run]
#466228
06/01/17 21:24
06/01/17 21:24
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Well, my Japanese sucks and so does Google Translate. But as far as I understood the license it's free to use. There's also an implementation for game maker. On the forums it says: "I believe Pixel asserts that there is no limitation on pxtone's use but asks politely to attribute him for his work. To do so he asks for you to use the banner he provides, pxtone.bmp, in anyway you like." (Edit: In the readme I have it doesn't really say anything about a banner, although from what all these different sources say it's pretty clear that the software is free to use and the dev would appreciate being mentioned somewhere if possible)
Last edited by Kartoffel; 06/01/17 21:28.
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: 3run]
#466230
06/01/17 22:46
06/01/17 22:46
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Here's a first, wip version: download (Dropbox) (updated, see first post for download)
It's still missing some stuff and needs a few bugfixes.
Last edited by Kartoffel; 06/02/17 11:35.
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: 3run]
#466240
06/02/17 11:58
06/02/17 11:58
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
It worked here! I loved the tune btw! great to hear! and yeah, I really like the music in CaveStory, too Updated the plugin. Info and download in the first post
POTATO-MAN saves the day! - Random
|
|
|
Re: Acknex pxtone plugin
[Re: 3run]
#466244
06/02/17 21:44
06/02/17 21:44
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I won't make a tool for creating/editing those files. There's already the official "pxtone Collage" and it would take ages to create a program that can match it's level (or even a better one).
POTATO-MAN saves the day! - Random
|
|
|
|