Comments
Apollon ☦ May 29 @ 3:39am 
Oh wow, I didn't know that! Also, I presume E2 now has the features necessary to implement MIDI playback? Would love to see that happening at some point.
Jcw87 May 28 @ 9:00am 
If I were to ever make a new version, I would have it try to play the MIDI directly. This would avoid the loss of information on more complex MIDIs. I never would have considered this 16 years ago, as the Expression 2 was lacking in some important features that makes creating more complex chips difficult (like custom functions), and Garry's Mod was lacking the ability to load binary files from Lua due to relying on the Lua function that pushes normal NULL terminated strings instead of the Lua function that pushes strings with a defined length. Fun fact: I'm the one who managed to convince Garry to add support for binary files.
Apollon ☦ May 28 @ 2:12am 
@Jcw87 Thank you for the response. I've used simple MIDIs but I still don't get any sound at all. I have a button wired correctly, too. Still, that converter is a great idea! Do you think you'd ever make an updated version?
Jcw87 May 27 @ 5:19pm 
@Apollon The only thing you should need to do is wire a button to it and then press the button to start it. But, I did make that around 16 years ago. Any number of things could have changed to break it. Maybe it's just the server you are trying it on. Or it could be that the MIDI is too complex to ever sound good. I mostly used MIDIs that came from a program that converted NES music to MIDI.
Apollon ☦ May 27 @ 1:54pm 
Hello! I stumbled upon your MIDI to Expression 2 converter, however when I tried to use the generated code in-game, I couldn't get it to work. Am I missing something? What's the correct way to use the generated E2?
Agoni00441 Jan 7 @ 9:11am 
YOU'RE THE BEST I'VE BEEN STUCK AT THE SAME THING OVER AND OVER. jokes aside tho, i really appreaciate that you took ur time to awnser these question. god bless ur soul and i hope you have a good life man, i wish u the best :)
Jcw87 Jan 7 @ 2:36am 
There's a distinct lack of a delay anywhere during the loop. This is likely to set off the infinite loop detection. I used a delay of 0.06666 on the jump at the end. Also, I believe function names are case sensitive, and I see a lowercase "sub" controlling your LoopVar.
Agoni00441 Jan 6 @ 9:49am 
it still doesnt work tho :/ heres the code
----
0,CombatZoneResizeInstant,239,226,404,391,,,,
0,HeartTeleport,320,310,,,,
0.7,HeartMode,0,,,,
0,SET,gt,0,,,,,,
0,SET,gin,1,,,,,,
0,SET,LoopVar,10,,,,,
0,:startloop,,,,,
0,JMPZ,endloop,$LoopVar,,,,,
0,sub,LoopVar,$LoopVar,1,,,,,
0,MUL,Ang,$gt,-10,,,,,
0,COS,X,$Ang,,,,,,
0,SIN,Y,$Ang,,,,,,
0,MUL,EndX,$X,150,,,,,
0,MUL,EndY,$Y,150,,,,,
0,MUL,X,$EndX,3,,,,,
0,MUL,Y,$EndY,3,,,,,
0,ADD,X,$X,320,,,,,
0,ADD,Y,$Y,306,,,,,
0,ADD,EndX,$EndX,320,,,,,
0,ADD,EndY,$EndY,306,,,,,
0,ADD,Ang,$Ang,180,,,,,
0,GasterBlaster,0,$X,$Y,$EndX,$EndY,$Ang,0.5,0,,,,,
0,ADD,gt,$gt,$gin,,,,,
0,ADD,gin,$gin,0.015,,,,,
0,JMPABS,startloop,,,,,
0,:endloop,,,,,
----
im so dumb. maybe try writing the code for me maybe? eitherways i really appreciate that you take ur time to awnser my dumbass questions
Jcw87 Jan 5 @ 2:41pm 
The "gt" and "gin" variables are supposed to keep their values between iterations of the loop, so your label should appear after setting those. Pay closer attention to the line numbers from what you copied. Also, there is no JMP, because there are 2 unconditional jump instructions, JMPREL, and JMPABS. You should use JMPABS, because a jump to a label is an absolute jump, and not a relative jump.
Agoni00441 Jan 5 @ 9:42am 
hey again, so i have wrote this code

