Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have some file offsets I can share to help for the decomp. #6

Open
retrobenny opened this issue Dec 18, 2020 · 12 comments
Open

I have some file offsets I can share to help for the decomp. #6

retrobenny opened this issue Dec 18, 2020 · 12 comments

Comments

@retrobenny
Copy link

I have accumulated a bunch of data offsets in cartridge data and hope you find this all useful.
It includes codes to test the audio portions of the data offsets.
Conker Data Offsets.txt

@mkst
Copy link
Owner

mkst commented Dec 18, 2020

Hi Benjamin, firstly - thanks for this, I'm happy to get any external contributions towards this project!

I had managed to break out the various 'assets' sections (see here and here, but this will mean I can label them a little better.

Do you have any more information on the game? I was going to look at gameshark codes to try to get a bit more context around what fields do what - but there is a lot of work to be done!

@retrobenny
Copy link
Author

What kind of other information in particular,anything in running memory as well?

@mkst
Copy link
Owner

mkst commented Dec 18, 2020

I'd like to understand all the different formats used in the game; models, textures, sounds(music), cutscene format, etc etc.

I'd also like to better fill out the 'game object' struct - i.e. that contains conkers x, y, z position, health, velocity.. I got some info from ScriptHawk, but the struct contains perhaps 200 fields, and I have labels for about 8 of them!

@retrobenny
Copy link
Author

retrobenny commented Dec 18, 2020

I messed around with some stuff before involving debug stuff,and I have some names of a handful of things with the offsets for them,but I can't get to that text file until after I sleep since its 3:30AM for me currently as of this post and its on my desktop while I am on a laptop about to go to bed.

@retrobenny
Copy link
Author

Conker Stat Names.txt

@retrobenny
Copy link
Author

retrobenny commented Dec 18, 2020

There's more stuff that can be looked up,but I can't promise that I will be able to actually find it.

Edit:
That list is called movement_move apparently,there is another chunk of stuff I have no idea how to find since it doesn't directly link to known addresses in debug.

@retrobenny
Copy link
Author

retrobenny commented Dec 19, 2020

Got the other data for stuff like Conker's drunken state and the other things,also including my own additions.
Edit: I derped and forgot to update the offset for the pointer,uploaded the changed text file.
Conker mvstruct Stat Names.txt

@mkst
Copy link
Owner

mkst commented Dec 21, 2020

This is great - how did you figure them out? are they displayed in the debug build or?

@retrobenny
Copy link
Author

I used the debug version since retail only has a couple things in the crash debugger with everything else stripped out,and I found the pointer again due to already knowing about it from a code I made along with a weapon modifier code.

@MrQuetch
Copy link

I wasn't sure if I should make a new issue for this, but I'm so happy to see that Conker is finally getting decompiled! I would love to contribute in some way if I can. I'm not experienced in Ubuntu or Docker, but if I must learn them for this - I just might... If it helps, I have hex edited files for some old DOS games and have tinkered with Conker's hex code in the past.

@mkst
Copy link
Owner

mkst commented Jan 2, 2021

I wasn't sure if I should make a new issue for this, but I'm so happy to see that Conker is finally getting decompiled! I would love to contribute in some way if I can. I'm not experienced in Ubuntu or Docker, but if I must learn them for this - I just might... If it helps, I have hex edited files for some old DOS games and have tinkered with Conker's hex code in the past.

There's plenty that can be done without having to touch any of the code. The struct names from @retrobenny are an example of this - the more that is found out about the inner workings of the game, the easier it is to make sense of the code.

I created a non-exhaustive list of ways people can contribute to the project, if you are keen to help, then you can find me on Discord (mkst#4741).

@MrQuetch
Copy link

MrQuetch commented Jan 2, 2021

I noticed that. Sounds good. I just sent a friend request on Discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants