Spelkontroll  ::  Emulation64  ::  DCEmu.co.ukNetwork Sites:    About  ::  Hosting  ::  Donate 
Home Files Forums Reviews Guides Articles Interviews



Welcome to EmuTalk.net

Go Back   EmuTalk.net > N64 Emulation > 1964 > High resolution textures projects

Welcome to EmuTalk

Reply
 
Thread Tools Display Modes
Old March 8th, 2005, 03:34   #1
Rice
Moderator
 
Rice's Avatar
 
Join Date: Nov 2001
Location: U.S.
Posts: 1,574
Rice is a splendid one to behold
Beta version 6.1.1 beta10
I don't want to release it as an official version, but rather as a beta version, so you guys can try and see if it can solve the base texture replication problems which was encountered in Super Smash Brothers 64.

The new debugger version has also been uploaded to the official 6.1.0 thread.

To fix the problem I am talking about here for SSB 64, you need to redump the related textures. The plugin will dump the base textures, not the replicated and enlarged textures. Texture enhancement works should be done on these new dumpped base textures.

If you want to use the debugger DLL to dump the texture, you need to find the base texture files under your D:\. The image shown in the popup image viewer window is not the base texture, but the whole replicated and enlarged texture.

You still need to enable the option "Try to Use Smaller Textures (faster)" in order for the new hires textures to work. You must also disable the option "Alternative texture size calculation".

EDIT #1:
Fix the CI bmp dump/reload problem for texture scan lines not 32bit aligned
EDIT #2:
Beta 3 fixes the mirror texture replication problem when using the "Use smaller textures" option for SSB64. it also supports for JPEG image format, and generates screen shot image files in JPEG instead of PNG. For hires project, JPEG files can be used only for *_rgb and *_a files, not for *_all or *_ci files. Paired *_rgb and *_a files must be both in same format (JPEG, PNG or BMP). To use the new beta, you need to copy the BMGlib.dll file to your emulator folder. Filename extensio for JPEG files is ".jpg", not ".jpeg".

Note:
When comparing to PNG, JPEG does not give better texture quality since it uses lossy compression. The intention to support JPEG format is to provide the 2nd option for large textures. Even JPEG files are smaller on disk (for large textures), such textures will take the same amount of memory after loaded. JPEG works better for screen shot feature then PNG. JPEG screen shot files are usually much smaller than PNG files, and we don't need a lossless screen shot anyway.
EDIT #3:
Beta 4 fixes a stupid bug (misplacing a single line) which causes the mirror hires texture replication problem with opengl.
EDIT #4:
Beta 5 adds the ability to load RGBA texture in PNG format for CI textures. Please see my following post for more details about how to use it.
EDIT #5: Beta 6
Try to solve the mirrored texture replication problem again, and the minor texture dump bug reported for beta 5. The minor bug is actually a big one, especially for games using CI mirror texture but not using the "Using smaller texture" option.
Sorry for some of you. If you find some of your hires textures stop working after this beta, check the dumpped texture with the new plugin against the textures you created. The plugin need you to provide replicated textures, you may need to mirror-replicate your texture as the newly dumpped texture. (It should not be a big deal for you.)
This beta should also fix some weired problems that half dumpped texture is black, and problems with hires textures won't load because of the mirror/non-mirror texture size mismatch.
EDIT #6: Beta 7
Fix the hires texture problem with clamped textures as the bug reported by _pm_ for the link shield in SSB 64.

EDIT #7: beta 8
Try to solve the hires texture loading problem at mirroring and clamping situations (again).
Forget about the changes in beta 6. We are now back to use the base textures, not the mirror-replicated textures for the mirroring situation. This is for both CI and RGBA textures. Beta 5 was in this way for CI textures only.

The new beta 8 works in all situations as I tested.

Again, if your texture stop working after beta 8 but was working before it, try to dump it again and check your texture against the dumpped one. You may need to half your textures.

Please don't complain about the such changes. This is the reason why I call the release as a beta, which is supposed to change. And I am sure that each change is making the plugin to a better direction.

To dump a perticular texture, it is much easier to use the debugger version. This is the reason why I am included the debugger version in the release.


