Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

兵王2 PAK ztgame

Featured Replies

Hello! looking for help or advices to can unpack this archive, tried with many PAK scripts but unfortunately none works, newer client have different header  "SQL lite format 3" already opened with  SQLite Database Browser but cannot extract anything is just text. Thanks for your time!

icons.rar

  • Supporter

Hello!

Is it a PC game? Did you search for a quickbms script for the paks of the game?

Or you could use quickbms to do a comtype scan. (Little bit tedious because it's a brute force try of all quickbms compression algos.)

You could try a 3D ripper, which can rip textures, iirc. (No idea whether icons are supported.)

(Long ago I used a resource ripper for GUI elements of windows apps. Guess it was Resource Extractor Pro which allowed ripping icons from exe and dll files.)

btw, here's a github link. You might search through the files and tell us if you've found something related to PAK.

(Probably not, but worth a try, imho.)

Edited by shak-otay

  • Author
4 hours ago, shak-otay said:

Hello!

Is it a PC game? Did you search for a quickbms script for the paks of the game?

Or you could use quickbms to do a comtype scan. (Little bit tedious because it's a brute force try of all quickbms compression algos.)

You could try a 3D ripper, which can rip textures, iirc. (No idea whether icons are supported.)

(Long ago I used a resource ripper for GUI elements of windows apps. Guess it was Resource Extractor Pro which allowed ripping icons from exe and dll files.)

btw, here's a github link. You might search through the files and tell us if you've found something related to PAK.

(Probably not, but worth a try, imho.)

Hello Shakotay! yeah is a PC game but is an old one the current one and that have similar models is https://xx.ztgame.com / but is using SQL Lite format 3 and that seems more difficult to open. I also tried 3d rippers in game but doesn't work. I have found this https://github.com/hackerlank/restool_xxsjtool/tree/master, the models and textures are .mod and .tex because I have seen old models with that extension, but still not sure how to compile it.  :classic_blush:

  • Supporter

Thanks! But it doesn't compile. (edit: seems it needs to be compiled under Linux!)

Could you check this code (src\util.cpp) in your text editor? (mkdir is called recursively, so far so good.)

But the 0755 (makedir(DirName, 0755)) doesn't make sense to me. Might be an untranslated unicode char.

bool Util::mkdir(const char *path, bool dirflag)
{  
	char DirName[256];  
	strcpy(DirName, path);  

	for(int t = 0; t < strlen(DirName); t++)
	{
		if(DirName[t] == '\\')
			DirName[t] = '/';
	}

	int len = strlen(DirName);  
	if(dirflag && DirName[len-1] != '/')
		strcat(DirName,   "/");  
	len = strlen(DirName);  
	for(int i = 1; i<len; i++)  
	{  
		if(DirName[i]=='/')  
		{  
			DirName[i] = 0;  
			if(access(DirName, 0) != 0)  
			{  
				if(::mkdir(DirName, 0755) == -1)  
				{   
					cout << "[Util]mkdir failed: " << DirName << endl;
					return false;   
				}
			}
			DirName[i] = '/';  
		} 
	} 	
	return true;  
}  

 

Edited by shak-otay

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.