Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Damn foreign games. [wineconsole help?]


  • Please log in to reply
12 replies to this topic

#1 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 13 April 2012 - 06:45 AM

So, here I am, trying to play a Japanese game.

Turns out Japanese game requires Japanese locale... and the games are launched using a .bat script.

Anything besides en_US gives me this error log instead of launching the .bat script:
fixme:exec:SHELL_execute flags ignored: 0x00000100
err:wineconsole:WCUSER_SetFont wrong font
err:wineconsole:WCUSER_SetFont wrong font
err:wineconsole:WCUSER_SetFont wrong font
err:wineconsole:WCUSER_SetFont wrong font
err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting

The solution here makes me want to tear my hair out/doesn't make sense to me (mostly because I don't know how to wineconsole C:/file.bat) and might not work in the first place.

This patch seems like it *might* work, but...
1. That's one heckuva inelegant solution.
2. I no longer have a 10.6.x device to work with.

Does anyone else have any ideas/solutions/same problem/a way of making the below .bat script into something that plays nice with Wineskin? (I lost the damn plistbuddy binary.)
@echo off
Color A
Echo							 GAME Part Selector
Echo.
Echo.
Echo.
:START
Echo							 PLEASE CHOOSE YOUR GAME 
Echo.
Echo							 [1] Exceed 1st Gun Bullet Children
Echo.
Echo							 [2] Exceed 2nd Vampire REX
Echo.
Echo							 [3] Exceed 3rd Jade Penetrate Black
Echo.
Echo.
Echo.
Echo.
Echo.

set /p choice=YOU CHOOSED_
if %choice% == 1 goto 1ST
if %choice% == 2 goto 2ND
if %choice% == 3 goto 3RD
if not %choice% == 1 goto BAD
if not %choice% == 2 goto BAD
if not %choice% == 3 goto BAD

:1ST
cd Exceed 1st Gun Bullet Children
pause
Exceed1.exe
goto exit

:2ND
cd Exceed 2nd Vampire REX
pause
Exceed2.exe
goto exit

:3RD
cd Exceed 3rd Jade Penetrate Black
pause
Exceed3.exe
goto exit

:BAD
set /p _ok=*BAD CHOICE. CHOOSE AGAIN!*
goto START

:Exit
pause
exit

PortingNetwork now lurks in the shadows... among us.

#2 syao

syao

    Administration Team

  • Administrators
  • 656 posts
  • LocationThe Net, Vast and Infinite
  • Graphics Card:[MacBook 13 - Intel GMA950] [iMac 27 - ATI Radeon HD4850] [MacBook Pro 13 - Intel HD3000]
  • Operating System:Mac OS X 10.7 (Lion)

Posted 13 April 2012 - 04:20 PM

Are the games actual console games?  Or the only part it would need wineconsole for is the .bat launcher?
Posted Image
This ███ will be left blank in sign of protest █████ internet censorship.

#3 waves

waves

    Still here

  • Super Moderators
  • 1,317 posts
  • Graphics Card:NVIDA
  • Operating System:Mac OS X 10.6 (Snow Leopard)
Author

Posted 13 April 2012 - 04:27 PM

What game are you trying to get working?

Try using Fake Japenese winetrick?
Posted Image

How to get multiple file port games / apps runnning: http://portingteam.c...-combine-files/

#4 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 13 April 2012 - 07:24 PM

@syao: Correct. The batch file launches games that do not use the command prompt.

@waves: Tried that. Seems that simply installing fonts/adding fonts/changing the registry isn't enough. The game is here.
(Additionally, if I could ever get this to work, I could stick multiple games in the same Wineskin wrapper and not need CustomEXE launchers.)
PortingNetwork now lurks in the shadows... among us.

#5 syao

syao

    Administration Team

  • Administrators
  • 656 posts
  • LocationThe Net, Vast and Infinite
  • Graphics Card:[MacBook 13 - Intel GMA950] [iMac 27 - ATI Radeon HD4850] [MacBook Pro 13 - Intel HD3000]
  • Operating System:Mac OS X 10.7 (Lion)

Posted 13 April 2012 - 10:50 PM

Then what happens if you make three Custom EXE launchers that run Exceed1.exe, Exceed2.exe and Exceed3.exe directly?  Do they throw out any error that way?
Posted Image
This ███ will be left blank in sign of protest █████ internet censorship.

#6 doh123

doh123

    Wineskin Developer

  • Members
  • 3,988 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 13 April 2012 - 11:28 PM

You shouldn't ever really need Wineconsole for anything in this... you can manually run things in a cmd prompt if you need, but a batch file usually runs fine just using Start.exe.

#7 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 14 April 2012 - 01:47 PM

@Syao: No they don't. (I already tried that, and I was hoping I could get batch files to work in non-English locale for other stuff if need be later.)

@doh123: Not in ja_JP they don't. I got that error while using Start.exe.
PortingNetwork now lurks in the shadows... among us.

#8 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 28 April 2012 - 12:54 AM

