The International Simutrans Forum

PakSets and Customization => Pak128 => Topic started by: gauthier on August 11, 2008, 11:03:22 PM

Title: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 11, 2008, 11:03:22 PM
After begining remaking the picture of the AMT bridge, I built again all my magnetic ways (for Simutrans pak128 100 with waytypre=maglev_track).
I included "magnetic.pak" in the new pak128, lauched Simutrans 100 and ... crash.

I join .dat file of all AMT (way, elevated ways, bridges and tunnels) and 2 examples of pictures.

EDIT : I remade all my ways with previous makeobj, waytype=monorail_track and Simutrans 99.18 and ... crash so I will see my .dat files.

EDIT again : I found the problem : MLM elevated no pillars :

EDIT againĀ² : I re-write dat part of MLM el no pillars, I build it. Before adding : Simutrans works, after adding, Simutrans doesn't work, after removing, Simutrans doesn't work

I don't understand anything  ???
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 12, 2008, 08:54:17 AM
maglev_track is not too well tested, but should be work. It would be probably nice to have maglev track testing in pak128 ...
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 12, 2008, 01:28:10 PM
Finally, Simutrans randomly crash but ONLY with my ways. dat files were not changed since I tested with maglev_track for Simutrans 100.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Erik on August 12, 2008, 01:47:48 PM
Have you test it on Simutrans 99.17 already?
At the moment I play Simutrans 99.17 with the previously maglev paks from the last forum. It works without any problem.
So if you set the pak on this forum. I can try what happens with my Simutrans.

Also at the moment I am testing the economics of the maglev paks.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 01:50:29 PM
Quote from: prissi on August 12, 2008, 08:54:17 AM
maglev_track is not too well tested, but should be work. It would be probably nice to have maglev track testing in pak128 ...

Test version

Timothys MLM for pak128 (1.4.3.1pre) Simutrans 0.100.0+

copy the pak files to pak128
copy the menuconf.tab to pak128/config

define as maglev_track in menu MAGLEVTOOLS

not work
- build depot
- way remover
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 01:54:04 PM
two file

I'm this message by 2 uploads
QuoteYour file is too large. The maximum attachment size allowed is 192 KB.

max upload filesize = 128 kb
max upload files = 4

4 x 128 = 512 kb

maximum attachment size allowed is 192 KB ?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Erik on August 12, 2008, 03:25:57 PM
I have tryed these maglev_128 paks but they would not work.
With Simutrans 99.17.1 still works but I have no maglev tracks.
With Simutrans 100 the same or if I placed menuconf.tab to pak128/config it will not start.

EDIT: I think is is the same Maglev I already have. But even if I make a fresh Simutrans and only add these paks. There happend the same as I had describe already.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 03:55:04 PM
the files works

official simutrans 0.100.0
pak128 1.4.3.1pre

+ the files
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Erik on August 12, 2008, 04:31:17 PM
Sorry my mistake
I had a old pak 128 1.4.3 with a upgrade to simutrans 100.
Now I have download pak128 1.4.3.1pre and it works.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 12, 2008, 05:47:30 PM
Where I can download 99.17 ?

the random crash of simutrans happens with 99.18 (waytype=monorail_track) and 100 (waytype=maglev_track). How can I fix this problem ?

Can someone test the file and say me if his Simutrans crash ?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 06:04:15 PM
@gauthier

Send me a mail with the dat and png files, please.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Erik on August 12, 2008, 06:35:52 PM
Yes I think I can more with the DAT and PNG files.
Simutrans 99.17 crash also with this pak.
The paks on the old forum were better.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 12, 2008, 06:53:03 PM
SImutrans 99.17 cannot handle newer waytypes. makeobj is NOT baward compatible!
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 06:57:04 PM
a bridge probably has a bug

  found 27 files to extract

  ERROR: could not open bridge.
.pak for writing (aborting)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 12, 2008, 07:05:54 PM
Narrowgauge and maglev depot and wayremover should work from 1949 revision on.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: z9999 on August 12, 2008, 07:18:23 PM
These four items below have no images and are broken.
Check the dat file.

AMT_elevated_realistic_pillars
AMT_elevated_nopillars
AMT_elevated
AMT
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 12, 2008, 07:31:45 PM
Quote from: prissi on August 12, 2008, 07:05:54 PM
... maglev depot and wayremover should work from 1949 revision on.

not positive for me

or new makeobj?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 12, 2008, 07:43:27 PM
Ok, overlooked on line. Maybe 1950 does the trick.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 12, 2008, 07:46:39 PM
QuoteAMT_elevated_realistic_pillars
AMT_elevated_nopillars
AMT_elevated
AMT

with same dat and png files, first build : all AMT were working but some MLM didn't work.

The problem seems to be random  :-\

Quote@gauthier

Send me a mail with the dat and png files, please.

your e-mail is hidden.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 13, 2008, 01:12:59 PM
the problem is the wrong grafics parameter name

QuoteAMT[SW]=AMT.1.0
AMTUp[3]=AMT.3.3

