The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-21-2008, 01:30 PM
What's Jailbreak?
 
Join Date: Aug 2008
Device + Firmware: iPhone v2.0.1 Modded
Operating System: Vista SP1 x64
Location: Phila, PA & Tokyo, Japan.
Posts: 10
Thanks: 5
Thanked 0 Times in 0 Posts
Need info on file/dir links. (NES ROMs Folder links to wrong place)

I installed NES on iPhone 2G and i have a question conserning the links to NES ROMs.


When I open up iFunBox:

in folder view i see NES ROMS and when i add some to it they get copied to:

/private/var/root/Media/ROM's/NES/


but i want that to point to: (because this is where the NES app looks for roms at)

/private/var/mobile/Media/ROMs/NES/


How can I change that link so it points to the correct dir?


In iFunBox i copied the whole filesystem to see if i can find the link and change it, but so far i have not found anything.

I do not want to manualy go into the dir up add files, its anoying. But if i can correct that link to make it copy to the corrrect dir would be great.


EDIT:
I just attempted to change the NES file so it would look for the ROMs in the other dir and chmod to 755 (the game never started, so i reinstalled)
Back to playing with the DIR links.


Just a thought:
Can iFunBox see that the game is installed and it already has the link programmed in. wich makes me look for it in the phone itself a waist of time.

Last edited by wolvorine4424; 08-21-2008 at 02:24 PM.. Reason: Updated
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-21-2008, 02:23 PM
Livin the iPhone Life
 
Join Date: Dec 2007
Posts: 1,443
Thanks: 15
Thanked 183 Times in 174 Posts

what is annoying about copying it in manually? should be the same afford as anything else.

anyways, you can create symlinks with the "ln" (link) command. use it like this:
ln -s target source
so that would be
ln -s /private/var/mobile/Media/ROMs /private/var/root/Media/ROMs
which would make /root/Media/ROMs link to /mobile/Media/ROMs

regards
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to BlackWolf For This Useful Post:
wolvorine4424 (08-21-2008)
  #3  
Old 08-21-2008, 02:46 PM
What's Jailbreak?
 
Join Date: Aug 2008
Device + Firmware: iPhone v2.0.1 Modded
Operating System: Vista SP1 x64
Location: Phila, PA & Tokyo, Japan.
Posts: 10
Thanks: 5
Thanked 0 Times in 0 Posts

interesting.

ln: accessing '/private/var/root/Media/ROMs': Permission denied


sudo ln -s /private/var/mobile/Media/ROMs /private/var/root/Media/ROMs
This did not work. I think it copies it directly to NES. will try to add NES at the end and see.


EDIT:
sudo ln -s /private/var/mobile/Media/ROMs/NES /private/var/root/Media/ROMs/NES
Did not work eather


Thank you. I forgot about the link commands.


EDIT2:
Do the DIR in root folder sepose to exist (because I have them in both mobile and in root)
NES still tells me that there are no ROMs.

I did the ln command and then rebooted the phone, after that i tried copying the ROMS and they still go to the root folder not the mobile folder.


EDIT3:
Is the ROOT password blank?

because a assumed it is because when i just hit return when it asked me for the password it did not error out.

Last edited by wolvorine4424; 08-21-2008 at 03:06 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-21-2008, 03:12 PM
Livin the iPhone Life
 
Join Date: Dec 2007
Posts: 1,443
Thanks: 15
Thanked 183 Times in 174 Posts

the password for root is "alpine", just as it is for mobile.
and when you executed ln there is no root folder anymore, if you move into the root folder you get redirected to the mobile folder, that's why there are ROMs in the root folder.

remember to delete the root folder before you execute the ln command, otherwise you will get a "file already exists" error.

oh, and if it still doesn't work, please tell me the error message it gives you. because "doesn't work" is really hard to analyse

regards
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to BlackWolf For This Useful Post:
wolvorine4424 (08-21-2008)
  #5  
Old 08-21-2008, 03:39 PM
What's Jailbreak?
 
Join Date: Aug 2008
Device + Firmware: iPhone v2.0.1 Modded
Operating System: Vista SP1 x64
Location: Phila, PA & Tokyo, Japan.
Posts: 10
Thanks: 5
Thanked 0 Times in 0 Posts

There is no root folder???

I have it and I have files in it.

Click the image to open in full size.



Um, I'm confused. If there is not sepose to be a root folder, then all the files in /private/var/root should be in /private/var/mobile

Or am i wrong again.


EDIT:
I do not get any errors, it just goes back to the prompt.


EDIT2:
OK, I just screwed something up. again.

with icommander: when i try to enter the mobile dir it crashes. or try to select the @User dir crashes again

Back to reflashing. man, I can do this in my sleep now.


Ok, a little more simpler. I hope.
Is there a way to LINK 2 DIR's for example.

when NES tries to look for ROMs in the /private/var/mobile/Media/ROMs/NES dir, i want it to see the /private/var/root/Media/ROMs/NES dir. and list the ROMs that are in it.

But only the /ROMs/NES dir nothing else. Is this possible?

Last edited by wolvorine4424; 08-21-2008 at 03:55 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 12:51 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top