Comments (2)
Hello again and thanks a lot for your detailed explanation. Despite searching for it on GitHub and other places I couldn't find the links you have pointed me to, so I'm really grateful for that. I'm not sure if I'll manage to succeed, even for a single game, but I'll do my best to achieve that.
Of course I'll keep you updated in case I ever manage to make any progress within the unknown values to complete the missing knowledge about the G1M format. And I didn't know about the shaders within the G1M file, so that's great to know.
The thing I did notice (if I'm not wrong at interpreting it), is that some of the G1M files seem to have 4th dimensional meshes for some body parts, like if they contained some sort of animation for that part, but sadly I couldn't get very far yet.
To start, I'll port to C# all the templates and then start making lots of tries with several G1M files (while expecting lots of crashes), until hopefully I'll be able to understand a bit more the format like you already did.
Thanks a lot for all your help and massive contribution to the understanding of the G1M format. Have a wonderful day :-)
from project-g1m.
Hello,
First of all thank you for the kind words, I'm happy that you enjoy the plugin.
Importing back to the original format is always a challenge : contrary to exporting where I can ignore the fields I'm not really sure about as long as I get enough information to display the asset, reconstructing the G1M would require understanding every single byte (or at least enough not to make the game crash). While most of the sections are completely figured out, these annoying NUNO ones (among others) still have a lot of unknowns.
Another problem is the versionning. This G1M format has been used by dozens of games since around 2010 and developpers are still updating it and adding new features. Importing back would need to account for these different versions subtleties, making it quite a tedious work (unless you decide to only make it work for a single game).
Yet another issue would be the shaders. As you may have noticed, the g1m have references to shaders, which are game specific.
Also, while I managed to reverse the vertex shader and reconstruct the physics meshes for exporting, I'm still not sure about how they bake these in the first place with their inhouse tools, as the transforms are not bijective for the most part.
So could such an exporter be done ? Most likely, with some time, a lot of testing/reinjecting and more research about the unknown fields left. However I'm afraid that I personally currently cannot afford the time to contribute to such an effort, especially since I don't have a game using G1M I am personally interested in modding myself right now.
If you are really determined, I would suggest to check out the G1M binary template that I maintain here, which has my latest findings about the format https://github.com/three-houses-research-team/010-binary-templates/tree/master/Model%20related%20formats
You can then use it to display all the fields conveniently with the 010 editor and it will help you understand the format much more easily than you'd be able to by just reading my code. After that it will be a matter of trying to reconstruct these different sections one by one and make sure that all the fields are set up accordingly.
Hopefully that helps, again sorry that I cannot help much more but I currently cannot afford the time to get involved in such a demanding effort. However I'll be able to answer questions about the format if you have any. Best of luck !
from project-g1m.
Related Issues (20)
- Questions about G1M skinning! HOT 1
- Fatal Frame 5 misplacement on some models on Noesis HOT 5
- Fatal Frame 5 modded models loading crashes Noesis HOT 2
- Loading skeleton G1M noesis crashes HOT 2
- Fix the model export HOT 1
- Fire Emblem Warriors Three Hopes Demo - g1t issues HOT 1
- Fire Emblem Warriors Three Hopes Demo - g1m issues HOT 1
- OPPW4- Pc, crashes noesis when importing g1m HOT 1
- GT1G0600 crash
- Persona 5 Strikers textures not on model HOT 1
- There is a single G1M file from Fatal Frame 5 that still crashes Noesis (the rest work fine) HOT 1
- Skeletons Not Merging HOT 2
- Request support for g1m ver 0x30303338 - New NUNO5 format HOT 2
- Mesh issues with Atelier Ryza 3 HOT 5
- There's a missing seam below the chin and neck in some Fatal Frame 4 character models HOT 2
- Problem with weights on models with more than 1000 bones. HOT 1
- Persona 5 Strikers Physics HOT 1
- Attack on Titan 2 G1A HOT 2
- Project Zero 4/5 - Missing facial bones
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-g1m.