Jump to content

Custom .exe that loads the map instantly


Recommended Posts

Posted

So I remember back in the day you used to be able to edit the .exe in windows in such away that it would launch you straight into the map plus other parameters you set like your player model. Is this still a thing and can somebody help me?

 

Thanks

Posted

I would recommend using a cfg file for this, since you can execute it from within the game as well as executing on startup.

The way I would do it, is to make a .bat file that launches jamp.exe with your desired parameters. So something like jamp.exe +exec startMap should execute startMap.cfg on startup.

If you have a shortcut to Jamp.exe on your desktop, I believe you can add launch parameters there as well, but a .bat file is a much better way to go.

Posted

Sorry, but would you care to spell it out for me? If I rename a notepad document 1313.bat and add jamp.exe +exec devmapall coruscant  it doesn't work.

 

Cheers

Posted

Sure thing. I'm a little rusty on details, but this should get you there:

In notepad, save a .cfg file in your gamedata/base folder. Name it anything you want (I'll use autoexec.cfg). In it, put the commands you want the game to run on startup, one command per line.

Next, make a new text file in notepad, in the gamedata folder. Save it as whatever.bat. In that file, just add a single line:

jamp.exe +exec autoexec

Now, if you run the batch file, you should get your results. You can also make a shortcut to the .bat file on your desktop if you like.

Posted

Ok I did what you said and its booting but doesn't seem to be recognising the commands in the .cfg

 

Quote

+devmapall coruscant
+r_customwidth 1920
+r_customheight 1080
 

What syntax is correct?

Posted

Remove the + in front of each line, that's only needed for the .bat file. Treat the cfg file as if you are typing the commands directly into the console:

devmapall coruscant

r_customwidth 1920

r_customheight 1080

Posted

@quakefreed You could also create a shortcut to jasp.exe and add the startup parameter +devmap <mapname>

To the path in there. That should also work.

HowTo: https://www.digitalcitizen.life/shortcut-arguments-parameters-windows/

The tutorial uses -, for jka console commands use + instead.

@NAB622 autoexec.cfg should automatically be run by the game, you shouldn't need to tell it to run it on launch.

MagSul likes this
Posted
2 hours ago, AshuraDX said:

 

@NAB622 autoexec.cfg should automatically be run by the game, you shouldn't need to tell it to run it on launch.

Aw crap, I forgot there was an autoexec.cfg. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...