|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#2 (permalink) |
|
!!!METAL UNCLE!!!
![]() ![]() ![]() ![]() ![]() 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: ![]() ![]() |
|
|
|
|
|
#3 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#4 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
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
__________________
[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 |
|
|
|
|
|
|
#6 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
__________________
[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 |
|
|
|
|
|
|
#7 (permalink) |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() 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.
__________________
[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 |
|
|
|
|
|
#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) |
|
|
|
|
|
#9 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
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 |
|
|
|
|
|
|
#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. |
|
|
|
|
|
#11 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
__________________
[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 |
|
|
|
|
|
|
#12 (permalink) | |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2003
Posts: 29
|
Quote:
__________________
Current projects: Xeon (v1.0) |
|
|
|
|
|
|
#13 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
__________________
[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 |
|
|
|
|
|
|
#14 (permalink) | |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2003
Posts: 29
|
Quote:
__________________
Current projects: Xeon (v1.0) |
|
|
|
|
|
|
#18 (permalink) | |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2004
Location: Unidentified
Posts: 2,072
|
Quote:
__________________
[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 |
|
|
|
|
|
|
#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 Code:
D3DDevice_SetRenderState_Simple=1820A0 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. |
|
|
|
|
|
#20 (permalink) |
|
Shogun3D Interactive (TM)
![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|