EDIT: for beta 9
- Display initialization messages to tell the status of texture file searching progress
- Won't remember the texture dump option value anymore. This option will be disabled when the plugin is loaded. In order to use the texture dump feature, you have to manually turn it on every time after you restart the emulator. This prevents the texture dump option is accidentally left on.
- Fix the graphic tearing problem at Super Mario head (This is a general bug in many games) and related polygon depth bias problems.
- Textures are now dumpped into subfolders and texture dump will also check into the subfolders.
- Using sorted list to manage the texture info, and using binary search to speed up texture checking/loading process. This should speed up the game when texture dump is enabled, also speed up hires texture loading a little bit.
- Palette CRC calculation is only up to the maximum palette values really used by a texture. This will reduce the duplicated texture dump for different palette CRC values.
- Other extra checking to reduce duplicated texture dump
- For Mario Kart. You want to enable the option "Fast loading tiles". The new beta will give you much better texture dump for this game because of new implementation and extra check on texture size for this game. For most textures used by this game, you can have them dumped in complete textures instead of broken sub-textures.
Edit for beta 10
I don't know why beta 9 has the bug. C++ template didn't do the job as it should do. So I have to add extra check on the Sorted List search result to make sure it is valid.
And there was no problem with the DEBUG build.
Now beta 10 should be work as beta 9 should.

I really wish this beta is the final beta.
Edit 03/26/2006
Source code is released.
Attached Files
File Type: rar BMGlib.rar (218.9 KB, 119551 views)
File Type: rar RiceVideo6.1.1beta10.rar (669.9 KB, 161139 views)
File Type: rar RiceVideo-6.1.1-beta10-src.rar (321.0 KB, 27057 views)
--------------------
- Rice
http://1964emu.emulation64.com

Last edited by Rice : March 27th, 2006 at 04:44.
Rice is offline   Reply With Quote
Old March 8th, 2005, 03:40   #2
Rice
Moderator
 
Rice's Avatar
 
Join Date: Nov 2001
Location: U.S.
Posts: 1,574
Rice is a splendid one to behold
Screen shots to show how the new beta version works.

Shot #1: No texture replacement
Shot #2: With texture replacement (I just enlarged the orginal texture by 4 times, and added some dark lines)
Attached Thumbnails
Click image for larger version

Name:	SMASH BROTHERS-2.jpg
Views:	41666
Size:	62.6 KB
ID:	22192  Click image for larger version

Name:	SMASH BROTHERS-3.jpg
Views:	45149
Size:	69.9 KB
ID:	22193  
--------------------
- Rice
http://1964emu.emulation64.com
Rice is offline   Reply With Quote
Old March 8th, 2005, 09:34   #3
optimus$prime
EmuTalk Member
 
optimus$prime's Avatar
 
Join Date: Feb 2005
Location: Vienna
Posts: 154
optimus$prime is just really nice
great!

so i have to redump the textures
but how does this work with your 6.1.1 debugger?
--------------------
OPTIMUS PRIME
optimus$prime is offline   Reply With Quote
Old March 8th, 2005, 12:56   #4
_pm_
Pathetic Member
 
_pm_'s Avatar
 
Join Date: Feb 2005
Location: Buenos Aires, Argentina
Posts: 213
_pm_ is just really nice
Send a message via MSN to _pm_
Thanks Rice, I'll give it a try

EDIT #1: Great!! The textures are dumped correctly now.

The screenshots below show the modified textures (4X resized and with some numbers to identify them better).

However, there is one texture that seems to be ignored (second shot). Take a look at the RAR, it seems to be that one in PNG format, and it is also a replicated version of the "Number 5" texture. Considering that it has a different filename, I think you're working on something else, so I'm not going to ask about this. Just a comment.

EDIT #2: Rice, sorry to bother again, but I didn't realize about this before

It seems that the beta fix adds a new bug with some textures which are replicated where they shouldn't. Please take a look at the third screenshot, at Mario's 'M' and Pikachu's face. Hope this helps.
Attached Images
File Type: png SMASH BROTHERS-90.png (236.0 KB, 25821 views)
File Type: png SMASH BROTHERS-91.png (283.1 KB, 23078 views)
File Type: png SMASH BROTHERS-93.png (192.4 KB, 22875 views)
Attached Files
File Type: rar hyrule_castle_textures.rar (16.3 KB, 1769 views)

Last edited by _pm_ : March 8th, 2005 at 15:56.
_pm_ is offline   Reply With Quote
Old March 13th, 2005, 22:40   #5
Federelli
Beta Tester
 
Federelli's Avatar
 
Join Date: Oct 2002
Location: Buenos Aires, Argentina
Posts: 991
Federelli is a glorious beacon of light
Send a message via ICQ to Federelli Send a message via AIM to Federelli Send a message via MSN to Federelli
Rice, could you make it so that CI textures are dumped to a CI folder, ALL textures to ALL, rgb to rbg, and alpha to alpha?
It takes about 30 mins to load the folder with over 10000 files.

Also, if the dump folder is filled with textures (and the dump feature is enabled), the game will take hours to load, it seems as if it's checking each file inside the dump folder, for X reason. Can anything be done?
--------------------


