MacNN Forums (http://forums.macnn.com/)
-   Applications (http://forums.macnn.com/applications/)
-   -   Need help with .bat files for Mac OSX (http://forums.macnn.com/82/applications/398561/need-help-bat-files-mac-osx/)

 
mattack1 Sep 3, 2009 10:31 PM
Need help with .bat files for Mac OSX
Hey, I am not very experience with this stuff. I need help to run a client (moparscape). Any help?

And if I need to provide you guys with any data so you can help me better, what? I pretty much need a step by step walkthrough. Hope you can help.
 
CharlesS Sep 3, 2009 10:43 PM
Let me guess... the script is to run some Java app. Right?
 
mattack1 Sep 3, 2009 10:48 PM
here is the link. maybe it will help.

EnduraScapeV1.rar

possibly you can figure it out, then tell me how you did it. Just dont use any other applications, like birtualbox or boxer or whatever.
 
mattack1 Sep 3, 2009 11:00 PM
I really need some help.
 
CharlesS Sep 3, 2009 11:01 PM
Yep, Java. My suggestion would be to read one of the many already existing threads that have been posted on the topic (for whatever reason).
 
mattack1 Sep 3, 2009 11:10 PM
I just dont understand how to find the information on how to do it. Like where in the textedit?
 
besson3c Sep 3, 2009 11:17 PM
Line 4, column 36?
 
mattack1 Sep 3, 2009 11:25 PM
huh?
 
mattack1 Sep 3, 2009 11:29 PM
what do you mean by that?
 
Art Vandelay Sep 3, 2009 11:36 PM
Why does it always seem like it's a matter of life and death to get this answered immediately with all of these java .bat threads?
 
besson3c Sep 3, 2009 11:59 PM
Just being about as helpful as anybody could given the lack of information you've provided. Why not share the instructions you already have, give us a good idea as to what you are doing, explain what was confusing in the other threads, ask us specific questions - something?? Nobody is going to guess at your problem with your cryptic description and take the time to guess at a step-by-step set of instructions like you requested that was not already posted to the 4+ other threads very similar to this one. Cryptic problems with cryptic goals and cryptic descriptions will get you cryptic answers, at best.
 
mattack1 Sep 4, 2009 12:19 AM
Ok, I saw the first thread charless provided me. That person had some data from the textedit which would help to run the .bat. How do I obtain that?
 
mattack1 Sep 4, 2009 12:40 AM
WIth the link I provided, just could you go through it and tell me how you did it, that would be easiest.
 
besson3c Sep 4, 2009 12:52 AM
No, I'm not going to look for some text in another thread because you can't be bothered to post it here and provide a clear description of what you are trying to do. I would suggest putting in a little legwork and showing a little initiative before asking people to do things, as I frankly have absolutely no inspiration to help you at this point, especially given how cryptic this is.
 
mattack1 Sep 4, 2009 12:54 AM
I downloaded a client and I need to be able to run it. Unfortunately, I don't know what to do at all. How do I do it?
 
turtle777 Sep 4, 2009 01:00 AM
Quote, Originally Posted by CharlesS (Post 3879657)
Yep, Java. My suggestion would be to read one of the many already existing threads that have been posted on the topic (for whatever reason).
Is this some sort of spam ? :err:

-t
 
besson3c Sep 4, 2009 01:07 AM
What do the instructions for your game say to do? I'm not downloading and executing some file hosted on some random person's Mediafire account, sorry.
 
besson3c Sep 4, 2009 01:09 AM
These Java apps look like they belong to some game. 4 threads and I had to Google that for myself because these thread creators seem unable to provide us with these basic details, truly bizarre.
 
CharlesS Sep 4, 2009 01:24 AM
Quote, Originally Posted by turtle777 (Post 3879694)
Is this some sort of spam ? :err:

-t
I've kind of wondered that myself sometimes. Each time, the OP has a strikingly similar writing and posting style to the last time, it's always extremely cryptic, the author always refers to the problem as "running a .bat file" even though what he's really trying to do is run a Java app, and he's always extremely impatient. The other thing is that there have been a lot more than just those four threads - I didn't post every one that came up in the search.

Of course, if it's indeed a game, we could just be dealing with 12-year-old gamers, which could explain some of those features.
 
Art Vandelay Sep 4, 2009 02:21 AM
Must be past someone's bedtime. No more repeated begging for a solution.
 
mattack1 Sep 4, 2009 09:57 AM
your hilarious. its a game that I need to run on the mac. I dont know how.
 
mattack1 Sep 4, 2009 10:00 AM
I just dont understand how to do it at all. when I open it with text edit, I get all of these odd characters:

IHDRÛˇabKGD˘Cª pHYs

◊B(õxtIME’
89¡rµ§ùIDAT8À•í=hSQ«˜ôJìÇ˝†î@ AABU˙1vî≠‡¢E©¯Q∫u©káÇt(¥≠ ‘€"hE∏
ó" m†ïPflΩπÕÀÈí&i^®¯[.ú{œÔ¸9\uÛVr:ç>£km˘,ÿKãØ@=zÚP∆ ‹kziåÊ“ Ú˘¸Ì‘J˙u† ô∏¡÷◊≠†!|ÿxflXzûZIOѬ·]ù›ÅǃıdyöR(•HøM= k-Z{ºÀÓ≥ôãp"Œ$∏|?!=ÌÊ[5¡f.¬‹‰∆˙'r¥ü>≈„Ÿı !≠=~Ì∂w ˛÷=t≥bØ’’œıu‡cáõGw≥∆G äq<œ´&h÷\!H‚Tv–™π›A-Ûo>÷|øÑ9Î¥9%ëc ´õã„ÓÚ∫Hı #iÌq∂≥¿Óæ≈›’
ê¬+î}9¸ŒÌø:¿óÔ@@§˜"PBà R˙œ˜∞æ∫F∑˘π¨ÜÓŒlxm±a˛ëéÉü ?.O]·9
 ∑é∂ ≥oIENDÆB`Çp#t¿ê?..®eY1ßö:0 EnduraScape\Run Client.bat8ú@echo off
java -Xmx512m -cp .;Theme.jar Gui
«°t¿Ä;M2>ùåía83"EnduraScape\SAXPar ser.class  ÃΩyvKñR¿øà[)m?2B°§v¡ T€ñ–PQΟ.êtr87Æ©‚ßÖÇG·A‡î M«cz‹únÀUTû≠Ó,Á9ôõœ«âÔ?9ÕÕ_|æ Ë≈ŒæxÛ˚˙˝Ü»iêõò∑}P÷i,–ú Ò‹;Ω∂$Œ j0HÂ*Ï(µ«å ºÑÂ"jí§ u©#˘]‘7ô·ï>ÖwT|Îqï€>©‘º,€∞˛˝d∞® )ÉsSy[-√=ΩSˇ˚o7µóyfi∂™lÚ{Ü,2b±J¨Á∆K ?]«íï;÷Kt¬¥∆"{£fi—M_°õ⁄√vEç*À2ª ı›R u∑=ûú:∞¸¸púïàH#T⁄Ä˛Ûœæ S¬ •Ò4êfü‰Ù◊{]U?yU∫9i˙ Ó#*õ~8’Ñˇ®fl∑•pzÏu‘Fp _ã$UÜÕ¨áä«!löïiflK'<f ˝R À{≠KˆÖNrk¿Î..2|¢§é†|BÊ?π@√B ∑ë˚¨∫?Üœ§F≥¿‚
>‰o¢ÿ

A very very small part of when I opened it in text edit.
 
Simon Sep 4, 2009 10:17 AM
D'oh! That is the game.

You're supposed to find the Easter eggs in that ASCII mess. Happy hunting! :thumbsup:
 
mattack1 Sep 4, 2009 10:28 AM
lol? what do u mean by that.
 
turtle777 Sep 4, 2009 10:41 AM
I just started building a space ship.

Can you guys help me with that. I really need to do that.

-t
 
mattack1 Sep 4, 2009 10:46 AM
dude. why cant someone help. I actually need some.
 
besson3c Sep 4, 2009 10:48 AM
Truer words have never been spoken! If you are not going to answer the questions that have been asked, there is nothing we can do, sorry!
 
mattack1 Sep 4, 2009 11:01 AM
Its an online game that uses downloadable clients. I need to know how to run this downloadable client on my mac.
 
mattack1 Sep 4, 2009 11:02 AM
It has no instructions. On a pc, you simply just extract the info, then run it. But with the mac, I dont know what to do.
 
cgc Sep 4, 2009 11:19 AM
Quote, Originally Posted by mattack1 (Post 3879839)
It has no instructions. On a pc, you simply just extract the info, then run it. But with the mac, I dont know what to do.
You could start by reading the advice given by the experts in here. They need more specifics which you are unwilling to provide (thus the space ship reference).

I think people would be more than willing to help you but only if you offer a complete and detailed description of what you need so they can exert their time and energy towards solving your problem (and not waste it).
 
besson3c Sep 4, 2009 11:24 AM
What is the name and extension of the main executable? What was the name and extension of that file you opened in TextEdit and pasted here? How does this relate to a .bat file? Have you tried running the Java applet through your Terminal, as I'm sure was discussed in the other threads? Do you have any questions about the solutions offered in the other threads?

Need more info, still. Your problem would be solved much faster if you'd get busy writing and explaining so that we don't have to coax this information out of you.
 
besson3c Sep 4, 2009 11:26 AM
Quote, Originally Posted by turtle777 (Post 3879816)
I just started building a space ship.

Can you guys help me with that. I really need to do that.

-t

Your face is a space ship.
 
mattack1 Sep 4, 2009 11:48 AM
I literally dont know at all what to do. SO thats why I am asking you...
 
mattack1 Sep 4, 2009 01:04 PM
 
CharlesS Sep 4, 2009 01:18 PM
So, did you try the java command from the terminal like was mentioned in that thread?
 
Chuckit Sep 4, 2009 01:34 PM
I think the command is

java -Xmx512m -cp .:Theme.jar Gui
 
mattack1 Sep 4, 2009 03:56 PM
he had the cd title thing. IS that what I do?
 
mattack1 Sep 4, 2009 05:46 PM
He had

"cd" title

what is mine? the same?
 
turtle777 Sep 4, 2009 05:48 PM
This is like trying to teach my mom assembly programming... :hmm:

-t
 
TETENAL Sep 4, 2009 05:59 PM
.bat scripts can not be run on Macs.

Java-programs can be in principle, but one might be limited to a single platform only.

Whether this Java-program runs on Mac, and if so how it is run, you should best ask the maker of that program.
 
mattack1 Sep 4, 2009 06:02 PM
ok, on http://forums.macnn.com/82/applicati...-files-mac-os/ he was told to type "cd" title than JAVA-xm5200 or whatever. Do I type title for mine?
 
CharlesS Sep 4, 2009 06:26 PM
The text you seem to be referring to is:

Quote, Originally Posted by davidbk1 (Post 3804511)
He had it a little off. What you want to do is type "cd " without the quotes, but then drag the folder to the terminal window, and THEN press enter.
I fail to understand what about that is difficult to parse.
 
msuper69 Sep 4, 2009 07:59 PM
Check out ITT-Tech.

They can teach you about all those technological thingies and you can get a job in computers.
 
mattack1 Sep 4, 2009 11:07 PM
Macintosh:~ matt$ cd/Users/matt/Downloads/EnduraScapeV1-1.rar
-bash: cd/Users/matt/Downloads/EnduraScapeV1-1.rar: No such file or directory
Macintosh:~ matt$
 
besson3c Sep 4, 2009 11:48 PM
Extract the files from the RAR archive using a program on the Mac that handles the RAR format (there are several to choose from, Google this), then cd into the *directory* of the app:

cd /Users/matt/Downloads/<foldername>

substitute the name of this folder for "<foldername>" and respect the space after the cd command. Then you can run the Java executable using the Java command given prior.
 
mattack1 Sep 6, 2009 11:22 PM
ok. So I extracted the file. I saved it to my desktop. How do I do it? And what is the directory of the app? Sorry, I dont know much at all.
 
mattack1 Sep 6, 2009 11:29 PM
Nevermind. I managed to figure it out. THank you all very much.
 
mattack1 Sep 7, 2009 12:14 PM
Exception in thread "main" java.lang.NoClassDefFoundError: Gui
Caused by: java.lang.ClassNotFoundException: Gui
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:374)
Macintosh:EnduraScapeV1 matt$ java -Xmx512m -cp
-cp requires class path specification
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available (implies -server, only for x86_64)
-client to select the "client" VM
-server to select the "server" VM
-jvm is a synonym for the "client" VM [deprecated]
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
Macintosh:EnduraScapeV1 matt$ -client
 
Art Vandelay Sep 7, 2009 01:15 PM
The answer is already in this thread.
 
besson3c Sep 7, 2009 02:03 PM
How do you expect us to help you out if you don't bother to post what command you issued to get that error?
 
All times are GMT -4. The time now is 02:15 AM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2