XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Nov 17, 2018 10:08 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Real Racing 3 (Android)
PostPosted: Wed Sep 06, 2017 8:50 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 929
Location: Russia, Siberia
Has thanked: 221 times
Have thanks: 107 times














You can make the ads go away by registering

zimex25 wrote:
I found bug in McLaren 720S, scirpt didn't name parts
http://www.mediafire.com/view/0c86bk8bn ... u%C5%82u(5).png#
can anyone reupload latest scripts?

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Real Racing 3 (Android)
PostPosted: Thu Sep 07, 2017 11:34 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Wed Jul 06, 2011 8:47 am
Posts: 385
Location: Russia
Has thanked: 665 times
Have thanks: 182 times
Tosyk wrote:
can anyone reupload latest scripts?

Not sure about latest or not :scaredy:


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Real Racing 3 (Android)
PostPosted: Tue Oct 24, 2017 3:56 pm 
Offline
advanced

Joined: Thu Feb 04, 2016 9:20 pm
Posts: 53
Has thanked: 4 times
Have thanks: 3 times
Anybody Can fix this bug?


Top
 Profile  
 
 Post subject: Re: Real Racing 3 (Android)
PostPosted: Sun Nov 26, 2017 1:02 pm 
Offline
ultra-n00b

Joined: Sun Nov 26, 2017 12:18 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
Hello everyone.

I have strange problem with *.ETC.DDS files.

Original file was sprites_0.etc.dds.z (907 Kb), i converted it with QuickBMS and QuickBMS script for *.z files. After that i got sprites_0.etc.dds (8 193 Kb) and i can't open it with any tool i got:

1. PVRTexTool (Error: Either file is not a valid image or texture file, or is an unsupported format. If the file is a simple bitmap or texture file, you could try wrapping it as raw data.);
2. Mali Texture Compression Tool (Error: Cannot load images. Cannot load the image. An invalid or unsupported compression method was detected.: *.etc.dds).

I also got barti script for QuickBMS, which convert *.ETC.DDS into *.PVR (8 193 Kb), but... something really wrong with quality of output file (look for attached file, i cut only 1 individual picture of big image):

1. It's upside down;
2. Horizontaly mirrored;
3. Low quality.

At the same time, image on the screen is better quality and bigger resolution. So, maybe it's problem with conversion? I have no such problem with direct conversion in *.pvr.

Also, ddsetc2pkm.bms is the same as barti script or it's something diffirent (but it's named *.pkm)? I didn't founded link on it to test.

Update: Founded that ddsetc2pkm.bms script. Converted sprites_0.etc.dds (8 193 Kb) into sprites_0.etc.tga (16 385 Kb). It's now rotated properly, but image quality is still same low.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Real Racing 3 (Android)
PostPosted: Wed Jul 11, 2018 7:44 am 
Offline
beginner

Joined: Mon Aug 11, 2014 4:57 pm
Posts: 22
Has thanked: 1 time
Have thanks: 1 time
barti wrote:
Corrected MAXScript:
https://www.sendspace.com/file/ucbrlk
http://s000.tinyupload.com/index.php?fi ... 6312862391 (mirror)

The Miura interior sample loads correctly now.
Also materials are automatically loaded into the Material Editor for easier texture replacing.
Image

Aluigi wrote a QuickBMS script for Real Racing 3, which can open the .z files as well as .bin files:
http://aluigi.altervista.org/papers/bms ... cing_3.bms

I also found out a while ago that the PVR format can contain ETC1 and RGBA4444 textures. So I made a etc.dds to pvr QuickBMS script to streamline the texture conversion process for this platform.
Code:
# Real Racing 3 .etc.dds to .pvr converter
#
# written by barti
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org

get NAME basename
string NAME += ".pvr"

idstring "DDS "
get HEADERSZ long
get SIZE     long
get WIDTH    long
get HEIGHT   long
get IMGSIZE  long
goto 84
getdstring ETCHEADER 4
goto 128

set MEMORY_FILE compressed eNp9w7ENAAAIAjAJDxoH/j+FDTabdHWcB7IMMl0A/w==

if ETCHEADER == "ETC "
   putvarchr MEMORY_FILE 8  6 long # stands for ETC1 RGB
elif ETCHEADER == "ATC "
   print "Sadly ATITC textures are not supported in the PVR container. Exiting script."
   cleanexit
elif ETCHEADER == "ATCI"
   print "Sadly ATITC textures are not supported in the PVR container. Exiting script."
   cleanexit
elif ETCHEADER == ""
   xmath IMGSIZE "WIDTH * HEIGHT * 2"

   putvarchr MEMORY_FILE 8  0x61626772 long # "rgba"
   putvarchr MEMORY_FILE 12 0x04040404 long # bits per channel
else
   print "Unsupported header found, exiting script."
   cleanexit
endif

putvarchr MEMORY_FILE 24 WIDTH   long
putvarchr MEMORY_FILE 28 HEIGHT  long
putvarchr MEMORY_FILE 44 1 long # MIPMAPS

append
log MEMORY_FILE 128 IMGSIZE
append

get SIZE asize MEMORY_FILE
log NAME 0 SIZE MEMORY_FILE


These are the texture formats in Real Racing 3 I've stumbled upon so far:
.atc.dds - ATI Texture Compression. Can be opened using The Compressonator.
.etc.dds - Ericsson Texture Compression and RGBA4444 for translucent images. I recommend converting them to .pvr using the above script.
.dxt.dds - DXT Texture Compression. These textures can be opened in any DDS viewer without any problems.
.ptc.pvr - PVR Texture Compression. These textures can be opened using PVRTexTool and imported into 3DS Max or Photoshop using PVRTexTool's plugins.



any can reupload those links? 1 link is off and mirror is deleted file


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot], Sunochan17 and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group