Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (degenerate_762), 1,098 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Acknex pxtone plugin #466226
06/01/17 21:12
06/01/17 21:12
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline 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)

Code:
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 Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hey!

I'm always interested in oldschool stuff! grin Would be great to have such a useful tool! What about license stuff?

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
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 Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Well, my Japanese sucks and so does Google Translate. grin

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: Kartoffel] #466229
06/01/17 21:26
06/01/17 21:26
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Great to hear this! Looking forward for it! laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
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 Offline OP
Expert
Kartoffel  Offline 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: Kartoffel] #466231
06/01/17 22:56
06/01/17 22:56
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
It worked here! I loved the tune btw! laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
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 Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Originally Posted By: 3run
It worked here! I loved the tune btw! laugh
great to hear! and yeah, I really like the music in CaveStory, too laugh

Updated the plugin. Info and download in the first post wink


POTATO-MAN saves the day! - Random
Re: Acknex pxtone plugin [Re: Kartoffel] #466243
06/02/17 20:22
06/02/17 20:22
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Updated version works as well! Will your wrapper be able only to load .ptcop files, or are you planning to use if for creating them too?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
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 Offline OP
Expert
Kartoffel  Offline 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
Re: Acknex pxtone plugin [Re: Kartoffel] #466245
06/02/17 21:52
06/02/17 21:52
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Well, being able to load them into the Acknex is already awesome! And it might be a right way to do, not even trying to pull those creating/editing tools into the wrapper. Gonna check that 'pxtone Collage' out.

Best regards man! Thank you and keep it up! laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1