Important information: this site is currently scheduled to go offline indefinitely by end of the year.

NASCAR 2011

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

NASCAR 2011

Post by aluigi »

I have just made a quickbms script for supporting this file format:
http://aluigi.org/papers/bms/nascar2011.bms

the archives are composed by some ARCHIVE?.AR files and the index files called cdfiles.dat.
the signature in cdfiles.dat is "filE".
maybe other games support this format.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: NASCAR 2011

Post by aluigi »

and the following is the script for unpacking the ARC files (textures?):

Code: Select all

comtype lzo1x
idstring "ARCE"
get NAME basename
string NAME += ".unpacked"
goto 0x78
get ZSIZE long
get SIZE long
savepos OFFSET
clog NAME OFFSET ZSIZE SIZE
JimmyTheFox
n00b
Posts: 12
Joined: Sun Jan 30, 2011 3:33 pm
Has thanked: 1 time

Re: NASCAR 2011

Post by JimmyTheFox »

Thanks.

Ferrari Challenge: Trofeo Pirelli, Supercar Challenge and Ferrari: The Race Experience use this file format.

*Edit*

I thought I'd try it on the PS3 version and it doesn't work, I can't upload an archive because they're too big. Is there any other way I can upload something that will help you to add PS3 compatibility to the script?

Also tried Ferrari Challenge (PS3) and it that doesn't work either.
justin9
ultra-n00b
Posts: 1
Joined: Wed Jul 06, 2011 2:14 pm

Re: NASCAR 2011

Post by justin9 »

Any chance this could also be changed to work with the WII game? I had to modify the first part where it is looking for a "FILN" and it finds a FILE, but then I get an error where it looks like the script is looking for a different path than where the CDFILES.DAT file is directing it. I have even tried extracting the files off the ISO in folders that correspond to the file structure in the game iso... I get an error line 172 then it says something like \#/NAS/WII/....../file.xxx I'm at work now so I can get the entire error... but that's why i thought maybe there was a file path error causing me problems...

But before I get someone chasing some rabbits, I am new to this world, but only to the console system, I have been editing the PAPYRUS Nascar sims for a long time and have made custom tracks and such there for a long time... is it reasonable to believe that I may get to a point with this where I can import new tracks and car models, maybe edit the physics and change the screens and have a entirely new game bascially?
jimjack
ultra-n00b
Posts: 8
Joined: Sun Nov 07, 2010 8:56 pm
Has thanked: 7 times

Re: NASCAR 2011

Post by jimjack »

justin9 wrote:Any chance this could also be changed to work with the WII game? I had to modify the first part where it is looking for a "FILN" and it finds a FILE, but then I get an error where it looks like the script is looking for a different path than where the CDFILES.DAT file is directing it. I have even tried extracting the files off the ISO in folders that correspond to the file structure in the game iso... I get an error line 172 then it says something like \#/NAS/WII/....../file.xxx I'm at work now so I can get the entire error... but that's why i thought maybe there was a file path error causing me problems...

But before I get someone chasing some rabbits, I am new to this world, but only to the console system, I have been editing the PAPYRUS Nascar sims for a long time and have made custom tracks and such there for a long time... is it reasonable to believe that I may get to a point with this where I can import new tracks and car models, maybe edit the physics and change the screens and have a entirely new game bascially?

you have a pm
TOUGH
ultra-n00b
Posts: 1
Joined: Wed Apr 20, 2011 10:38 pm

Re: NASCAR 2011

Post by TOUGH »

Has anyone extracted the car files for this game yet? If so contact me [email protected]
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 305 times
Contact:

Re: NASCAR 2011

Post by Chipicao »

I have been researching ARC files from PS3 games such as Nascar, Ferrari TRE and Supercar Challenge.
They use a different compression compared to their X360 counterparts, but I can't figure out what it is.

The ARC header appears to be the same, with ZSIZE and SIZE @0x78
I'm uploading a small sample from Nascar'14 PS3: NASCAR5_ALLOY0_X.ARC 287 KB
I've tried running the comtype_scan2 but none of the results seem viable.
Algorithms 95, 218 and 219 produce some strings, but I can't tell if they're random or corrupted.

EDIT: I have just tried comtype deflate and it works but so and so.
quickbms doesn't return any errors and the decompressed file has a standard ARC layout with a table at the beginning. However, no mater what file I try the decompressed stream is always 65536 in length, and obviously the file is incomplete.
Any ideas?


My goal is to make an updated "universal" script that will detect the compression type, extract the data and rebuild the file including the ARC header.

Code: Select all

idstring "ARC"
getdstring PLATFORM 1	#C=PC, E=X360, 3=PS3
if PLATFORM == "E"
    endian big
elif PLATFORM == "3"
    endian big
endif

get NAME basename
goto 0x76
get CTYPE short	#0=uncompressed, 1=lzo1x, 3=unknown PS3
endian little	#ZSIZE and SIZE are little endian regardless of platform
get ZSIZE long
get SIZE long
savepos OFFSET

log MEMORY_FILE 0 118
log MEMORY_FILE2 0 0
put 0x0 short MEMORY_FILE2
put 0x0 long MEMORY_FILE2
put 0x0 long MEMORY_FILE2

append
log MEMORY_FILE 0 10 MEMORY_FILE2
if CTYPE == 0
    print "%NAME%.ARC is not compressed"
    CleanExit
elif CTYPE == 1
    comtype lzo1x
    clog MEMORY_FILE OFFSET ZSIZE SIZE
elif CTYPE == 3
    #comtype ...
    #clog MEMORY_FILE OFFSET ZSIZE SIZE
else
    print "Unknown compression algo %CTYPE% in %NAME%.ARC"
    CleanExit
endif
append

get SIZE asize MEMORY_FILE
string NAME += "_decompressed.ARC"
log NAME 0 SIZE MEMORY_FILE
On a sidenote, is it possible to append variables to a memory file?
I found that using put VAR long MEMORY_FILE after log MEMORY_FILE 0 118 writes the long at the very beginning of the memory file. Even if I use it between append calls.
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.
Post Reply