LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2011, 10:16 PM   #1
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
Conversion application (.exe) requires drag and drop to work. Distro won't let me.


I have a converter to change from .fla files into .eep/.mpk files, HOWEVER it is an .EXE ... If I double click, It runs in WINE just fine and dandy, But the program doesn't work through clicking ... I must drag and drop the file to the .exe and Zorin does not seem to be a fan of dropping files on an .exe ... Is there a way for me to get this to work? It is the only converter I can find of it's kind so it isn't as easy as getting another program.

Thanks for whatever you can offer.

Last edited by Hevithan; 06-22-2011 at 10:17 PM.
 
Old 06-22-2011, 10:24 PM   #2
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
Well, for starters, you may have to launch the program from the terminal and feed it a file as an argument. Refer to Wine docs here: http://www.winehq.org/documentation

Also, what exactly are .eep/.mpk files? If you want to convert .flv files to some other video format, there are plenty of native programs you can use on Linux.
 
Old 06-22-2011, 10:45 PM   #3
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by PhoenixAndThor View Post
Well, for starters, you may have to launch the program from the terminal and feed it a file as an argument. Refer to Wine docs here: http://www.winehq.org/documentation

Also, what exactly are .eep/.mpk files? If you want to convert .flv files to some other video format, there are plenty of native programs you can use on Linux.
a save file for an emulator (of which I owned the system and own the game.), the original format is .fla, but the emulator reads the SAME files as .eep or .mpk (it is an emulator for Wii), thus the need for a converter. I am looking up that link now and if it solves my problem I'll be back.
 
Old 06-22-2011, 11:45 PM   #4
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 40
Heres what I tried (pre-LQ):

Code:
$'/home/usr/file.fla' | '/home/usr/converter.exe'
To which I got a permission denied, Changed permission to include everyone as read, write, and execute. Did command again and in return it started the .exe but said "No file selected"

so I tried (just as an experiment) to use mv:
Code:
$mv file.fla converter.exe
Ended up putting the file into the .exe permanently, so now my return is "Bad Format" ... Re-downloaded the converter.
Read this post and am trying; wine program argument as such:
Code:
wine converter.exe file.fla
To which I get:

Code:
$ wine '/home/hevithan/converter.exe' '/home/hevithan/ZELDA MAJORA'\''S MASK.fla' 

Error:  unable to find "\" in arg[1]!

Press Return key to continue:
So I got rid of the '\' and am leaving it as majora's mask.fla ... which causes an error Converter has encountered a serious problem and needs to close ... I have no idea what that problem is, The output I have is (in it's entirety):

Code:
Unhandled page fault on read access to 0x00000000 at address 0x681ea798 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x681ea798).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:681ea798 ESP:0060fdbc EBP:0060fdd8 EFLAGS:00210212(  R- --  I   -A- - )
 EAX:00000000 EBX:7bc9dff4 ECX:00000000 EDX:0040302c
 ESI:7ffdf000 EDI:00401220
Stack dump:
0x0060fdbc:  7bc745f4 00000000 0040302c 0060fdd8
0x0060fdcc:  00401876 00401790 00004000 0060fe48
0x0060fddc:  00401325 00000000 0040302c 001157f0
0x0060fdec:  004012b6 00114ac0 00114ac0 00000d28
0x0060fdfc:  7bc9dff4 7ffdf000 00110998 00000010
0x0060fe0c:  001157f0 c04096aa 00000000 00000000
Backtrace:
=>0 0x681ea798 in libc.so.6 (+0x73798) (0x0060fdd8)
  1 0x00401325 in wii64converter (+0x1324) (0x0060fe48)
  2 0x004011e7 in wii64converter (+0x11e6) (0x0060fe80)
  3 0x00401238 in wii64converter (+0x1237) (0x0060fe90)
  4 0x7b85437c call_process_entry+0xb() in kernel32 (0x0060fea8)
  5 0x7b85501f ExitProcess+0xc9e() in kernel32 (0x0060fee8)
  6 0x7bc70be0 call_thread_func+0xb() in ntdll (0x0060fef8)
  7 0x7bc73770 call_thread_entry_point+0x6f() in ntdll (0x0060ffc8)
  8 0x7bc498ba call_dll_entry_point+0x659() in ntdll (0x0060ffe8)
