Burnett01 / pxd-to-wav

Simple PXD-TO-WAV converter
GNU General Public License v3.0
11 stars 3 forks source link

How to use #1

Closed creativeart closed 3 years ago

creativeart commented 6 years ago

Hello,

I love Ejay samples. Is there a tutorial how to use your script ? In this way I will be able to transform all ejay to wav (finally).

Thank you.

Burnett01 commented 5 years ago

@creativeart Hello, thanks for reaching out.

In order to run the program, simply clone my project and open it in Visual Studio, I used Visual Studio 14 back then. Once you have access to the project in Visual Studio, open the pxd_to_wav.cpp file and edit the paths to your audio files:

See here: https://github.com/Burnett01/pxd-to-wav/blob/92a9f2ceca71c7bc5ce51c128b5ac87785947f03/pxd-to-wav/pxd_to_wav.cpp#L28

Run/Compile the program and that's pretty much it.

If you need further help or if you can't get it done, I'm willing to provide pre-built binaries. Let me know if that works for you.

Cheers, Steven.

P.S. I've updated the link to the DLL file: https://www107.zippyshare.com/v/um9Z20Ue/file.html

glassybrick commented 5 years ago

Hey, can you re-upload ? Old link seems dead 😔

Burnett01 commented 5 years ago

@glassybrick Sure thing! I will re-upload the DLL file, this evening. Thanks for reporting the broken one. Cheers, Steve

glassybrick commented 5 years ago

I’m not familiar with Visual Studio, have no idea what I should setup

Is it possible to get .exe file ? Sorry for asking, I’m not clearly understand how this converter works 😅

Burnett01 commented 5 years ago

@glassybrick Okay, no problem. Based on this code, I am going to write a small programm that can convert all PXD files in a directory.

Burnett01 commented 5 years ago

@glassybrick Quick update: While writing the converter program, I noticed how RWavToTemp causes problems (crashes) when called multiple times. I will have to fix the issue before I see fit to release it.

Please check back in the next couple of days. It should be ready by then. Thank you,

Cheers, Steve

glassybrick commented 5 years ago

@Burnett01 great! I wanna say many people looking for this program sooo long time. I guess it will be popular 100% 😄

Btw it will convert one big pxd (~400mb each disk) ?

Burnett01 commented 5 years ago

Btw it will convert one big pxd (~400mb each disk) ?

Yes I think that should be possible

glassybrick commented 5 years ago

Btw it will convert one big pxd (~400mb each disk) ?

Yes I think that should be possible

cant wait to test it :)

Burnett01 commented 5 years ago

I've updated the README link to the DLL file.

Will upload the new converter code and binary (.exe) later this week.

glassybrick commented 5 years ago

@burnett01 Hi! Any news ? 🖖🏼

Burnett01 commented 5 years ago

Hi, I have uploaded the source code and a pre-compiled binary (.exe) file to a separate folder.

Please follow the instructions in the README and let me know how it works for you.

https://github.com/Burnett01/pxd-to-wav/tree/master/pxd-to-wav-converter

Cheers, Steven

glassybrick commented 5 years ago

@Burnett01 downloaded, put in folder with Dance40 (its file with samples) & Dance40.inf. Run pxd_to_wav_conv.exe and there: Library couldn't be linked!

Burnett01 commented 5 years ago

Hi, please put the DLL into same folder like the .exe

https://1drv.ms/u/s!Aoi5JP1ZB3HGqlXjlJIsoyoflNcG

I forgot to mention

glassybrick commented 5 years ago

@Burnett01 downloaded, put it in same folder with: DANCE40 DANCE40.inf pxd_to_wav_conv.exe

Run pxd_to_wav_conv.exe 1 sec black screen (cmd) and nothing happened :(

Burnett01 commented 5 years ago

Okay, can you check what files were created after running the programm? I

glassybrick commented 5 years ago

@Burnett01 there any created files https://imgur.com/9zdAenk i run exe file, black screen popup and immediately disappears

W10 x64 1809

creativeart commented 5 years ago

Same here, a black dos windows appears, then it close.

Le mer. 15 mai 2019 à 16:41, glassybrick notifications@github.com a écrit :

@Burnett01 https://github.com/Burnett01 there any created files https://imgur.com/9zdAenk i run exe file, black screen popup and immediately disappears

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Burnett01/pxd-to-wav/issues/1?email_source=notifications&email_token=AA6RV3P6GOINQPJKJQLAUD3PVQOJPA5CNFSM4GECDWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVO4IDQ#issuecomment-492684302, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6RV3L7JQNJRU7D5Z22NGDPVQOJPANCNFSM4GECDWPQ .

--

http://goog_1214417030 https://creativeart.be Creative Art Ludovic Charlier

+32 494 70 43 33 <+32494704333> www.creativeart.be https://creativeart.be

Burnett01 commented 5 years ago

Please try the following: Search for .PXD files on your computer and place the .exe and DLL right there. The PXD file must have the .PXD extension. See my screenshot below:

2019-05-15 17_31_28-ASD

glassybrick commented 5 years ago

okey, now i try it and here what i get: 1st problem was in case letters. ALL PXD files should be capital letters. thats why it doesnt work first time. 2nd one sc

now i get TMP files and looks like it works, but no wav.

P.S. With capital letters i was wrong, trying convert new file, and again 1st problem PP.SS. works only if file extension in CAPITAL letters :D but no wav file, only tmp

Burnett01 commented 5 years ago

Okay thanks for reporting the issues. According to your screenshot it looks like the converter does not convert the TMP file to WAV. I'm not sure if this is because you are using Windows 10 (I'm using Windows 7) but I will check it.

