Skip to main content
Topic: makeobj problem (Read 21781 times) previous topic - next topic

makeobj problem

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.

Re: makeobj problem

Reply #1
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).

Re: makeobj problem

Reply #2
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.

Re: makeobj problem

Reply #3
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.

Re: makeobj problem

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

Re: makeobj problem

Reply #5
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:
Code: [Select]
makeobj -PAK
PAUSE

For pak96:
Code: [Select]
makeobj -PAK96
PAUSE

For pak128:
Code: [Select]
makeobj -PAK128
PAUSE

For pak192:
Code: [Select]
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.

Re: makeobj problem

Reply #6
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.

Re: makeobj problem

Reply #7
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.

Re: makeobj problem

Reply #8
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!

 

Re: makeobj problem

Reply #9
I think that is a pretty good explenation VS :)


Re: makeobj problem

Reply #11
Why don't you use PakHelper (a makeobj GUI for Windows)?
That is the one I was thinking in!! Thx vilvoh :)

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

Re: makeobj problem

Reply #12
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.. ::)

Re: makeobj problem

Reply #13
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!

Re: makeobj problem

Reply #14

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.