2010-09-22 snapshot

Post anything about MX Simulator here. Please. I'm begging you.
jlv
Site Admin
Posts: 14932
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

2010-09-22 snapshot

Post by jlv »

Changes:
  • Fixed texture loading bug when loading non png texture fails.
  • Starting gate angles are now range reduced.
  • Custom sounds per bike/skin.
  • pipe2/pipe4 commands have been renamed to just "pipe".
  • pipe command has two new parameters which give the first and last delay lines to affect. There are 16 delay lines to adjust.
The naming for the pipe info file goes like this. If the bike skin is called "yz125-2010 Stock-Blue.png", it will try the following files in order:

yz125-2010 Stock-Blue.pipeinfo
yz125-2010 Stock.pipeinfo
yz125.pipeinfo
default125.pipeinfo

The pipeinfo file should look like this:

Code: Select all

pipe 1.75 0.1 0.4 0 0
pipe 2.5 0.3 -0.4 1 15
The first line sets delay line 0 to simulate a 1.75 foot pipe at .4 amplitude.
The second line sets lines 1-15 to simulate a 2.5 foot pipe at -.4 amplitude with the lines covering .3 feet.

Windows users: http://mxsimulator.com/snapshots/mx-2010-09-22.exe
Linux users: http://mxsimulator.com/snapshots/mxbin-2010-09-22

Replace mx.exe or mxbin with one of the above files. I'd keep a backup of the originals since these aren't well tested.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
ShackAttack12
Posts: 3131
Joined: Fri May 09, 2008 1:51 am
Location: San Diego, CA

Re: 2010-09-22 snapshot

Post by ShackAttack12 »

Thanks josh.
ShackAttack12
| 2010 Supercross Champ | 2011 Supercross Champ | 2019 Supercross Champ |
ShackAttack12
Posts: 3131
Joined: Fri May 09, 2008 1:51 am
Location: San Diego, CA

Re: 2010-09-22 snapshot

Post by ShackAttack12 »

Josh, what do these delay lines stand for? Time? Distance? Rpm?
ShackAttack12
| 2010 Supercross Champ | 2011 Supercross Champ | 2019 Supercross Champ |
jlv
Site Admin
Posts: 14932
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2010-09-22 snapshot

Post by jlv »

Each one echoes the signal back after a delay with the given amplitude. The pipe command divides the length by the speed of sound to get the delay. When you set more than one line at a time, it spreads them out over the distance given by the silencer length which gives you a poor man's low pass filter.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
NIKK SPILLANE #244
Posts: 633
Joined: Wed Nov 04, 2009 4:16 pm
Team: Privateer
Location: Western Australia
Contact:

Re: 2010-09-22 snapshot

Post by NIKK SPILLANE #244 »

i dont get it
Duckstream
Posts: 1997
Joined: Tue Nov 03, 2009 1:06 pm

Re: 2010-09-22 snapshot

Post by Duckstream »

so i make me values in notepad (forexample) and save it as a .pipeinfo file?
Kawasakis
Posts: 6583
Joined: Sun Mar 16, 2008 5:32 pm
Contact:

Re: 2010-09-22 snapshot

Post by Kawasakis »

Awesomeness. Thanks Josh for these great snapshot's.
MXS Cup Winner
AX MX2 Champion

Image
Image
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2010-09-22 snapshot

Post by totorox »

Nice day today ! ;) great job Josh !

