Emuforums.com

Go Back   Emuforums.com > Xbox Emulation > Xeon Official Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old September 4th, 2004   #1 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Writing an .ini file

Let's say, I want to write an .ini file for an anonomys game. What exactly would I have to include in that ini file?
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 4th, 2004   #2 (permalink)
!!!METAL UNCLE!!!
 
MaZa's Avatar
 
Join Date: Jan 2003
Location: Finland
Posts: 1,949
Thats quite rounded up question. Depends what that game wants from that INI file. Basically INI file is just a text file that can be written with notepad or similar.

PS. Who is that babe on your avatar?
__________________
Athlon XP 2600+ Barton, 1GB 333mhz DDR RAM, NVidia 6800GT, 2x160GB HD + gainward 3d glasses
:fart:

MaZa is offline   Reply With Quote
Old September 4th, 2004   #3 (permalink)
邪魔ゎ指せない
 
Kane's Avatar
 
Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
It's down to the game. If the game doesn't look at the ini file it's a bit pointless, and a game which does look at an ini file will almost certainly already have one, nad you can reference from that.

>PS. Who is that babe on your avatar?

It's Faye Valentine from Cowboy Bebop
__________________

>Site Live<
Pop over to my site for help with setting up PSX emulators.
Help for the Final Fantasies and other RPGs avalaible

Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business
Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE
Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb

Kane is offline   Reply With Quote
Old September 9th, 2004   #4 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by Kane-Sama
>PS. Who is that babe on your avatar?

It's Faye Valentine from Cowboy Bebop
Yep, it's Faye Valentine. I thought instead of calling myself a total retard (which I can be at times) I wanted to say something a bit more positive. Imagine if she was REAL

Anyway, I wanted to see if I could contribute by getting Bad Boys 2 to work. I was feeling a bit mischivous. I tried to make an INI file for it, but so far, I havent gotten it to work, yet So far, I got the white screen with the FPS counter on it.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 9th, 2004   #5 (permalink)
Banned
 
wile's Avatar
 
Join Date: Mar 2004
Location: Ohio (usa)
Posts: 97
Why dont you show us the INI file?

Last edited by wile; September 10th, 2004 at 04:29.
wile is offline   Reply With Quote
Old September 10th, 2004   #6 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by wile
Why dont you show us the INI file?
When I get a chance I will. I'm usually doing all of my posts from college
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 11th, 2004   #7 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Ok... here's what I got so far on my ini file so far. So far it's not even close to being done. I'm trying to make sure I got the main function right, so far Xeon can't find it. I used my IDA pro to dissasemble it and tried to do what I could.
Attached Files
File Type: zip Bad Boys 2.zip (750 Bytes, 80 views)
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 11th, 2004   #8 (permalink)
Emu author
 
Join Date: Aug 2003
Posts: 29
You have the right idea, however it is somewhat more complicated than that. I actually attempt to generate as much as possible of the INI file automatically using a function scanner program. Basically it generates signatures from XDK library files and uses them to search for functions in the XBE file. However since I don't have all of the XDK's I have to search for a lot of the functions by hand. If you want however I might be able to release the scanning program.

Also the version of Xeon that was released before is very outdated now. You should probably wait until I have the new version ready before trying to get games to run.
__________________
Current projects: Xeon (v1.0)
_SF_ is offline   Reply With Quote
Old September 13th, 2004   #9 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by _SF_
You have the right idea, however it is somewhat more complicated than that. I actually attempt to generate as much as possible of the INI file automatically using a function scanner program. Basically it generates signatures from XDK library files and uses them to search for functions in the XBE file. However since I don't have all of the XDK's I have to search for a lot of the functions by hand. If you want however I might be able to release the scanning program.

Also the version of Xeon that was released before is very outdated now. You should probably wait until I have the new version ready before trying to get games to run.
I'm glad to see that you are up and running _SF_. It would be great if you could release the scanning program. thanks, keep ^ the good work

Anyway, I forgot to mention that I tried to use IDA pro to find out the location of the main function.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 13th, 2004   #10 (permalink)
Customized User Title
 
Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
I will help look for the main funtion with you.

