This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function SecondsToHMS(totalSeconds) | |
| local hours = math.floor(totalSeconds / 3600) | |
| local minutes = math.floor((totalSeconds % 3600) / 60) | |
| local seconds = math.floor(totalSeconds % 60) | |
| local milliseconds = math.floor((totalSeconds - math.floor(totalSeconds)) * 1000) | |
| return hours, minutes, seconds, milliseconds | |
| end | |
| function reverseTable(tbl) | |
| for i=1, math.floor(#tbl / 2) do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # script for QuickBMS http://aluigi.altervista.org/quickbms.htm | |
| idstring "PAK " | |
| get UNK long | |
| get FILES long | |
| math FILES ^ 0xa3da79b6 | |
| get STR_TABLE_SZ long | |
| get DIR_STR_SZ long | |
| savepos TMP | |
| getdstring DIR_NM DIR_STR_SZ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| 1. Make sure the option MEM_MAPPED is ticked in CE's scan settings (Edit > Settings > Scan Settings) | |
| 2. Paste the script below on CE's Lua engine (Table > Show Cheat Table Lua Script) | |
| 3. Launch the game. | |
| 4. After the screen goes black, wait a couple of seconds and execute the script. | |
| 5. 'Press X Button' should appear on screen. You can close CE now if you want. | |
| ]]-- | |
| openProcess('rpcs3.exe') | |
| debugProcess() |