Update NOTES.md
Fixed Typo in Console Hanlder Address Infos for built-in Python Modules Infos on loading mods
This commit is contained in:
parent
884d1d5e29
commit
8830340b8b
1 changed files with 28 additions and 25 deletions
53
NOTES.md
53
NOTES.md
|
@ -2,38 +2,36 @@
|
||||||
- Engine: ScrapEngine
|
- Engine: ScrapEngine
|
||||||
- Ingame Scripting Language: Python 1.5.2
|
- Ingame Scripting Language: Python 1.5.2
|
||||||
|
|
||||||
# Ingame-Console (Ctrl+\^) (Handler@0x42190):
|
# Ingame-Console (Ctrl+\^) (Handler@0x402190):
|
||||||
* "\<Command>"
|
* `<Command>`: Try to evaluate Command as Python expression
|
||||||
- Try to evaluate Command as Python expression
|
* `:<Var>`: Get Game Engine Global Variable
|
||||||
* ":\<Var>"
|
* `:<Var> <Val>`: Set Game Engine Global Variable
|
||||||
- Get Game Engine Global Variable
|
* `?`: Show all Global Variable
|
||||||
* ":\<Var> \<Val>"
|
* `?<String>`: Show all Global Variable matching <String>
|
||||||
- Set Game Engine Global Variable
|
* `/<command>`: Run Command defined in QuickConsole.py(c) 'import quickconsole;quickconsole.%s()'
|
||||||
* "?"
|
* `/<command> <arg>,<arg>`: Run function in QuickConsole.py(c) with argument(s) 'import quickconsole;quickconsole.%s(%s)'
|
||||||
- Show all Global Variable
|
|
||||||
* "?\<String>"
|
|
||||||
- Show all Global Variable matching <String>
|
|
||||||
* "/\<command>"
|
|
||||||
- Run Command defined in QuickConsole.py(c) 'import quickconsole;quickconsole.%s()'
|
|
||||||
* "/\<command> \<arg>,\<arg>"
|
|
||||||
- Run function in QuickConsole.py(c) with argument(s) 'import quickconsole;quickconsole.%s(%s)'
|
|
||||||
|
|
||||||
# External Console (Scenegraph Debugging?) (Handler@0x5f9520):
|
# External Console (Scenegraph Debugging?) (Handler@0x5f9520):
|
||||||
* "listar luces"
|
* `listar luces`
|
||||||
* "listar"
|
* `listar`
|
||||||
* "arbol" # Patch Scrap.exe@offset 0x314bc0 replace 0x20 with 0x00 (or just type "arbol " with the space at the end)
|
* `arbol` (Patch Scrap.exe@offset 0x314bc0 replace 0x20 with 0x00 (or just type `arbol ` with the space at the end))
|
||||||
* "mem"
|
* `mem`
|
||||||
* "ver uniones"
|
* `ver uniones`
|
||||||
* Easter Eggs:
|
* Easter Eggs:
|
||||||
- "imbecil"
|
- `imbecil`
|
||||||
- "idiota"
|
- `idiota`
|
||||||
- "capullo"
|
- `capullo`
|
||||||
|
|
||||||
|
# Python Stuff
|
||||||
|
- Modules List @ 0x0079C698 (char* to Module Name followed by Pointer to Init Function)
|
||||||
|
- InitPyMod @ 0x005A8FB0
|
||||||
|
- PyExec @ 0x005A8390
|
||||||
|
|
||||||
## m3d.ini loader @0x05f7000
|
## m3d.ini loader @0x05f7000
|
||||||
|
|
||||||
## SM3-Model Loader @0x650f80 (?)
|
## SM3 Secene Loader @ 0x650f80 (?)
|
||||||
|
|
||||||
## File Loader @ 0x6665a0 (??)
|
## M3D File Loader @ 0x6665a0 (??)
|
||||||
|
|
||||||
## *.packed File Format:
|
## *.packed File Format:
|
||||||
Header:
|
Header:
|
||||||
|
@ -45,6 +43,10 @@
|
||||||
Int32ul: size
|
Int32ul: size
|
||||||
Int32ul: offset in file
|
Int32ul: offset in file
|
||||||
|
|
||||||
|
## Loading Custom Content
|
||||||
|
1. Create a folder `mods`
|
||||||
|
2. Drop a `*.packed` file into it
|
||||||
|
|
||||||
## Interesting file:
|
## Interesting file:
|
||||||
* m3d.ini: Rendering Engine Configuration
|
* m3d.ini: Rendering Engine Configuration
|
||||||
* scripts/: Game Engine Scripts
|
* scripts/: Game Engine Scripts
|
||||||
|
@ -54,6 +56,7 @@
|
||||||
1. exctract `Data.packed`
|
1. exctract `Data.packed`
|
||||||
2. in m3d.ini uncomment "ConsolaWnd" (GUI Console) or "ConsolaTxt" (Text Console) and set the value to "SI"
|
2. in m3d.ini uncomment "ConsolaWnd" (GUI Console) or "ConsolaTxt" (Text Console) and set the value to "SI"
|
||||||
3. repack "Data.packed"
|
3. repack "Data.packed"
|
||||||
|
or Use a custom Content Pack
|
||||||
|
|
||||||
# Misc. Interesting things
|
# Misc. Interesting things
|
||||||
- sys.path contains "./lib" so you can load your own Python Modules
|
- sys.path contains "./lib" so you can load your own Python Modules
|
Loading…
Reference in a new issue