bigianb / bgda-explorer

Code written to try and figure out the data files used in Baldur's Gate Dark Alliance for the PS2
10 stars 6 forks source link

Location of inventory and menu textures in RTA #28

Open NuptupTDOW opened 1 year ago

NuptupTDOW commented 1 year ago

Hello, I was hoping you can help direct me to which file contains the inventory and menu textures. I have been able to find the models and textures for all creatures and npcs, all weapons and armors, but I haven't been able to find which file contains the textures that are displayed in the inventory for said equipment, or the textures for the inventory/menus/shop themselves. I have had middling success using PCSX2 to export textures for these items but that causes it's own issue because of the snowblind engine texture dumping issues where it sends out a buttload of textures every frame, quickly giving you a crap-load of duplicates.

So, if you know where the inventory item textures, or the textures for the various menu/shop screens are located, I'd very much appreciate the info. Things in specific I'm hunting for are the Item Frame textures that you see inside the inventory screen that are indicators of how many inventory spaces an item occupies, the Skills or Skill Trees for each class, and the Interface/Menu/Shop Background Textures, pretty much in that order of importance.

Hope to hear from you soon :D

bigianb commented 1 year ago

It differs between games. For bgda I think it’s fx.lmp and armour.yak I can check when next get to my … which will be a week or so.

Theres a Java class which can export everything. Ill document it a bit better when I get time … again in a week or so

On Fri, 26 May 2023 at 20:23, Nuptup @.***> wrote:

Hello, I was hoping you can help direct me to which file contains the inventory and menu textures. I have been able to find the models and textures for all creatures and npcs, all weapons and armors, but I haven't been able to find which file contains the textures that are displayed in the inventory for said equipment, or the textures for the inventory/menus/shop themselves. I have had middling success using PCSX2 to export textures for these items but that causes it's own issue because of the snowblind engine texture dumping issues where it sends out a buttload of textures every frame, quickly giving you a crap-load of duplicates.

So, if you know where the inventory item textures, or the textures for the various menu/shop screens are located, I'd very much appreciate the info. Things in specific I'm hunting for are the Item Frame textures that you see inside the inventory screen that are indicators of how many inventory spaces an item occupies, the Skills or Skill Trees for each class, and the Interface/Menu/Shop Background Textures, pretty much in that order of importance.

Hope to hear from you soon :D

— Reply to this email directly, view it on GitHub https://github.com/bigianb/bgda-explorer/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVHBOZDKFCII64HSSTHYUTXID7JPANCNFSM6AAAAAAYQTMATA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

NuptupTDOW commented 1 year ago

Thanks for the reply. I have tried looking into using the Java one hosted over in the JBGDA GitHub, but I have pretty much zero experience with java and quickly fell in over my head. So, I am trying to make do with this version since it's much more friendly to inexperienced users. As I mentioned in #27 there's only a few things that would genuinely make this a perfect solution to my problem. Ideally, having the program auto-populate the name for exported files would be a huge help. So like, if I am in EQCACHE2>EQCACHE2>BF_Chainmail>ID_11, and I export that model with it's materials and textures, it would be fantastic if it just auto-filled the file names as "EQCACHE2_EQCACHE2_BF_Chainmail_ID_11.Obj/Mtl/Png" so that you can rapidly pull files from the games and keep the same organization hierarchy that the explorer program uses.

bigianb commented 1 year ago

what game are you extracting (exactly)?

NuptupTDOW commented 1 year ago

I'm doing most of my work with Champions: Return to Arms, NTSC version 2.0

However, I've noticed that some items weren't ported over when they made RTA and were only available in CoN according to the weapon and armor loot sheets, so I planned to go and try and get those specific items from CoN as well. But, having RTA work first would be much more important to me.

Sorry for the late reply.

NuptupTDOW commented 1 year ago

It differs between games. For bgda I think it’s fx.lmp and armour.yak I can check when next get to my … which will be a week or so. Theres a Java class which can export everything. Ill document it a bit better when I get time … again in a week or so

So, I got the JBGDA to do it's export and found the fx.lmp files and saw some textures in there, but it was mainly for temporary objects that appear on the ingame playing field like a meat chunk, piles of gold, skull, etc. I didn't find any inventory, menu or shop textures. Also, I don't think CoN/RTA have a Armour.yak file.