Page 1 of 30 12311 ... LastLast
Results 1 to 10 of 295
  1. #1
    Emulator Developer Rice's Avatar
    Join Date
    Nov 2001
    Location
    U.S.
    Posts
    1,578
    Mentioned
    0 Post(s)

    Rice Video 6.1.0c - HiRez Texture Loader

    Rice Video 6.1.0 By Rice1964

    What's new:

    1. External high resolution texture loading. Read HiRezTexture.txt for further information
    2. Texture group dumpping
    3. Zelda MM point lighting
    4. Software vertex clipper problem fix by not using inline for a few important functions.
    Microsoft C++ compiler did a very bad job of optimization before. By converting these inline
    functions to regular functions, the clipper works with much less glitches now.
    5. Some fixes on a few color combiners, including DirectX high-end, opengl 1.2/1.3, opengl 1.4,
    Nvidia openg register combiner. You may see various improvement on these combiners if you
    are using them.
    6. Various DirectX frame buffer related fixes
    7. Using BMGLibPNG to handle PNG files. The include BMGLibPNG.dll file must be placed under
    your emulator folder, not the plugin folder.

    Thread for version 6.0.0/6.0.0c
    Thread for version 5.9.9
    Thread for previous version 5.6.0
    Thread for previous version 5.5.1
    Thread for previous version 5.4.3b
    Thread for previous version 5.4.2, 5.4.1 and 5.4.0
    Thread for previous version 5.3.1
    Thread for previous version 5.1.0d

    Discussion about hi-res texture loading

    Rice
    02/24/2005

    EDIT #1: Rebuild to version 6.1.0b to disable the vertex shader option.
    EDIT #2: Rebuild with a minor fixes for the DirectX depth problem with some games, and to further disable frame buffer features for opengl

    Last edited by MasterPhW; March 3rd, 2011 at 17:33. Reason: replaced htlm code with bbcode
    - Rice
    http://1964emu.emulation64.com

  2. #2
    Emulator Developer Rice's Avatar
    Join Date
    Nov 2001
    Location
    U.S.
    Posts
    1,578
    Mentioned
    0 Post(s)

    The readme for texture dumping and loading

    How to use high resolution textures in Rice Video 6.1.0 and after

    1. There are two new options added in Rice Video version 6.1.0 under the "Texture Filters" tab
    LOAD option: "Loading hi-res textures if available"
    DUMP option: "Dump textures to files"


    2. Dumping textures
    a. If DUMP option is enabled, all textures used during the game play will be dumpped
    into a folder "[your_emulator_main_folder]\plugin\texture_dump\[current game name]\".

    [current game name] refers to N64 game internal name.
    For example, name for Zelda OoT is "THE LEGEND OF ZELDA".

    You can use your N64 emulator to check it. For 1964, the internal name is shown
    as one of the "Rom Information".

    b. Textures from different games will be dumpped into different folders.
    The plugin will create the folder if the folder does not exist.

    c. Textures are dumpped in either PNG or BMP format
    - RGBA, IA (intensity and alpha) textures are dumpped in 3 (or 2) files
    [filename part 1 - 4]_all.png
    [filename part 1 - 4]_rgb.png
    [filename part 1 - 4]_a.png if the alpha channel is not all 0xFF

    Please read the later section regarding filenameing.
    *_all.png files are 32bit per pixel PNG files with RGBA channels
    *_rgb.png files are 24bit per pixel PNG files with RGB channels.
    *_a.png files are 24bit per pixel PNG files with alpha channel only as intensity.

    - I (intensity only) textures are dumpped in 2 files, the alpha channel is not needed
    [filename part 1 - 4]_rgb.png
    [filename part 1 - 4]_all.png

    - Color indexed textures are dumpped in 1 file
    [filename part 1 - 4]_ci.bmp
    ATTENTION here: the color indexed bmp image is palletted image. If you want to modify
    this image, you MUST NOT change the pallettes.
    These palletted BMP files could have either 16 pallettes or 256 pallettes, depending
    on the original texture format in the N64 game.

    d. texture dump option can be enabled/disabled during the game play.

    e. The plugin keeps tracking all dumpped textures of the current game. Textures
    will not be redumpped if the texture has been dumpped.


    3. Loading high resolution textures
    a. If LOAD option is enabled, the plugin will try to load it when corresponding texture is used
    in the game.

    b. LOAD option can be enabled/disabled during the game play

    c. All high resolution textures must be placed under folder:
    "[your_emulator_main_folder]\plugin\hires_texture\[current game name]\"

    d. [current game name] must match the N64 game internal name

    e. Under the [current game name] folder, subfolders can be created and textures can be placed
    into the subfolders. The plugin will search all the subfolders recursively. Subfolders can help
    to manage all the textures.

    f. File files and format:
    In general, high resolution files to be loaded must follow the same filenames as dumpped.

    - Color indexed textures must be still in palletted BMP format
    - For RGBA, IA and I textures, you can provide
    *_rgb.png, *_a.png or
    *_rgb.bmp, *_a.bmp or
    *_all.png
    - Don't provide duplicate files for the same textures. If you provide the *_rgb, *_a files
    and also *_all.png file, the actually loaded files are not determined.

    4. File naming

    Example: THE LEGEND OF ZELDA#0A74F78C#4#1_rgb.png

    [part 1]#[part 2]#[part 3]#[part 4]_[part 5].[extension]

    part 1: The N64 game internal name
    part 2: CRC32
    part 3: Texture format in N64 game
    0 = RGBA
    1 = YUV
    2 = CI
    3 = IA
    4 = I
    part 4: Texture size in N64 game
    0 = 4 bit
    1 = 8 bit
    2 = 16 bit
    3 = 32 bit
    part 5: dumpped texture format
    rgb = 24 bit RGB format
    a = 24 bit alpha channel only in 24 bit RGB intensity
    all = 32 bit RGB format
    ci = color indexed (BMP) format
    extension:
    PNG
    BMP

    5. How to make your own hi-rez textures
    a. The hi-rez texture size could be 2, 3 or 4 times as the orginal N64 texture size
    b. Don't use other customerized texture sizes
    c. If the original texture has alpha channel, you MUST also provide the alpha channel by
    - Use *_all.png 32bit format
    - use both *_rgb and *_a files to provide RGB and alpha separately
    d. Color indexed textures must be prepared in color indexed format, not in RGB/A format
    e. Instead of *_rgb.png and *_a.png, you can provide your textures in *_rgb.bmp and *_a.bmp.
    BMP files are uncompressed, can be loaded faster
    f. *_rgb.png, *_a.png, *_rgb.bmp, *_a.bmp must be provided in 24 bit RGB format, not in other
    formats. Alpha *_a.* files must be 24 bit, only in 2 bit or 8 bit
    g. Filename must be kept the same as the original dumped texture filenames



    If you want to dump textures more effectively, please use the DEBUG version of the plugin in which you can pause/step/dump. You can pause at each drawing primitive, and dump associated textures at the primitive. All textures will be dumpped to your "D:\".

    The debugger version is not supported officially. If you cannot figure out how to use the debugger, ask your question in related thread.

    EDIT #1: Rebuild to version 6.1.1 to address reported problems about replicated large textures from small base textures when using high resolution textures.
    EDIT #2: Fix the CI bmp dump/reload problem for texture scan lines not 32bit aligned
    Last edited by Rice; March 9th, 2005 at 17:56.
    - Rice
    http://1964emu.emulation64.com

  3. #3
    Emulator Developer Rice's Avatar
    Join Date
    Nov 2001
    Location
    U.S.
    Posts
    1,578
    Mentioned
    0 Post(s)

    Some high resolution textures created by Federelli, SWAT_Marc, me and emutalk members

    There are some hi-res textures created by our EmuTalk members.

    Remember, you need to extract the textures to the "hires_texture" folder under the plugin folder. Textures for each game should go to its own folder named by the game name.

    For Mario 64, the folder name is: "SUPER MARIO 64"
    For Zelda, folder name is: "THE LEGEND OF ZELDA"

    Textures for Zelda OoT could be usable for Zelda MM or Zelda OoT Master Quest, but all the files must be renamed according to Zelda MM or Master Quest internal game name.


    Rice


    EDIT 1: All *_ci.bmp files are removed from the Zelda package.
    Last edited by Rice; February 24th, 2005 at 22:35.
    - Rice
    http://1964emu.emulation64.com

  4. #4
    EmuTalk Member 4real's Avatar
    Join Date
    Jan 2004
    Posts
    203
    Mentioned
    0 Post(s)
    Let me be the first to say great job rice.
    Having problems with Banjo Tooie then check out my faq here:

    www.Banjotooiefaq.co.uk

    Chat box now on site to talk one to one with ya problems.

    4real *all info is advice only and may not work on your system *

  5. #5
    Moderator
    Join Date
    Dec 2001
    Location
    Chester, England
    Posts
    5,220
    Mentioned
    1 Post(s)
    A few problems so far, will be interesting to see if it's just me having them.

    Got the plugin and files in: C:/1964/plugins
    The needed .dll for the PNG usage in C:/1964
    The textures for Mario in C:/1964/plugins/hires_textures/SUPER MARIO 64/

    Loading any game results in minimal graphics, often very garbled. Only option that works to fix this it seems is turning off the Vertex Shader - unfortunately this combined with the option to load new textures makes the whole computer lockup (black screen).

    /Edited to change the word Clipper to Shader
    Last edited by Trotterwatch; February 24th, 2005 at 18:38.

  6. #6
    EmuTalk Member JinXD's Avatar
    Join Date
    Apr 2004
    Location
    Scotland
    Posts
    927
    Mentioned
    0 Post(s)
    Congrats on the release Rice, have to give this a blast when I get home....


    OS: Vista Home Premium 32bit || CPU: Core 2 Duo E6750 2.66Ghz & Arctic Cooling Freezer 7 Pro || Mainboard: Abit IP35-E Intel P35 || RAM: Corsair TWIN2X2048-6400 2GB Kit DDR2-800 XMS2-6400 || Graphics: XFX 8800GTS 320MB || Audio: Sound Blaster X-Fi Xtreme || Storage: Samsung 320GB HD321KJ Spinpoint T|| Disk Drives: NEC AD-7170A-0B Multiwriter Black 18x DVD±RW || Case: Antec Nine Hundred/Ultimate Gamer || PSU: Corsair 520W HX Series Modular

  7. #7
    At your service, dood! ScottJC's Avatar
    Join Date
    Apr 2002
    Location
    Scotland
    Posts
    3,159
    Mentioned
    0 Post(s)
    Quote Originally Posted by Trotterwatch
    A few problems so far, will be interesting to see if it's just me having them.

    Got the plugin and files in: C:/1964/plugins
    The needed .dll for the PNG usage in C:/1964
    The textures for Mario in C:/1964/plugins/hires_textures/SUPER MARIO 64/

    Loading any game results in minimal graphics, often very garbled. Only option that works to fix this it seems is turning off the Vertex Clipper - unfortunately this combined with the option to load new textures makes the whole computer lockup (black screen).
    Unfortunatly, I am also having this problem... the only textures that load are the high res ones.
    Last edited by ScottJC; February 24th, 2005 at 18:11.

  8. #8
    Moderator Knuckles's Avatar
    Join Date
    Oct 2002
    Location
    Floating Island
    Posts
    1,781
    Mentioned
    1 Post(s)
    same here, I get nothing in Perfect Dark, no textures at all.... (everything is invisible except 2d menus/hud parts)

    EDIT: removed the "Vertex shader" option and now everything works fine.

    EDIT 2: wow, I didn't know it was also dumping textures with their alpha combined!!!

    THX a lot!

    also, I noticed the bad textured loading in the Grid on Perfect Dark, it still doesn't look correct ingame but the textures themself are ok when dumped!
    Last edited by Knuckles; February 24th, 2005 at 18:43.

  9. #9
    Ind. Design Student SWAT_Marc's Avatar
    Join Date
    Feb 2005
    Location
    Valencia
    Posts
    175
    Mentioned
    0 Post(s)
    This is the major step forward in N64 emulation. I expect Graphic-Packs for some games soon.

  10. #10
    Emulator Developer Rice's Avatar
    Join Date
    Nov 2001
    Location
    U.S.
    Posts
    1,578
    Mentioned
    0 Post(s)
    Quote Originally Posted by Knuckles
    EDIT: removed the "Vertex shader" option and now everything works fine.
    Did I unintentionally leave the "Vertex shader" option visible? The option supposed to be invisible because the feature isn't finished and does not seem to be faster than T&L with main CPU.

    EDIT: The option is visible but disabled for me. Is it changeable for anyone?
    Last edited by Rice; February 24th, 2005 at 20:03.
    - Rice
    http://1964emu.emulation64.com

Page 1 of 30 12311 ... LastLast

Similar Threads

  1. Rice Video 6.0.0c out
    By Martin in forum Emulation64.com News
    Replies: 0
    Last Post: January 7th, 2005, 07:46
  2. Rice Video 5.6.0 out
    By Martin in forum Emulation64.com News
    Replies: 0
    Last Post: May 22nd, 2004, 10:28
  3. Rice Video 5.5.1 WIP
    By Rice in forum 1964
    Replies: 348
    Last Post: May 18th, 2004, 13:22
  4. Rice Video Plugin 5.5.0 released
    By Martin in forum Emulation64.com News
    Replies: 1
    Last Post: March 31st, 2004, 13:07
  5. Rice Video Plugin 5.4.3b
    By Rice in forum 1964
    Replies: 317
    Last Post: March 29th, 2004, 08:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •