Page 1 of 1
Possible bug with --buildmap
Posted: Tue Mar 11, 2003 11:19 pm
by Fabrizio
Hi again,
I think I hit a small bug with the --buildmap parameter.
Setup: Win98SE, Exult 1.0 and Exult 1.1 7-3-2003 CVS.
Exult is installed in the folder 'Exult' and SI and Bg are in two separate folders, which are subfolders of Exult.
Exult.cfg reflects this configuration and both the games run fine.
Problem appears when I try to generate a map.
If I start "Exult --bg --buildmap 2" from the Exult folder, then nothing happens and stderr.txt says that it's impossibile to set screen resolution at 2048x2048 at 8bpp.
But if I move to the Bg (or SI) folder and type:
"..\exult --bg --buildmap 2", then it works fine.
It seems to me that the program is unable to find the data map when started from the upper folder AND Bg and Si are subfolders. Happens both with 1.0 and the above 1.1 snapshot.
BTW, which is the order the PCX files are generated (i.e. the order the map is scanned)? Top/Bottom/Left/Right?
Ciao
Fabrizio
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 1:31 am
by wjp
Hm, do you maybe use fullscreen mode?
I think it scans the map column by column (each column from top to bottom), left to right.
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 1:36 am
by Fabrizio
Hi wjp,
yep, full screen mode.
> I think it scans the map column by column (each column from top to
> bottom), left to right.
Great, thanks, so I will be able to figure out where to find the map I need.
Thanks!
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 1:40 am
by wjp
You might've guessed it from my last post, but disabling fullscreen mode should fix the problem.
I'll probably change buildmap to ignore the fullscreen option when I get home tonight.
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 2:53 am
by Fabrizio
>You might've guessed it from my last post, but disabling fullscreen mode >should fix the problem.
I had that feeling
>I'll probably change buildmap to ignore the fullscreen option when I get >home tonight.
Great!
And neverending thanks for this option which will save me _hours_ of hand drawn mapping!
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 3:31 am
by Dominus
Sorry to be nitpicking again (just to point out to people that the documentation has its usefulness):
http://exult.info/docs.php#command_line :
--buildmap x
x = 0 shows all roofs, x = 2 pops them all.
You have to specify the game first (Example: exult --bg --buildmap 0).
Builds the map of the game specified. The map is huge and in pcx format, you will need a lot of ram to even look at this map once it is build (and even that requires a lot of patience)
Exult is required to be run in windowed mode and you get the best map if you started a new game before you build the map
But if Willem makes the change from above it would be best.
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 4:33 am
by Fabrizio
>Sorry to be nitpicking again (just to point out to people that the >documentation has its usefulness):
Me blushes.... You're perfectly right, I completely missed it.
To be _absolutely_ pedantic (and to partially excuse myself!) I must say that I checked the program line options looking at stderr.txt generated with exult -h, and here it lists only the option --buildmap without that additional useful line about the windowed mode (at least with latest 1.1 snapshot)
Sorry
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 4:52 am
by wjp
Don't worry about it
This fullscreen stuff is indeed kind of confusing and just somewhat of a bug in buildmap.
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 8:58 am
by wjp
Fixed now.
Re: Possible bug with --buildmap
Posted: Wed Mar 12, 2003 9:57 am
by Skutarth
Erm, how do you make it skip all the beginning scripts?
Re: Possible bug with --buildmap
Posted: Thu Mar 13, 2003 10:15 am
by wjp
Like the ship appearing in SI? If you don't explicitly save after starting a new game, the currently saved game state is the one from before the scripts.
(As you can see when you 'Journey Onward')