Jump to content

Talk:Oni engine patches (Mac PPC): Difference between revisions

m
+cat
m (→‎BSL functions: fixing typo in old hex-shot)
m (+cat)
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
:Define "code caves"; I'm not sure there's many of those, and we can't go very far with a hackish approach anyway. As for DLL-similar stuff, SFeLi said it was feasible and even relatively easy with [[wikipedia:Mach-O|Mach-O]] files: I haven't looked into that myself. --[[User:Geyser|geyser]] 18:06, 10 October 2008 (CEST)
:Define "code caves"; I'm not sure there's many of those, and we can't go very far with a hackish approach anyway. As for DLL-similar stuff, SFeLi said it was feasible and even relatively easy with [[wikipedia:Mach-O|Mach-O]] files: I haven't looked into that myself. --[[User:Geyser|geyser]] 18:06, 10 October 2008 (CEST)
::Code caves? There are a ton of those in the Mac executable :) [[User:Neo|Neo]]
::Code caves? There are a ton of those in the Mac executable :) [[User:Neo|Neo]]
:::http://en.wiktionary.org/wiki/code_cave Sounds neat\useful, for someone who is good at asm.[[User:Gumby|Gumby]] 05:38, 16 October 2008 (CEST)
:::[[wikt:code_cave]] Sounds neat\useful, for someone who is good at asm.[[User:Gumby|Gumby]] 05:38, 16 October 2008 (CEST)




Line 20: Line 20:
::[[User:Geyser|geyser]] 03:36, 7 October 2008 (CEST)
::[[User:Geyser|geyser]] 03:36, 7 October 2008 (CEST)
:::Just confirmed it to make sure; only a-z cannot be modified by the Shift key, i.e., become uppercase. All other characters that require Shift can be typed. And thanks for the answer on what uses uppercase, the team names and AI names slipped my mind. I tested that as well, hoping that the Mac would ignore case, but alas; the console indeed does not recognize any team names without the uppercase letters. --[[User:Iritscen|Iritscen]] 04:02, 7 October 2008 (CEST)
:::Just confirmed it to make sure; only a-z cannot be modified by the Shift key, i.e., become uppercase. All other characters that require Shift can be typed. And thanks for the answer on what uses uppercase, the team names and AI names slipped my mind. I tested that as well, hoping that the Mac would ignore case, but alas; the console indeed does not recognize any team names without the uppercase letters. --[[User:Iritscen|Iritscen]] 04:02, 7 October 2008 (CEST)
:::::::Iritscen, you beat me to it. The SHIFT key does not work in Dev Mode to enter uppercase letters (I should have been more specific, sorry).  How long have I've known these issues?  The SHIFT key problem was discovered when you, (geyser) asked me to enter some code in the console, I forgot when that happened.  The Window mode issue was known as soon as it was figured out how to run Omni group's version in a window. I'm sure this was mentioned at some point, either here or at OCF. The problems with the Numpad key was known back in Jan 2007 and you suggested using the [http://wiki.oni2.net/User_talk:EdT key_config.txt file ] [[User:EdT|EdT]] 04:11, 7 October 2008 (CEST)
:::Also, I now see that capitals are required to type in animation names, therefore the chr_animate command is essentially unuseable on the Mac Oni console line; however, the command still works from within a BSL script, where caps are recognized. --[[User:Iritscen|iritscen]] 06:01, 7 November 2008 (CET)
::::Iritscen, you beat me to it. The SHIFT key does not work in Dev Mode to enter uppercase letters (I should have been more specific, sorry).  How long have I've known these issues?  The SHIFT key problem was discovered when you, (geyser) asked me to enter some code in the console, I forgot when that happened.  The Window mode issue was known as soon as it was figured out how to run Omni group's version in a window. I'm sure this was mentioned at some point, either here or at OCF. The problems with the Numpad key was known back in Jan 2007 and you suggested using the [[User_talk:EdT|key_config.txt file]] [[User:EdT|EdT]] 04:11, 7 October 2008 (CEST)




----
----
==Large textures==
==Large textures==
The crash report is now history, but let's clarify the status of the patch at 0x001151C3. Is it irrelevant and can it be reverted?
The crash report is now history, but let's clarify the status of the patch at 0x001151C3. Is it irrelevant and can it be reverted?
Line 32: Line 34:


==Projectile awareness==
==Projectile awareness==
Still pending...
Fixed as of Dec 18 2008
 
{|
|
{{table}}
{{th}}
!Offset!!Old hex!!New hex!!Description
|-align=center
|0x00016503<BR>0x00016507<BR>0x0001650B<BR>0x000164F1<BR>0x000164F2||50<br>54<br>58<br>9D<br>23||74<br>78<br>7C<br>BD<br>2B
|align=left|projectile awareness fixed
|}
|}




----
----
==BSL functions==
==BSL functions==
Cleaning up previous talk, see history if you need reference
Cleaning up previous talk, see history if you need reference
Line 653: Line 667:
:''Unsolved as of 06:39, 22 October 2008 (CEST). Needs a trimmed list of necessary PC vars matched with disposable Mac vars.
:''Unsolved as of 06:39, 22 October 2008 (CEST). Needs a trimmed list of necessary PC vars matched with disposable Mac vars.
Since sc_bind_f2 and sc_bind_f3 won't work, the OTA needs to be rewritten whatever we do. Probably waiting for special anims should be replaced with waiting for hotkeyed variables like fast_mode (Ctrl+Shift/Alt+F), draw_every_frame (Ctrl+Shift/Alt+G), or gs_show_performance (Ctrl+Shift/Alt+Y). If this is done in the randomizer loop, there will actually be fewer contexts pushed than in the current version. There will also be no counterintuitive keypress sequences (F9,F2,F10), no spurious FILM files and no risk of buffer overflow. --[[User:Geyser|geyser]] 06:39, 22 October 2008 (CEST)
Since sc_bind_f2 and sc_bind_f3 won't work, the OTA needs to be rewritten whatever we do. Probably waiting for special anims should be replaced with waiting for hotkeyed variables like fast_mode (Ctrl+Shift/Alt+F), draw_every_frame (Ctrl+Shift/Alt+G), or gs_show_performance (Ctrl+Shift/Alt+Y). If this is done in the randomizer loop, there will actually be fewer contexts pushed than in the current version. There will also be no counterintuitive keypress sequences (F9,F2,F10), no spurious FILM files and no risk of buffer overflow. --[[User:Geyser|geyser]] 06:39, 22 October 2008 (CEST)
:: Can you give a script example of waiting for hotkeyed variables?  I would like to test it out.  Thanks [[User:EdT|EdT]] 20:45, 28 October 2008 (CET)
===Preset Mac variables===
===Preset Mac variables===
2+3+1+39=45 registered through tables ^_^
2+3+1+39=45 registered through tables ^_^
Line 1,028: Line 1,043:
:My impression is that there's plenty of space to accomodate all that. So let's do it.
:My impression is that there's plenty of space to accomodate all that. So let's do it.
::[[User:Geyser|geyser]] 07:35, 22 October 2008 (CEST)
::[[User:Geyser|geyser]] 07:35, 22 October 2008 (CEST)
[[Category:Patches]]