- Posts: 4
- Thank you received: 0
Spam Prevention - PLEASE READ !! (23 Apr 2021)
Due to a problem with spammers the rules for posting in the forums have changed for new users.
Newly registered users won't have their posts published until a moderator approves them.
Help extracting maps from SWAT 3 (converting .dat to .scn)
- fedexxx
-
Topic Author
- New Member
-
Less
More
3 months 1 week ago #3835
by fedexxx
Hi everyone! I've been trying to extract some maps from SWAT 3 (GOG version) to convert them into a usable format. Inspired by the SWAT 3 WebGL Map Viewer, I wanted to extract and convert the maps to
to open them in , I managed to convert several maps that were in
format. However, most of the maps are not in that format but in
files. For example, I want to convert the
map to
to process it with
.I've tried various tools and methods to extract or convert
files, but without success. I used QuickBMS with generic scripts for
files, but it didn't work correctly. I also inspected the files with a hex editor, but I didn't find clear file signatures (like
,
, etc.).I'm not a programmer, so I've been following guides and relying on ChatGPT for help, but I've hit a SWAT 3 files and could help me extract or convert these maps? Any guidance, tools, or scripts would be greatly !
Code:
.obj
Code:
.scn
Code:
.dat
Code:
Code:
.scn
Code:
scn2obj
Code:
.dat
Code:
.dat
Code:
.scn
Code:
.dds
Please Log in or Create an account to join the conversation.
- Slippery Jim
-
- Administrator
-
Less
More
- Posts: 774
- Thank you received: 15
2 months 3 weeks ago - 2 months 3 weeks ago #3837
by Slippery Jim
Replied by Slippery Jim on topic Help extracting maps from SWAT 3 (converting .dat to .scn)
Your message makes it hard to read.
I take it basically you want Swat 3 maps in .obj format?
.dat files in the Swat 3 world are just glorified text files (just like .map files).
I take it basically you want Swat 3 maps in .obj format?
.dat files in the Swat 3 world are just glorified text files (just like .map files).
The following user(s) said Thank You: fedexxx
Please Log in or Create an account to join the conversation.
- fedexxx
-
Topic Author
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
2 months 3 weeks ago - 2 months 3 weeks ago #3839
by fedexxx
Replied by fedexxx on topic Help extracting maps from SWAT 3 (converting .dat to .scn)
Oh, sorry. I don’t know why my question looks like that. It seems like parts of the text were auto-hidden.
But yes, in summary, I want to convert certain maps from SWAT 3 to .obj or some other 3D format to open them in Blender.
The problem is that, in the folder structure of SWAT 3 (GOG version), I only find some missions. From "missionE" onwards, and a few other maps. I had no issues converting these maps to .obj using scn2obj or even inspecting them with the SWAT3 SCN Editor.
These missions are stored in a .zip file that contains several folders with textures, sounds, characters, etc.
Specifically, I want to extract mission 4 or "D" ("Home invasion"), which I can’t seem to find.
But yes, in summary, I want to convert certain maps from SWAT 3 to .obj or some other 3D format to open them in Blender.
The problem is that, in the folder structure of SWAT 3 (GOG version), I only find some missions. From "missionE" onwards, and a few other maps. I had no issues converting these maps to .obj using scn2obj or even inspecting them with the SWAT3 SCN Editor.
These missions are stored in a .zip file that contains several folders with textures, sounds, characters, etc.
Specifically, I want to extract mission 4 or "D" ("Home invasion"), which I can’t seem to find.
Please Log in or Create an account to join the conversation.
- Slippery Jim
-
- Administrator
-
Less
More
- Posts: 774
- Thank you received: 15
2 months 2 weeks ago - 2 months 2 weeks ago #3840
by Slippery Jim
Replied by Slippery Jim on topic Help extracting maps from SWAT 3 (converting .dat to .scn)
The main swat 3 folder scenes.res has the rest.
Just rename the extension to a .zip file and extract
Just rename the extension to a .zip file and extract
The following user(s) said Thank You: fedexxx
Please Log in or Create an account to join the conversation.
- fedexxx
-
Topic Author
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
2 months 1 week ago #3841
by fedexxx
Replied by fedexxx on topic Help extracting maps from SWAT 3 (converting .dat to .scn)
Yes, finally! Thank you so much!
I was able to extract the rest of the maps using the scenes.res file.
Leaving some clarifications for posterity, in case it helps someone else:
The scenes.res file only contains the geometry of the maps.
The textures and other assets are located in the Swatdata.res file, which can be extracted in the same way as scenes.res by changing the extension to .zip.
The texture files are in .bmp format. For some reason, Blender doesn’t apply them correctly (it assigns them, but they don’t show up). I’m not sure if it’s a Blender issue or if the files are too "archaic".
I converted all the .bmp files to .png, and it worked perfectly.
That’s all for now. Once again, thank you so much!
I was able to extract the rest of the maps using the scenes.res file.
Leaving some clarifications for posterity, in case it helps someone else:
The scenes.res file only contains the geometry of the maps.
The textures and other assets are located in the Swatdata.res file, which can be extracted in the same way as scenes.res by changing the extension to .zip.
The texture files are in .bmp format. For some reason, Blender doesn’t apply them correctly (it assigns them, but they don’t show up). I’m not sure if it’s a Blender issue or if the files are too "archaic".
I converted all the .bmp files to .png, and it worked perfectly.
That’s all for now. Once again, thank you so much!
Please Log in or Create an account to join the conversation.
Moderators: DarkSynopsis
Time to create page: 0.184 seconds