Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

How to use #1

Closed
creativeart opened this issue Nov 15, 2018 · 68 comments
Closed

How to use #1

creativeart opened this issue Nov 15, 2018 · 68 comments

Comments

@creativeart
Copy link

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
Copy link
Owner

Burnett01 commented Nov 30, 2018

@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:

char *PXD = "C:\\PATH_TO_PXD.pxd";

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
Copy link

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

@Burnett01
Copy link
Owner

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

@Burnett01 Burnett01 pinned this issue Apr 15, 2019
@glassybrick
Copy link

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
Copy link
Owner

@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
Copy link
Owner

@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
Copy link

glassybrick commented Apr 16, 2019

@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
Copy link
Owner

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

Yes I think that should be possible

@glassybrick
Copy link

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

Yes I think that should be possible

cant wait to test it :)

@Burnett01
Copy link
Owner

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

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

@glassybrick
Copy link

@Burnett01 Hi! Any news ? 🖖🏼

@Burnett01
Copy link
Owner

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
Copy link

@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
Copy link
Owner

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

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

I forgot to mention

@glassybrick
Copy link

@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
Copy link
Owner

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

@glassybrick
Copy link

glassybrick commented May 15, 2019

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

W10 x64 1809

@creativeart
Copy link
Author

creativeart commented May 15, 2019 via email

@Burnett01
Copy link
Owner

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
Copy link

glassybrick commented May 15, 2019

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

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
Copy link
Owner

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

@Burnett01
Copy link
Owner

@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
Copy link

elyday commented Oct 1, 2019

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

@glassybrick
Copy link

@Burnett01 maybe there chance to use bootcamp or parallels ?

@vomitspit
Copy link

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
Copy link

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

@DJFliX
Copy link

DJFliX commented Nov 14, 2020

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
Copy link
Owner

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
Copy link

DJFliX commented Nov 18, 2020

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
Copy link

MolotFx commented Feb 15, 2021

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
Copy link
Author

I hope someone will find a solution one day :)

@Burnett01
Copy link
Owner

Hello guys, I'm finally settled on a Windows 10 workstation. In the last years I was using Windows 7 and Mac OS as stated earlier, hence my inability to test this on Windows 10.
As soon as I get time I will set this up running on Windows 10. Meanwhile also check out this repository here (https://github.com/paator/PXDConverter) @paator also wrote a converter.

@paator
Copy link

paator commented Apr 2, 2021

Hi guys, @Burnett01 thanks for mentioning. I just uploaded a compiled .exe if anyone is interested. Works on win10.
Best regards:)

@creativeart
Copy link
Author

Do you have a tutorial or a video to show how to use it for a non-developer person ? ^^ Thank you so much.

@Burnett01
Copy link
Owner

@creativeart Basically you download @paator's compiled .EXE file from here: https://github.com/paator/PXDConverter/releases/tag/v1.0

and follow his instructions here: https://github.com/paator/PXDConverter#usage

Please let us know if it works! Thank you very much

@paator
Copy link

paator commented May 15, 2021

Hey all, I just released a small update. You can now specify a directory where compiled program should search for all .pxd files recursively and convert them all at once:))
cheers

@a90doomguy
Copy link

Hey all, I just released a small update. You can now specify a directory where compiled program should search for all .pxd files recursively and convert them all at once:))
cheers

2021-05-16.00-58-04_Trim.mp4

I tried to do for one file it works , but for many didn't work

@paator
Copy link

paator commented May 16, 2021

@a90doomguy run program (version 1.1) through terminal using -all argument. Like this:

PXDConverter.exe -all

Drag and drop is a nice idea for converting multiple files, I may add this feature as well in future.
Hope it helps!:))

@a90doomguy
Copy link

@paator Please help me out , i don't understand anything by saying terminal .. can you please record a quick video to show me how to do it ?
Sincerely

@a90doomguy
Copy link

image
is this how i should do it ?

@paator
Copy link

paator commented May 16, 2021

First use this command:
cd E:\Rave\RAVE\AA\
to move your terminal to folder where converter .exe is located.
Then this one:
PXDConverter.exe -all
Let me know if it works!:)
cheers

@a90doomguy
Copy link

this is what happened when i did that
image

@a90doomguy
Copy link

wait a second , i downloeded your latest version (i had the old one) and it's working now 👍
image

@paator
Copy link

paator commented May 16, 2021

Nice! Im happy it works :octocat:

@glassybrick
Copy link

glassybrick commented May 22, 2021

First use this command:
cd E:\Rave\RAVE\AA\
to move your terminal to folder where converter .exe is located.
Then this one:
PXDConverter.exe -all
Let me know if it works!:)
cheers

image
i have this problem, when using -all

image
image

@glassybrick
Copy link

ok, i have same issue as a90doomguy
I'm use old version 👴
Downloaded 1.1 - ok

@paator
Copy link

paator commented May 23, 2021

That's great:)
If you experience more issues with my converter, please post them on my repository page.
You will have a greater chance to get my response, as I don't check this issue thread too often ;)

Cheers

@glassybrick
Copy link

glassybrick commented May 24, 2021

That's great:)
If you experience more issues with my converter, please post them on my repository page.
You will have a greater chance to get my response, as I don't check this issue thread too often ;)

Cheers

I have other problem, but it goes to PXD extractor, seems he can't extract PXD files from one big PXD from Dance Ejay 5 and above

@Burnett01
Copy link
Owner

Burnett01 commented May 24, 2021

Thank you very much for participating in this discussion and testing over the past 2 1/2 years.
It's been a fun ride with you all and thanks to @paator, there now is a Windows 10 compiliant version that actually works.
With that being said, feel free to head over to https://github.com/paator/PXDConverter and use his converter.
If you experience problems, please open an issue there too (https://github.com/paator/PXDConverter/issues)

Once again, thanks to all 12 participants for contributing, stay safe 🥇

Greetings, Steve

@Burnett01 Burnett01 unpinned this issue May 24, 2021
@Burnett01 Burnett01 pinned this issue May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests