User:Eli2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Find all animation files: | Find all animation files: | ||
grep -FUrl 'Theo Animation File' . | grep -FUrl 'Theo Animation File' . | ||
Find all files used by ambiance | |||
strings sfx/ambiance/*.amb | tr '[:upper:]' '[:lower:]' | tr '\\' '/' | grep .wav | sort | |||
Broken rendering on old amd: | Broken rendering on old amd: | ||
Line 9: | Line 12: | ||
Slow time (usefull for debugging) | Slow time (usefull for debugging) | ||
spellcast -dmsf | spellcast -dmsf 300000 10 freeze_time player | ||
Heal spell on item (for particle system debugging) | |||
jar_0011.spellcast -dxmsfz 2000 10 heal self | |||
sausagev_0001.settarget object lockpicks_0003 | sausagev_0001.settarget object lockpicks_0003 | ||
Line 22: | Line 28: | ||
asm volatile("" : : "g"(p) : "memory"); | asm volatile("" : : "g"(p) : "memory"); | ||
} | } | ||
=== Notes === | |||
* level8 is nice for testing (single room) | |||
* level10 is a castle cutout from the intro | |||
* level20 also small and nice for testing | |||
* level23 a bit larger for testing |
Latest revision as of 15:31, 20 September 2019
Find all animation files: grep -FUrl 'Theo Animation File' .
Find all files used by ambiance strings sfx/ambiance/*.amb | tr '[:upper:]' '[:lower:]' | tr '\\' '/' | grep .wav | sort
Broken rendering on old amd: https://www.youtube.com/watch?v=FhhHSa6_xZc http://pastebin.com/uCBjKszh https://github.com/arx/ArxLibertatis/commit/fdd0bcdc13daa7d73ba#diff-e538076bc38a33487a943cc89b22a509R204
Slow time (usefull for debugging) spellcast -dmsf 300000 10 freeze_time player Heal spell on item (for particle system debugging) jar_0011.spellcast -dxmsfz 2000 10 heal self
sausagev_0001.settarget object lockpicks_0003 sausagev_0001.spawn fireball
void clobber() { asm volatile("" : : : "memory"); }
void escape(void* p) { asm volatile("" : : "g"(p) : "memory"); }
Notes
- level8 is nice for testing (single room)
- level10 is a castle cutout from the intro
- level20 also small and nice for testing
- level23 a bit larger for testing