Tuesday, December 18, 2012

Run Freshwater Fishing Simultator in DOSBox

1. Install DOSBox

2. Download Freshwater Fishing Simulator somewhere

3. Extract to a folder, for example: ~/FFS27001

  • According to the manual, "The first time you run FFSCFG.EXE to set up the door, don't try to set up the tournaments yet. Run FFSCFG.EXE configure any thing that is needed, except for the tournaments. Exit and run FISHMANT. Then you can go back in and set up the tournaments."

4. Run DOSBox. At command prompt type: mount d ~/FFS27001/
d:
ffscfg

Then proceed to set config... After finished, then run: fishmant
Re-run ffscfg if you want tournaments, and then exit DOSBox when you're done (type exit at the command prompt)


5. Decide how you want to run the game:

Option 1. Edit ~/.dosbox/dosbox-XX.conf, add these lines at the end under the [autoexec] heading: mount d ~/FFS27001/
d:
fishmant (this should be run every so often to re-stock lakes... put it here or not)
fishing /l
exit
(The downside with this option is that DOSBox will always run the game. If you want to use DOSBox for other things, use the option below.)

Option 2. Make a copy of the dosbox-XX.conf file and add the same lines, renaming it to whatever (ffs.conf). Run it by doing:dosbox -conf ~/.dosbox/ffs.conf

Saturday, December 8, 2012

Flash player for Android

Archived versions:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html

XAMPP on Linux


Just a few pertinent details...

Start/stop:
sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp stop

Root web folder:
/opt/lampp/htdocs/

Monday, November 26, 2012

Samba setup in Ubuntu 10.04

http://ubuntuforums.org/showthread.php?t=1468498

First, you’ll need to install Samba. Fire up a Terminal window and use this command:

sudo apt-get install samba

Follow the default prompts to install Samba. Now, Samba uses a separate set of passwords than the standard Linux system accounts (stored in /etc/samba/smbpasswd), so you’ll need to create a Samba password for yourself with this command:

sudo smbpasswd -a USERNAME

(USERNAME, of course, is your actual username.)

Type a suitably strong password (make sure it includes uppercase, lowercase, punctuation, and numbers). Once your password is created, the next step is to edit your /etc/samba/smb.conf file, the configuration file for Samba. Begin by creating a folder named ‘test’ on your home folder; we’ll use that for our test shared folder (you can create other shared folders using the same method):

mkdir /home/USERNAME/test

Next, make a safe backup copy of the original smb.conf file to your home folder, in case you make an error:

sudo cp /etc/samba/smb.conf ~

Now use your text editor of choice to edit smb.conf:

sudo gedit /etc/samba/smb.conf

(New users will probably find gedit the easiest to use due to its GUI; but you can use emacs or vi just as readily, especially if you’re using the server version of Ubuntu, which doesn’t include X11 by default.)

Once smb.conf has loaded, add this to the very end of the file:

[test]
path = /home/USERNAME/test
available = yes
valid users = USERNAME
read only = no
browsable = yes
public = yes
writable = yes


(There should be no spaces between the lines, and note also that there should be a single space both before and after each of the equal signs.)

These settings will share the test folder we created earlier, and give your username and your username alone permission to read and write to the folder. Once you have input the changes, save smb.conf, exit the text editor, and restart Samba with this command:

sudo restart smbd

Once Samba has restarted, use this command to check your smb.conf for any syntax errors:

sudo testparm

If you pass the testparm command, Samba should be working; try accessing the shared folder from another computer on your LAN.

-JM

iPod touch app stuck waiting to download

Recently had some app trouble when trying to download apps. They would have a blank icon and say "Waiting..." but would never download. Not able to delete or cancel download. Rebooted iPod, app still stuck. Reset all settings, still stuck.

Found a solution that worked:
  • 1. You need to SSH into your phone and delete the /var/mobile/Media/Downloads folder
  • 2. You can do this if you are jailbroken with iFile or unjailbroken with iExplorer

Wednesday, November 21, 2012

Choppy sound in flash

In Ubuntu 10.04 using Firefox and flash, sound became choppy for no apparent reason. Found solution on this site: http://askubuntu.com/questions/154761/choppy-flash-audio

Kill pulseaudio: pulseaudio -k

Restart pulseaudio: pulseaudio -D

Thursday, March 8, 2012

Command line Amazon mp3 downloader

"Clamz is a little command-line program to download MP3 files from Amazon.com's music store. It is intended to serve as a substitute for Amazon's official MP3 Downloader, which is not free software (and therefore is only available in binary form for a limited set of platforms.) Clamz can be used to download either individual songs or complete albums that you have purchased from Amazon."

https://code.google.com/p/clamz/

1. Download / install Clamz

2. Download .amz file from Amazon purchase

3. Use Clamz to download mp3 files:clamz filename.amz

Sunday, February 26, 2012

Edimax EW-7811Un working in Ubuntu 10.04 32-bit and 64-bit

Results have been mixed in Ubuntu/Linux with the Edimax EW-7811Un wireless adapter in the past year, some saying it works great, some saying it works on 32-bit only, others can't get it to work at all. I decided to buy a couple and see if I could get them working.

First off, I did NOT use the drivers that came on the CD (v2.0.939.20100726) which are the same ones listed currently on the Edimax website, apparently dated 2010/7/26 based on the version tag.

I used the latest RTL8192CU Linux drivers from Realtek.

Possible prerequisite: Some have suggested installing the build-essential package in Ubuntu... I already had this installed so I don't know if it's necessary: In a terminal window do:
sudo apt-get install build-essential
1. Download RTL8192CU Linux drivers from Realtek website.

2. Right-click the archive and select Extract Here.

3. Open a Terminal window (Applications > Accessories > Terminal)

4. Assuming the file was downloaded to your Downloads folder, type:
cd Downloads/RTL (then press Tab and it will auto-complete the folder name)
5. Run the install script:
sudo sh install.sh
6. Enter your password.

7. Select the RTL8192cu option when it asks. Update Dec 2012: Newer driver packages don't prompt for this.

That's it!