The Forum is up for sale: XeNTaX Forum looking for new owner

Sonic and Sega Allstars Racing

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
NVtom
ultra-n00b
Posts: 2
Joined: Thu Aug 08, 2019 8:00 pm
Has thanked: 1 time

Sonic and Sega Allstars Racing

Post by NVtom »

Hi :D
Im looking for some textures but i dont know how to get to them ...
In this post here is a file with the extension .zig .
viewtopic.php?f=16&t=13462&p=129718&hilit=Zig#p129718
I know that these .zig files include 2 models (textures) and i wanna know how i can get to them. Would be nice if you could kinda teach me how to do so. :) (in the post there was a answer where shakotay2 "solved" it)

If you could help i would appreciate that a lot.
Its for a little "project" for my friends and i.

[Sry for my bad english]
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 883 times

Re: Sonic and Sega Allstars Racing

Post by Acewell »

here is a quick quickbms script to cut the dds textures from decompressed .zig file. :D

Code: Select all

get FOLDER basename
math i = 1
findloc OFFSET string "DDS "
do
    goto OFFSET
    goto 0x14 0 seek_cur
    get SIZE long
    math SIZE + 0x80
    string NAME p "%s\%d.dds" FOLDER i
    log NAME OFFSET SIZE
    findloc NEXT_OFFSET string "DDS " 0 "" -1
    math OFFSET = NEXT_OFFSET
    math i + 1
while NEXT_OFFSET != ""
cuts top level mip only
maybe later i will improve it to get all mips unless someone else does first. :]
Post Reply