Stunts Forum

Stunts - the Game => Stunts Questions => Topic started by: Spoonboy on January 15, 2024, 09:17:38 AM

Title: Desert.esh
Post by: Spoonboy on January 15, 2024, 09:17:38 AM
Hi folks,

When I try to load the ZCT270 track, I get an error message:

"desert.ESH FILE ERROR"

and Stunts quits to DOS.
Anyone else get this? Other maps work fine, this is the same 1.1 install I've always used.
Title: Re: Desert.esh
Post by: Daniel3D on January 15, 2024, 09:39:49 AM
I've seen that error before. I don't think it has to do with the horizon file but a memory overflow or something. But I can't remember what it was and that irritates me.
Title: Re: Desert.esh
Post by: Spoonboy on January 15, 2024, 11:47:25 AM
I can't see it mentioned anywhere else. The only thing I changed was to add this track and the 2024 custom cars I didn't have (removing a couple to make space).
I'm using Magic Dosbox for android, but as I say, it's only this track that triggers the issue.
A file named desert.esh isn't visible/searchable in any Stunts install I have (tried a fresh download just in case).
Maybe @alanrotoi included too many palm trees??  ;)
Title: Re: Desert.esh
Post by: Daniel3D on January 15, 2024, 12:33:46 PM
Quote[A file named desert.esh isn't visible/searchable in any Stunts
That is because the file doesn't exist.
*.Esh is an unpacked *.PES file. That extension is used but not for Horizons.

Check if all 5 horizons (desert.vsh, city.vsh etcetera) are still there.
And download a clean copy of the game.
Either from ZakStunts, CCC, the wiki or somewhere on the forum.
Title: Re: Desert.esh
Post by: Duplode on January 15, 2024, 01:31:48 PM
That's a weird crash, @Spoonboy ! I tried loading the track in my main install (DOSBox Staging 0.80 on Linux, and a Stunts folder seeded from the ZakStunts 2016 package, I think), and it seemed to work normally here. Since I don't really know where to start digging, I suggest trying a new install freshly downloaded from, say, Kalpen (http://stunts.kalpen.de/stunts.htm) (Dowload Stunts >> Download Stunts! 1.1, near the bottom of the page) or some other competition site, and/or DOSBox on a computer, be it running Windows, Linux or macOS. (I have no experience with DOSBox on Android -- @Daniel3D do you think that might be a factor?)

Also, if you attach a zip of you Stunts folder here, I can try to reproduce the crash in my computer when I get home in the evening.
Title: Re: Desert.esh
Post by: Argammon on January 15, 2024, 01:54:23 PM
@Spoonboy: I did a quick test, and it works on my system. Unfortunately, I can't think of any better solution than a complete reinstall either.

I know a little about Magic Dosbox. Too clarify, are you using Magic Dosbox to actually play the game? That is, are you playing on a phone or tablet and not with a keyboard or/and a controller?  :o  Knowing the details of your setup might help us track down the problem should a reinstall does not work...
Title: Re: Desert.esh
Post by: Erik Barros on January 15, 2024, 02:07:21 PM
I usually use magic dosbox on my cell phone to be able to watch some replays while I'm away, I downloaded the track of the month and it opened without problems, I'm using the zak 2023 version. I remember that when I hear the change from the 2022 season to 2023 and I went running I had a bug but I don't remember the details, at the time I downloaded the latest package from the website and it resolved it.
Title: Re: Desert.esh
Post by: Spoonboy on January 15, 2024, 02:21:41 PM
Fresh 2024 install seems to work fine!
Thanks all for your advice.

@Argammon yes I am 100% phone based and driving via Magic DOSBox, which lets me place keyboard keys on my screen as widgets. Means I can tailor it to my driving style (as mentioned in the DGC podcast).
Happy to help anyone interested in trying MD, and I can share my widget file if desired.
Any Stunts, anytime, anywhere!

Don't know what the old 2023 install was missing, but never mind. Tbh, clearing the decks for a new season is a good thing, less replays to scroll through. Should have tried this earlier, instead of concentrating on specific files etc.
Now, back to racing!
Title: Re: Desert.esh
Post by: Argammon on January 15, 2024, 02:51:37 PM
Quote from: Spoonboy on January 15, 2024, 02:21:41 PM[...]

@Argammon yes I am 100% phone based and driving via Magic DOSBox, which lets me place keyboard keys on my screen as widgets. Means I can tailor it to my driving style (as mentioned in the DGC podcast).
[...]

Wow, now with that in mind your lap times are really impressive. WOW!  8)
Title: Re: Desert.esh
Post by: Spoonboy on January 15, 2024, 05:11:04 PM
Quote from: Argammon on January 15, 2024, 02:51:37 PM
Quote from: Spoonboy on January 15, 2024, 02:21:41 PM[...]

@Argammon yes I am 100% phone based and driving via Magic DOSBox, which lets me place keyboard keys on my screen as widgets. Means I can tailor it to my driving style (as mentioned in the DGC podcast).
[...]

Wow, now with that in mind your lap times are really impressive. WOW!  8)

