Stunts Forum

Stunts - the Game => Custom Cars with Stressed => Topic started by: nurse on October 07, 2013, 02:01:19 AM

Title: Stunts crashes when loading modified .p3s
Post by: nurse on October 07, 2013, 02:01:19 AM
Hey!

I've been trying to create a car for Stunts 1.1, and have been using Stressed to help me, but I've noticed an odd problem that occurs when I select a car with a stressed-modified model ingame: Stunts crashes. The only edit I did was adjust the car's spoiler height. Please help.

Thanks,
NN
Title: Re: Stunts crashes when loading modified .p3s
Post by: nurse on October 07, 2013, 02:07:47 AM
Screenshot of what happens when the game crashes:
http://puu.sh/4Jyhk.png
Title: Re: Stunts crashes when loading modified .p3s
Post by: Duplode on October 07, 2013, 02:24:14 AM
Fix: Change the file extension to .3sh and it should work.

Explanation: The standard 3D shapes in Stunts are in a compressed file format (or "packed", hence the "p" prefix in many extensions). stressed, however, only saves unpacked files. Stunts can load both compressed and uncompressed files, as long as the extensions are correct (the common correspondences are .p3s -> .3sh , .pvs -> .vsh and .pre -> .res ; the Wiki has a complete list (http://wiki.stunts.hu/index.php/Resource_file_format#File_names)). Incidentally, one of the latest patches to stressed (set for the next release) changes the behaviour of the save dialog to prevent the sort of issue you had.

P.S.: If you are going to use a .3sh or .vsh file, be sure that there is not a .p3s or .pvs file with the same name in the Stunts folder, as given both choices the game will pick the compressed file.
Title: Re: Stunts crashes when loading modified .p3s
Post by: nurse on October 07, 2013, 10:54:40 PM
Quote from: Duplode on October 07, 2013, 02:24:14 AM
Fix: Change the file extension to .3sh and it should work.

Explanation: The standard 3D shapes in Stunts are in a compressed file format (or "packed", hence the "p" prefix in many extensions). stressed, however, only saves unpacked files. Stunts can load both compressed and uncompressed files, as long as the extensions are correct (the common correspondences are .p3s -> .3sh , .pvs -> .vsh and .pre -> .res ; the Wiki has a complete list (http://wiki.stunts.hu/index.php/Resource_file_format#File_names)). Incidentally, one of the latest patches to stressed (set for the next release) changes the behaviour of the save dialog to prevent the sort of issue you had.

P.S.: If you are going to use a .3sh or .vsh file, be sure that there is not a .p3s or .pvs file with the same name in the Stunts folder, as given both choices the game will pick the compressed file.

Thanks, it works now!  ;D