@camoto/gamecode
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -152,5 +152,5 @@ /* | ||
{ id: 'filename.sounds.3', type: stringz(12) }, | ||
{ id: 'filename.tileset.player', type: stringz(12) }, | ||
{ id: 'filename.tiles.player', type: stringz(12) }, | ||
{ id: 'filename.tileset.statusbar', type: stringz(11) }, | ||
{ id: 'filename.tileset.level', type: stringz(10) }, | ||
{ id: 'filename.tileset.solid', type: stringz(10) }, | ||
{ id: 'filename.tileinfo.actors', type: stringz(13) }, | ||
@@ -157,0 +157,0 @@ { id: 'filename.tileinfo.player', type: stringz(13) }, |
@@ -22,1 +22,2 @@ /* | ||
export { default as exe_ddave } from './exe-ddave.js'; | ||
export { default as exe_nomad } from './exe-nomad.js'; |
@@ -101,3 +101,9 @@ /* | ||
buffer.write(a.type, targetValue); | ||
try { | ||
buffer.write(a.type, targetValue); | ||
} catch (e) { | ||
console.error(`Error setting "${a.id}" to value`, targetValue, | ||
'from original value', exe.attributes[a.id].value, 'because', e); | ||
throw new Error(`Unable to write value for "${a.id}": ${e.message}`); | ||
} | ||
} else { | ||
@@ -104,0 +110,0 @@ // Value omitted, skip over the field. |
{ | ||
"name": "@camoto/gamecode", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Modify executable files used by DOS games", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -22,2 +22,3 @@ # gamecode.js | ||
* Dangerous Dave | ||
* Nomad | ||
@@ -24,0 +25,0 @@ Eventually, the patching functionality will work on any .exe file, specific game |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96478
13
2424
128