Jump to content

Far Cry 2 Cider Porting


z0n3x
 Share

16 posts in this topic

Recommended Posts

So start porting on cider 1770 from spore

 

Copy installing folder with Far Cry 2 C:\??\Ubisoft\ to cider.app/content/resurces/transgaming/c_drive

 

remove all not needed folders and files from cider.app/content/resurces/ stay alive Preferences, spore.icns, transgaming

 

Now make changed in

[change Info.plist on Contents folder]

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>cider</string>
<key>CFBundleGetInfoString</key>
<string>Far Cry 2 v.1.00.00</string>
<key>CFBundleIconFile</key>
<string>farcry2</string>
<key>CFBundleIdentifier</key>
<string>com.transgaming.farcry2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>1.0</string>
<key>CFBundleName</key>
<string>Far Cry 2™</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0 Mac</string>
<key>CFBundleSignature</key>
<string>FARCRY</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>CedegaGameDir</key>
<string>C:\Ubisoft\Far Cry 2\bin\</string>
<key>CedegaGameName</key>
<string>C:\Ubisoft\Far Cry 2\bin\FarCry2.exe</string>
<key>CiderBuild</key>
<string>1770</string>
<key>MinimumSystemVersion</key>
<string>10.5.3</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>PrefsFolderName</key>
<string>Far Cry 2</string>
<key>apLaunch</key>
<string>cider</string>
</dict>
</plist>

 

[ADD NOCD FROM RAZOR ]

 

moving file from archive FarCry2.exe to C:/windows/ubisoft/farcry2/bin/

 

[ADD FILES TO Windows/system32 ]

 

psapi.dll

GdiPlus.dll

iphlpapi.dll

D3DX9_38.dll

 

[CHANGE FILES ON Windows/system32]

 

msvcr80.dll

msvcp80.dll

 

[Add register information] to cider.app/contents/resources/preferences/system.reg

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Even Balance]

[HKEY_LOCAL_MACHINE\SOFTWARE\Even Balance\PnkBstrA]
"Port"=dword:0000ad0d
"Version"=dword:00000405

[HKEY_LOCAL_MACHINE\SOFTWARE\Even Balance\PnkBstrB]
"Port"=dword:0000b0f5
"Instance"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft\Far Cry 2]
"InstallDir"="C:\\Ubisoft\\Far Cry 2"
"Executable"="C:\\Ubisoft\\Far Cry 2\\bin\\FarCry2.exe"
"Language"="English"
"Version"="1.00.00"
"SecuROM"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft\Far Cry 2\1.00.00]

[HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft\Far Cry 2\GameUpdate]
"execPath"="C:\\Ubisoft\\Far Cry 2\\bin\\FarCry2.exe"
"info"="3dfe4d6acf3d0769911c1b4aba90aef2"
"installdir"="C:\\Ubisoft\\Far Cry 2"
"language"="us"

 

now changed config file in cider.app/contents/resources/preferences/

 

WINE REGISTRY Version 2

[drive c]
"path" = "@BUNDLEPATHRESOURCE@/transgaming/c_drive"
"type" = "hd"
"label" = "Dos Drive"
"filesystem" = "win95"

[drive d]
"path" = "${HOME}"
"type" = "hd"
"label" = "My Home"
"filesystem" = "win95"

[drive e]
"path" = "/tmp"
"type" = "hd"
"label" = "tmp"
"filesystem" = "win95"

[drive f]
"path" = "@BUNDLEPATHRESOURCE@/transgaming/f_drive"
"type" = "cdrom"
"label" = "cdrom"
"filesystem" = "win95"

[drive g]
"path" = "/"
"type" = "hd"
"label" = "root"
"filesystem" = "win95"

[drive p]
"path" = "@USERPREFS@/p_drive"
"type" = "hd"
"label" = "Dos Drive 2"
"filesystem" = "win95"

[wine]
"windows" = "c:\\windows"
"system" = "c:\\windows\\system32\\"
"temp" = "e:\\"
"path" = "c:\\windows\\;c:\\windows\\system32\\"
"graphicsdriver" = "sdldrv"
"shelllinker" = "/usr/lib/transgaming_cedega/winex/bin/wineshelllink"
"mozillacontrol" = "Y"

