OpenArena Message Boards

Other projects => Pointless => Topic started by: fromhell on October 15, 2008, 04:20:42 AM



Title: [Hak] Nuking the PAK protection
Post by: fromhell on October 15, 2008, 04:20:42 AM
One of the problems with Hammer of Thyrion is that it has stronger PAK checksum protection (refuses to run on anything but the commercial packs) and also sometimes refuses to load external files. This is bad for Haktoria.
The stuff all happens in quakefs.c. I tried to rip out the check but Portals still didn't function, and also it stopped loading external files, loading only from pak#.pak. Great.

I want to
- not depend on commercial paks
- play WITHOUT pak files
- play WITHOUT pop.lmp
- play Portals
- play Hworld


Title: Re: Nuking the PAK protection
Post by: andrewj on October 15, 2008, 06:14:23 AM
I want to
- not depend on commercial paks
- play WITHOUT pak files
- play WITHOUT pop.lmp
Clearly Haktoria will need some engine changes.
Unfortunately I'm busy with study for the next five weeks or so.

Quote
- play Portals
- play Hworld
Can't you play those games with the engine they came with?
(I don't see the relevance to Haktoria).


Title: Re: Nuking the PAK protection
Post by: fromhell on October 15, 2008, 11:53:00 AM
Can't you play those games with the engine they came with?
(I don't see the relevance to Haktoria).

The original engine restricts a commercial pak check for data1
Remember that Haktoria also covers Portals and Hworld


Title: Re: Nuking the PAK protection
Post by: fromhell on October 15, 2008, 04:53:12 PM
O Sezer of Hammer of Thyrion just implemented a 'standalone mod' feature in quakefs.c and h2option.h to support my project and it works!


Title: Re: Nuking the PAK protection
Post by: andrewj on October 18, 2008, 06:14:22 AM
Cool.