0,CombatZoneResizeInstant,239,226,404,391,,,,
0,HeartTeleport,320,310,,,,
0.7,HeartMode,0,,,,
0,SET,LoopVar,10,,,,,
0,:startloop,,,,,
0,JMPZ,endloop,$LoopVar,,,,,
0,sub,LoopVar,$LoopVar,1,,,,,
0,SET,gt,0,,,,,,
0,SET,gin,1,,,,,,
0,MUL,Ang,$gt,-10,,,,,
0,COS,X,$Ang,,,,,,
0,SIN,Y,$Ang,,,,,,
0,MUL,EndX,$X,150,,,,,
0,MUL,EndY,$Y,150,,,,,
0,MUL,X,$EndX,3,,,,,
0,MUL,Y,$EndY,3,,,,,
0,ADD,X,$X,320,,,,,
0,ADD,Y,$Y,306,,,,,
0,ADD,EndX,$EndX,320,,,,,
0,ADD,EndY,$EndY,306,,,,,
0,ADD,Ang,$Ang,180,,,,,
0,GasterBlaster,0,$X,$Y,$EndX,$EndY,$Ang,0.5,0,,,,,
0,ADD,gt,$gt,$gin,,,,,
0,ADD,gin,$gin,0.015,,,,,
0,JMP,startloop,,,,,
0,:endloop,,,,,

but it doesnt work, could you maybe earse mistakes/correct them?
Agoni00441 Jan 5 @ 8:18am 
very much appreciated! i thank you really much :)
Jcw87 Jan 4 @ 3:37pm 
That part of the attack uses several variables and a loop to create the gasterblasters in a circle. You should be able to just copy+paste this section, with 1 minor snag.

https://github.com/Jcw87/c2-sans-fight/blob/f5b3d6326ab73e8ebfec765ed64c157dc469510f/Files/sans_final.csv#L138-L156

There are two jumps to an absolute line number because I hadn't implemented labels yet when I made the attack, but you can (and should) use labels instead.
Agoni00441 Jan 3 @ 12:19pm 
many ppl have prob. asked but could you maybe give a short explanation on how to do the gasterblaster circle attack on bad time sim? Well i tried to copy paste the command from ur github, but only 1 gasterblaster in mode 0 appears on the side. If im disturbing or something i can just cancel the project and you dont have to respond.
Jcw87 Aug 15, 2024 @ 11:14pm 
@hardy you didn't follow the complete instruction. I have no more information than I would if you added me without commenting, like so many people already do, and I promptly ignore.
Nova Aug 15, 2024 @ 3:03pm 
heey, added ;3
Jcw87 Jan 26, 2024 @ 4:29pm 
@Astrofishassist as the project aims to replicate an encounter in Undertale, it uses the same static control scheme as Undertale. User-bindable controls were not a priority. If you wanted to re-bind the controls, you would need to use the Construct 2 editor, and edit the InputManagement sheet. You may be able to achieve the same result by editing the exported data.json file, but I will not provide support for doing so. data.json is not meant to be human-readable.
Astrofishassist Jan 25, 2024 @ 1:35pm 
Is there a way to use WASD+space controls on bad time simulator? I've been poking around on the Github but I think I'm out of my depth.
Jcw87 Jan 20, 2024 @ 11:59pm 
You can find it here:
https://www.dropbox.com/scl/fi/9m1rint0h1z7wy39z7aem/mid2expression2.zip?rlkey=1vuqt7bcgublpqxen4s96sgd3&dl=0
I wrote this some time ago, and I would do things differently if I were to write it today.
JINKIES Jan 20, 2024 @ 8:14pm 
Looking for where "midi2expression2" can be found, i looked but no luck. from the E2 im looking at "Still Alive" it was created by you, so thought to ask :)
Jcw87 Sep 21, 2023 @ 2:41pm 
@MVSamhith Custom attacks are not saved anywhere.
finger Sep 20, 2023 @ 5:16am 
@Jcw87 when we upload custom attacks to the bad time simulator, do you save it somewhere?
.cloud Aug 20, 2023 @ 2:29am 
Just want to ask about the cs-sans-fight github
Jcw87 Jan 11, 2023 @ 1:34am 
@Ben No newer version exists. I've thought about making an expression 2 that just plays the midi directly, which would solve many of the issues the generated ones have. But I'm currently busy with a very big project not related to gmod. No idea when I might get around to it.
Combine Jan 9, 2023 @ 2:39pm 
Hey, wanna ask you something about the gdoom map stuff :) - Combine
ilostmysoul Aug 23, 2022 @ 4:21am 
hi you can help me with achievement in css?
alai4iK Jul 30, 2022 @ 11:58pm 
Hey bro, can I add you to ask for smth?
SpottyMars4506 Jul 24, 2022 @ 3:32am 
i got problems with installing the gmDoom maps
i dont find the menu where i can spawn the map
76561198081846857 Jul 17, 2022 @ 1:30pm 
thank you so much dude!!
76561198081846857 Jul 17, 2022 @ 1:29pm 
ah
Jcw87 Jul 17, 2022 @ 12:54pm 
This is a very old program. If I made midi2expression2 today, the converter would be better, and it would generate a better e2. The method used by the e2 cannot support more than 1 note at a time in a single channel, which can easily make it sound wrong. The timing is also never quite correct.
Jcw87 Jul 17, 2022 @ 12:50pm 
76561198081846857 Jul 17, 2022 @ 12:43pm 
dammmmnnn
I didn't get a link or anything, I just happened to have this e2 that plays a specific midi sound, and upon looking in it, it said "made by midi2expression2, by Jcw87" so I decided to ask how I can upload my own midi into e2
Jcw87 Jul 17, 2022 @ 12:17pm 
@Abridged Mangoes I don't know who/what "qianby2" is.

