Author Topic: Putting your work into an installer  (Read 2862 times)

0 Members and 1 Guest are viewing this topic.

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Putting your work into an installer
« on: July 10, 2006, 03:39:37 pm »
well I'm new at this, but I have been changing the weapon graphics for a server.
unfortunately I will have to post them somewhere (probably on the site and here)
,but how do I post them into an installer?

Offline Lapis Lazuli

  • Global Moderator
  • Camper
  • *****
  • Posts: 401
  • One Hand Clapping
Re: Putting your work into an installer
« Reply #1 on: July 10, 2006, 03:56:51 pm »
Don't. Installers can make it hard for the (few) Linux players to use mods/maps/etc.

Instead, compress your files using WinRAR or 7zip and upload the compressed file somewhere.
Steam ¤ Skype ¤ Soldat Wiki ¤ Need Help?
"Every thought you produce, anything you say, any action you do,
it bears your signature." - Thich Nhat Hanh

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #2 on: July 11, 2006, 08:21:41 am »
ya but some of the files go in different places (sounds, interface, ect) how would I be able to make the ZIP file do that?

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Putting your work into an installer
« Reply #3 on: July 11, 2006, 08:26:44 am »
you create an empty set of folders (sounds, interface, etc) and copy your mod's files into them.  Then you select all of these folders and zip them.

This allows people to unzip your mod directly into their soldat folder

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #4 on: July 11, 2006, 02:28:42 pm »
would they Unzip it into the mods folder?
 and how would i be able to create a separate launcher for the mod?

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Putting your work into an installer
« Reply #5 on: July 11, 2006, 02:34:05 pm »
would they Unzip it into the mods folder?
 and how would i be able to create a separate launcher for the mod?

1) Winzip?  No, but we know it's a mod folder, so we know where to unzip it (ew?).
2) Here's howzors.
---a) Open Notepad.
---b) Type "soldat.exe -modname"
---c) Save as a .bat file in the Soldat folder.

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Putting your work into an installer
« Reply #6 on: July 11, 2006, 02:51:21 pm »
bah, I'm thinking of maps.

this is why I don't post in the mod forums ;)

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #7 on: July 11, 2006, 03:54:39 pm »
how do i save it as a
.bat file?

if anyone could completely guide me through this it would be nice

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Putting your work into an installer
« Reply #8 on: July 11, 2006, 04:23:20 pm »
In the Save window, there should be a little drop down menu titled "File Type."  Change it from ".txt files" to "all file types" and in File Name, type in "modname.bat"

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Putting your work into an installer
« Reply #9 on: July 11, 2006, 04:43:46 pm »
^ he's talking about while using notepad.

Be sure to put the quotes in "modname.bat", that tells it to save it as modname.bat instead of modname.bat.txt

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #10 on: July 12, 2006, 08:08:32 am »
ok .
what exactly does this file do?
is it the launcher?

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Putting your work into an installer
« Reply #11 on: July 12, 2006, 08:45:41 am »
ok .
what exactly does this file do?
is it the launcher?

yes, it is used to launch soldat with your mod

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #12 on: July 12, 2006, 10:45:41 am »
so heres what I'm getting out of it, you put your mod in the mod folder (a folder with a certain name)
one question here though, do you copy the entire soldat game and put it in here and the only differences here is the changes that were made in the mod?
then you create a  notepad with the name "modname.bat" and in it is "soldat.exe -modname"

is this correct?

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #13 on: July 12, 2006, 11:04:46 am »
it only seems to launce regular soldat

Offline Onyx

  • Soldier
  • **
  • Posts: 111
  • everybody gets one
Re: Putting your work into an installer
« Reply #14 on: July 12, 2006, 04:13:38 pm »
k i figured it out, thanks guys, turns out i needed the bat file to be with the rest of the mod  (dont know why i didnt think of that before)
also is there anyways to change the icon of it, and also to get rid of the command prompt that comes up?

Offline theoperator

  • Major(1)
  • Posts: 1
Re: Putting your work into an installer
« Reply #15 on: July 26, 2006, 03:34:37 pm »
You can change the icon by right clicking and selecting properties, under one of the tabs it should have a place to pick an icon

Offline Mistercharles

  • Veteran
  • *****
  • Posts: 1371
  • +
Re: Putting your work into an installer
« Reply #16 on: July 26, 2006, 04:27:08 pm »
Cmd will come up no matter what, that's what .bat files are, cmds with a list of commands.
shoutout to m'boyz eagles_arrows, echo_trail, wraithlike, sadistatheart, chakapoko maker, jrgp, aznblood, chakra, keron cyst, et al, miss you, let's '#gather some day

Offline ANdro!d

  • Camper
  • ***
  • Posts: 264
  • My ingame name is: t0XsiCk SprAyER
Re: Putting your work into an installer
« Reply #17 on: July 29, 2006, 07:23:39 pm »
WINRAR SUCKS !!! USE 7-ZIP, it's free.
Check the fucking rules on sigs.