Regarding the uppercased '.PXD': I will release a version where both (upper and lowercased) are accepted.

rastamangames commented 5 years ago

Same problem here on Win10 64x. Visual Studio tells me, that "Library couldn't be linked!". (Also there is a pain in the brain to get this worked anyway.) Another solution gives me the tmp file, but not wav. Can't wait for turther news.

Burnett01 commented 5 years ago

Yes there seems to be a problem when using Win10. I will have to test this on a computer with Windows 10 - I'm still using Win 7. I might get access to a Win 10 device next week. Stay tuned

Burnett01 commented 5 years ago

Still haven't got a chance to get my hands on a Windows 10 device. Will keep you updated guys

Burnett01 commented 5 years ago

@elyday @timedotcc Hey guys, if you have time would you be willing to test my converter on your Windows 10 device please?

Converter: https://github.com/Burnett01/pxd-to-wav/tree/master/pxd-to-wav-converter

If you need a .PXD file for testing, please let me know. If you cannot test it, no worries :)!

Thank you in advance!

elyday commented 5 years ago

Yeah give me a pxd file and then i will test @Burnett01

glassybrick commented 5 years ago

@Burnett01 hello! downloaded new version:

  1. i get No Library when i run pxd_to_wav_conv.exe (in same folder i have pxd_to_wav_conv.cpp & DANCE40 (400mb file) <--- i renamed extension to PXD, it also have DANCE40.inf

  2. when i put in same folder pxd32d5_d4.dll file, it comes with same problem what was before [img]https://i.imgur.com/vGPAttL.jpg[/img]

also same issue if i use PxD_Extractor_V1.5_Betta (to extract PXD sounds from 1 big file DANCE40) Annotation 2019-10-04 123206

Burnett01 commented 5 years ago

Here is a zip archive containing the PXD file I used for testing. Also included the TMP and final WAV file in there. Please do me a favour and test that PXD file and let me know if it works. From what I can tell already is that some PXD files are prone to causing crashes.

Audio_e.zip

a90doomguy commented 4 years ago

Screenshot_36 i did tried but on w10 still not converting any help please !

a90doomguy commented 4 years ago

It creates .temp instead of .wav image

a90doomguy commented 4 years ago

image

a90doomguy commented 4 years ago

i tried with your latest file and the same .

Burnett01 commented 4 years ago

Ok this is good actually! The tmp file is needed to generate the wav. Like I said somewhere above, the wav converter is prone to errors. Looks like it is win 10 but could be something else. Will keep you updated on my wav replacement

a90doomguy commented 4 years ago

Hey Burnett01 , first , i would love to thank you for the effort u done in here regarding converting pxd file to wav , however time will take to make it happen , this is something many people i know ask me about ! our childhood with Ejay is unforgotten , and making good music will be because of you , why that ? because this possibility of converting will let us understand more the samples and make more precious songs and get inspired ! you are the man my friend ! and you can be the key to this little problematic we have us the composers and Dj ! Thank you from the button of the heart man . Greetings (About windows 10 , yes i think its the one causing this issue)

capntanaka commented 4 years ago

Hello, strange question maybe, but does this work on Windows 7? I have Windows 10 but I can access a Windows 7 computer if needed to run this. I've tried using it on Windows 10 Professional and encounter the same issue as above. It opens cmd.exe, begins its' programme, creates a small .tmp file and then closes. With another .pxd it doesn't create any .tmp file. I've tried running it as admin, and all of the various compatibility modes to no avail. I am genuinely surprised at this sort of project being active mind haha, but also incredibly glad!

Burnett01 commented 4 years ago

Hey, yes please run it on a windows 7 pc and report back please. I've been trying to pinpoint the issue lately, but haven't had any success. Will keep checking and testing

UKPR0 commented 4 years ago

Hi everyone, I've just joined as ironically I recently dragged out my copies of Dance eJay 3 & 4 and Techno eJay 3 and ran into the same issue. I would also like to be able to convert the .pxd files into .wavs to mess around with as I produce music. I have absolutely no coding experience whatsoever!

I also managed to find around 900mb of various eJay loops and samples recently, if anyone would like these I coukd probably provide a download link.

a90doomguy commented 4 years ago

yes i'd love to , are the samples a wav format or just pxd ?

Le ven. 27 déc. 2019 à 12:40, UKPR0 notifications@github.com a écrit :

Hi everyone, I've just joined as ironically I recently dragged out my copies of Dance eJay 3 & 4 and Techno eJay 3 and ran into the same issue. I would also like to be able to convert the .pxd files into .wavs to mess around with as I produce music. I have absolutely no coding experience whatsoever!

I also managed to find around 900mb of various eJay loops and samples recently, if anyone would like these I coukd probably provide a download link.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Burnett01/pxd-to-wav/issues/1?email_source=notifications&email_token=AMAYIWOO4MIQUVQPS4NYYP3Q2XSTHA5CNFSM4GECDWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHXBWTI#issuecomment-569252685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAYIWLSN6U2GI237EYYIHTQ2XSTHANCNFSM4GECDWPQ .

UKPR0 commented 4 years ago

yes i'd love to , are the samples a wav format or just pxd ? Le ven. 27 déc. 2019 à 12:40, UKPR0 notifications@github.com a écrit :

The eJay samples I found? They are .wav

To save me some work the samples can be found here: https://joaogusmao.music.blog/2017/06/28/freejay/

eJay Samples

a90doomguy commented 4 years ago

Thank you very much man !

Le ven. 27 déc. 2019 à 22:18, UKPR0 notifications@github.com a écrit :

yes i'd love to , are the samples a wav format or just pxd ? Le ven. 27 déc. 2019 à 12:40, UKPR0 notifications@github.com a écrit :

The eJay samples I found? They are .wav

To save me some work the samples can be found here: https://joaogusmao.music.blog/2017/06/28/freejay/ http://url

[image: eJay Samples] https://user-images.githubusercontent.com/59281461/71532986-31242000-28ee-11ea-98da-9848cd82e8a9.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Burnett01/pxd-to-wav/issues/1?email_source=notifications&email_token=AMAYIWOBORYIHVUNOPLHH2LQ2ZWKZA5CNFSM4GECDWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHXY25Y#issuecomment-569347447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAYIWMBCYTJU47GHVGLM5TQ2ZWKZANCNFSM4GECDWPQ .

creativeart commented 4 years ago

Does it work on Windows 10 64 bits ? I would like so much ejay samples from "Dance Ejay 2" and "Dance Ejay 3" :( I have original CD here but I can't find the way to start that.

Burnett01 commented 4 years ago

Maybe we can revive this project again? Do you guys have access to IDA or any other reverse engineering bench? We could then debug those procedure calls on a Windows 10 device, to see what's going wrong.

It is almost October 2020 and I still haven't got access to a Windows 10 device, haha. I worked with Windows 10 on some corporate computers only, hence I could not use them for my private stuff. Recently I got a Mac Book Pro, instead of a Windows 10 device. Due to the huge amount of code and projects I have on my Windows 7 Laptop, I can't tell whether I can make the full switch to Windows 10 by the end of this year.

This project could use some maintainers that can use a debugger and fix/improve the code for the community. I'll try to dedicate my time again, every now and then.

Greetings, Steve

glassybrick commented 4 years ago

@Burnett01 maybe there chance to use bootcamp or parallels ?

vomitspit commented 4 years ago

Hey, thanks so much for having a go at this!

I really want to get some samples from an old music making game I used to play (Top of the Pops Mix Factory) but I can't get the software to run on any computer and can't find any way to even play/hear the PXD files, so converting them is my last resort (unless anyone has any suggestions). I've tried running your executable as described on an old laptop running Windows Vista but was faced with the same issues as the Windows 10 guys. I've got a MacBook pro as well and was thinking of playing around with visual studio code and your source code but I have very little dev experience so it's a bit of a long shot. If you look into this again or have any tips please let me know! I'd love to get those samples somehow.

Thanks again. Charlie

a90doomguy commented 4 years ago

if anyone makes this works perfectly , please do Ejay Rave Samples on a zip and upload it on medifire or megaupload

DJFliX commented 4 years ago

When running this on Win10/VS2019 the following exception is thrown after the call to RWavToTemp:

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

Also it seems that the code provided in this repository does nothing with the .INF file so I'm not sure how it would convert these massive 500MB eJay collections into separate wave files...

Good news is that when clicking 'continue' in the debugger the wave file (for the first sample in the PXD) is actually created. So despite the arguments not matching for the call to RWavToTemp it does seem to actually work 🤷

Burnett01 commented 4 years ago

You are right, that behaviour is inconsistent. Thanks for testing it on Win 10. Further rev-engineering with IDA-Pro or any other DA is required to check what's missing.

DJFliX commented 4 years ago

I'd like to help but I have no experience with rev engineering tools and my C++ (outside of Arduino) is quite rusty :(. I'm currently attempting to do it using NodeJS instead. If I get anywhere I'll let you know :). The parsing of the INF files is done, now I 'just' need to call the native library.

MolotFx commented 3 years ago

Hey! Are there any advances in this topic? You guys are really cool! You have instilled hope that many will be able to touch those emotions from childhood again.

creativeart commented 3 years ago

I hope someone will find a solution one day :)