Org2x Custom Drums done the RIGHT way

Old topic!
The last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.
Jul 5, 2017 at 12:36 AM
Everything you hate about humanity
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Sep 22, 2012
Location: Hell
Posts: 502
Alright listen up I'm gonna tell you how to do the drum stuff without using a hex editor, because fuck, I don't know this shit, so I better just experiment and find a way how to do things, and wow, something popped up in my head and I was like 'Oh yeah pixel made pxtone which has pxnoise which can open and save wavs", so I went out of my way to test something, and wow it fucking worked.

Step 1:
Open that sample in audacity


Step 2:
Change its rate to 22050Hz just to play it safe, you can figure out how to do this on your own, it's best to just change the rate rather than resampling, as it's better to just keep ya pitch a little lower.

Step 3:
Make sure it's a 16-Bit PCM or else it won't fucking work.

Step 3 and knuckles:
Save it somewhere, make sure the file type is as follows


Step 5:
Open PtNoise, it comes included with PxTone, go to file > Load Wav, and load your sample.

Step 6: Save it (Save as if you want to play it safe)

7 Step:
Apply Noxid's Orgkutsu to your hack

8r8k:
Replace the wav in your hack with the wav you made

Cirno:
Congratulations, you did it, you can also do this for orgmaker without having to apply Noxid's Orgkutsu, speaking of which, here's a download since apparently Nox lost it:

For some reason links don't want to work for me, so you're just gonna have to copy and paste this into your searchbar.
https://mega.nz/#!U41x2aKJ!6x5TWuYYsbqMgtJarQXxzq69fjgX7uSdIjFdRlA2-OM

Now time to go back to dealing with people hating me just because I'm part of the forums.

Edit : if this is in the wrong forum, please move it mods.

I don't know how this works, it just does alright?
 
Last edited by a moderator:
Jul 5, 2017 at 6:20 AM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6175
Age: 34
The Orgkutsu link is broken, just fyi.
 
Jul 5, 2017 at 6:38 AM
Part-Time Perfectionist
CS Beta Content Discord Admin
"Bleep, Bloop, Bleep, Bloop"
Join Date: Dec 26, 2014
Location: the back of their own hand.
Posts: 1599
Age: 120
Lol, that's interesting. So apparently highlighting your text and then setting it as a link doesn't work.
But... it works just fine??
Solution to your problem might be refraining from using the rich text editor* and just using raw BBcode. Go uncheck this option in here.
If BBcode is a total mystery, then an official guide can be found here.

*Because rich text editors that use BBcode are consistently unreliable.
 
Last edited:
Jul 5, 2017 at 7:33 AM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6175
Age: 34
Lol, that's interesting. So apparently highlighting your text and then setting it as a link doesn't work.
You probably included some whitespace before the start of the url.
 
Last edited:
Aug 23, 2019 at 2:36 AM
Best elf
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2326
Age: 25
Thread bump, but I do wanna put this warning in here in case you're coming here from the Modding Guide thread. If you wish to use this hack, it will not work with <VAR, as one of the chunks of code shares addresses with part of the <VAR code itself, so unless you know how to move asm around (and it's not just copy/pasting the hex), be weary over this conflict.
 
Aug 25, 2019 at 4:34 AM
Part-Time Perfectionist
CS Beta Content Discord Admin
"Bleep, Bloop, Bleep, Bloop"
Join Date: Dec 26, 2014
Location: the back of their own hand.
Posts: 1599
Age: 120
Thread bump, but I do wanna put this warning in here in case you're coming here from the Modding Guide thread. If you wish to use this hack, it will not work with <VAR, as one of the chunks of code shares addresses with part of the <VAR code itself, so unless you know how to move asm around (and it's not just copy/pasting the hex), be weary over this conflict.
Would you rather that VAR or this was moved?
Also what's the patch for VAR?
 
Aug 25, 2019 at 5:26 AM
Best elf
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2326
Age: 25
It doesn't really matter honestly. There is a version of <VAR that uses up the Undead Core code (but then its either that or multi-save, not that i personally wanna use that hack anyway), but otherwise it's gonna have to be one or the other on 0x48bc00. I should research into this, tbh.
 
Aug 25, 2019 at 8:06 AM
Part-Time Perfectionist
CS Beta Content Discord Admin
"Bleep, Bloop, Bleep, Bloop"
Join Date: Dec 26, 2014
Location: the back of their own hand.
Posts: 1599
Age: 120
It doesn't really matter honestly. There is a version of <VAR that uses up the Undead Core code (but then its either that or multi-save, not that i personally wanna use that hack anyway), but otherwise it's gonna have to be one or the other on 0x48bc00. I should research into this, tbh.
*looks at <VAR*
Okay, this hack is an abomination.

