Jump to content

Football Kingdom - Trial Edition, models files nudp .nud


Recommended Posts

Posted

Hi guys im looking for some help to understand the files from the game mentioned on the title, the file that im attaching is a ball model the only thing i was able to tell was this

4 bytes magic(NUDP);
uint size;

//unknown data until offset 0x114

uint id1?; //some id that indicates if its vertex data? in some models is 0x01000103 or0 x01000105
uint unknown;
uint vertexCount;

16 unknown bytes

vertex data, 32 bytes per vertex (still unsure but most of those values looks like floats)
uint or float unknown2;
uint id2?; // depends on the model, in this case 0x010003030
uint fixed1; //always 0x20
uint fixed2; // always 0xffffff7f

triangle data?

 

any help would be appreciated!

GAME_00005_00001.zip

  • 2 weeks later...
  • Engineers
Posted (edited)

Looks like a PS2 file with vif signatures, like 0180xx78  where xx is the (vertex) count of a block.

(Found 23 assumed v blocks, will check it asap with some standard code from my Make_H2O project.)

footballKingdom-nudp.png

Edited by shak-otay
  • Like 1
Posted
7 hours ago, shak-otay said:

Looks like a PS2 file with vif signatures, like 0180xx78  where xx is the (vertex) count of a block.

(Found 23 assumed v blocks, will check it asap with some standard code from my Make_H2O project.)

footballKingdom-nudp.png

 

that looks perfect!!! yes i did notice there were that many blocks but didnt found anything that indicates the number of blocks, if you could share some more details on this file format would be great or point me in the right code, thanks a lot for taking the time!

  • Engineers
Posted

To be honest, I didn't check the format other than for the vif bytes. The loop searching for 0180xx78 ended after 23 results, I didn't search for the count (on a 2nd glance 17000000 isn't present in the file).

If you're a coder you could use some code.

(If you can compile it I could send you the code of the Make_H2O project which I created the obj files with (from my previous post) .)

  • Like 1
Posted
14 hours ago, shak-otay said:

To be honest, I didn't check the format other than for the vif bytes. The loop searching for 0180xx78 ended after 23 results, I didn't search for the count (on a 2nd glance 17000000 isn't present in the file).

If you're a coder you could use some code.

(If you can compile it I could send you the code of the Make_H2O project which I created the obj files with (from my previous post) .)

 

thanks! im taking a look to the code, its a really long work that you did, just out of curiosity, dont you plan into using any version control for it?

and yes im codder, right now im working on a file explorer for this game in c# using winforms, (a bit of off-topic) the pes retro community got interest into this game and i thought why not giving it a try? more than 20 years and this game never got any tool or mod or any research, but so far i manage to understand most of the containers and a string substitution that was done for the filenames on some containers, so that way i figure out that was a ball model, texture are all tm2, having an idea on how to read the models will be helpful since stuff like body, faces and hairs for players could be updated for newer patch and stuff like that (not something im into honestly but i know some people enjoy their time doing it)

  • Engineers
Posted
40 minutes ago, im_a_moth said:

, just out of curiosity, dont you plan into using any version control for it?

Well, no, it's just a collection of functions for different formats where only a few were updated once (or twice). The downloads are pretty limited, so no, a version control is not planned.

Quote

 right now im working on a file explorer for this game in c# using winforms, 

Sounds cool!

Posted
On 4/12/2025 at 10:04 AM, shak-otay said:

Well, no, it's just a collection of functions for different formats where only a few were updated once (or twice). The downloads are pretty limited, so no, a version control is not planned.

Sounds cool!

ah thats okay, just wanted to know if i could contribute with some changes, i did read the disclaimer on the main.cpp, just wanted to know if some variable names could be enhanced

would you mind sharing the source code on how did you open the nudp file? thanks!

  • Engineers
Posted (edited)
4 hours ago, im_a_moth said:

would you mind sharing the source code on how did you open the nudp file? thanks!

I can send you a stripped down Make_H2O project with the nudp function only asap.

(But don't expect too much. As I wrote I didn't do a deep analysing of the format.)

edit: uvs will need some fixing:

FootballKingdom-nudp.png

Edited by shak-otay
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...