Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3 4 ... 12
  ignore  |  Print  
  Mercury: The Simple 2D Game Library | >> BETA coming soon <<  (Read 32966 times)
0 Members and 1 Guest are viewing this topic.
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #30 - Posted 2013-10-02 02:59:10 »

Name your classes something obvious, yet simple. Sprite, BaseGame, Quad, VertexBuffer etc... The easier the names are, the easier they are to remember, especially if they actually explain what the class does. So something like Render isn't a good name because well, what can it render? Anything? You don't know, so you don't know what to expect. Just my thoughts.

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #31 - Posted 2013-10-03 01:44:38 »

Ok guys... You are going to be so pissed off...
So, I was doing the sprite batcher, and something went horribly wrong. I was doing something wrong with the BufferObjects, and caused my computer to spiral into death. Now linux will not boot. I am stuck with windows. What's worse, is that all I have now is the last update on github! That was days before! Before I even heard of Spritebatcher!

Gonna chat with Jev (my go-to linux guy) to see if I can get that data back, but until then, it might be another week before the next update, one way or the other.

Don't screw with FloatBuffers...

Offline kingroka123

JGO Ninja


Medals: 43
Projects: 7
Exp: 1 year


Gamer's Helmet


« Reply #32 - Posted 2013-10-03 02:24:05 »

Dang bad luck, but this may give google a time to prove its worth.  Hope you find the files

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #33 - Posted 2013-10-03 08:04:10 »

I think, you can recover your files by booting into live disk. Also, did you tried to change any grub related files? I don't think FloatBuffers cause that problem.

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #34 - Posted 2013-10-03 10:31:58 »

Well, it may have been bad handling of the crash on my end Tongue. From what I can tell, FloatBuffers don't just throw exceptions... They break java Sad. Not literally, but it screwed my computer up right when I ran it. It was doing some crazy graphical glitches before I turned it off.
Don't worry though. I will get back to it soon. Things are looking hopeful that I can get this.

Offline Troncoso

JGO Coder


Medals: 20



« Reply #35 - Posted 2013-10-03 10:59:39 »

You're files aren't gone. If linux won't boot, it's just a bad configuration file. Everything in Linux is a file. I would look into resetting your xorg configuration, as that's a common cause of this. Otherwise, as SHC said, you could use a live boot CD (can go on a USB drive) and you can access files that way.
Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #36 - Posted 2013-10-03 11:48:10 »

I always managed to screw up my Linux install, booting into a live boot always worked when I tried to recover my data. I would also recommend getting committing changes to a repo every time you leave your computer for a while. It's just good practice if you're working on something really valuable!
Good luck!

Offline SHC
« Reply #37 - Posted 2013-10-03 12:29:39 »

Hope you successfully recover your files. Good luck.

Offline sproingie

JGO Kernel


Medals: 202



« Reply #38 - Posted 2013-10-03 17:16:01 »

If you mount your windows partition under linux, a system crash will cause the windows partition to become uncleanly unmounted.  Then on the next boot instead of just running ntfsck, it drops you into emergency mode.  How's that for user-friendly?  You can either run ntfsck by hand, but doing one windows boot ought to force a check and reset the flag so your linux box boots again.

It's why I don't auto-mount /win in my fstab anymore :p
Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #39 - Posted 2013-10-03 19:06:52 »


I always managed to screw up my Linux install, booting into a live boot always worked when I tried to recover my data.
Wait, a few questions:
- The CD that I installed it on?
- Does it have to be that same CD?

Sorry for the newbie-question mess. I'm still a bit new to Linux.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Troncoso

JGO Coder


Medals: 20



« Reply #40 - Posted 2013-10-03 19:09:53 »

Depends on the Linux distro. I'm guessing you are using Ubuntu. They usually have a live CD option, so you can probably just use that disk.

But, no. You can use any live CD of any Linux distro. The entire OS is running off the CD, so there is no dependency on the hard drive and what's already on it.
Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #41 - Posted 2013-10-05 15:30:02 »

Well then, that doesn't help me! I need to access the files of my ubuntu, not the cd!
Is there a way to access the old files through livecd? I ran one and nothing useful happened. I could not find any of my old files. Just windows files. Any ideas before I give up, uninstall ubuntu, re-install and re-download everything?

Offline Phased
« Reply #42 - Posted 2013-10-05 15:34:03 »

aslong as the drive is not dead, use the drive as a secondary hard drive (pretty much like a usb that is always plugged in). then just transfer the files you need.

if the hard drive is dead, then I doubt you will be able to get them your self, but it is not impossible.

EDIT:

If you boot into your cd, and have the hard drive plugged in, you should see the hard drive in Ubuntu's equivalent to "My Computer" most likely in the same place the hard drive use to be in. havnt really used linux so I am unfamiliar with it.
Offline Troncoso

