Skip to content

Instantly share code, notes, and snippets.

@gbudny
gbudny / config
Created May 20, 2024 07:42
config
// generated by openmohaa
//
// Key Bindings
//
unbindall
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind SPACE "+moveup"
bind 1 "useweaponclass pistol"
bind 2 "useweaponclass rifle"
make
[ 0%] Building C object code/gamespy/CMakeFiles/gcd_common.dir/common/gsAssert.c.o
/home/gbudny/openmohaa/code/gamespy/common/gsAssert.c: In function ‘_gsDebugAssert’:
/home/gbudny/openmohaa/code/gamespy/common/gsAssert.c:142:17: warning: format not a string literal and no format arguments [-Wformat-security]
142 | printf(string);
| ^~~~~~
[ 0%] Building C object code/gamespy/CMakeFiles/gcd_common.dir/common/gsAvailable.c.o
[ 0%] Building C object code/gamespy/CMakeFiles/gcd_common.dir/common/gsCore.c.o
[ 1%] Building C object code/gamespy/CMakeFiles/gcd_common.dir/common/gsCrypt.c.o
[ 1%] Building C object code/gamespy/CMakeFiles/gcd_common.dir/common/gsDebug.c.o
This file has been truncated, but you can view the full file.
You chose Medal of Honor: Allied Assault - Spearhead (cheat codes)
--- Common Initialization ---
OpenMoHAA 0.61.0-alpha+0.63456bee linux-x86_64 Mar 03 2024 UTC
Cvar_Set2: com_protocol 17
Cvar_Set2: com_legacyprotocol 17
Cvar_Set2: com_target_version 2.16
Cvar_Set2: com_target_extension Spearhead
Cvar_Set2: com_gamename mohaas
Cvar_Set2: fs_basegame mainta
Cvar_Set2: protocol 17
This file has been truncated, but you can view the full file.
gdb -args ./openmohaax86_64-dbg +set com_target_game 2 +set developer 1 +set thereisnomonkey 1 +set cheats 1 +set ui_console 1c~
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
gdb -args ./openmohaax86_64-dbg +set com_target_game 1
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
gdb ./openmohaax86_64-dbg
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
gdb ./openmohaax86_64-dbg
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
gdb ./openmohaax86_64-dbg
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details--Type <RET> for more, q to quit, c to continue without paging--
.
gbudny@gbudny:~/Medal of Honor - Allied Assault War Chest$ gdb ./openmohaax86_64-dbg
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and r--Type <RET> for more, q to quit, c to continue without paging--
edistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
--Type <RET> for more, q to quit, c to continue without paging--
This GDB was configured as "x86_64-linux-gnu".
#!/bin/bash
echo "Select the game"
echo " 1) Medal of Honor: Allied Assault"
echo " 2) Medal of Honor: Allied Assault (cheat codes)"
echo " 3) Medal of Honor: Allied Assault - Spearhead"
echo " 4) Medal of Honor: Allied Assault - Spearhead (cheat codes)"
echo " 5) Medal of Honor: Allied Assault – Breakthrough"
echo " 6) Medal of Honor: Allied Assault – Breakthrough (cheat codes)"
read n