Skip to content

Commit

Permalink
Update DKWolf (WolfMAME v0.241)
Browse files Browse the repository at this point in the history
RPI4 accelerated video settings.txt
DKStart5 plugin now increments levels when practising single boards
  • Loading branch information
10yard committed Aug 3, 2022
1 parent 589db57 commit a7513d7
Show file tree
Hide file tree
Showing 33 changed files with 4,381 additions and 258 deletions.
3 changes: 2 additions & 1 deletion dk_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
HUD_UNFRIENDLY = ["dkongwizardry", "dkongduet", "dkongkonkey"]
AUTOSTART_UNFRIENDLY = ["dkongbarpal", "dkongrndmzr"]
AUTHOR_UNFRIENDLY = ["dkongwizardry", "dkongbarpal", "dkongrndmzr"]
STAGE_FRIENDLY = ["dkongwizardry", "dkongpac", "dkongrev", "dkongpe", "dkongitd", "dkonghrd", "dkong40", "dkongf"]
STAGE_FRIENDLY = ["dkongwizardry", "dkongpac", "dkongrev", "dkongpe", "dkongitd", "dkonghrd", "dkong40", "dkongf",
"dkongwho"]

# Colours
RED = (232, 7, 10)
Expand Down
2 changes: 1 addition & 1 deletion dk_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def build_launch_command(info, basic_mode=False, launch_plugin=None, playback=Fa
else:
launch_command = launch_command.replace("<ROM_DIR>", ROM_DIR)

# Are we using a plugin?
# Are we using a launch plugin?
if launch_plugin and "-plugin" not in launch_command:
# Are there any parameters for the plugin?
if ":" in launch_plugin:
Expand Down
4 changes: 2 additions & 2 deletions dkwolf/COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distributions.


MAME
Copyright (c) 1997-2021 MAMEdev and contributors
Copyright (c) 1997-2022 MAMEdev and contributors

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2, as provided
Expand Down Expand Up @@ -238,7 +238,7 @@ can include it to GNU GPL or GNU LGPL code.


AsmJit - a lightweight library for machine code generation.
Copyright (c) 2008-2020 The AsmJit Authors
Copyright (c) 2008-2021 The AsmJit Authors

Nano SVG - Simple stupid SVG parser
Copyright (c) 2013-14 Mikko Mononen [email protected]
Expand Down
3 changes: 3 additions & 0 deletions dkwolf/changes/wolf236-build/romload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ void rom_load_manager::verify_length_and_hash(emu_file *file, std::string_view n
m_warnings++;
}


if (hashes.flag(util::hash_collection::FLAG_NO_DUMP))
{
// If there is no good dump known, write it
Expand All @@ -524,6 +525,7 @@ void rom_load_manager::verify_length_and_hash(emu_file *file, std::string_view n
}
else
{
/* 10yard - ignore none critical warnings as we are expecting some CRC check failures with the DK hacks
// verify checksums
util::hash_collection const &acthashes = file->hashes(hashes.hash_types());
if (hashes != acthashes)
Expand All @@ -542,6 +544,7 @@ void rom_load_manager::verify_length_and_hash(emu_file *file, std::string_view n
m_errorstring.append(string_format("%s ROM NEEDS REDUMP\n", name));
m_knownbad++;
}
*/
}
}

Expand Down
193 changes: 0 additions & 193 deletions dkwolf/changes/wolf236-build/video.h

This file was deleted.

44 changes: 44 additions & 0 deletions dkwolf/changes/wolf241-build/language.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// license:BSD-3-Clause
// copyright-holders:Vas Crabb
/***************************************************************************
language.cpp
Multi-language support.
***************************************************************************/

#include "emu.h"
#include "language.h"

#include "emuopts.h"
#include "fileio.h"

#include "corestr.h"

#include <string>


void load_translation(emu_options &m_options)
{
util::unload_translation();

std::string name = m_options.language();
if (name.empty())
return;

strreplace(name, " ", "_");
strreplace(name, "(", "");
strreplace(name, ")", "");
emu_file file(m_options.language_path(), OPEN_FLAG_READ);
if (file.open(name + PATH_SEPARATOR "strings.mo"))
{
/* 10yard - suppress the translation error display
osd_printf_error("Error opening translation file %s\n", name);
return;
*/
}

osd_printf_verbose("Loading translation file %s\n", file.fullpath());
util::load_translation(file);
}
Loading

0 comments on commit a7513d7

Please sign in to comment.