MSI 975X Power Up Edition | Intel Core 2 Duo E6600 | 2GB Corsair XMS2 DDR2-800 4-4-4-12 | Seagate 60 7200RPM PATA UDMA5 & 320 SATA2| Visiontek HD 3870 | Dell 2007WFP 20.1" | SoundBlaster Audigy 2 | Jazz Speakers JS300 2.1 | LG GSA-H12N UDMA4 | Logitech G5 & G15 | Logitech Rumblepad 2 | Epson Stylus CX4700 | Windows XP+SP3 | DirectX 9.0c
Federelli is offline   Reply With Quote
Old March 13th, 2005, 23:01   #6
Rice
Moderator
 
Rice's Avatar
 
Join Date: Nov 2001
Location: U.S.
Posts: 1,574
Rice is a splendid one to behold
Federelli

All the texture files in the dump folder need to be checked in order to prevent duplicated dumpping.
--------------------
- Rice
http://1964emu.emulation64.com
Rice is offline   Reply With Quote
Old March 16th, 2005, 00:38   #7
cloudscapes
Carbon-based molecule.
 
cloudscapes's Avatar
 
Join Date: Sep 2002
Location: Montreal
Posts: 101
cloudscapes is a glorious beacon of light
Send a message via MSN to cloudscapes
Rice:
I thought that this would make a nice feature, an option (possibly a checkbox) for the texture dump to not dump a texture if it already exists in the hires folder. Would make post-dump-cleanup a lot easier. Just an idea.

Thanks so much for all your hard work!
--------------------
Mario 64 texture pack, work-in-progress.
cloudscapes is offline   Reply With Quote
Old March 17th, 2005, 03:07   #8
_pm_
Pathetic Member
 
_pm_'s Avatar
 
Join Date: Feb 2005
Location: Buenos Aires, Argentina
Posts: 213
_pm_ is just really nice
Send a message via MSN to _pm_
6.1.1beta3 comments
Thanks a lot, Rice!! It seems you've finally fixed all those annoying texture replications problems!

The screenshots below show some textures which have mirrored replications (the Bonus Stages are good for this). I took at texture at random and added a yellow square to make sure the plugin was loading it.

The first is from 6.1.0. The other screenshots were taken from 6.1.1beta3, one with the DirectX renderer and the other with OpenGL.

I posted screenshots for both renderers because I found a bug in the OpenGL renderer. Maybe you already know about it, but I wanted to inform anyways. (third screenshot)
EDIT: Fixed in beta4, thanks!

Also, thanks for adding JPEG support to your plugin. I'll give it a try later
Keep the good work
Attached Thumbnails
Click image for larger version

Name:	SSB_DirectX.jpg
Views:	20961
Size:	63.0 KB
ID:	22507  Click image for larger version

Name:	SSB_OpenGL.jpg
Views:	21136
Size:	65.0 KB
ID:	22508  
Attached Images
File Type: png SSB_Old.png (65.7 KB, 17421 views)

Last edited by _pm_ : March 20th, 2005 at 17:06.
_pm_ is offline   Reply With Quote
Old March 18th, 2005, 05:32   #9
spork9
RU D0WN W1TH 00P?
 
spork9's Avatar
 
Join Date: Jan 2005
Location: ~Las Vegas~
Posts: 163
spork9 is just really nice
Send a message via AIM to spork9 Send a message via MSN to spork9 Send a message via Yahoo to spork9
Im getting an error that makes it so that all the hires textures dont show up sometimes. Whars up with that?
--------------------
spork9 is offline   Reply With Quote
Old March 20th, 2005, 01:35   #10
elitejavi
it's-a me!
 
elitejavi's Avatar
 
Join Date: Sep 2004
Location: tucuman, argentina(gamers hell)
Posts: 39
elitejavi is just really nice
Send a message via MSN to elitejavi
well, i think the problem that _pm_ was talking is gone, here is the screenshot



seeya
Attached Thumbnails
Click image for larger version

Name:	SMASH BROTHERS-0.jpg
Views:	17313
Size:	51.4 KB
ID:	22681  
elitejavi is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chankast Utilities v.25 BETA Version Released! N7U8Team Chankast 35 July 7th, 2007 12:41
Beta Question, (NOT BEGGING FOR THE BETA) Super Noodle Dolphin 43 September 15th, 2004 21:52
Beta Release of version 1.4 aprentice Darkengine.dll 7 October 5th, 2002 04:14
Playstation2 emulator beta version alex12q Other Emulation Discussion 9 April 15th, 2002 12:13
Release of the final Version, how can i get the beta piccolo17486 Project64 20 December 14th, 2001 12:56


All times are GMT +1. The time now is 01:42.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.