News:

Want to praise Simutrans?
Your feedback is important for us ;D.

makeobj problem

Started by fuzion_051, March 12, 2009, 02:25:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fuzion_051

The makeobj-win-49 rar file which I've downloaded from sourceforge doesn't seem to work. Whenever I click the extracted file, nothing happens/opens.

Anyone could help?

thanks.

Zeno

It's a console application. If you double-click it from windows, it will appear to do nothing. You should execute it from a command (dos) window.
When you execute it from the command window, you can see some built-in brief help, but I think you should take a look to the english wiki, and the makeobj documentation (which I don't know where to find).

the almighty snark

Yup, try running the command prompt(start > run ) then type in cmd. This starts the command prompt. I then change the directory to the makeobj directory. In my case i would type in :

cd d:\simutrans development\MAK DE 1002\compile\

Then i type d:

And it gives me the directory i just typed in above. In there i keep the graphics and .dat files. All i need to do then is type in:

makeobj pak128

and it creates the pak files according to the .dat files. If you only type in makeobj it gives you a list with options to use.

fuzion_051

ok...uhm what do you mean by changing the directory to the makeobj directory? Btw I've extracted the makeobj from the rar file onto my desktop.

the almighty snark

changing the directory in the command prompt(remember the start > run , cmd . part?).

Michael 'Cruzer'

If you are using the console you can switch the directory with the command "cd".

If you don't know how to use the console it would be easier for you to make a batch file* and use makeobj with the batch file.


*batch file:
-----------

Make a new empty file and copy the following text into it:
(The should get the ending .bat)

For pak64:
makeobj -PAK
PAUSE


For pak96:
makeobj -PAK96
PAUSE


For pak128:
makeobj -PAK128
PAUSE


For pak192:
makeobj -PAK192
PAUSE


Then save the file in the same Directory in wich makeobj.exe and the DAT and PNG files you want to pak are.
Now klick at the batch file and makeobj works.
Founder and Ex-Maintainer of pak192.comic. Provider of Simutrans Hosting rental service.

the almighty snark

Indeed that would work much better for those unfamiliar with the console. Im writing a little app in C# that can act as a front-end for makeobj.

Zeno

Quote from: the almighty snark on March 12, 2009, 03:40:59 PM
Im writing a little app in C# that can act as a front-end for makeobj.
It would be a useful thing for fuzion as it seems he's not familiar with folders in dos.

Anyway, there's already some kind of gui for makeobj somewhere in the forum/simutrans network... Take a look on the forum and simutans website for tools or similar stuff, you may find it.

VS

In explorer or some "commander" you usually navigate to the folder you have the files in, too... Either try reading up a bit on that console thing in general, or give up and search a bit around here for pakhelper.

Unfortunately I couldn't find anything better then this :(
http://physiology.med.unc.edu/wwwMHMF/how-to/work-with-cmd/default.html

Or maybe these could help a bit...


My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

the almighty snark

I think that is a pretty good explenation VS :)

vilvoh

#10
Why don't you use PakHelper (a makeobj GUI for Windows)?

PakHelper homepage: http://minami-fukuoka.simutrans.net/english/pakhelper.html


Escala Real...a blog about Simutrans in Spanish...

Zeno

Quote from: vilvoh on March 12, 2009, 03:49:16 PM
Why don't you use PakHelper (a makeobj GUI for Windows)?
That is the one I was thinking in!! Thx vilvoh :)

Quote from: VS on March 12, 2009, 03:46:59 PM
Or maybe these could help a bit...
Welcome to VS-Express-Service: Tutorials on demand! If you want a makeobj tutorial, please press 1; if you want... :D

vilvoh

Quote from: Zeno on March 12, 2009, 03:56:18 PM
Welcome to VS-Express-Service: Tutorials on demand! If you want a makeobj tutorial, please press 1; if you want... :D

There's some extra info about makeobj, but not in english.. ::)

Escala Real...a blog about Simutrans in Spanish...

VS

I made that tutorial some months ago for just this kind of occasion. Handy to still have them.

Cruzer's advice is good too... easy to set up.

It's funny that of all posters in this thread I feel perhaps the most annoyed but in certain way I went to lengths to help ;D

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

fuzion_051


Thanks guys  :D
Well I've managed to figure out using the console to change directories and I've managed to create some pak files. With regards the PakHelper, I'll give it a try. Seems much more easy to use that one.