18 June 2017, 10:58 | #1 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
|
Jurassic Park OCS/AGA files extractor
Hi, as requested i've made a little files extractor for Disk based (RawDIC imaged) version of Jurassic Park (OCS/AGA)
(like the Zool one, http://eab.abime.net/showpost.php?p=...3&postcount=26). Usage: launch jurassic_extractor.exe from folder where reside the disks. All files are compressed with ProPack (RNC) so you need xfdDecrunch to unpack. The only exception is "textures.bin" that is a sub-indexed RNC file. Code:
#include <stdio.h> #include <stdlib.h> unsigned char b[4][970752]; char n[]={"Jurassic.d1"}; int main(int argc, char *argv[]) { FILE *fi[4], *fo; for (int i=0; i<4; n[10]++, i++) fi[i]=fopen(n,"rb"); if (fi[0]) { for (int i=0; i<4; i++) fread(b[i],1,970752,fi[i]); for(int pos=0; b[0][pos+8]; pos+=0x16) { if ((fo=fopen((char*)&b[0][pos+8],"wb"))) { int disk=(b[0][pos]>>4)-1; int strt=(((b[0][pos]&0xf)<<8)+b[0][pos+1]-0x18)*0x200; int len=__builtin_bswap32(*((int*)&b[0][pos+4])); fwrite(&b[disk][strt],1,len,fo); fclose(fo); }; }; for (int i=0; i<4; i++) fclose(fi[i]); }; return 0; } Bye ross |
18 June 2017, 16:21 | #2 |
CaptainM68K-SPS France
|
can you make a binary for X86 -32 bits windows please ?
|
18 June 2017, 16:44 | #3 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,474
|
Sure.
Cheers ross |
18 June 2017, 16:59 | #4 |
CaptainM68K-SPS France
|
thanks Ross !
|
18 June 2017, 17:11 | #5 |
CaptainM68K-SPS France
|
a few sentences :
"KISS MY ASS, IT'S A CHARACTER SCREEN!" "Last bit of code" "CHEAT MODE ACTIVE!" Last edited by dlfrsilver; 18 June 2017 at 17:18. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working version of Jurassic park AGA | Drake1009 | request.Old Rare Games | 17 | 11 December 2019 17:43 |
Super Skidmarks & Jurassic Park AGA | Steve | support.Games | 18 | 11 June 2017 11:21 |
Im looking for a working version of Jurassic Park AGA | stridus | request.Old Rare Games | 45 | 01 October 2013 19:46 |
Jurassic Park | Old Fool | support.Games | 4 | 05 March 2008 13:36 |
Ripping - Jurassic Park AGA | maVado | project.Sprites | 0 | 07 October 2005 17:45 |
|
|