I think I'll bump this every 2 weeks or so until I write a bash/terminal script that shows the game selection or until some kind soul is able to solve the problem. :P
PortingNetwork now lurks in the shadows... among us.

#9 doh123

doh123

    Wineskin Developer

  • Members
  • 3,988 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 28 April 2012 - 12:42 PM

Unless theres some specific Japanese font you need to find and install, I am not sure what else may be happening.

#10 syao

syao

    Administration Team

  • Administrators
  • 656 posts
  • LocationThe Net, Vast and Infinite
  • Graphics Card:[MacBook 13 - Intel GMA950] [iMac 27 - ATI Radeon HD4850] [MacBook Pro 13 - Intel HD3000]
  • Operating System:Mac OS X 10.7 (Lion)

Posted 29 April 2012 - 04:24 PM

Hmm, the problem is that the wine command prompt window fails hard when it encounters non-fixed-witdth characters in a font, and fonts capable to render japanese characters have different widths (half width for ASCII, full width for Kanji), so it's kind of a pain to get it working (the patch you linked could be a workaround for the time being, if you *really* need a batch script for this kind of thing...)

But, really, why a batch script?  Anything is better than a .bat menu... from a bash one (if you _really_ want it to be in a terminal window) to a better looking applescript these might require some tweaks to the wineskin wrapper, so that the chooser is launched instead of the X/wine processes...) or even a GUI launcher for windows with a few lines of c++...
Posted Image
This ███ will be left blank in sign of protest █████ internet censorship.

#11 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 30 April 2012 - 04:01 AM

View Postsyao, on 29 April 2012 - 04:24 PM, said:

Hmm, the problem is that the wine command prompt window fails hard when it encounters non-fixed-witdth characters in a font, and fonts capable to render japanese characters have different widths (half width for ASCII, full width for Kanji), so it's kind of a pain to get it working (the patch you linked could be a workaround for the time being, if you *really* need a batch script for this kind of thing...)
Would that really be the problem? I'm using aqua font, which seems to be an entirely fixed-width font, unless there is another font I should try?

Quote

But, really, why a batch script?  Anything is better than a .bat menu... from a bash one (if you _really_ want it to be in a terminal window) to a better looking applescript these might require some tweaks to the wineskin wrapper, so that the chooser is launched instead of the X/wine processes...) or even a GUI launcher for windows with a few lines of c++...
It's a batch script because it was packaged with the game. :/
I previously had made an extremely hacky bash script that replaced the info.plist and then launched WineskinX11 based on user input, but that's not exactly a proper solution.
PortingNetwork now lurks in the shadows... among us.

#12 syao

syao

    Administration Team

  • Administrators
  • 656 posts
  • LocationThe Net, Vast and Infinite
  • Graphics Card:[MacBook 13 - Intel GMA950] [iMac 27 - ATI Radeon HD4850] [MacBook Pro 13 - Intel HD3000]
  • Operating System:Mac OS X 10.7 (Lion)

Posted 01 May 2012 - 01:13 PM

View Postnintendotoad, on 30 April 2012 - 04:01 AM, said:

Would that really be the problem? I'm using aqua font, which seems to be an entirely fixed-width font, unless there is another font I should try?
I suppose it is, even though I have no proof.  The only reference I have is comment #7 here.
You could try compiling wine with that patch, and see if it helps at all.  (If you do that, you still have to make sure you're using a fixed width font, so keeping the one you're currently using should be fine)

Quote

It's a batch script because it was packaged with the game. :/
I previously had made an extremely hacky bash script that replaced the info.plist and then launched WineskinX11 based on user input, but that's not exactly a proper solution.
If the patch doesn't work, or if you on't want to have to use a custom wine engine, I can assist with some workarounds..  The possibilities I've thought of so far are:
- Add a GUI (Cocoa) chooser directly in the Wineskin Launcher.  This requires heavy wrapper modifications (i.e. recompiling a custom Wineskin Launcher, I believe - I have not tested this one)
- Add a GUI (Applescript) chooser as a Startup Script.  This requires small wrapper modifications to make Wineskin act in a different way depending on the Applescript results (i.e. compiling a modified Wineskin.m component)
- Add a GUI (Windows) chooser to replace the .bat launcher that comes with the game.  This requires no wrapper modifications, just a custom .exe and a few .dll's to be dropped into the game folder.

Up to you to decide on what to do, I can assist with code/patches/etc.
Posted Image
This ███ will be left blank in sign of protest █████ internet censorship.

#13 nintendotoad

nintendotoad

    Champion Member

  • Members
  • 791 posts
  • Location/tmp
  • Graphics Card:NVIDIA 580 GTX
  • Operating System:Mac OS X 10.7 (Lion)

Posted 02 May 2012 - 04:48 PM

The patch doesn't seem to hard; I might just do a 10.7 compile or improve my bash script a little.

I'm really bad with GUI's, so I wouldn't be able to do any of that :P
PortingNetwork now lurks in the shadows... among us.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users