The only places I can recall posting links to midi2expression2 are the wiremod forums (which are gone now) and a stack overflow question. Where are you hearing about it without having a working download link? I've been getting google drive share requests for this file due to an old link, and I have no idea where people are finding the old link.
76561198081846857 Jul 17, 2022 @ 9:33am 
I must know what song was put in for "qianby2"
or where do I get "midi2expression2" because I have always wanted one of those things
oʇsnɐɟ May 11, 2022 @ 8:08pm 
Hey I'm just passing around. I like your sims 2 picture. Great game.
beanos Feb 5, 2022 @ 9:03am 
respect for github sans fight mate
𝒜𝓁𝒾𝓃𝓀𝒶♡ Dec 28, 2021 @ 5:43am 
+rep
TheSovietUnion42 | trade.tf May 28, 2021 @ 2:44pm 
@Jcw87 can u add me i want to ask you a question about one of your git hub pages
cc Mar 13, 2021 @ 11:16am 
oh yeah i figured it out now thx
Jcw87 Mar 12, 2021 @ 10:11pm 
@doom gaming You can get the IWAD from any copy of Ultimate Doom or Doom II. You can buy them on steam if you don't have them.
https://store.steampowered.com/app/2280/Ultimate_Doom/
https://store.steampowered.com/app/2300/DOOM_II/
cc Mar 9, 2021 @ 1:14pm 
how do i get IWAD for the doom stuff
King Squid Jan 20, 2021 @ 7:11am 
Hello, Mr. Jcw87. It seems my friend, IKnifeU, has finished his gift for you. However, he does not know where to send it to you, without simply placing it here in your comments. Is there anywhere he could send it to?
King Squid Jan 6, 2021 @ 7:27am 
That is a very good point. I'll discuss that point with him. He wants to give a gift because he is a huge fan of your content. His name is IKnifeU on Gamejolt. He said that you were the person who inspired him to make games.
Jcw87 Jan 5, 2021 @ 6:57pm 
@King Squid I'm not going to hand out personal information that easily. More importantly, who is your friend, and why do they want to give me a gift? Why does it need to be a birthday gift, and not a late Christmas present?
King Squid Jan 5, 2021 @ 11:36am 
Excuse me Mr. Jcw87. A friend of mine has a birthday gift for you prepared, but he does not know when that is. Could you please tell me?
Jcw87 Dec 31, 2020 @ 2:10am 
@サラ I've determined that the engine creates the webgl context with the failIfMajorPerformanceCaveat parameter.

https://webglreport.com/?v=2

If you visit this page and see 'Major Performance Caveat: Yes', then that is why it won't work. This is usually because the video driver has a known performance issue.
Jcw87 Dec 30, 2020 @ 6:45pm 
@サラ also check here: https://get.webgl.org/webgl2/
Jcw87 Dec 30, 2020 @ 6:34pm 
@サラ You're certain that WebGL works elsewhere? I've never heard of that happening before. What happens when you visit this page? http://jcw87.github.io/webgl/
sara Dec 30, 2020 @ 2:00pm 
Am using pre-installed Firefox on Linux Mint. WebGL works everywhere except on the Bad Time Simulator, I can't figure why, any idea?
Jcw87 Dec 30, 2020 @ 9:15am 
@Shadow I have literally never interacted with you before, so you can ♥♥♥♥ off with that stupid "+rep add me" ♥♥♥♥♥♥♥♥. ♥♥♥♥♥♥♥ bots. :p2wheatley: