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

Use real library/module NIDs in included db #7

Closed
yifanlu opened this issue Oct 12, 2015 · 3 comments
Closed

Use real library/module NIDs in included db #7

yifanlu opened this issue Oct 12, 2015 · 3 comments
Labels

Comments

@yifanlu
Copy link
Contributor

yifanlu commented Oct 12, 2015

In the included databases, it seems like the module/library nids all have placeholder values. For extras, we should either come up with a NID generation system (ideally, reverse sony's linker and see how nids are generated), which is needed for vitasdk to support creating dynamic libraries or use hard coded values for now.

For the sony imports, the module nids never change, so we should keep them in the database. Library nids do change, so we can either remove that field from the specifications or mark it optional (and make it an array of "known nids" or something). The advantage for the second option is that it may be useful in the future.

@MrNetrix
Copy link
Contributor

Yeah. Right now they are using "unique" placeholders for now in order for
them to work with the toolchain. It hasn't been a priority so far since the
real NIDs aren't needed for it to work with UVLoader and there have been
more important issues to fix.
On Oct 11, 2015 21:37, "Yifan Lu" notifications@github.com wrote:

In the included databases, it seems like the module/library nids all have
placeholder values. For extras, we should either come up with a NID
generation system (ideally, reverse sony's linker and see how nids are
generated), which is needed for vitasdk to support creating dynamic
libraries or use hard coded values for now.

For the sony imports, the module nids never change, so we should keep them
in the database. Library nids do change, so we can either remove that field
from the specifications or mark it optional (and make it an array of "known
nids" or something). The advantage for the second option is that it may be
useful in the future.


Reply to this email directly or view it on GitHub
#7.

@yifanlu yifanlu modified the milestone: taiHENkaku Release Nov 17, 2016
@devnoname120
Copy link
Member

I think that @xerpi has built a Vita program that retrieves NIDs from all modules, this could be used to automatically set the library NIDs to the correct ones.

@yifanlu
Copy link
Contributor Author

yifanlu commented Dec 7, 2016

@devnoname120 can you link to the tool?

EDIT: Nvm, I see #86

@yifanlu yifanlu removed this from the taiHENkaku Release milestone Dec 7, 2016
devnoname120 added a commit to devnoname120/vita-headers that referenced this issue Apr 16, 2017
d3m3vilurr pushed a commit that referenced this issue Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants