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 11: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 11:43 PM
Let me guess... the script is to run some Java app. Right?
 
mattack1 Sep 3, 2009 11: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 4, 2009 12:00 AM
I really need some help.
 
CharlesS Sep 4, 2009 12:01 AM
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 4, 2009 12:10 AM
I just dont understand how to find the information on how to do it. Like where in the textedit?
 
besson3c Sep 4, 2009 12:17 AM
Line 4, column 36?
 
mattack1 Sep 4, 2009 12:25 AM
huh?
 
mattack1 Sep 4, 2009 12:29 AM
what do you mean by that?
 
Art Vandelay Sep 4, 2009 12:36 AM
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 4, 2009 12:59 AM
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 01: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 01: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 01: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 01: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 02: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 02: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 02: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 02: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 03:21 AM
Must be past someone's bedtime. No more repeated begging for a solution.
 
mattack1 Sep 4, 2009 10:57 AM
your hilarious. its a game that I need to run on the mac. I dont know how.
 
mattack1 Sep 4, 2009 11: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 11: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 11:28 AM
lol? what do u mean by that.
 
turtle777 Sep 4, 2009 11: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 11:46 AM
dude. why cant someone help. I actually need some.
 
besson3c Sep 4, 2009 11: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 12:01 PM
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 12:02 PM
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 12:19 PM
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 12:24 PM
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 12:26 PM
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 12:48 PM
I literally dont know at all what to do. SO thats why I am asking you...
 
mattack1 Sep 4, 2009 02:04 PM
 
CharlesS Sep 4, 2009 02:18 PM
So, did you try the java command from the terminal like was mentioned in that thread?
 
Chuckit Sep 4, 2009 02:34 PM
I think the command is

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

"cd" title

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

-t
 
TETENAL Sep 4, 2009 06: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 07: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 07: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 08: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 5, 2009 12:07 AM
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 5, 2009 12:48 AM
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 7, 2009 12:22 AM
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 7, 2009 12:29 AM
Nevermind. I managed to figure it out. THank you all very much.
 
mattack1 Sep 7, 2009 01: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 02:15 PM
The answer is already in this thread.
 
besson3c Sep 7, 2009 03: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 08:58 AM.

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


Content Relevant URLs by vBSEO 3.3.2