the parameter name is Image

this is by search and rename Image -> AMT

Image[SW]=Image.1.0
ImageUp[3]=Image.3.3

search and rename =Image. -> =AMT. , then is correct
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 13, 2008, 03:28:17 PM
I have forgotten to say I changed picture names  ::)

I used "replace function"   ;D

EDIT : problem fixed, thanks all  ;)

=> preview of AMT bridge (not finished yet)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Spike on August 14, 2008, 10:08:12 AM
Quote from: Frank on August 12, 2008, 01:54:04 PM
maximum attachment size allowed is 192 KB ?

150kb currently. In discussion by the mods, it might have been meant to be 200.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: z9999 on August 14, 2008, 12:34:26 PM
Well, this is off-topic but...

I tested Frank's magrev track, magrev track disappeared after reload the savegame.
And also, we can't buy (besch) magrev, and we can't make schedule. There isn't magrev_waggon_t yet.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 14, 2008, 02:24:11 PM
other off-topic : Is "maglev_track" finished and well working for Simutrans 100 ?

complete set magnetic.pak with :
TR,MLM,AMT : at grade track; elevated; elevated no pillars (for elevated tations); elevated realistic pillars (will be graphically improved); connection bridges (for connecting at grade track with elevated one); normal bridge, single tunnel, left part of double tunnel, right part of double tunnel.

TransRapid TR-08 for TR ways coming soon  ;)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Ashley on August 14, 2008, 03:30:45 PM
It's a shame that all the ways are basically just recolours of the MLM system, would be cool to see some more unique characteristics for the other two systems, also (and this was a flaw of the MLM too, which I never got around to fixing) the concrete is really far too "clean" and textureless to fit in with the pak128 graphical style (the edges are too sharp also). This really shows on the tunnels, I like the style of them but they are far too clean.

I think the diagonal pillars are potentially a nice change, though they need polish (the shadows on the North-South runs look a bit out of place and the pillars aren't shaded correctly for the direction of the sun). With the "AMT" tracks, I'd reduce the contrast of those black bands too, a dark grey would probably be suficient to give the effect (also, the ground level MLM I was never happy with, looked odd, really needed fences along the sides or something along those lines). The ground level AMT suffers from the same problem, it doesn't seem to be connected to the ground, needs some kind of blending to make it appear as if it's actually laying on the ground if you see what I mean.

Nice progress though, looking forward to seeing some vehicles.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 14, 2008, 04:11:20 PM
the "far too clean concrete" is not very annoying. I will improve it for tunnels.
For AMT ... It's not concrete but ... titanium  ;D

I read your post, I will see for graphical improves.

You want vehicles ? You now have one (experimental). TransRapid TR-08 (reduced speed to 350 km/h instead of 430 for better playing).

QuoteWith the "AMT" tracks, I'd reduce the contrast of those black bands too

I will try it but I'm not convinced  :-\

Quotereally needed fences

Could you make it with a [NS] MLM to see what you exactly want ?

Quoteneeds some kind of blending to make it appear as if it's actually laying on the ground if you see what I mean.

I see, I will improve that (by clearing up ground black band ? blend it with some green ?)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 14, 2008, 07:28:40 PM
do you like this texture for concrete ? (texture from http://art.eonworks.com)

Title: Re: problem with latest makeobj (makeobj 49)
Post by: Ashley on August 15, 2008, 09:42:27 AM
That's certainly better, yes :)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 15, 2008, 05:11:16 PM
Quotereally needed fences

What kind of fence ?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Combuijs on August 15, 2008, 05:28:25 PM
Quotewhat kind of fence ?

A fence that prevents crossing deer to be brought directly to the foodprocessing plant...  ;)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 15, 2008, 05:35:57 PM
I mean ... what kind of graphics for the fence  ::)

maybe a glass fence for the AMT ...

I think fences could waste MLMs beauty  :-[

EDIT : new tunnels will be included in the final pak as the new shading ans shadows of realistic pillars.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 18, 2008, 02:40:47 PM
I have another problem.

I creat signals for tunnels entrances and exits and the presignal doesn't appear in game.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: whoami on August 19, 2008, 03:02:38 PM
Quote from: gauthier on August 18, 2008, 02:40:47 PM
I creat signals for tunnels entrances and exits and the presignal doesn't appear in game.
The problem is "waytype=track" in the dat file.
But I don't think it's possible to define signals only for tunnel entries.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 19, 2008, 08:38:26 PM
I'd just seen it  ;D
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 29, 2008, 06:15:13 PM
I have an other problem ... see the screenhot :
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on August 29, 2008, 06:21:15 PM
That's what I told you here (http://forum.simutrans.com/index.php?topic=238.msg1563#msg1563) already.

You'll need a more recent nightly. The r1973 Frank posted at the bottom of that thread should work.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 29, 2008, 06:29:06 PM
oops sorry I have forgoten it  ::)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 30, 2008, 08:11:27 PM
I have an other problem  ;D

The parameter "max_lenght" of my bridges don't work  ???