Haha, well it lets me place only the keys I need, exactly where I need them. Of course this obstructs the view slightly, but you get used to it.
And touchscreens are very sensitive nowadays, so the only lag in the system is my brain's reaction time  ;D
Title: Re: Desert.esh
Post by: Daniel3D on January 15, 2024, 07:51:47 PM
Quote from: Spoonboy on January 15, 2024, 05:11:04 PM
Quote from: Argammon on January 15, 2024, 02:51:37 PM
Quote from: Spoonboy on January 15, 2024, 02:21:41 PM[...]

@Argammon yes I am 100% phone based and driving via Magic DOSBox, which lets me place keyboard keys on my screen as widgets. Means I can tailor it to my driving style (as mentioned in the DGC podcast).
[...]

Wow, now with that in mind your lap times are really impressive. WOW!  8)

Haha, well it lets me place only the keys I need, exactly where I need them. Of course this obstructs the view slightly, but you get used to it.
And touchscreens are very sensitive nowadays, so the only lag in the system is my brain's reaction time  ;D
My brain isn't used to it. So I struggle a lot with it. But I've been running it for years.  8)
Title: Re: Desert.esh
Post by: Spoonboy on January 15, 2024, 09:48:41 PM
For future reference:
At the suggestion of @Cas in the shoutbox, I went searching for other desert. files. I found desert.pvs in the new 2024 install, which was missing in my original. Dropping this in solves the desert.esh issue! \o/

But I'll stick with my clean install this season (to save wading through all my 2023 replays), and will make it a habit to start each season with a fresh version each time.
Because cleanliness is next to Stuntliness.
Title: Re: Desert.esh
Post by: Cas on January 16, 2024, 07:35:36 PM
Ha, ha!  Glad it worked!  It's curious that it's a PVS, because the uncompressed variant would be a VSH not ESH. It seems that Stunts has even more option for scenery files. Then surely a PES file would work too, but we have no way to make one. It'd be interesting to see why it looks for that one too.
Title: Re: Desert.esh
Post by: Daniel3D on January 16, 2024, 08:06:46 PM
I think that it's a programmed error message. PES (Esh) files were used by earlier games of DSI as well. The are now only used in the track editor and intro animation. Those were probably made outside the core team. It could be that the horizon image also started as PES or Esh.
Title: Re: Desert.esh
Post by: Cas on January 16, 2024, 10:43:48 PM
The "P" in "PES" means "packed", following the rule of other extensions in Stunts. The "SH" in "ESH" stands for shape, following "3SH" and "VSH". Not sure what the "E" means. "Extra"?  I think ESH/PES files store bitmaps that are not car-related and yes, it seems to be an older format that has limitations and probably because of that, came VSH/PVS. Just guessing... it could be that ESH/PES have one byte to represent width and another to represent height, so images can't be larger than 255x255.
Title: Re: Desert.esh
Post by: Daniel3D on January 17, 2024, 12:10:34 AM
Pes files are also standard packed/encrypted. (Of the shelf encryption) other P## files use a dedicated packing, specifically made for stunts.
It's a shame it's still not implemented into stressed..
Title: Re: Desert.esh
Post by: Cas on January 18, 2024, 05:57:37 PM
I suppose they can be decompressed with stunpack. The thing is to later actually open them and edit the chunks
Title: Re: Desert.esh
Post by: Daniel3D on January 19, 2024, 09:57:48 PM
Quote from: Cas on January 18, 2024, 05:57:37 PMI suppose they can be decompressed with stunpack. The thing is to later actually open them and edit the chunks
No. PES is not packed with the stunpack algoritme..
But fully explained Here (https://forum.stunts.hu/index.php?topic=2898.0)