Author Topic: MaxSCL - A tool to edit .scl files (engine sounds)  (Read 10321 times)

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
MaxSCL - A tool to edit .scl files (engine sounds)
« on: February 22, 2015, 01:07:54 AM »
Hi all,

a little tool to edit .scl file (only for GPB beta12 and MXB beta6).



DOWNLOAD v1.3 (2017/09/03) for GPB beta12

DOWNLOAD v1.2 (2016/04/14) for MXB beta6


INSTALLATION: this is not a plugin, it's a standalone tool. Just copy it in a folder where you have write rights (i.e. avoid "Program Files" and similar).

IMPORTANT: some samples are provided in the Samples folder, separately for GPB and MXB. Notice that you will be able to load the default bikes (varese and 990 for GPB, 250x for MXB) but you won't be able to "play" the sounds, as the .wav of the default bikes are encrypted. The samples are provided anyway:
  • to show which files are needed by the tool. Basically the .scl, the bike.cfg, the .engn (all of them, if more than one), the tyreset .cfg, all the .tyre and all the .wav referenced by the .scl.
  • to show that if shared tyresets are used (see the MXB 250x), you have to respect the folder structure (a tyres folder at the same level as the bikes folder).
  • to show how a properly done .scl is: you can replace the default (encrypted) .wav with your own ones and play with them.

MaX.
« Last Edit: September 02, 2017, 11:05:05 PM by HornetMaX »

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #1 on: February 22, 2015, 01:08:09 AM »
HELP (I'll beef this up when I have time):

Basic usage:
  • Take the entire bike directory of the bike you want and copy it somewhere (avoid messing it up). If th ebike uses shared tyres (e.g in MXB) you have to respect the folder structure: there must be a fodler named "tyres" at the same level of the folder named "bikes". Look in the "Samples" folder how it is done.
  • Run the tool and open the .scl file of the bike.
  • Play around with the buttons to edit the file: add samples, add points, ... try to understand how each action is reflected in the text editor.
  • You can edit directly the text in the editor: just do a Ctrl+U to update after any change you do in the editor.
  • Play the thing to hear how it sounds. You can use the mouse or any connected joystick/joypad/input device (with analog axis) to control the throttle.

NOTE: you can open the files from GPB default bikes, but you won't be able to hear any sound as the samples (*.wav) are encrypted. Anything else should work.
« Last Edit: April 14, 2016, 07:56:30 PM by HornetMaX »

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #2 on: February 22, 2015, 01:08:24 AM »
<RESERVED FOR FAQ>

doubledragoncc

  • Hero Member
  • *****
  • Posts: 4384
  • If it dont fit HIT it!!!!!!!!!
    • View Profile
    • GPBOC Live Streams
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #3 on: February 22, 2015, 01:30:57 AM »
Thanks Max. Great work again.  Look forward to playing with it when I get time lol.

Have a great vacation buddy

DD
GPBOC Live Streams: https://www.youtube.com/c/IASystemsComputerControls

Teamspeak: Server IP: 82.43.148.211  user password "yougetin"

i5 7600 5.0GHz z270 ASUS Maximus Code Mobo 16GB 3866MHz DDR4 RAM ASUS Strix GTX1050Ti OC 4GB DDR5 Kraken X62 AIO Cooler

Hawk

  • Hero Member
  • *****
  • Posts: 5881
  • MOD Team: CAWS / GP-Team: Horizon GP #7
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #4 on: February 22, 2015, 02:06:40 AM »
Brilliant! Nice one Max!

I'll have fun giving this one a try... I'm hoping it will help me come up with a good sound file for my OW60....

Thanks Max!  ;D 8)

Hawk.

PeterV

  • Hero Member
  • *****
  • Posts: 1480
  • CAWS - Server Dude
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #5 on: February 22, 2015, 09:25:34 AM »
thx very much Max, we will give this a try for sure.

Have a nice Holiday.

Wh1t34Gl3(SAS)

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #6 on: February 22, 2015, 11:36:25 AM »
EW GUUUD! Testing right now! Thanks again Max!

Edit:

Few bugs on the save system and adjustment between both scl text and program windows.
« Last Edit: February 22, 2015, 12:55:52 PM by Wh1t34Gl3(SAS) »