Now you made sound by bike/skin, what about some other bike settings ?
Making a save/load menu for bike configuration and maybe an auto-loading defaut settings feature by bike and by track is doable ? If not, as minimum, we should be abble to quick load a bike config within the 30 sec before the start. (Choosing a defaut skin by bike is secondary but could be nice too and harder to do (before restart for loading textures).
Since i ask this feature I hope you plan to work on that soon, because every other serious sims allow to load and save vehicule settings. If you did some work about this king of feature please tell us what your plan.
Juan357
Posts: 647
Joined: Tue Apr 14, 2009 9:17 pm
Location: Brasil , Rio de Janeiro

Re: 2010-09-22 snapshot

Post by Juan357 »

good job jlv
Track Comp 2010 Champion!
totorox
Posts: 355
Joined: Sat Mar 07, 2009 10:00 am

Re: 2010-09-22 snapshot

Post by totorox »

Just to say I saw a difference in texture usage between windows seven x64 and XP 32. I had bad settings in texture size (512X512) but i have only 512 M or video ram. And didn't saw this error because I play generaly with seven, curiously nice frame rate, and I force the anisotropic filtering x16 with graphic driver to (greatly) improve texture quality. But with XP, my framerate is very low and it's the normal way (also, textures are finer without anysotropic filtering forced). There's a mistake somewhere, i use same driver config for both.
i_Bite#21
Posts: 1069
Joined: Sun Sep 05, 2010 7:22 pm
Location: North Ogden, UT

Re: 2010-09-22 snapshot

Post by i_Bite#21 »

does this snapshot include every snapshot that youve made? and i cant get it to work in game, i extracted the files but it wont extract them what do i do?
Image
giopanda
Posts: 811
Joined: Sun Jul 05, 2009 8:08 am
Team: Privateer
Location: milano, italy
Contact:

Re: 2010-09-22 snapshot

Post by giopanda »

sorry josh but i really can't understan how the new pipeinfo fils work..
whare are exactly those numebers?
and how they change the final sound?
i'm trying to make something but i'm really going random..
Image
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: 2010-09-22 snapshot

Post by yzmxer608 »

jlv wrote: pipe 1.75 0.1 0.4 0 0
pipe 2.5 0.3 -0.4 1 15
Blue sets the delay lines 0-0 (so it's only 0).
Red sets the delay lines 1-15 (so that info is used for all of them).
Green is the same as before for making the pipe sounds.

The delay is a echo that plays after a certain amount of time depending on the rest of the pipe info. So, pipe length/speed of sound=delay.

Pretty much just restated what Josh said but it might be helpful to some. Still trying to figure out the last thing he said:
jlv wrote:When you set more than one line at a time, it spreads them out over the distance given by the silencer length which gives you a poor man's low pass filter.
What do you mean by "them", the delays?
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
jlv
Site Admin
Posts: 14932
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: 2010-09-22 snapshot

Post by jlv »

yzmxer608 wrote:Pretty much just restated what Josh said but it might be helpful to some. Still trying to figure out the last thing he said:
jlv wrote:When you set more than one line at a time, it spreads them out over the distance given by the silencer length which gives you a poor man's low pass filter.
What do you mean by "them", the delays?
Yes. If you set five lines like this:

pipe 2.5 0.5 -0.5 0 4

It will be similar to this:

pipe 2.0 0.0 -0.1 0 0
pipe 2.125 0.0 -0.1 1 1
pipe 2.25 0.0 -0.1 2 2
pipe 2.375 0.0 -0.1 3 3
pipe 2.5 0.0 -0.1 4 4
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
giopanda
Posts: 811
Joined: Sun Jul 05, 2009 8:08 am
Team: Privateer
Location: milano, italy
Contact:

Re: 2010-09-22 snapshot

Post by giopanda »

jlv wrote: Yes. If you set five lines like this:

pipe 2.5 0.5 -0.5 0 4

It will be similar to this:

pipe 2.0 0.0 -0.1 0 0
pipe 2.125 0.0 -0.1 1 1
pipe 2.25 0.0 -0.1 2 2
pipe 2.375 0.0 -0.1 3 3
pipe 2.5 0.0 -0.1 4 4
so let's say i want to replicate the stock silencer, that has a muffled sound throughout almost the entire rpm range and then change to the braaap sound around let's say 12/13000 rpm, what should i do?
sorry but those math/physics/engineering stuff is too complicated for me but i'd like to understand how this works..
Image
Post Reply