0x48BC00 isn't used by the WAV ORG HACK. It only uses 0x48B900, and its code doesn't overlap.

Aha! Okay so they overlap at 0x48B9D0.

To (probably) make them compatible (I didn't test this, but it probably works):
Replace the VAR 0x48B9D0 patch with this
Code:
0x48BA00
55 8B EC 83 EC 04 8B 45 08 0F B6 08 83 F9 56 74
37 83 E9 30 69 C9 E8 03 00 00 89 4D FC 0F B6 48
01 83 E9 30 6B C9 64 01 4D FC 0F B6 48 02 83 E9
30 6B C9 0A 01 4D FC 0F B6 48 03 83 E9 30 01 4D
FC 8B 45 FC 8B E5 5D C3 0F B6 48 01 83 E9 30 6B
C9 64 89 4D FC 0F B6 48 02 83 E9 30 6B C9 0A 01
4D FC 0F B6 48 03 83 E9 30 01 4D FC 8B 45 FC D1
E0 05 90 E0 49 00 0F BF 00 8B E5 5D C3
And replace the VAR 0x48BC00 patch with this
Code:
0x48BC00
55 8B EC 83 EC 08 8B 45 08 50 E8 F1 FD FF FF 83
C4 04 89 45 FC 8B 45 08 83 C0 05 50 E8 DF FD FF
FF 83 C4 04 89 45 F8 8B 45 FC D1 E0 90 05 90 E0
49 00 8B 4D F8 66 89 08 8B E5 5D C3 55 8B EC 83
EC 0C 8B 45 08 50 E8 B5 FD FF FF 83 C4 04 89 45
FC 8B 45 08 83 C0 05 50 E8 A3 FD FF FF 83 C4 04
89 45 F8 8B 45 FC D1 E0 05 90 E0 49 00 89 45 F4
8B 45 08 83 C0 04 0F BE 10 83 FA 2B 74 13 83 FA
2D 74 19 83 FA 2A 74 1F 83 FA 25 74 2F 8B E5 5D
C3 8B 4D F8 8B 45 F4 66 01 08 EB F1 8B 4D F8 8B
45 F4 66 29 08 EB E6 8B 45 F4 66 0F BF 00 8B 4D
F8 0F AF C1 8B 4D F4 66 89 01 EB D1 8B 4D F4 66
0F BF 01 8B 4D F8 99 F7 F8 8B 4D F4 66 89 01 EB
BC 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 55 8B EC 83 EC 0C 8B 45 08 50 E8 FF FC FF
FF 83 C4 04 89 45 FC 8B 45 08 83 C0 05 50 E8 ED
FC FF FF 83 C4 04 89 45 F8 C7 45 F4 90 E0 49 00
FF 4D F8 83 7D F8 00 7C 12 8B 45 FC 03 45 F8 D1
E0 03 45 F4 33 D2 66 89 10 EB E5 8B E5 5D C3 55
8B EC 83 EC 10 8B 45 08 50 E8 B2 FC FF FF 83 C4
04 89 45 FC 8B 45 08 83 C0 05 50 E8 A0 FC FF FF
83 C4 04 89 45 F8 8B 45 08 83 C0 0A 50 E8 8E FC
FF FF 83 C4 04 89 45 F4 8B 45 08 83 C0 0F 50 E8
7C FC FF FF 83 C4 04 89 45 F0 8B 45 F4 6B C0 0C
05 97 BD 48 00 FF E0 8B 45 FC 8B 4D F8 3B C1 74
3E EB 4F 8B 45 FC 8B 4D F8 3B C1 75 32 EB 43 8B
45 FC 8B 4D F8 3B C1 7F 26 EB 37 8B 45 FC 8B 4D
F8 3B C1 7C 1A EB 2B 8B 45 FC 8B 4D F8 3B C1 7D
0E EB 1F 8B 45 FC 8B 4D F8 3B C1 7E 02 EB 13 8B
45 F0 50 E8 08 5D F9 FF 83 C4 04 33 C0 40 8B E5
5D C3 33 C0 EB F8 55 8B EC 83 EC 0C 8B 45 08 50
E8 FB FB FF FF 83 C4 04 89 45 FC 8B 45 08 83 C0
05 50 E8 E9 FB FF FF 83 C4 04 89 45 F8 8B 45 08
83 C0 0A 50 E8 D7 FB FF FF 83 C4 04 89 45 F4 8B
45 F8 50 8B 45 FC 50 E8 14 35 F8 FF 83 C4 08 8B
4D F4 D1 E1 81 C1 90 E0 49 00 66 89 01 8B E5 5D
C3 66 A1 CC E6 49 00 66 A3 90 E0 49 00 66 A1 D0
E6 49 00 66 A3 92 E0 49 00 A1 54 E6 49 00 C1 F8
09 C1 F8 04 66 A3 94 E0 49 00 A1 58 E6 49 00 C1
F8 09 C1 F8 04 66 A3 96 E0 49 00 A1 68 9C 49 00
6B C0 14 8B 88 D8 9B 49 00 66 89 0D 98 E0 49 00
A1 68 9C 49 00 6B C0 14 8B 88 D0 9B 49 00 8B 90
C8 9B 49 00 6B D2 0C 8B 80 CC 9B 49 00 48 8B 94
82 60 36 49 00 2B D1 83 FA 00 7D 02 33 D2 66 89
15 9A E0 49 00 0F B6 05 38 E6 49 00 C3 A1 D8 5A
4A 00 03 45 08 0F BE 08 83 F9 56 74 0A A1 D8 5A
4A 00 E9 19 5A F9 FF 83 45 08 01 A1 D8 5A 4A 00
03 45 08 0F BE 08 83 E9 30 6B C9 64 03 4D FC 89
4D FC 8B 55 08 83 C2 01 89 55 08 A1 D8 5A 4A 00
03 45 08 0F BE 08 83 E9 30 6B C9 0A 03 4D FC 89
4D FC 8B 55 08 83 C2 01 89 55 08 A1 D8 5A 4A 00
03 45 08 0F BE 08 83 E9 30 01 4D FC 8B 45 FC D1
E0 05 90 E0 49 00 0F BF 00 8B E5 5D C3 55 8B EC
83 EC 04 31 C0 89 45 FC EB 03 FF 45 FC 83 7D FC
1B 7F 19 FF 75 FC 8B 45 FC C1 E0 03 05 18 BB 48
00 50 E8 B9 42 F9 FF 83 C4 08 EB DE 8B E5 5D C3
6A 20 6A 00 68 90 56 4A 00 E8 92 4D FF FF 83 C4
0C E8 FA 41 F9 FF C3 0F B6 4C 10 12 89 4D F8 8B
95 68 FF FF FF 83 EA 08 8B 04 8D 40 57 4A 00 89
04 95 90 56 4A 00 C3
I did not even attempt to address the utterly disgusting code in the VAR hack. All I did was move the conflicting code over into free space.
 
Aug 25, 2019 at 1:49 PM
Part-Time Perfectionist
CS Beta Content Discord Admin
"Bleep, Bloop, Bleep, Bloop"
Join Date: Dec 26, 2014
Location: the back of their own hand.
Posts: 1599
Age: 120
It doesn't really matter honestly. There is a version of <VAR that uses up the Undead Core code (but then its either that or multi-save, not that i personally wanna use that hack anyway), but otherwise it's gonna have to be one or the other on 0x48bc00. I should research into this, tbh.
Sorry 'bout the double post. Re-coded that one patch, now it's about ~200 bytes smaller. And hopefully fixed the broken modulo function that nobody must've used. Also I added JB,JA,JBE and JNB (in order) to the conditional jumps list (unsigned variants of JG/JGE and JL/JLE). It's completely untested, but it should work. If it crashes or you find any pesky bugs, please let me know.

-Apply this instead of the 0x48BC00 ("VAR hex14") Hackinator TSC+ patch:
Code:
0x48BC00
C8 08 00 00 8B 45 08 50 E8 F3 FD FF FF 89 45 FC
58 83 C0 05 50 E8 E6 FD FF FF 89 45 F8 58 83 E8
05 D1 E0 05 90 E0 49 00 8B 4D F8 66 89 08 C9 C3
C8 0C 00 00 8B 45 08 50 E8 C3 FD FF FF 89 45 FC
58 83 C0 05 50 50 E8 B5 FD FF FF 89 45 F8 58 83
E8 05 D1 E0 05 90 E0 49 00 89 45 F4 58 48 8B 00
8B 4D F8 8B 5D F4 3C 2B 74 0E 3C 2D 74 0F 3C 2A
74 10 3C 25 74 17 C9 C3 66 01 0B C9 C3 66 29 0B
C9 C3 8B 03 66 0F AF C1 66 89 03 C9 C3 66 8B 03
66 99 66 F7 F9 66 89 13 C9 C3 CC CC CC CC CC CC
C8 08 00 00 8B 45 08 50 E8 53 FD FF FF 89 45 FC
58 83 E8 05 50 E8 46 FD FF FF 91 58 8B 45 FC 01
C8 D1 E0 05 90 E0 49 00 66 83 20 00 E2 EE C9 C3
C8 10 00 00 8B 45 08 50 E8 23 FD FF FF 89 45 FC
58 83 C0 05 50 E8 16 FD FF FF 89 45 F8 58 83 C0
05 50 E8 09 FD FF FF 89 45 F4 58 83 C0 05 50 E8
FC FC FF FF 89 45 F0 6B 45 F4 04 05 00 BD 48 00
8B 4D FC 8B 55 F8 39 D1 FF E0 74 28 EB 37 75 24
EB 33 7F 20 EB 2F 77 1C EB 2B 7C 18 EB 27 7D 14
EB 23 7E 10 EB 1F 77 0C EB 1B 72 08 EB 17 73 04
EB 13 77 11 8B 45 F0 50 E8 A3 5D F9 FF 83 C4 04
33 C0 40 C9 C3 31 C0 C9 C3 CC CC CC CC CC CC CC
C8 0C 00 00 8B 45 08 50 E8 93 FC FF FF 89 45 FC
58 83 C0 05 50 E8 86 FC FF FF 89 45 F8 58 83 C0
05 50 E8 79 FC FF FF 89 45 F4 58 FF 75 F8 FF 75
FC E8 BA 35 F8 FF 59 59 8B 4D F4 D1 E1 81 C1 90
E0 49 00 66 89 01 C9 C3 CC CC CC CC CC CC CC CC
A1 CC E6 49 00 66 A3 90 E0 49 00 A1 D0 E6 49 00
66 A3 92 E0 49 00 A1 54 E6 49 00 C1 F8 0D 66 A3
94 E0 49 00 A1 58 E6 49 00 C1 F8 0D 66 A3 96 E0
49 00 6B 0D 68 9C 49 00 14 BB C8 9B 49 00 8B 44
0B 10 66 A3 98 E0 49 00 8B 4C 03 08 6B 14 03 0C
8B 44 03 04 48 8B 94 82 60 36 49 00 29 CA 7D 02
33 D2 66 89 15 9A E0 49 00 31 C0 A0 38 E6 49 00
C3 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
A1 D8 5A 4A 00 03 45 08 0F BE 08 83 F9 56 74 0A
A1 D8 5A 4A 00 E9 19 5A F9 FF 83 45 08 01 A1 D8
5A 4A 00 03 45 08 0F BE 08 83 E9 30 6B C9 64 03
4D FC 89 4D FC 8B 55 08 83 C2 01 89 55 08 A1 D8
5A 4A 00 03 45 08 0F BE 08 83 E9 30 6B C9 0A 03
4D FC 89 4D FC 8B 55 08 83 C2 01 89 55 08 A1 D8
5A 4A 00 03 45 08 0F BE 08 83 E9 30 01 4D FC 8B
45 FC D1 E0 05 90 E0 49 00 0F BF 00 8B E5 5D C3
55 8B EC 83 EC 04 31 C0 89 45 FC EB 03 FF 45 FC
83 7D FC 1B 7F 19 FF 75 FC 8B 45 FC C1 E0 03 05
18 BB 48 00 50 E8 B9 42 F9 FF 83 C4 08 EB DE 8B
E5 5D C3 6A 20 6A 00 68 90 56 4A 00 E8 92 4D FF
FF 83 C4 0C E8 FA 41 F9 FF C3 0F B6 4C 10 12 89
4D F8 8B 95 68 FF FF FF 83 EA 08 8B 04 8D 40 57
4A 00 89 04 95 90 56 4A 00 C3
-Apply this instead of the 0x48B9D0 ("VAR hex3") Hackinator TSC+ patch:
Code:
0x48BA00
55 8B EC 83 EC 04 8B 45 08 0F B6 08 83 F9 56 74
37 83 E9 30 69 C9 E8 03 00 00 89 4D FC 0F B6 48
01 83 E9 30 6B C9 64 01 4D FC 0F B6 48 02 83 E9
30 6B C9 0A 01 4D FC 0F B6 48 03 83 E9 30 01 4D
FC 8B 45 FC 8B E5 5D C3 0F B6 48 01 83 E9 30 6B
C9 64 89 4D FC 0F B6 48 02 83 E9 30 6B C9 0A 01
4D FC 0F B6 48 03 83 E9 30 01 4D FC 8B 45 FC D1
E0 05 90 E0 49 00 0F BF 00 8B E5 5D C3
-Apply this over the Hackinator TSC+ patch:
Code:
0x42262A
02
0x42264A
52
0x42266A
62
0x42268E
CE
0x4225CC
E0 97
0x42190C
20
I could not figure out what some of the VAR hex14 patch was for (functions that were seemingly never called or referenced), so I didn't bother optimising those. If you find any references to 0048BFA7, 0048BF5D or 0048BEDD, they should be adjusted to 0048BE30, 0048BEB0 and 0048BEFA respectively.
 
Aug 25, 2019 at 11:23 PM
Best elf
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2326
Age: 25
I'll take a look at it, work has been keeping me busy today. Also, you're working on that with the Hackinator TSC+ hack, while I still have to fully release the Improved version, oops
 
Top