xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Schism2 (patches)
openxdkman
post Dec 12 2006, 10:25 PM
Post #1


X-S Genius
****

Group: Moderator
Posts: 822
Joined: 2-August 06
Member No.: 292548
Xbox Version: unk
360 version: unknown



To start in windowed mode and avoid possible black screen, in Game1.cs, at line 70, replace

graphics.PreferredBackBufferWidth = 1024;
graphics.PreferredBackBufferHeight = 768;
graphics.ToggleFullScreen();
with
graphics.PreferredBackBufferWidth = 800;
graphics.PreferredBackBufferHeight = 600;
graphics.ToggleFullScreen();
graphics.ToggleFullScreen();


Then, fix an insane error due to Convert.ToSingle that seem broken in xna gse final (amazing!)
In XNAFont.cs, at line 94, replace

ret.UVData.Add(c, new XNAFontUV (
Convert.ToSingle(tr.GetAttribute("u")),
Convert.ToSingle(tr.GetAttribute("v")),
Convert.ToInt32(tr.GetAttribute("width"))));


with

//Convert.ToSingle seems to be broken in xba gse final, at least in this source...
float u, v;
int Width;
str = tr.GetAttribute("u");
str = str.Replace("0.","");
u = (float)(((double)Convert.ToInt32(str)) / (Math.Exp(Math.Log(10.0f) * ((double)str.Length))));
str = tr.GetAttribute("v");
str = str.Replace("0.", "");
v = (float)(((double)Convert.ToInt32(str)) / (Math.Exp(Math.Log(10.0f) * ((double)str.Length))));
str = tr.GetAttribute("width");
Width = Convert.ToInt32(str);
ret.UVData.Add(c, new XNAFontUV(u, v, Width));





I have no idea what this game is about, and what keyboard controls are... and I don't care (2D)...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 18th June 2013 - 06:27 AM