I'd like to get the sprites of this 2D action game, provided, once extracted, that they're easily readable~
Here a few cutted samples. Thanks
Ogre Tale - no extension
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Ogre Tale - no extension
I supposed the files are obfuscated because the data isn't readable, but there are visible patterns.
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Ogre Tale - no extension
Simple code for decrypt header
Content decryption > https://pastebin.com/6pCPz52c
Code: Select all
void Orge_Decrypt(BYTE* pBuffer, DWORD dwSize)
{
BYTE bXorByte = 0xA9;
for (int i = 0; i < dwSize; bXorByte += 6, i++)
{
pBuffer[i] ^= bXorByte;
}
}
Code: Select all
struct OrgeHeader
{
DWORD dwSize;
DWORD dwFiles; // ????
};
OrgeHeader TOrgeHeader;
fread(&TOrgeHeader, sizeof(TOrgeHeader), 1, fi);
TOrgeHeader.dwSize = ~TOrgeHeader.dwSize;
TOrgeHeader.dwFiles ^= 0x12876623;
BYTE *pBuffer = new BYTE[TOrgeHeader.dwSize];
memset(pBuffer, 0, TOrgeHeader.dwSize);
fread(pBuffer, TOrgeHeader.dwSize, 1, fi);
Orge_Decrypt(pBuffer, TOrgeHeader.dwSize);
Content decryption > https://pastebin.com/6pCPz52c
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Ogre Tale - no extension
Work-in-progress script based on your info:
Code: Select all
get SIZE long
math SIZE ^ -1
get FILES long
math FILES ^ 0x12876623
savepos OFFSET
encryption "incremental xor" 0xa9 6
log MEMORY_FILE OFFSET SIZE
for i = 0 < FILES
get DUMMY long MEMORY_FILE
next i
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Ogre Tale - no extension
Game does not start for me, so I can't look how the content is decrypted
-
- Posts: 8
- Joined: Fri Aug 31, 2018 4:50 am
Re: Ogre Tale - no extension
Googling "0x12876623" brought me here. Wow. As far as I can tell, Mages uses the same encoded containers in this game as it does in all current Phantom Breaker games (and hopefully the next one coming soon).
https://github.com/Lucina/ThirdPlaygrou ... tomBreaker
I have a working extractor (and working conversion for Phantom Breaker palette / RLE images), it should work for this as well.
https://github.com/Lucina/ThirdPlaygrou ... tomBreaker
I have a working extractor (and working conversion for Phantom Breaker palette / RLE images), it should work for this as well.
-
- Posts: 46
- Joined: Wed Sep 23, 2015 4:47 pm
Re: Ogre Tale - no extension
*facepalm* i didn't notice the previous answers, sorry guys.
And thanks corruptturret for your solution
And thanks corruptturret for your solution
-
- Posts: 13
- Joined: Fri Oct 02, 2020 2:04 pm
Re: Ogre Tale - no extension
corruptturret wrote:Googling "0x12876623" brought me here. Wow. As far as I can tell, Mages uses the same encoded containers in this game as it does in all current Phantom Breaker games (and hopefully the next one coming soon).
https://github.com/Lucina/ThirdPlaygrou ... tomBreaker
I have a working extractor (and working conversion for Phantom Breaker palette / RLE images), it should work for this as well.
The links are expired,is it possible for you to reupload the program? Thanks.