Yea... IDA gives you weird outputs (not alot like real c/c++)
and it makes it harder to find things like that.
proger is offline   Reply With Quote
Old September 13th, 2004   #11 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by proger
I will help look for the main funtion with you.

Yea... IDA gives you weird outputs (not alot like real c/c++)
and it makes it harder to find things like that.
Thanx, i apreciate the help.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 14th, 2004   #12 (permalink)
Emu author
 
Join Date: Aug 2003
Posts: 29
Quote:
Originally Posted by blueshogun96
I'm glad to see that you are up and running _SF_. It would be great if you could release the scanning program. thanks, keep ^ the good work

Anyway, I forgot to mention that I tried to use IDA pro to find out the location of the main function.
I'd have to see about it. The program is very primitive and doesn't even have a GUI currently. Also it's dependent on the DUMPBIN tool that comes with Visual Studio.
__________________
Current projects: Xeon (v1.0)
_SF_ is offline   Reply With Quote
Old September 14th, 2004   #13 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by _SF_
I'd have to see about it. The program is very primitive and doesn't even have a GUI currently. Also it's dependent on the DUMPBIN tool that comes with Visual Studio.
VS 6 or 7(.net)?
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old September 14th, 2004   #14 (permalink)
Emu author
 
Join Date: Aug 2003
Posts: 29
Quote:
Originally Posted by blueshogun96
VS 6 or 7(.net)?
I use VS.net 2003, though it might work with the previous ones. It depends on the format of the library files.
__________________
Current projects: Xeon (v1.0)
_SF_ is offline   Reply With Quote
Old September 14th, 2004   #15 (permalink)
Customized User Title
 
Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
Wow, _SF_... you've been around alot lately!
proger is offline   Reply With Quote
Old September 16th, 2004   #16 (permalink)
Registered User
 
zomby's Avatar
 
Join Date: Aug 2003
Location: Quebec, Canada
Posts: 101
Still, it would be nice if you could make this tool available to us. No matter how primitive it is.
zomby is offline   Reply With Quote
Old October 20th, 2004   #17 (permalink)
Customized User Title
 
Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
Shouldnt you change HaloHack=false, you probally should change it to BadBoys2hack=false or something...
proger is offline   Reply With Quote
Old October 26th, 2004   #18 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
Quote:
Originally Posted by proger
Shouldnt you change HaloHack=false, you probally should change it to BadBoys2hack=false or something...
Good question, not sure but I think it should stay at halohack because halo is not the target game here.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old January 26th, 2005   #19 (permalink)
Customized User Title
 
Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
Similarities in cxbx logs and xeon inis

Looking at it closer, cxbx logs and xeon inis are amazing similar
For example:
CXBX:
Code:
Emu (0x7BC): 0x0009CED0 -> EmuIDirect3DDevice8_SetRenderState_Simple
Xeon:
Code:
D3DDevice_SetRenderState_Simple=1820A0
I dont think the one from cxbx was halo (actually, im not sure what it is from at all, but im just making a point)
I don't know if this is useful or not, but its interesting none the less.
And mods, try not to get mad at me for bringing back this thread.
__________________
[Gaming PC] Intel Intel Xeon X3350 @3.5GHz , 2GB DDR2-1066 RAM, Nvidia Geforce 9600GT 512MB (720/2150MHz), 120GB Western Digital Sata Harddisk, Hec 585Watt Power Supply (<- The PSU Sucks, barely even powers my system.)
-
[HTPC] Intel Pentium E2160 @ 2.5GHz, 2GB DDR2-800 RAM, Nvidia GeForce 8600GT 512MB (Stock), 500GB Western Digital SATA Harddisk, Antec EarthWatts 430watt Power Supply

Last edited by proger; January 26th, 2005 at 04:38.
proger is offline   Reply With Quote
Old January 26th, 2005   #20 (permalink)
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
are you refering to the .ini? In that case, no it's the badboys2
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated June 26, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 21:39.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5