[ntdll]
"forwardTimeJumpThreshold" = "120"

[dlldefaults]
"defaultloadorder" = "native, builtin, so"

[dlloverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"oleaut32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"d3d8" = "builtin, native"
"d3d9" = "builtin, native"
"d3drm" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dinput8" = "builtin, native"
"dmusic" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"rpcrt4" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"quartz" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
"psapi" = "builtin, native"
"wininet" = "builtin, native"
"dbghelp" = "native, builtin"
"MSVCR80" = "native, builtin"
"MSVCP80" = "native, builtin"
"D3DX9_38" = "native, builtin"
"GdiPlus" = "native, builtin"
"psapi" = "native, builtin"
"iphlpapi" = "native, builtin"



[version]
"windows" = "winxp"
"cedega" = "tovik-22"

[pthreads]
"pthreadsvalue" = "default"

[transgaming]
"renice_wineserver" = "N"
"alsa_radio" = "Y"
"oss_radio" = "N"
"scheduler_value" = "No"

[sdldrv]
"defaultscreenwidth" = "800"
"defaultscreenheight" = "600"
"screendepth" = "32"
"enable3d" = "1"
"fullscreen" = "1"
"showfps" = "0"
"displaysettingsdialog" = "0"

[x11drv]
"allocsystemcolors" = "100"
"copydefaultcolors" = "0"
"privatecolormap" = "N"
"perfectgraphics" = "N"
"managed" = "Y"
"desktop" = "No"
"usedga" = "N"
"usexshm" = "Y"
"dxgrab" = "Y"
"usexvidmode" = "Y"
"usexrandr" = "N"
"desktopdoublebuffered" = "Y"
"textcp" = "0"
"showfps" = "Y"
"showmem" = "N"
"videoram" = "256"
"agpvertexram" = "128"
"nv_var" = "Y"
"arb_vbo" = "Y"

[d3dgl]
"anisotropictexturefiltering" = "Y"
"vertexshadermode" = "H"
"vertexshaders" = "Y"
"pixelshaders" = "Y"
"pixelshaderslevel" = "2.1"
"fragmentoffset" = "N"
"fixedprogram" = "Y"
"rectangletextures" = "Auto"
"dynamicvbo" = "Y"
"indexvbo" = "Y"
"fbo" = "Y"
"glsl" = "M"
"vertexshaderslevel" = "2.1"
"floattextures" = "Y"
"occlusionqueries" = "Y"
"texmemfix" = "Y"
"fbobackbuffer" = "0"

[opengl]
"fixedglextensionbuffer" = "N"

[dinput]
"defaultdeadzone" = "1000"
"absolutemousesensitivity" = "1"

[fonts]
"resolution" = "96"
"default" = "-adobe-times-"
"freetype" = "N"

[fontpatterns]
"pattern0" = "-adobe-times*"
"pattern1" = "-adobe-helvetica*"
"pattern2" = "-adobe-courier*"
"pattern3" = "-misc-fixed*"

[fontalias]
"ms serif" = "Times New Roman"
"helv" = "Arial"
"ms sans serif" = "Arial"
"system" = "Arial"
"tahoma" = "Arial"

[serialports]
"com1" = "/dev/ttyS0"
"com2" = "/dev/ttyS1"
"com3" = "/dev/ttyS2"
"com4" = "/dev/modem"

[parallelports]
"lpt1" = "/dev/lp0"

[spooler]
"lpt1:" = "|lpr"
"lpt2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"lpt3:" = "/dev/lp3"

[spy]
"exclude" = "WM_SIZE;WM_TIMER;"

[registry]
"LoadGlobalRegistryFiles" = "N"
"loadhomeregistryfiles" = "Y"
"loadwindowsregistryfiles" = "n"
"writetohomeregistryfiles" = "Y"
"saveonlyupdatedkeys" = "Y"

[tweak.layout]
"winelook" = "Win98"

[console]
"drivers" = "xterm"
"xtermprog" = "konsole"

[clipboard]
"clearallselections" = "0"
"persistentselection" = "1"

[wineserver]
"shmwineserver" = "Y"
"scheduler" = "N"

[winmm]
"drivers" = "winemacca.drv"
"wavemapper" = "msacm.drv"
"midimapper" = "midimap.drv"

[wineoss]
"usemmap" = "Y"
"fullduplex" = "Y"
"dsp0" = "/dev/dsp"
"mixer0" = "/dev/mixer"

[winealsa]
"usemmap" = "Y"
"pcm0" = "hw"
"ctl0" = "hw"
"fullduplex" = "N"

 

Attached file with all makeing and bonus nocd patch in archive

 

Downloading

=================================================

[RUN GAME]

cider.app/contents/MacOS/cider

 

and what see

 

[Terminal log]

 

Last login: Fri Oct 24 15:08:46 on ttys000
test:~ user$ /Users/poweruser/Desktop/Far\ Cry\ 2.app/Contents/MacOS/cider; exit;
Warning: Language 'en_UA' was not found, retrying without country name...
For language 'en' several language ids were found:
en_US - 0409; en_GB - 0809; en_AU - 0C09; en_CA - 1009; en_NZ - 1409; en_IE - 1809; en_ZA - 1C09; en_JM - 2009; en_ - 2409; en_BZ - 2809; en_TT - 2C09; 
Instead of using first in the list, suggest to define
your LANG environment variable like this: LANG=en_US
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.84(IcmpCloseHandle) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.85(IcmpCreateFile) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.87(IcmpSendEcho) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:win32:PE_InitDLL Exception occurred in PE entry point! Not very nice...
wine: Unhandled exception, starting debugger...

 

and window with debugger question!

 

picture3xo5.th.jpgthpix.gif

 

------------------------------------------------------------------------------

 

Help fix this

Link to comment
Share on other sites

[ADD FILES TO Windows/system32 ]

add dbghelp.dll

 

[RUN GAME]

cider.app/contents/MacOS/cider

 

and what see now agein picture3xo5.jpg press yes

 

[Terminal log]

 

Last login: Fri Oct 24 22:17:31 on ttys000
/Users/poweruser/Desktop/Far\ Cry\ 2.app/Contents/MacOS/cider; exit;
test:~ poweruser$ /Users/poweruser/Desktop/Far\ Cry\ 2.app/Contents/MacOS/cider; exit;
Warning: Language 'en_UA' was not found, retrying without country name...
For language 'en' several language ids were found:
en_US - 0409; en_GB - 0809; en_AU - 0C09; en_CA - 1009; en_NZ - 1409; en_IE - 1809; en_ZA - 1C09; en_JM - 2009; en_ - 2409; en_BZ - 2809; en_TT - 2C09; 
Instead of using first in the list, suggest to define
your LANG environment variable like this: LANG=en_US
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.84(IcmpCloseHandle) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.85(IcmpCreateFile) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:fixup:PE_fixup_imports No implementation for iphlpapi.dll.87(IcmpSendEcho) imported from C:\Ubisoft\Far Cry 2\bin\Dunia.dll, setting to 0xdeadbeef
err:win32:PE_InitDLL Exception occurred in PE entry point! Not very nice...
wine: Unhandled exception, starting debugger...
err:win32:PE_InitDLL Exception occurred in PE entry point! Not very nice...
err:seh:initFunctions could not load 'psapi.dll'
err:seh:dumpExceptionInfo could not load the dbghelp functions!  Bailing...
err:seh:start_debugger ERROR-> could not dump the crash report
err:SDL:SDL_DoQuit(): destroying mutex
logout

[Process completed]

 

SO HOW FIX ?????

Link to comment
Share on other sites

  • 4 weeks later...
@ameeps .... Spore is Shader 3 and 9.0c if thats not an Offical Game i and cider i dont know what is

 

 

@z0n3x Try Importing the Keys from the Current User tree and the uninstall Hives too

Spore for the PC has a SM3 mode, but that's not the only mode. It also has a SM2 mode (and maybe even a SM1.x mode) for older hardware, since the ATI X-series and 9000-series parts only support SM2. It should come as no surprise that the Mac version of Spore is limited to the SM2 mode.
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
 Share

×
×
  • Create New...