JGO Coder


Medals: 20



« Reply #43 - Posted 2013-10-05 15:52:45 »

I didn't say you couldn't access the hard drive. Go into the live CD and open GParted. See that your disk is actually in there. If it is and you can't get to it, you may need to mount the disk to gain access(I'm sure you can look that up). If it's not, then your hard drive isn't being recognized. The live CD won't treat the hard drive as a system drive, but rather as a removable drive, so you wouldn't necessarily access it the same way you would root or home.
Offline nerb
« Reply #44 - Posted 2013-10-05 16:18:22 »

G'day Wesley,

It may not be suitable or practical depending on your situation and may be overkill, but there is another option if your OS is completely munted (and assuming that your HDD is still serviceable). You could purchase and external USB hard-drive enclosure, remove and plug your HDD into it and connect it to another PC. You should then be able to recover your files from the hard-drive as you would an external hard-drive or USB stick.

If you search around on ebay you should be able to find plenty of cheap Chinese HDD enclosures that will do the trick.

Cheers,
nerb.
Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #45 - Posted 2013-10-05 16:23:32 »

@nerb
Unfortunately, I only have 1 computer Sad Saving up for monster desktop though (this is a notebook)!

@the rest
I think I'll just take my chances and reinstall ubuntu. That was a day or so's worth of work. I spent a lot of that googling however, so it should probably take less time.

Thanks for the suggestions, but I don't think that my HDD is properly working.

Online kpars

JGO Kernel


Medals: 121
Projects: 5
Exp: 4 years


Radirius Games


« Reply #46 - Posted 2013-10-05 19:58:24 »

Off-Topic, but when you re-install Ubuntu, I would recommend getting the XFCE desktop environment. So great for software development.

- Jev

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #47 - Posted 2013-10-05 19:59:55 »

Oh, do you know how to uninstall it? I am clueless...

Offline Agro
« Reply #48 - Posted 2013-10-05 20:02:04 »

Just put the disk in and delete all your partitions. xfce is just another window manager but i used unity, was good stuff

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #49 - Posted 2013-10-05 20:38:44 »

Gonna start troubleshooting...

Offline opiop65

JGO Kernel


Medals: 161
Projects: 7
Exp: 4 years


JumpButton Studios


« Reply #50 - Posted 2013-10-05 20:40:20 »

Windows wont work if you install Ubuntu again. You'll need to install Ubuntu and then windows so you can use Window's OS manager thingy that I just forgot the name of. At least I think thats how it works...

Offline Agro
« Reply #51 - Posted 2013-10-05 20:44:42 »

what im doing now is i have windows 7 installed and im using dual boot to load up mint. that way you can have both.

Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #52 - Posted 2013-10-05 20:45:32 »

That is what I want to do, yes...

Offline Agro
« Reply #53 - Posted 2013-10-05 20:51:51 »

So reinstall windows since its filesystem stuff is icky and then install ubuntu: https://help.ubuntu.com/community/WindowsDualBoot

Offline HeroesGraveDev

JGO Kernel


Medals: 310
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #54 - Posted 2013-10-05 22:25:25 »

Windows wont work if you install Ubuntu again. You'll need to install Ubuntu and then windows so you can use Window's OS manager thingy that I just forgot the name of. At least I think thats how it works...

Or you could use GRUB, and not have to worry about Microsoft crap until you actually boot into Windows.

And anyway, does the problem neccessarily require a reinstall?

Offline Troncoso

JGO Coder


Medals: 20



« Reply #55 - Posted 2013-10-05 22:52:02 »

I definitely see you messing up your master boot record...when neither OS will boot, that'll be why, and it'll be a good place to start researching how to fix it.
Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #56 - Posted 2013-10-06 00:33:02 »

Too late! Wiped hard drive, and reinstalled Ubuntu. Awaiting when it's done. Also, ditched windows. Dual booting is just too hard, and I just do not game anymore. I am happy with this decision!
Thanks for the help!

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 139
Projects: 4
Exp: 3 years



« Reply #57 - Posted 2013-10-06 00:41:47 »

Uhh...ever tried virtualization Grin
Offline wessles

JGO Wizard


Medals: 77
Projects: 4
Exp: 3 years


Radirius Games


« Reply #58 - Posted 2013-10-06 02:01:30 »

Going to get everything downloaded and start work on MERCury again!
Thanks for the support everyone!

Offline SHC
« Reply #59 - Posted 2013-10-06 02:08:44 »

@wesley.laferriere
If you have access to windows, installing Ext2Fsd driver enables you to see linux hard disks from windows.

Pages: 1 [2] 3 4 ... 12
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (57 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!