(off-topic : where I can download Tile-cutter ?)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on August 30, 2008, 08:57:18 PM
Do you have a .dat file?

and tilecutter should be linked here (http://archive.forum.simutrans.com/topic/05013.0/index.html)
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 30, 2008, 09:47:48 PM
Then spell it max_length ...
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on August 30, 2008, 09:58:44 PM
Errr... no. "length" is correct English - however, in the .dat files it has been "lenght" for a long time (even the sources of pak64 and the wiki show it that way).

EDIT:
But maybe you did it the other way round and used "max_length" instead of max_lenght" ?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: VS on August 31, 2008, 08:09:15 AM
th, ht...

Lenght, Width. Well known to all programmers. It's present even in Borland's VCL (maybe no more). Nobody cares for spelling :-\
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on August 31, 2008, 12:33:59 PM
I already checked it. I wrote "max_lenght".

for example I post AMT dat file.

BUT I just used the function "Spell Check" and it's not "max_lenght" but "max_length". "max_lenght" is written on the German wiki !
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on August 31, 2008, 12:42:15 PM
Quote from: gauthier on August 31, 2008, 12:33:59 PM
...
"max_lenght" is written on the German wiki !

max_lenght is the current name from parameter

in the current makeobj was probably changed to max_length

max_lenght is apparently no longer supported

or is a bug in makeobj/simutrans
Title: Re: problem with latest makeobj (makeobj 49)
Post by: prissi on August 31, 2008, 06:40:31 PM
Is supported in the next again, since this was reported earlier.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on September 23, 2008, 07:44:40 PM
constraint don't work  :-[
Title: Re: problem with latest makeobj (makeobj 49)
Post by: wernieman on September 23, 2008, 07:46:42 PM
Was is your Errormessage?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on September 23, 2008, 07:55:41 PM
"None" must be the last entry, not the first!

EDIT:
"SNFOS_None" appears to be a typo for "none", while "SNFOS_Aero_avant" and "SNFOS_Aero_bar" are not defined at all in this file.  ;)

So try these for front:
Constraint[Prev][0]=SNFOS_Aero_rear
Constraint[Prev][1]=None
Constraint[Next][0]=SNFOS_Aero_car
Constraint[Next][1]=SNFOS_Aero_mails


and these for rear:
Constraint[Prev][0]=SNFOS_Aero_car
Constraint[Prev][1]=SNFOS_Aero_mails
Constraint[Next][0]=SNFOS_Aero_front
Constraint[Next][1]=None

Title: Re: problem with latest makeobj (makeobj 49)
Post by: Frank on September 23, 2008, 09:20:49 PM
none not None
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on September 23, 2008, 09:54:34 PM
I don't remember that being case-sensitive... ???
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on September 24, 2008, 11:44:37 AM
I put "none" in last position and replaced "SNFOS_none" by "none" but it doesn't work again. It is strange.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on September 24, 2008, 11:51:44 AM
Can you show me the new dat?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on September 24, 2008, 06:32:46 PM
of course
Title: Re: problem with latest makeobj (makeobj 49)
Post by: wernieman on September 24, 2008, 06:47:42 PM
And can you show us the pngs?
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on September 24, 2008, 06:54:35 PM
2 quick things:

1.) you use "SNFOS_Aero_bar" in your constraints several times - but this vehicle is not defined in the dat.

2.) in the "rear" vehicle you have "SNFOS_Aero_avant" in the constraints - the vehicle is called "SNFOS_Aero_front"
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on September 24, 2008, 07:07:43 PM
sorry it's the evening, I'm a bit tired -_-'

Thanks a lot, it works !
Title: Re: problem with latest makeobj (makeobj 49)
Post by: Christiansen on December 21, 2008, 12:47:22 AM
else starts me only a window jumps up and nothing
Title: Re: problem with latest makeobj (makeobj 49)
Post by: DirrrtyDirk on December 21, 2008, 01:29:32 AM
makeobj is a command line tool and has no GUI - so double clicking doesn't work.
Title: Re: problem with latest makeobj (makeobj 49)
Post by: gauthier on December 26, 2008, 07:09:33 PM
Currently I use two command files.

create.bat : create pak files from all dat files in the folder
merge.bat : merge all pak files in one pak file.

note : change the name of the pak file in merge.bat by opening it with a simple text editor ("bloc note" in the French version of windows).

create.bat : copy this in the text editor and save it with .bat extension
Quotemakeobj pak128 2>err.txt
=> errors will be written in err.txt

merge.bat copy this in the text editor, change the name of your final pak file as you want, save it with .bat extension
Quotemakeobj MERGE name.pak *.pak

these files MUST be in the same folder of makeobj.exe
Title: Re: problem with latest makeobj (makeobj 49)
Post by: z9999 on December 27, 2008, 02:23:51 AM
I'm using this.

Quote
makeobj pak128 > err.txt 2>&1
err.txt

In stderr, you can see olny png file related error.
Problems like syntax error are logged in stdout.

So, I always check both of them.