h106frp

  • Hero Member
  • *****
  • Posts: 1651
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #7 on: February 22, 2015, 12:48:58 PM »
Very professional looking app. you have created, very slick looking interface and a much needed mod tool.

Be nice to have something similar for bike geometry and physics as this seems as mysterious as the sounds and i do wonder if some of the in-sim handling issues are down to the models rather than the engine. I have seen a few of the on-bike shots that seem to suggest very strange front end arrangements.


Hawk

  • Hero Member
  • *****
  • Posts: 5881
  • MOD Team: CAWS / GP-Team: Horizon GP #7
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #8 on: February 22, 2015, 01:02:20 PM »
Very professional looking app. you have created, very slick looking interface and a much needed mod tool.

Be nice to have something similar for bike geometry and physics as this seems as mysterious as the sounds and i do wonder if some of the in-sim handling issues are down to the models rather than the engine. I have seen a few of the on-bike shots that seem to suggest very strange front end arrangements.

+1
Totally agree with you on your conclusion.  ;)

Hawk.
PS: I presume you mean "Model" as in geometry model? And "Engine" as in the core programme physics engine?  :)
« Last Edit: February 22, 2015, 03:19:49 PM by Hawk_UK »

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #9 on: February 22, 2015, 03:04:24 PM »
Be nice to have something similar for bike geometry and physics
Likely, I'll take a break from 10pm-2am coding :)

For the physics, more than a tool people need a guide, something that explains what does what.
Doing trial & error blindly (let's multiply this by 2, see what happens, if not good divide it by 4) may occasionally stumble on something good, but it surely isn't a good way to go.

However, GPB level of sophistication requires the modder to have some basic understanding of physics, mechanics and ... well, bikes :)
No tool can compensate for these.

MaX.

Warlock

  • Hero Member
  • *****
  • Posts: 1121
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #10 on: February 22, 2015, 04:35:58 PM »
Wow Max, thank you, it looks just great.
Ill give it a go as soon as i have some time to mess around

h106frp

  • Hero Member
  • *****
  • Posts: 1651
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #11 on: February 22, 2015, 05:24:53 PM »
Very professional looking app. you have created, very slick looking interface and a much needed mod tool.

Be nice to have something similar for bike geometry and physics as this seems as mysterious as the sounds and i do wonder if some of the in-sim handling issues are down to the models rather than the engine. I have seen a few of the on-bike shots that seem to suggest very strange front end arrangements.

+1
Totally agree with you on your conclusion.  ;)

Hawk.
PS: I presume you mean "Model" as in geometry model? And "Engine" as in the core programme physics engine?  :)

Yes, those were what i meant to describe. It would be nice at the simplest level if the bike could be read in as the sim-engine does and display the geometry, centers of mass, thrust lines, suspension travels etc so that you could be sure they all at least make sense  to the modeller. If we compare to real life, for a race bike these are all items that are finely adjusted to ensure the bike works as intended. I was really wondering what small errors in rake/trail angles or suspension mounting point angles might cause for the bike in the sim - i was just guessing the outcome gets worse 'in-sim' as the GPB physics model becomes more highly honed and sensitive to these values..


HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #12 on: February 22, 2015, 09:29:59 PM »
It would be nice at the simplest level if the bike could be read in as the sim-engine does and display the geometry, centers of mass, thrust lines, suspension travels etc so that you could be sure they all at least make sense  to the modeller.
Isn't that already doable with the current bike tools ?
I didn't play a lot with them but IIRC that's what the bike goem tool does.

MaX.

HornetMaX

  • Hero Member
  • *****
  • Posts: 5616
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #13 on: February 24, 2015, 02:10:29 PM »
Few bugs on the save system and adjustment between both scl text and program windows.
Please report them, I'll have a look.

MaX.

Corrie

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: MaxSCL - A tool to edit .scl files (engine sounds)
« Reply #14 on: February 28, 2015, 05:39:05 PM »
Hey, MaX, I'm working wit your tool for sounds in Kart Racing-Pro, and when I load a .scl file from KRP, there is an error:
"Unable to parse file:
E:/Program Files (x86)/Kart Racing Pro/engines/i_kf1/i_kf1.cfg
Unable to parse parameter "TYPE" (<string>) in section"

Does this tool not work with the encoding of KRP's files?
Thanks for the tool! Looking forward to a response!