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

Extracting high scores #35

Open
francisdb opened this issue Jun 22, 2023 · 3 comments
Open

Extracting high scores #35

francisdb opened this issue Jun 22, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@francisdb
Copy link
Owner

depends a lot on the table

LoadValue / SaveValue

Then for roms

De scores worden uitgelezen door de juiste bytes uit te lezen uit de nvrams.
Bijvoorbeeld voor bcats_l2 rom
In_address(0) = 1824
In_address(1) = 1825
In_address(2) = 1826
Sc_address(0) = 1808
Sc_address(1) = 1809
Sc_address(2) = 1810
Sc_address(3) = 1811

Voor de initialen (1e drie) van de hoogste score en de score zelf (laatste 4)

En die vertaal ik dan naar de echte initialen en score middels
score1 = FormatNumber(Hex(score(0)) * 1000000 + Hex(score(1)) * 10000 + Hex(score(2)) * 100 + Hex(score(3)), 0)

        initials1 = Chr(initial(0)) & Chr(initial(1)) & Chr(initial(2))

But this needs to be done per rom...

So this is going to be a lot of work

@francisdb francisdb added the enhancement New feature or request label Jun 22, 2023
@francisdb
Copy link
Owner Author

francisdb commented Jun 29, 2023

for realtime scores you need to read the pinmame memory at certain locations

eg
https://github.com/search?q=repo%3Aneophob%2Fwpc-emu+game_score_p1&type=code&p=2

@francisdb
Copy link
Owner Author

francisdb commented Aug 23, 2023

@francisdb
Copy link
Owner Author

francisdb commented May 8, 2024

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

No branches or pull requests

1 participant