Operation Sports Forums

Operation Sports Forums (/forums/index.php)
-   EA Sports NHL Legacy (/forums/forumdisplay.php?f=55)
-   -   Xbox 360-Legacy Texture modding (/forums/showthread.php?t=926860)

raupe 02-11-2018 07:41 AM

Xbox 360-Legacy Texture modding
 
EA's NHL Legacy Xbox 360, PS3
Tutorial for texture modding

Supported games:
Spoiler


XBOX 360
What you need for modding:
Spoiler


Part 1 How to rip Xbox 360 game disc:
Spoiler


Part 2 How to extract files from NHL game folder:

Spoiler


Part 3 How to mod rx2 textures:
Spoiler

Part 4 Using modified files on Xbox 360:
Spoiler


PS3
What you need for modding:
Spoiler


2021 Upcoming news

I will complete the tutorial with all the information which I know about modding these games.


NHL Legacy Rx2 Patcher: [Done]
  • App name change (NHL Legacy Texture Patcher)
  • Interface update (a more usable interface for high-resolution displays + graphical icons)
  • support for rx2 texture extract.
  • more testing and possible bug fixes

EA BIG4/BIGF rebuilder:
  • NHL 08-10 .big and .bh files
  • NHL menu artasset .big files

File structure researching:
Converting 3D models from .mcd (PS4) to .rx2 (X360) and .rpsgl (PS3) to get new EA scanned faces available on last gen consoles.


I spend most of my time researching something new, so I haven’t been made downloadable mods available yet.

Feel free to use the tools and if you manage to do something interesting , share it with everyone else. Let's take care of the culture of modding NHL games.

raupe 08-15-2018 11:27 AM

Re: Xbox 360-Legacy Texture modding
 
I ripped 3d model from rx2-file using Hex2Obj and imported that to blender. Blender file download link below. Textures need to flip vertical before use. You can extract textures from .rx2 files using noesis.

https://ufile.io/zujjw
https://imgur.com/a/85UOnKd

GHFear 01-08-2019 12:47 AM

Re: Xbox 360-Legacy Texture modding
 
Could you add me on Discord or Twitch and show me the process for getting the 3D models? I wrote a script for getting Skate 3 Textures recently and has had luck getting the 3D models too, BUT I can't seem to get the UVs exported, so any help would be very appreciated =]

Twitch = GHFear
Discord = GHFear #7777

GHFear 01-08-2019 02:18 AM

Re: Xbox 360-Legacy Texture modding
 
Quote:

Originally Posted by GHFear (Post 2049657536)
Could you add me on Discord or Twitch and show me the process for getting the 3D models? I wrote a script for getting Skate 3 Textures recently and has had luck getting the 3D models too, BUT I can't seem to get the UVs exported, so any help would be very appreciated =]

Twitch = GHFear
Discord = GHFear #7777

Just to clarify, it's the same file format for NHL and Skate 3, just slightly different header fort he containers.

raupe 01-08-2019 01:48 PM

Re: Xbox 360-Legacy Texture modding
 
Hi, I used Hex2obj getting rx2 models extracted. There is no option to set vertices in half-float and uv’s in word in hex2obj so it need to be extract separately. Here is short tutorial, hopefully it helps:

Open rx2 file in hex2obj (example is goaliepad_2.rx2).

Fill the fields like example image. Next step is important because UV’s and vertices isn’t same type and there is no option to set vertices in half-float and uv’s in word in hex2obj. So thats why you need to set type box to ”HF_all” and then click mesh. Test.obj will appear in same folder where the rx2 file is.

Then set vertices option box to ”WordUV” and click UVs-button and testUVs.obj will appear in same folder where the rx2 file is.

This is extra work and it must be done because there is no option to set vertices in half-float and uv’s in word in hex2obj.
You need to modify testUVs.obj in text editor (I use text wrangler in mac) and you need to select all ”v” letters and replace it to ”vt” and then select all and copy. Then open test.obj and go starting of faces and select all in end of file and paste uv’s here and save the file.

Now you can open .obj in blender and create textures with it in blender. Textures need to flip vertical in default but if you open UV editor in blender and flip uv’s there you don’t need flip images.

There is different types rx2-files in NHL for example puck and net files are float-types and head files contains more than one object.

Im not expert in models but hopefully that helps you.

rx2 in hex2obj:
https://imgur.com/a/HSEAL4F
uv's conversion in text editor:
https://imgur.com/a/REWVSiz
goaliepad.rx2
https://file.io/RHdCjI

GHFear 01-09-2019 04:08 PM

Re: Xbox 360-Legacy Texture modding
 
That helped get the UVs :) Thank you very much!

raupe 06-13-2019 01:56 PM

Re: Xbox 360-Legacy Texture modding
 
I edited source code and added ”Extract all” and ”Rebuild” -functions for Big File Extractor tool by Experiment5X (https://github.com/Experiment5X/BIG-File-Extractor) and compiled it for windows. This is useful tool if you want mod game .iso for flashed/xkey consoles.

Example: I opened nocacherender.big from NHL Legacy and I want to mod powerring_0_0.rx2 texture file which is compressed to chunklzx format.

1. Open nocacherender.big
2. Extract All (It will create directory including compressed files from nocacherender.big
3. Right click to extract powerring_0_0.rx2 (It will decompress file and I can mod it with custom texture)
4. Compress modded powerring_0_0.rx2 to chunklzx with quickbms and chunkpack.bms and drag it to right folder in extracted directory created in section 2.
5. Press Rebuild big-file and select same folder that you selected in section 2.
6. Select location to new nocacherender.big

I try to add replace function for single file, but it’s complex if new file is bigger than original then it can’t be added in the middle of archive with c++. It’s easy to do for smaller or equal files. So the easiest way is rebuild whole archive.

This is my first programming project ever and I couldn’t have done that if I wouldn’t have found this tool from github. Thanks Adam for source code.

BIG File Extractor:
https://app.box.com/s/6g2lpct0trk1ylg11j4udcjso4bg4q9h

I have updated Noesis scripts to view .rx2 textures and 3d-models (different script for player models etc. and Arenas)
Drag rx2 sricpts to plugins/python in Noesis folder.
https://app.box.com/s/2vddkzg4jts0fp2mjve9qh5o1g3ltlac

If you haven't modded console, you can still view files with Noesis. That is useful because there is many "hidden" jeseys etc. in game and it can be activated by roster editing tools. If you have retail console and you want to extract files here is easy method to do that:
Install game to USB in xbox 360, extract installed game with Horizon tool and use god2iso to make iso file for it. Extract .big files from .iso with xbox image browser and unpack .big with QuickBms.exe and this script.

Big files in NHL 11 - NHL Legacy is this type. Older versions has BIG4/BIGF types and it can be edit for example finalBig or some FIFA tools. Rx2 files is same type all NHL versions except NHL 07 is different.

raupe 07-13-2019 04:29 AM

Re: Xbox 360-Legacy Texture modding
 
1 Attachment(s)
I made Noesis script for ps3 .rpsgl format to view game textures. Download Noesis from here: https://richwhitehouse.com/index.php...c_projects.php and put script in "plugins/python" folder. Rpsgl textures are dds images with different header. For example banner_0_0_cm.rpsgl is dxt1 packed and texture data starts from offset 0x280.


All times are GMT -4. The time now is 07:57 AM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.