The Forum is up for sale: XeNTaX Forum looking for new owner
Lost Horizon *.SPR
-
hyndai
- advanced
- Posts: 58
- Joined: Tue Jun 03, 2008 9:55 pm
- Has thanked: 4 times
- Been thanked: 1 time
Lost Horizon *.SPR
Lost horizon
How extract this file :
sample 283ko compressed : http://www.zshare.net/download/79589016578c9328/
or demo at here : http://www.gamershell.com/download_62252.shtml
is *.spr extension i have try with sprext.exe but not works ( error reading structures) and tunguska explorer 1.1 seem dead links...if you can help me !
How extract this file :
sample 283ko compressed : http://www.zshare.net/download/79589016578c9328/
or demo at here : http://www.gamershell.com/download_62252.shtml
is *.spr extension i have try with sprext.exe but not works ( error reading structures) and tunguska explorer 1.1 seem dead links...if you can help me !
-
bacter
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Lost Horizon *.SPR
It looks like it's the modified version of the .SPR file format of
Secret Files: Tunguska and Secret Files 2: Puritas Cordis
The files are partially encrypted with a KeyNumber, which is game-dependant.
See the SPR description here: http://wiki.xentax.com/index.php/Secret ... nguska_SPR
If you send me the game EXE file, I'll try to find the actual KeyNumber.
Secret Files: Tunguska and Secret Files 2: Puritas Cordis
The files are partially encrypted with a KeyNumber, which is game-dependant.
See the SPR description here: http://wiki.xentax.com/index.php/Secret ... nguska_SPR
If you send me the game EXE file, I'll try to find the actual KeyNumber.
-
MeteoraMan
- n00b
- Posts: 12
- Joined: Wed Jul 07, 2010 9:39 pm
- Has thanked: 2 times
Re: Lost Horizon *.SPR
The contents of this post was deleted because of possible forum rules violation.
-
bacter
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Lost Horizon *.SPR
I couldn't use the EXE file, because it's packed/protected. But, I made a brute-forcer, so I got the KeyNumber: 0x08A0DC
I also created a primitive SPR extractor. Usage: LostHorizon_extr.exe <SPR_File> <TargetDir>
I also created a primitive SPR extractor. Usage: LostHorizon_extr.exe <SPR_File> <TargetDir>
Last edited by bacter on Thu Jun 23, 2011 6:36 pm, edited 1 time in total.
-
MeteoraMan
- n00b
- Posts: 12
- Joined: Wed Jul 07, 2010 9:39 pm
- Has thanked: 2 times
Re: Lost Horizon *.SPR
bacter
I want to translate this game to Russian language.
You helped me a lot.
Thank you very much.
I want to translate this game to Russian language.
You helped me a lot.
Thank you very much.
Last edited by MeteoraMan on Wed Aug 25, 2010 10:13 pm, edited 1 time in total.
-
hyndai
- advanced
- Posts: 58
- Joined: Tue Jun 03, 2008 9:55 pm
- Has thanked: 4 times
- Been thanked: 1 time
Re: Lost Horizon *.SPR
bacter thank you for your help !!! and only the data.spr make 1.53 giga and have a error ( like you said in your *.exe ):
G:\MES JEUX 6\Lost Horizon2>LH.exe "data.spr" "g:\MES JEUX 6\Lost Horizon2\" 1>log.txt
Exception EAccessViolation in module LH.exe at 00002CF5.
Access violation at address 00402CF5 in module 'LH.exe'. Write of address 012AC00D.
the file video.spr size is 1.33 giga is extracted with 0 errors, i hope you make a fix.
G:\MES JEUX 6\Lost Horizon2>LH.exe "data.spr" "g:\MES JEUX 6\Lost Horizon2\" 1>log.txt
Exception EAccessViolation in module LH.exe at 00002CF5.
Access violation at address 00402CF5 in module 'LH.exe'. Write of address 012AC00D.
the file video.spr size is 1.33 giga is extracted with 0 errors, i hope you make a fix.
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
Re: Lost Horizon *.SPR
@bacter: Thanks for publishing the key domain value. As I had already deleted my brute force tool used to get the Secret Files 2 key, you saved me the hassle of doing this all over again. 
I have update my SPRExt application accordingly to support Lost Horizon as well. Also, since Lost Horizon uses the SSHC compression method in its data files, I have added support for this method as well. The Secret Files games use this method in their save games, which means that these should now be decompressable as well.
If you find any bugs in the tool, please let me know.
For those interested, the format news have been roughly documented at the wiki page quoted above.
Best wishes,
Deniz
I have update my SPRExt application accordingly to support Lost Horizon as well. Also, since Lost Horizon uses the SSHC compression method in its data files, I have added support for this method as well. The Secret Files games use this method in their save games, which means that these should now be decompressable as well.
If you find any bugs in the tool, please let me know.
For those interested, the format news have been roughly documented at the wiki page quoted above.
Best wishes,
Deniz
Re: Lost Horizon *.SPR
Thank you Deniz for releasing the SPRExt application with the source code 
I have to say that it's working great under Wine.
And also, thanks bacter for the key domain value
I have to say that it's working great under Wine.
And also, thanks bacter for the key domain value
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
Re: Lost Horizon *.SPR
Thanks for the feedback! Glad to hear the program is accessible despite my platform choice.
Best wishes,
Deniz
Best wishes,
Deniz
-
Deniz Oezmen
- VIP member

