Adding solar jetman and ng2

This commit is contained in:
Sergio Martin 2024-01-13 09:55:07 +01:00
parent ab64459d60
commit e1f4d956fe
15 changed files with 117300 additions and 4 deletions

View File

@ -141,6 +141,7 @@ class EmuInstance
case 's': moveCode |= 0b00000100; break;
case 'B': moveCode |= 0b00000010; break;
case 'A': moveCode |= 0b00000001; break;
case 'r': break;
case '.': break;
case '|': break;
default: EXIT_WITH_ERROR("Move provided cannot be parsed: '%s', unrecognized character: '%c'\n", move.c_str(), move[i]);
@ -172,6 +173,8 @@ class EmuInstance
void advanceState(const std::string& move)
{
if (move.find("r") != std::string::npos) _nes->reset(false);
advanceState(moveStringToCode(move), 0);
}

1
tests/.gitignore vendored
View File

@ -1,4 +1,5 @@
*.nes
*.Identifier
*.zip
*.fds

View File

@ -4,5 +4,7 @@ subdir('castlevania1')
subdir('superOffroad')
subdir('princeOfPersia')
subdir('ninjaGaiden')
subdir('ninjaGaiden2')
subdir('ironSword')
subdir('solarJetman')
subdir('tennis')

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"Rom File": "Ninja Gaiden II - The Dark Sword of Chaos (U) [!].nes",
"Expected ROM SHA1": "B1796660E4A4CEFC72181D4BF4F97999BC048A77",
"Initial State File": "",
"Verification State File": "anyPercent.final.state",
"Sequence File": "anyPercent.sol"
}

View File

@ -0,0 +1,7 @@
game = 'ninjaGaiden2'
goal = 'anyPercent'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])
goal = 'pacifist'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"Rom File": "Ninja Gaiden II - The Dark Sword of Chaos (U) [!].nes",
"Expected ROM SHA1": "B1796660E4A4CEFC72181D4BF4F97999BC048A77",
"Initial State File": "",
"Verification State File": "pacifist.final.state",
"Sequence File": "pacifist.sol"
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
{
"Rom File": "Solar Jetman - Hunt for the Golden Warpship (U) [!].nes",
"Expected ROM SHA1": "872B91A2F7A2F635061EF43F79E7F7E9F59F5C50",
"Initial State File": "",
"Verification State File": "anyPercent.final.state",
"Sequence File": "anyPercent.sol"
}

View File

@ -0,0 +1,4 @@
game = 'solarJetman'
goal = 'anyPercent'
test(goal, tester, workdir : meson.current_source_dir(), args : [ goal + '.test'], suite: [ game, goal ])

View File

@ -1,4 +0,0 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://nesninja.com/game/nes/tennis/roms
HostUrl=https://nesninja.com/downloadsnes/Tennis%20%28JU%29%20%5B%21%5D.nes