PiyoPiyo Hacking

Feb 26, 2013 at 7:34 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Aug 21, 2012
Location: At a computer
Posts: 333
I have a few questions about hacking the piyopiyo system, and im wondering if anybody knows the answers:

1.How would i make piyopiyo windowed? I am making an orgmaker version of a piyopiyo song for my mod, but i can't keep opening piyopiyo every time i have to add more measures.

2.Has anyone done any research to how the piyopiyo format works?

3.(Continuation of number 2)If someone has/does, would it be possible to replace cave story's org system with piyopiyo? And if so, would npc's and stuff need to be removed?
 
Feb 26, 2013 at 7:42 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: 5998
Feb 26, 2013 at 7:47 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Aug 21, 2012
Location: At a computer
Posts: 333
Noxid said:
1. http://sourceforge.net/projects/dxwnd/
2. Not extensively as far as I know, but it can't be too complex.
3. Not within the realm of feasibility
Heh, dxwnd? I used to use that to play sonic r, but completely forgot about it. Thanks for reminding me of it!
Also, so it would be hard to put into cave story, but still possible?
 
Feb 26, 2013 at 7:49 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: 5998
Nothing is impossible, but that doesn't necessarily make it possible.
 
Feb 26, 2013 at 9:28 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Aug 21, 2012
Location: At a computer
Posts: 333
How do i start researching the .PMD format? I've tried to open .pmd files in notepad (lol), with every encoding it can use to see if there are any pattern's of characters (for files i make that have note patterns), but all i see is gibberish.
 
Feb 26, 2013 at 11:07 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: 5998
that's because it's not a text format
the simplest way to examine it would be to open it up in a hex editor so you can line everything up neatly. For example, here's (part of) one of the pmd files I have
p165152-0-qjyrjre.png

Just from what I can see here, I'm guessing that the first 4 bytes are a file identifier, 0x4-0xB is some kind of header, 0xC to 0x40B is the raw WAV sample data for each of the instruments, and then from 0x40C onward is event data for each of the tracks.
Those are just guesses though, you can find out what it does by changing some bytes and seeing what effect it has when you load it.
That's p much all there is to it.
 
Top