![]() The script file (tool.nut) as well as the configuration file (description.tab) go into See also Tool interface and Tool only functions. Scenarios can also be put into the addons folder:Īddons/pak-something/scenario/myscenario/ Pak-something/scenario/myscenario/de/ <- German files go here. Pak-something/scenario/myscenario/en/ <- English files go here. If you need more complex texts, these go into sub-directories named after the language, in which they are written. Translation files go into the scenario sub-directory with the same name as your file (just without extension) Pak-something/scenario/myscenario/scenario.nut The pak-set is found in a directory named pak-something, which is in the same directory, where the program itself is located. Hence, the scenario files have to go into a sub-folder of the pak-set. This savegame is tied to the pak-set you are using (e.g. You are the ruler of this toy universe, you are in charge of the rules, which go into the script. That is, create the world in which your scenario will live. Then you have to cast this idea into a savegame. You first need an idea - a vision what a scenario may look like. See also Scenario interface and Scenario only functions. As squirrels like to crack nuts, understandably the script files get the extension '.nut'. The manual can be found at Squirrel main page. The scripts have to be written in squirrel. ![]() It's only recommend for those who only need to create the pak files.Simutrans offers to possibility to add scripted scenarios and computer-controlled players. There's also a mini version, with a very tiny two-buttons interface, one for the pakset type and the other for creating the pak file. Go to Options > Select extract pak files folder menu and search for the directory where we want to leave those pak files. In addition to that, also exists the option to specify the where we want to leave the pak files after the compilation process. The program will show all messages and warning at Extract log and pushing on Move pak files, we'll get the list of extracted files. The process is the same as before: we select the pak file or files pushing on Open and then we click on Do Extract. That was one of the reasons for using this format, to keep the copyright, although now the sources of some paksets are available via SVN or. Quote Note: It's not possible to extract the dat and png files form a pak file ![]() Theoretically, it should allow you to extract the content of the pak file, but the pa file format is not reversible Quote Note: It just list the content, it does not extract any information or image from the pak file.įinally, the Extract tab allows you to extract pak files from other pak files. When you have finished, click on Do list and you'll get a list of objects contained in those pak files. You can repeait it as many times as you want, in order to add more pak files. Click on Open and select the pak file, the program will add it to Pak file list. The List tab allows you to get a list of objects contained in a pak file, in case there's more than one. Us (site down, do not visit) ]/image/show/7iKXLj64ku/pakhelper-rest-tabs-big.jpg] Then, type the single file name at Merge pak file name field and click on Do merge. You will see a list of pak files ready to be merged below Select pak files text field. Repeat it as many times as pak files you want to merge. ![]() At Merge tab you can join several pak files into a single one, just click on Open and search for the pak file. The rest of tabs give you access to the advanced options of makeobj. You should take a look at it in case there's any problem ( it can't access to the images, typos, outdated attributes, etc.) In that directory also exists a file called pak.log where Pakhelper stores all warnings and error messages generated during the compilation process. The pak file is created in the same directory where the Pakhelper binary is located. If you want to merge them and get a single pak file, you just have to specify the single file name at Merge pak file name text field. Then, we push the Do pak button and voila! In case the dat file contains the definition of several objects, you'll get several pak files. Another option is to push the Open button and search for it. Then, we go to the Select dat file text field and we type the path of the dat file we want to compile. If we want error warnings, we just check the Error check option. Notice that we can specify any size of graphics. Us (site down, do not visit) ]/image/show/S_fr9tvDkw/pakhelper-frontpage.jpg]įirst, we select the pakset we're going to create the object for: pak64, pak126, pak96, etc. ![]()
0 Comments
Leave a Reply. |