[Weapons] Help - attempting to rip ZAR

Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
  • Is the resource ENTIRELY my own work?
  • If no to the previous one, do I have permission from the original author?
  • If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

[Weapons] Help - attempting to rip ZAR

Post by wildweasel »

There's a Russian-made FPS game from 1996 called Z.A.R., which received a very limited release in the States. My interest in it is, obviously, the resources - graphics and sounds alike. There are a couple demos available from this butt-end-of-the-net gaming page (I make no guarantees as to the security of this website; I advise you to use Adblock and/or NoScript).

I have no idea how this game stores sounds and graphics (which are the parts I'm mainly interested in, especially the weapons and enemies). I do know, however, that the game seems to pick different palettes per level, which also plays into the weapons as the colors used in terrain are also used for parts of the weapons, creating a neat camouflage effect.

What I ask is assistance. I have no experience in reverse-engineering file formats, and would much like to figure out if it's possible to get the weapons out of it. They would certainly come in handy for Doom-related stuff, considering they're all centered.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

You should find the files that you believe are being used to store the game data first. Some games store them in files like a wad, while others simply have the data scattered around a number of folders.

The next few steps involve using a hex editor to ferret out information about how the data is being stored. There are a few sites on the web dedicated to reverse engineering game data files that might help.
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: Help - attempting to rip ZAR

Post by Remmirath »

If you manage to rip it, i'll give you a whole cookie box, WW! :D

I've always loved that FPS. :)
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm

Re: Help - attempting to rip ZAR

Post by Xaser »

I keep reading the thread title as "attempting to zip RAR"... You're doing it wrong!
User avatar
oODemonologistOo
Posts: 318
Joined: Tue Jul 17, 2007 10:30 am
Location: one of the labs of hell

Re: Help - attempting to rip ZAR

Post by oODemonologistOo »

Xaser wrote:I keep reading the thread title as "attempting to zip RAR"... You're doing it wrong!
Oh wow, I just did the same before clicking this thread. Good to know it wasn't only me :o
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: Help - attempting to rip ZAR

Post by Remmirath »

Okay, files seem to be stored in .sfs files. Check them. They contain the main data.
I have no idea how to open them, though. :|
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: Help - attempting to rip ZAR

Post by Remmirath »

Double post, i know, but i wanted to show what i've been able to do with screens and cleaning:

Image Image

So far this is the Sparker, slot 3.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

I might be able to help you rip the hud graphics. First I need to know where to find ZAR and then what resolution you're ripping the graphics at. You might have to PM me if ZAR requires "special sources" to get. ;) Hopefully there is a demo version, though.

Edit:
I downloaded a demo from Weasel's link, and I'm seeing a few problems with ripping the weapons, namely the hud obscures part of the weapon. It's not impossible however. Unfortunately, the demo doesn't include all of the weapons, nor does it include multiplayer maps that might make ripping the weapons easier.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: Help - attempting to rip ZAR

Post by wildweasel »

Snarboo, as soon as I get home, I'll assist you in locating the full version of this game. I understand it's ridiculously hard to find (I've got my sources but will not post them here).
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

Alright, thanks man. :) The impression I got from the brief demo is that it plays very well, so I wouldn't mind having the full version.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

I've done a preliminary run through of the game. So far, so good. It's running and I know how to start a multiplayer game.

That said, there are a few things that will make ripping the hud graphics difficult. The hud itself is the biggest issue as it obscures part of the weapon. Shrinking the screen size removes this problem, but creates another: the hud sprites become compressed. Not all of the weapons appear on every map, which will mean some of the weapons will have a different palette than others.

However, I am still willing to rip the graphics and remove as much of the hud as possible. I have also found two or three multiplayer maps that feature enough of the weapons and have large contrasting surfaces that ripping them should be relatively painless.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: Help - attempting to rip ZAR

Post by wildweasel »

One thing I think might come in handy: try running the game at 800x600 (larger resolution than the weapons were designed for) and then reduce the screen size to whatever makes the weapon look natural, if at all. Maybe experimenting with different screen resolutions and screen sizes would help - but through DOSBox, this obviously runs the performance down to awful levels.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

Wouldn't you know it, but that worked perfectly! Thanks man. :)

Setting the screen size about 3 notches down put the game into a perfect 640x480 window, which seems to be the resolution used to render the weapons. I've been able to rip 3 of the weapons so far using my usual methods. I probably missed a few frames of the weapons I was able to rip and I still need to rip the other weapons, but I'm uploading a preliminary version of the pack. Consider it a preview.

Please tell me what you think of the weapons:
[url=http://files.drdteam.org/index.php/file ... gfx.zipZAR - Weapon Resource[/url]
Last edited by Snarboo on Mon Sep 14, 2009 8:03 pm, edited 2 times in total.
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house

Re: Help - attempting to rip ZAR

Post by Remmirath »

Nice and clean rips. Good work. :)

However, the files that you called rkt_0x; that's not a rocket launcher; it's the Cannon. ;)

BTW, i'll see if i can finish the sparker rip.

The only problem that comes so far is the sound ripping. :|
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Help - attempting to rip ZAR

Post by Snarboo »

Here's a more recent version of the weapon pack:
ZAR - Weapon Resource

This version has every weapon in it. Three of the weapons have a different palette because I had to go to a different stage to rip them as not every stage has every weapon. Some of the weapons are missing a few frames such as the tornado cannon, the grenade launcher and the mega-flamethrower. Keep in mind I am still working on the rest of the frames.
Last edited by Snarboo on Mon Sep 14, 2009 8:03 pm, edited 1 time in total.

Return to “Resources”