0x681ea798: movb	0x0(%ecx),%al
Modules:
Module	Address			Debug info	Name (18 modules)
PE	  400000-  406000	COFF            wii64converter
ELF	68000000-6801e000	Deferred        ld-linux.so.2
ELF	6801e000-6815e000	Export          libwine.so.1
ELF	6815e000-68177000	Deferred        libpthread.so.0
ELF	68177000-682d8000	Export          libc.so.6
ELF	682d8000-682fe000	Deferred        libm.so.6
ELF	682fe000-68306000	Deferred        libnss_compat.so.2
ELF	68306000-68311000	Deferred        libnss_nis.so.2
ELF	68311000-6831d000	Deferred        libnss_files.so.2
ELF	6831d000-6839f000	Deferred        msvcrt<elf>
  \-PE	68330000-6839f000	\               msvcrt
ELF	6bd89000-6bda0000	Deferred        libnsl.so.1
ELF	793d2000-793d6000	Deferred        libdl.so.2
ELF	7b800000-7b97c000	Export          kernel32<elf>
  \-PE	7b810000-7b97c000	\               kernel32
ELF	7bc00000-7bcba000	Export          ntdll<elf>
  \-PE	7bc10000-7bcba000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\hevithan\Pictures\Webcam\wii64converter.exe
	00000009    0 <==
0000000e services.exe
	00000018    0
	00000015    0
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000017    0
	00000016    0
	00000013    0
	00000012    0
0000001b explorer.exe
	0000001c    0
Backtrace:
=>0 0x681ea798 in libc.so.6 (+0x73798) (0x0060fdd8)
  1 0x00401325 in wii64converter (+0x1324) (0x0060fe48)
  2 0x004011e7 in wii64converter (+0x11e6) (0x0060fe80)
  3 0x00401238 in wii64converter (+0x1237) (0x0060fe90)
  4 0x7b85437c call_process_entry+0xb() in kernel32 (0x0060fea8)
  5 0x7b85501f ExitProcess+0xc9e() in kernel32 (0x0060fee8)
  6 0x7bc70be0 call_thread_func+0xb() in ntdll (0x0060fef8)
  7 0x7bc73770 call_thread_entry_point+0x6f() in ntdll (0x0060ffc8)
  8 0x7bc498ba call_dll_entry_point+0x659() in ntdll (0x0060ffe8)
None of which I can make heads or tails of. (I assume it has to do with the ' being used in the argument and trying to use it.)
Hope I did somewhat of what was recommended ... any other suggestions are welcome.

Last edited by Hevithan; 06-22-2011 at 11:48 PM.
 
Old 06-23-2011, 06:03 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
I don't understand, why would dragging and dropping a file onto a .exe do, other than overwrite it?
 
Old 06-23-2011, 01:27 PM   #6
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by MTK358 View Post
I don't understand, why would dragging and dropping a file onto a .exe do, other than overwrite it?
The program is all text based (like dos or command line) and has no GUI, The way it is supposed to work is:
1.) Drag file over .exe
2.) .exe converts file
3.) is moved to folder converted

So I guess it runs the .fla through some sort of script to convert it and when it is done I guess it tells it to move it to the designated folder. In other words, I have no idea

Anyways I am marking this as solved, While reading online (almost all threads or sites on it where just mirrors of the original ... bleh) I eventually came across a post from the author of the program stating it will not run properly on Mac or Linux (though the source is available if someone wanted to do it) ... Moved the .exe and my save to a SD, Got on my aunt's computer (MS XP),ran it there, and viola I got results.
 
Old 06-23-2011, 01:51 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by MTK358 View Post
I don't understand, why would dragging and dropping a file onto a .exe do, other than overwrite it?
If my memory serves correctly, when (in Windows) you drop something onto a .exe file, windows runs the .exe using whatever you dropped onto it as the first positional parameter (I think that was %1 in DOS/Win batch speech, wasn't it?). The thing you are dropping is what we'd call $1 in linux, the .exe file would be $0.

So, there's nothing strange about that. But making this work in linux is another thing. I am no expert in wine, and I don't even know if there's a workable solution. I'd start by running it in command line using "wine file.exe file.fla", and seeing what happens. Otherwise, look for a native tool to convert the file to whatever format you need, if there's one at all.
 
Old 06-23-2011, 01:54 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by Hevithan View Post
The program is all text based (like dos or command line) and has no GUI, The way it is supposed to work is:
1.) Drag file over .exe
That's probably a Windows Explorer feature, because it seems blatantly obvious that any normal file manager would overwrite the exe file.

Truy passing the file as a parameter at the command line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Application requires later glibc tonnguyen Programming 3 05-11-2011 09:20 AM
[SOLVED] Application drop down menu not work???? Jericho_42 Linux - Newbie 1 01-31-2011 06:42 PM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 06:04 AM
VNC application with drop-down menu leupi Linux - Software 2 01-15-2006 12:40 PM
installing an .exe, downloaded application. goblin46 Linux - Newbie 3 08-22-2005 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration