[HowTo] Ati Radeon -> Ati FireGL (softmod)

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  04 April 2005
[HowTo] Ati Radeon -> Ati FireGL (softmod) [2.1]

Easy HowTo Version 2.1
by Martin Binczyk, for educational purposes only

Change Log:

- 2.1 - Fixed PatchScript Modification section (thanks dokturpotfor!!)

- 2.0 - Includes PatchScript Modification for use with PCIe cards (V7100, V5100 and V3200 are supported right now)
- 1.5 -
Updated Radeon XXXX = FireGL XXXX list (thanks antrent)
- 1.4 - Updated driver (fglmax too) links with newer version (8.083 - tested)
- 1.3 -
FireGL 3dsmax driver softmod added
- 1.2 -
adding custiom resolutions to your driver
- 1.1 -
deviceID changing for multi-monitor setups explained
- 1.0 -
Initial version


This guide is entirely based on information from Guru3D.com forums/site. I decided to rewrite it so it's all in one place, as easy to follow as possible. A special thanks goes to the man that made it all possible, author of RivaTuner and SoftFireGL scripts - Alexey "Unwinder" Nicolaychuk

1. The things you'll need

  • A Radeon card (should work with 9500 and up) under Windows 2000, XP or 2003
  • ATI FireGL 8.083 driver Why this one? Because it's tested and know to work with Riva Tuner 2.0 RC 15.4. Later versions will not work with this version of SoftFireGL patch script.
  • RivaTuner 2.0 RC 15.4
  • WinRAR (for unpacking the driver, others should work too)
  • FireGL Driver for 3dsmax (if you are going to use it)
2. Modifying the drivers

Once you have the driver downloaded, unpack it somwhere (right-click and select Extract Files...)

Install RivaTuner

>>> PatchScript Modification for PCIe Cards.

Special thanks goes to JoeJoe form Guru3D forums for providing these masks and Viktor Basso (Cell_v14) from CGTalk for testing that solution.

a) Go to: <directory where you installed RivaTuner>\PatchScripts\ATI\SoftFireGL\Unified\ and open file SoftFireGL w2k.rts in Notepad.

b) Find file section [Common] .You need to replace following lines there (just paste the lines highlighted in red here to your own file and save it):

    SrcFile	= ati2mtag.sys
    BakFile = ati2mtag.old
    HlpFile	= SoftFireGLUnified.rth
    MakeCRC = 1
    Packed	= 1
    	;common script for 649x+
    DstVar0	= force FireGL V7100 capabilities
     DstVar1	= force FireGL V5100 capabilities
     DstVar2	= force FireGL V3200 capabilities
    DstVar3    = force FireGL V5000 capabilities
    DstVar4	= force FireGL X2 capabilities (4-pipeline mode)
    DstVar5	= force FireGL X3 capabilities
    Src0	= 81 F9 00 80 00 00 0F 85 00 00 00 00 A9 00 00 00 08
    SCM0	= FF FF FF FF FF FF FF FF 00 00 00 00 FF FF FF FF FF
    Dst0	= 81 F9 00 80 00 00 0F 85 00 00 00 00 0D 00 00 00 08
    DCM0	= 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 00
    Num0	= 2
    Src1	= 81 F9 00 80 00 00 75 00 A9 00 00 00 08
    Dst1	= 81 F9 00 80 00 00 75 00 0D 00 00 00 08
    DCM1	= 00 00 00 00 00 00 00 FF 00 00 00 00 00
    Src2	= 83 F8 40 75 00 66 81 BD 00 FF FF FF 02 10 75 00 0F B7 85 02 FF FF FF
    Dst2_0	= 0F B7 85 02 FF FF FF 66 25 00 FF 66 0D 50 00 66 89 85 02 FF FF FF 90
     Dst2_1	= 0F B7 85 02 FF FF FF 66 25 00 FF 66 0D 51 00 66 89 85 02 FF FF FF 90
     Dst2_2	= 0F B7 85 02 FF FF FF 66 25 F0 FF 66 0D 04 00 66 89 85 02 FF FF FF 90
    Dst2_3	= 0F B7 85 02 FF FF FF 66 25 00 00 66 0D 48 5E 66 89 85 02 FF FF FF 90
    Dst2_4	= 0F B7 85 02 FF FF FF 66 25 F0 F0 66 0D 0B 01 66 89 85 02 FF FF FF 90
    Dst2_5	= 0F B7 85 02 FF FF FF 66 25 00 00 66 0D 4D 4A 66 89 85 02 FF FF FF 90

>>> PatchScript Modification ends here

Go to <directory where you installed RivaTuner>\PatchScripts\ATI\SoftFireGL\Unified\ and run the SoftFireGL w2k.rts script.

Select the FireGL card you want to mod the driver for (It has to be a workstation equivalent of your radeon!):

Radeon 9500 NP = FireGL Z1 (NP - Non Pro)
Radeon 9600 = FireGL T2
Radeon 9500 Pro, Radeon 9700 = FireGL X1
Radeon 9800 = FireGL X2
Radeon 9800SE = FireGL X2 (4-pipeline mode)
Radeon X800 = FireGL X3

If you're using the PCIe version of the PatchScript then select:

Radeon X800XT/XL (PCIe) = FireGL V7100
Radeon X800 (PCIe) = FireGL V5100 (can someone confirm this?)
Radeon X700/X700Pro (PCIe) = FireGL V5000
Radeon X600 (PCIe) = FireGL V3200

(If I've made some mistakes here please let me know)

and click Continue.

The script will prompt you for a location of ati2mtag.sys file, change the file type to ati2mtag.sy_ and browse to <location of your unpacked drivers>\Driver\2KXP_INF\B_19827\ati2mtag.sy_ (select the file and click Open).

A window will appear waring you that the file is not certified to work with this script, click OK and after a while you should see another window that says "Patch script has been successfully executed. Read log for details." (if there is something else here then the patch has failed and there is a VERY good chance that the mod will not work).

Now you need to manually modify the drivers .ini files with your cards device ID.

First you need to know what your cards PCI deviceID is. Launch RivaTuner, in the Main tab you should see a line like this:

"256-bit R350 (8x1) with 128MB DDR memory Customize..."
(of course yours will be most likely different).

Click on the little button next to "Customize..." and select "Graphics subsystem diagnostic report" (4th icon from the left). Scroll down till you see "Display adapter information" and right under that there should be a line Device ID : xxxx. Copy that number (where xxxx are) or write it down somewhere.

Go to <location of your unpacked drivers>\Driver\2KXP_INF\ and open in Notepad:
-> C2_19953.inf if you are on Windows 2000
-> CX_19953.inf if you are on Windows XP/2003

You can modify both if you want.

Inside those files you should see a section [ATI.Mfg.NTx86] with adapters listed. Once again, remember for which card you are moding your drivers (in my case it was R9800 -> FireGL X2 mod) and modify ONLY the appropriate lines.

Find the firegl that you want to mod your radeon into and modify it's Device ID with your cards Device ID

Be aware that normal and Secondary adapter deviceID's usually differ in third digit. Change only the digit that is different between your deviceID and FireGL device id in both lines of the .inf file.

In my case this was:

Original file:
"ATI FireGL X2 AGP Pro" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E4B
"ATI FireGL X2 AGP Pro Secondary" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E6B

RED DIGIT - different between primary and secondary

YELLOW DIGIT - different between R9800 Pro and FireGL X2, the digit that i had to change from B to 8

Moded file :
"ATI FireGL X2 AGP Pro" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E48
"ATI FireGL X2 AGP Pro Secondary" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E68


- locate the [ati2mtag_XXXXX_SoftwareDeviceSettings] section for your card, where XXXXX is of course your cards chip name. You can find out what that is from the lines you edited earlier:

In my case:

"ATI FireGL X2 AGP Pro" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E48
"ATI FireGL X2 AGP Pro Secondary" = ati2mtag_R350GL, PCI\VEN_1002&DEV_4E68

So the section I need to find is [ati2mtag_R350GL_SoftwareDeviceSettings]

- in that section find a line that begins like this: HKR,, DALNonStandardModesBCD2, %REG_BINARY%,17,92,13,44, (.....)

add ,xx,xx,yy,yy,00,00,00,rr at the end of that line where:

- your screen width
yy,yy - your screen height
rr - your desired refresh rate

For example if you want to add 1280x960@75Hz then you need to add:

Save the file(s)

3. Installing modified drivers

Do not use the installer, instead update your drivers from the Device Manager.
Go to Start>Control Panel>System select Hardware tab and click on Device Manager.

Under Display Adapters select your Radeon card (or cards), right click and select Update Driver...

Select "Install from a list or specific location (Advanced)", click Next, select "Don't search. I will choose the driver to install.", click Next, select Have Disk... and point to one of the files you just modified in the directory where you unpacked your driver:

-> C2_19953.inf if you are on Windows 2000
-> CX_19953.inf if you are on Windows XP/2003

Click OK and the driver should install. If it complains about lack of driver certificates just click "Install anyway". Reboot the system.

4. FireGL control panel

Now that you have your drivers installed and working you can install the Control Panel that came with FGL drivers. There is no need to modify anything, just go to <location of your unpacked drivers>\CPanel and run Setup.exe.

After installation reboot your system. If all went well you should have a working FireGL drivers and instead of Catalyst panel a FireGL one, where you can select different application profiles.

5. FireGL driver for 3dsmax

- unpack the driver (rightclick, Extract Files...)
- go into your <riva tuner directory>\PatchScripts\ATI\SoftFireGL\Unified\Antiprotectio n\FGLM
- run the Installer antiprotection.rts script, point it to the setup.inx in your unpacked driver dir
- script should run without problems ("Patch script has been executed succesfully" message)
- run setup.exe and install the driver
- run the atiimxgl.exe antiprotection.rts script and point it to atiimxgl.exe in Program Files\ATI Technologies\FireGL 3D Studio Max\ and select your cards device ID from the dropdown menu
- script should run without problems ("Patch script has been executed succesfully" message)
- restart the system
- you should now be able to select the driver from your 3dsmax preferences

If you are using max version later then 6 it might not work but there is a workaround:

- go to Start > Run... type cmd.exe and hit enter
- type cd "c:\Program Files\ATI Technologies\Fire GL 3D Studio Max\"
- type expand -r atiom6gl.dr_
- this should create a file called atiom6gl.drv
- copy this file to your 3dsmax "drivers" directory or 3dsmax root directory (try both places)
- now the driver should be visible in 3dsmax opengl preferences

Special thanks to JoeJoe from Guru3D forums for providing that workaround.


Last edited by Ultimatebadass : 09 September 2005 at 08:45 AM.
  04 April 2005
Does this give any speed increases?

There are some softmods that unlocked pipelines that have been shutdown by ati, just wondering if this is kind of in the same boat as that.
  04 April 2005
This softmod increases speed in professional 3d apps because it allows the FireGL OpenGL driver to work on Radeon cards (which are essentially the same hardware with different deviceID... and a much higher price tag ).

  04 April 2005
looks nice as description thanks. I've been looking around for the equivalant of the X300 do you happen to know this one thanks in advance and thanks for the great description

3D Modeler. Texture Artist, Lighting & Shading, Scripting & Programming

  04 April 2005
The_Wicked_Caveman, I think that the FireGL V3200 (or V3100) would be the professional "brother" of the X300 but the patch scripts provided by Unwinder do not support it yet.

I think that there is a good chance that SoftFireGL will support it in the future though since the X3 (X800XT) is supported already...

  04 April 2005
Since this is a softmod, am I correct in assuming that if I somehow screw this up, it won't ruin my card and I'll just have to reinstall the drivers?

Also, is there a mod for the ATI AIW 9800 Pro?
  04 April 2005
Fibus - there is no way you can damage your card with this. The worst thing that can happen is driver reinstallation, but if you use the procedure here with the exact same files all should work fine.

You should be able to mod your 9800 AIW the same way you mod drivers for a normal 9800(NonPRO/PRO/XT) - only the deviceID may be different between these models - you'll just have to check yours using the method I described.

Be aware that when you install the FireGL drivers you'll probably loose your cards AIW functions (just like you loose TV-Out on regular radeons).

  04 April 2005
For those of you wondering if this will work for the laptop 9700 cards, I spent a day trying to get the softmod to work on mine awhile back and was unsuccesful. Haven't actually heard of anyone succesfully modding one of the laptop cards either, for that matter.
But hey, if you really really really know what you're doing, I suppose you might still be able to find the trick to getting it working.
  04 April 2005
I am having no luck with this. I have a His Excalibur Radeon 9550 so I am not sure which card to softmod upto. I have tried the t2 and X2 but when I try to use the modded inf to install the driver Windows just ignores it and finds my default oem driver inf.

Help would be appreciated. Thanks
  04 April 2005
Since the 9550 is basicly an underclocked 9600 (RV350 or RV360 chip) you need to mod your drivers for the FireGL T2 capabilities.

Check if what riva tuner reports as your cards device ID matches what you have entered into the .inf files:

"ATI FireGL T2" = ati2mtag_RV350GL, PCI\VEN_1002&DEV_<xxxx - your device ID here, change only the digit that is different between your ID and fireGL id>
"ATI FireGL T2 Secondary" = ati2mtag_RV350GL, PCI\VEN_1002&DEV_<xxxx - your device ID here, change only the digit that is different between your ID and fireGL id>

The third digit in the device ID is different between the normal and Secondary adapters.

Do not change other lines.

If that is correct, go one dir up and modify .inf files in there also with the same scheme (search for the T2 devIDs, replace with 9550s).

Hope it helps!

  04 April 2005
Thanks, I got it to work with my Radeon9600.
The only problem is that 1280x960 is no longer avaible in the display settings. Is there a workaround?
cologne cathedral - kölner dom wip|final
  04 April 2005
garu -

To add that resolution you need to:

- open the CX_18678.inf orCX_18678.inf (depends on what OS you use) again

- find the [ati2mtag_XXXXX_SoftwareDeviceSettings] section for your graphic card (chip name where XXXXX), for Radeon 9600 that would be [ati2mtag_RV350GL_SoftwareDeviceSettings]

-locate the HKR,, DALNonStandardModesBCD2, %REG_BINARY%,17,92,13,44,00 (....) line

- add ,12,80,09,60,00,00,00,85 at the end of that line where red numbers are responsible for screen resolution, in this case 1280x960 and yellow for refresh rate, 85Hz here.

- reinstall the driver

  04 April 2005
it's working now, thanks again
cologne cathedral - kölner dom wip|final
  04 April 2005
Got it working! Thanks! Does it increase the speed of regular opengl applications?
I kind of miss the catalyst control centre

Last edited by Rezonance : 04 April 2005 at 09:24 PM.
  04 April 2005
Glad to hear it

Regullar OpenGL applications? You mean games? I don't think so. Though there is a preset for them (OpenGL games) I don't think it is any faster compared to what you can get from a regular Catalyst driver...

You get a speed benefit when running one of those you have a preset for in your FireGL panel (from what I can see XSI just got it's wings on my R9800 pro). Mainly CAD/DCC 3d apps.

Scores in benchmarks like SPECviewpref will go (way) up aswell.

Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 07:40 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.