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
Possible bug with --buildmap
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: Possible bug with --buildmap
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.
I think it scans the map column by column (each column from top to bottom), left to right.
Re: Possible bug with --buildmap
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!
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!
Ciao
Fabrizio
Fabrizio
Re: Possible bug with --buildmap
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.
I'll probably change buildmap to ignore the fullscreen option when I get home tonight.
Re: Possible bug with --buildmap
>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!
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!
Ciao
Fabrizio
Fabrizio
Re: Possible bug with --buildmap
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.
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.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Possible bug with --buildmap
>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
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
Ciao
Fabrizio
Fabrizio
Re: Possible bug with --buildmap
Don't worry about it
This fullscreen stuff is indeed kind of confusing and just somewhat of a bug in buildmap.
This fullscreen stuff is indeed kind of confusing and just somewhat of a bug in buildmap.
Re: Possible bug with --buildmap
Fixed now.
Re: Possible bug with --buildmap
Erm, how do you make it skip all the beginning scripts?
Re: Possible bug with --buildmap
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')
(As you can see when you 'Journey Onward')