- Posts: 185
- Joined: Mon Aug 28, 2006 2:07 pm
- Has thanked: 1 time
- Been thanked: 14 times
- Contact:
Re: Lost Horizon *.SPR
Interesting. How do you get the modified files back into the game? Do you have a repack tool or does it suffice to simply place the files outside of the SPR archives into the correct directory?
-
stevenx
- veteran
- Posts: 130
- Joined: Sat Nov 01, 2008 12:02 pm
- Has thanked: 3 times
- Been thanked: 1 time
Re: Lost Horizon *.SPR
Yes,simply place the files outside of the SPR archives into the correct directory.Deniz Oezmen wrote:Interesting. How do you get the modified files back into the game? Do you have a repack tool or does it suffice to simply place the files outside of the SPR archives into the correct directory?
Extract the loca.spr and copy data folder to game root,and remove loca.spr from archives.ini like this:
[Archives]
ArchiveFileCount=5
ArchiveFile0=data.spr
ArchiveFile1=music.spr
ArchiveFile2=music.spr
ArchiveFile3=video.spr
ArchiveFile4=data_patch.spr
ArchiveFile5=loca_patch.spr
ArchiveFile6=video_patch.spr
ArchiveFile7=music_patch.spr
ArchiveFile8=data_patch2.spr
ArchiveFile9=loca_patch2.spr
ArchiveFile10=music_patch2.spr
-
bacter
- veteran
- Posts: 142
- Joined: Mon Feb 22, 2010 8:42 pm
- Has thanked: 2 times
- Been thanked: 83 times
Re: Lost Horizon *.SPR
There's another way. You can make your own .SPR file and put it to the end of the list in the "archives.ini".
Example:
This is my very primitive .spr maker (originally I created to the Secret Files : Tunguska)
It's a work-in-progress version, there's no SLZX, SSHC or any other kind of data compression,
but it works. (At least it worked with the Tunguska games)
Example:
Code: Select all
[Archives]
ArchiveFileCount=7
ArchiveFile0=data.spr
ArchiveFile1=loca.spr
ArchiveFile2=music.spr
ArchiveFile3=video.spr
ArchiveFile4=data_patch.spr
ArchiveFile5=MY_MODIFIED_FILES.SPR
ArchiveFile6=THESE_ARE_MY_FILES_TOO.sprIt's a work-in-progress version, there's no SLZX, SSHC or any other kind of data compression,
but it works. (At least it worked with the Tunguska games)
